:root {
  --ink: #17212b;
  --muted: #65717d;
  --line: #dce3e8;
  --surface: #ffffff;
  --soft: #f4f8f7;
  --primary: #126c63;
  --primary-dark: #0d5049;
  --accent: #d45b3f;
  --gold: #c9972f;
  --sky: #d9edf4;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfd;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  letter-spacing: 0;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--primary);
}

.nav-link { color: #31414d; font-weight: 600; }
.btn { border-radius: 8px; font-weight: 700; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); }

.section { padding: 4rem 0; }
.section-tight { padding: 2rem 0; }
.eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; font-size: .78rem; }
.lead-copy { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 3rem 0 5rem;
  background:
    linear-gradient(110deg, rgba(12, 60, 55, .92), rgba(18, 108, 99, .78)),
    url("https://images.unsplash.com/photo-1536640712-4d4c36ff0e4e?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: white;
}

.hero h1 { max-width: 780px; font-size: clamp(2.35rem, 6vw, 5.3rem); line-height: 1; font-weight: 850; }
.hero p { max-width: 650px; color: rgba(255, 255, 255, .86); font-size: 1.15rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.hero .btn-light { color: var(--primary-dark); }

.metric-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.28); margin-top: 2.5rem; max-width: 760px; }
.metric { background: rgba(255,255,255,.14); padding: 1rem; }
.metric strong { display: block; font-size: 1.6rem; }
.metric span { color: rgba(255,255,255,.8); font-size: .92rem; }

.band { background: var(--soft); border-block: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

.card-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 10px 24px rgba(22, 35, 43, .06);
}

.plan-card { display: flex; flex-direction: column; min-height: 100%; }
.price { font-size: 2rem; font-weight: 850; color: var(--primary-dark); }
.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: .28rem .65rem;
  background: var(--sky);
  color: #235365;
  font-size: .82rem;
  font-weight: 800;
}

.progress { height: .75rem; border-radius: 999px; background: #e8eef1; }
.progress-bar { background: var(--primary); }

.question-shell { max-width: 820px; margin: 0 auto; }
.question-card {
  animation: slideIn .22s ease-out;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.choice-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; }
.choice-grid input { display: none; }
.choice-grid label {
  display: grid;
  min-height: 64px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  background: white;
}
.choice-grid input:checked + label { background: var(--primary); border-color: var(--primary); color: white; }

.form-control, .form-select { border-radius: 8px; border-color: #cfd9df; }
.site-footer { border-top: 1px solid var(--line); padding: 1.5rem 0; background: #fff; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 1rem; }
.footer-grid strong, .footer-grid span { display: block; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}

@media (max-width: 560px) {
  .section { padding: 2.6rem 0; }
  .choice-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { display: block; }
}
