:root {
  --bg: #f0fdf9;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #0d9488;
  --accent-dark: #065f46;
  --accent-darker: #064e3b;
  --accent-light: #ecfdf5;
  --accent-tint: #d1fae5;
  --warn: #f59e0b;
  --warn-light: #fffbeb;
  --warn-dark: #92400e;
  --danger: #dc2626;
  --border: #e2e8f0;
  --ring: rgba(13, 148, 136, 0.35);
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --max: 760px;
  --max-wide: 960px;
  --max-xl: 1120px;
  --touch: 44px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg) 30%, #fff 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

.wrap {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.wrap-narrow { max-width: var(--max); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover { text-decoration: none; color: var(--accent-dark); }

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
}

.site-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
}

.site-nav a:hover { color: var(--accent-dark); background: var(--accent-light); text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: var(--surface);
  color: var(--accent-dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--accent-light);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 32px 0 24px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--text);
}

.hero-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 24px;
}

.kicker {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  text-align: left;
}

.breadcrumb a { color: var(--muted); }

/* Content sections */
.content-section {
  margin: 32px 0;
}

.content-section h2 {
  font-size: 22px;
  color: var(--accent-dark);
  margin: 0 0 12px;
}

.content-section p,
.content-section li {
  font-size: 16px;
  color: var(--text);
}

.content-section ul,
.content-section ol {
  padding-left: 1.25rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}

@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.guide-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.guide-card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.guide-card a {
  font-weight: 700;
  font-size: 14px;
}

/* Form wizard */
.form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  margin: 24px auto;
  max-width: var(--max);
}

.form-panel h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.step-progress {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 20px;
}

.form-step label.field-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 15px;
}

.form-step .hint {
  font-size: 13px;
  color: var(--muted);
  margin: -4px 0 12px;
}

.field-input {
  width: 100%;
  min-height: var(--touch);
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
}

.field-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}

.autocomplete-results {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-top: 4px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 20;
  box-shadow: var(--shadow);
}

.autocomplete-wrap { position: relative; }

.autocomplete-option,
.autocomplete-empty {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border: none;
  background: none;
  font-size: 15px;
  cursor: pointer;
}

.autocomplete-option:hover,
.autocomplete-option.active {
  background: var(--accent-light);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--touch);
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
}

.radio-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-light);
}

.radio-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.form-actions .btn { flex: 1; min-width: 120px; }

@media (max-width: 480px) {
  .form-actions-sticky {
    position: sticky;
    bottom: 0;
    background: var(--surface);
    margin: 24px -20px -24px;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
  }
}

/* Results */
.results-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  margin: 24px auto;
  max-width: var(--max-wide);
}

.results-panel h2 {
  font-size: 22px;
  color: var(--accent-dark);
  margin: 24px 0 10px;
}

.results-panel h2:first-child { margin-top: 0; }

.confidence-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  margin: 8px 0 16px;
}

.confidence-high { background: #dcfce7; color: #166534; }
.confidence-medium { background: #fef9c3; color: #854d0e; }
.confidence-low { background: #fee2e2; color: #991b1b; }

.disclaimer-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #92400e;
  margin: 16px 0;
}

.checklist-books li {
  list-style: none;
  margin: 8px 0;
  padding: 10px 12px;
  background: var(--accent-light);
  border-radius: 8px;
  font-size: 15px;
}

.checklist-books label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checklist-books input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.results-panel .hint {
  font-size: 13px;
  color: var(--muted);
  margin: -4px 0 10px;
}

.results-cta {
  background: var(--accent-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
  text-align: center;
}

.results-cta p { margin: 0 0 14px; }

.coming-soon {
  opacity: 0.7;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 16px;
  margin-top: 48px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.site-footer a { font-weight: 600; }

.powered-by {
  margin-top: 12px;
  font-size: 13px;
}

/* Print */
#print-container { display: none; }

@media print {
  body { background: #fff !important; }
  .site-header,
  .site-footer,
  .site-nav,
  .form-panel,
  .form-actions,
  .no-print,
  .results-cta,
  #study-plan-form-section,
  .breadcrumb,
  .hero { display: none !important; }

  #print-container { display: block !important; }

  .print-sheet h1 { font-size: 22px; margin: 0 0 8px; }
  .print-sheet h2 { font-size: 16px; margin: 16px 0 6px; page-break-after: avoid; }
  .print-sheet p, .print-sheet li { font-size: 12px; }
  .print-table { width: 100%; border-collapse: collapse; font-size: 11px; }
  .print-table th, .print-table td { border: 1px solid #ccc; padding: 4px 6px; }
  .print-disclaimer { font-size: 10px; color: #666; margin-top: 16px; }
  .print-footer { font-size: 10px; color: #888; }
  @page { margin: 0.5in; }
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================
   LANDING PAGE — extended components
   ============================================ */

body.landing {
  background:
    radial-gradient(900px 500px at 85% -200px, rgba(13, 148, 136, 0.14), transparent 70%),
    radial-gradient(700px 400px at -10% 200px, rgba(6, 95, 70, 0.10), transparent 60%),
    linear-gradient(180deg, var(--accent-light) 0%, #ffffff 60%);
}

.wrap-xl {
  max-width: var(--max-xl);
  margin: 0 auto;
  padding: 0 16px;
}

.site-header.transparent {
  background: rgba(255, 255, 255, 0.85);
}

/* ---------- Hero (split) ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  padding: 48px 0 32px;
}

@media (min-width: 900px) {
  .hero-split {
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    padding: 72px 0 56px;
  }
}

.hero-split .hero-copy { text-align: left; }

.hero-split h1 {
  font-size: clamp(30px, 5.5vw, 50px);
  line-height: 1.08;
  margin: 12px 0 16px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.hero-split h1 .accent {
  background: linear-gradient(110deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.hero-split .hero-lead {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 560px;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-ctas .btn { padding: 14px 22px; font-size: 16px; }

.btn-lg { padding: 16px 26px; font-size: 17px; }

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.trust-line .check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

/* ---------- Hero visual card ---------- */
.sample-plan-preview {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1deg);
  max-width: 440px;
  margin: 0 auto;
}

.sample-plan-preview::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.18), rgba(6, 95, 70, 0.08));
  z-index: -1;
  filter: blur(20px);
}

.sample-plan-preview .sp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.sample-plan-preview .sp-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
}

.sample-plan-preview .sp-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.sample-plan-preview .sp-badge {
  background: var(--accent-tint);
  color: var(--accent-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.sample-plan-preview h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 14px 0 8px;
}

.sample-plan-preview .sp-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sample-plan-preview .sp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  padding: 6px 0;
  color: var(--text);
}

.sample-plan-preview .sp-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

.sample-plan-preview .sp-weeks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 6px;
}

.sample-plan-preview .sp-week {
  background: var(--accent-light);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  font-size: 11px;
  color: var(--accent-dark);
  font-weight: 700;
}

/* ---------- Section heading utilities ---------- */
.section {
  padding: 56px 0;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  text-align: center;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 34px);
  text-align: center;
  margin: 0 0 12px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.section-lead {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 36px;
}

/* ---------- Trust row ---------- */
.trust-row {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
}

.trust-row .trust-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.trust-row strong {
  color: var(--text);
}

.trust-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- 3-step "How it works" ---------- */
.steps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (min-width: 760px) {
  .steps-row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}

.step-card .step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text);
}

.step-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Tool grid (richer than .card-grid) ---------- */
.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .tool-grid { grid-template-columns: repeat(4, 1fr); }
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  text-decoration: none;
}

.tool-card .tool-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 22px;
  margin-bottom: 14px;
}

.tool-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--text);
}

.tool-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.5;
  flex: 1;
}

.tool-card .tool-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
}

.tool-card.tool-card-new {
  border-color: var(--accent);
  position: relative;
}

.tool-card.tool-card-new::after {
  content: "NEW";
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

/* ---------- Personas ---------- */
.persona-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 720px) {
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
}

.persona-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.persona-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.persona-card .persona-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent-light);
  border-radius: 12px;
  color: var(--accent-dark);
}

.persona-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--text);
}

.persona-card p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.persona-card .persona-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
}

/* ---------- FAQ accordion ---------- */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover { background: var(--accent-light); }

.faq-item .faq-body {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item .faq-body a { color: var(--accent-dark); font-weight: 600; }

/* ---------- Final CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-darker));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  margin: 32px 0;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(24px, 3.5vw, 32px);
  margin: 0 0 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  margin: 0 0 24px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn {
  background: #fff;
  color: var(--accent-dark);
  padding: 16px 28px;
}

.cta-band .btn:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.cta-band .btn-link-light {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  font-size: 14px;
  margin-left: 12px;
}

/* ---------- Email capture ---------- */
.email-capture {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.email-capture .ec-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.email-capture h3 {
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--text);
}

.email-capture p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 20px;
}

.email-capture form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.email-capture input[type="email"] {
  flex: 1;
  min-width: 240px;
  min-height: var(--touch);
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
}

.email-capture input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}

.email-capture .ec-disclaimer {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}

.email-capture.is-success {
  background: var(--accent-light);
  border-color: var(--accent);
}

.email-capture.is-success .ec-form-wrap { display: none; }
.email-capture .ec-success { display: none; font-weight: 600; color: var(--accent-dark); }
.email-capture.is-success .ec-success { display: block; }

.email-capture.is-stub form { opacity: 0.55; pointer-events: none; }
.email-capture.is-stub .ec-stub-note { display: block; }
.email-capture .ec-stub-note { display: none; font-size: 12px; color: var(--warn-dark); margin-top: 10px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta-mobile {
  display: none;
}

@media (max-width: 700px) {
  .sticky-cta-mobile {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    gap: 10px;
  }

  .sticky-cta-mobile .btn { flex: 1; }

  body.landing { padding-bottom: 80px; }
}

/* ---------- Small tool / standalone page pattern ---------- */
.tool-intro {
  text-align: center;
  padding: 32px 0 16px;
}

.tool-intro h1 {
  font-size: clamp(26px, 4.5vw, 38px);
  margin: 8px 0 12px;
}

.tool-intro p {
  color: var(--muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 720px;
  margin: 32px auto 0;
}

@media (min-width: 640px) {
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .choice-grid.five { grid-template-columns: repeat(5, 1fr); }
}

.choice-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
  display: block;
}

.choice-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.choice-card .choice-headline {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: -0.01em;
}

.choice-card .choice-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

.choice-card.choice-card-compact {
  padding: 16px 14px;
}

.choice-card.choice-card-compact .choice-headline {
  font-size: 18px;
}

/* ---------- Quiz checkbox cards ---------- */
.checkbox-card-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

@media (min-width: 640px) {
  .checkbox-card-group { grid-template-columns: repeat(2, 1fr); }
}

.checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.checkbox-card:hover { border-color: var(--accent); }

.checkbox-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.checkbox-card:has(input:checked) {
  background: var(--accent-light);
  border-color: var(--accent);
}

/* ---------- Result-style answer block ---------- */
.answer-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}

.answer-block.is-yes { border-left: 5px solid var(--accent); }
.answer-block.is-no { border-left: 5px solid var(--muted); }
.answer-block.is-maybe { border-left: 5px solid var(--warn); }

.answer-headline {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
}

.answer-headline .verdict {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 10px;
  vertical-align: middle;
}

.verdict-yes { background: var(--accent-tint); color: var(--accent-dark); }
.verdict-no { background: #f1f5f9; color: var(--muted); }
.verdict-maybe { background: #fef3c7; color: var(--warn-dark); }

.answer-block .answer-body {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  margin: 12px 0;
}

.answer-block ul { padding-left: 20px; }
.answer-block li { margin: 4px 0; font-size: 14.5px; }

/* ---------- State page header ---------- */
.state-header {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-darker));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin: 16px 0 32px;
}

.state-header .state-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}

.state-header h1 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 12px;
  color: #fff;
  line-height: 1.15;
}

.state-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  max-width: 640px;
  margin: 0 0 20px;
}

.state-header .btn {
  background: #fff;
  color: var(--accent-dark);
}

.state-header .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.state-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  font-size: 13px;
}

.state-meta-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
  color: #fff;
  font-weight: 600;
}

/* ---------- Two-column content layout (state pages) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 880px) {
  .two-col { grid-template-columns: 2fr 1fr; gap: 36px; }
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.side-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--accent-dark);
}

.side-card ul { padding-left: 18px; margin: 0 0 12px; }
.side-card li { font-size: 14px; margin: 4px 0; }

/* ---------- Header dropdown (Guides ▾) ---------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > button.nav-trigger {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > button.nav-trigger:hover {
  color: var(--accent-dark);
  background: var(--accent-light);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  z-index: 60;
}

.nav-dropdown[open] .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 6px;
  color: var(--text);
  font-weight: 500;
}

.nav-dropdown-menu a:hover { background: var(--accent-light); color: var(--accent-dark); text-decoration: none; }

/* ---------- Misc ---------- */
.spacer-lg { height: 32px; }
.spacer-xl { height: 56px; }

.muted { color: var(--muted); }

.tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-warn {
  background: #fef3c7;
  color: var(--warn-dark);
}

/* PDF/print export banner */
.results-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.results-actions .btn { flex: 1 1 auto; min-width: 160px; }

@media print {
  .sticky-cta-mobile,
  .nav-dropdown,
  .email-capture,
  .tool-grid,
  .cta-band,
  .trust-row,
  .steps-row,
  .persona-grid,
  .faq-accordion,
  .sample-plan-preview,
  .state-header,
  .results-actions { display: none !important; }
}
