/* ============================================================
   PAYMENTS PORTFOLIO DIAGNOSTIC — styles.css
   Aesthetic: Institutional · Restrained · Authoritative
   Fonts: Georgia (display) + Inter (body)
   Palette: Navy · Slate · White · Warm gold accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Core palette — institutional */
  --navy:        #0f1f3d;
  --navy-2:      #1a3160;
  --slate:       #4a5568;
  --slate-2:     #718096;
  --line:        #e2e8f0;
  --line-2:      #edf2f7;
  --bg:          #ffffff;
  --soft:        #f7f9fc;
  --soft-2:      #eef1f6;

  /* Accent — warm gold, not blue */
  --gold:        #b7882c;
  --gold-light:  #f5ecd7;
  --gold-line:   #e8d5a3;

  /* Status */
  --green-bg:    #f0fdf4;
  --green-ink:   #166534;
  --green-line:  #bbf7d0;
  --yellow-bg:   #fffbeb;
  --yellow-ink:  #92400e;
  --yellow-line: #fde68a;
  --red-bg:      #fff5f5;
  --red-ink:     #9b1c1c;
  --red-line:    #fed7d7;

  /* Typography */
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing & shape */
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  14px;
  --shadow-sm:  0 1px 3px rgba(15,31,61,.06);
  --shadow:     0 4px 16px rgba(15,31,61,.08);
  --shadow-lg:  0 8px 32px rgba(15,31,61,.10);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* ── Top bar ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 48px;
  gap: 16px;
}

.site-nav-home {
  font-family: Georgia, serif;
  font-size: 13.5px;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.site-nav-home:hover { color: #d4a84b; }

.site-nav-title {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex: 1;
  text-align: center;
}

.site-nav-links {
  display: flex;
  gap: 20px;
}

.site-nav-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.site-nav-links a:hover { color: #fff; }

/* ── Hero ── */
.hero {
  background: var(--navy);
  padding: 60px 0 52px;
  border-bottom: 1px solid var(--navy-2);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; gap: 36px; } }

/* Author badge */
.author-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  width: 100%;
}
.author-avatar {
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: bold;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: .02em;
}
.author-name {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: .01em;
}
.author-institutions {
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
  margin-top: 2px;
  letter-spacing: .02em;
}

/* Hero headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: normal;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: #fff;
  margin-bottom: 18px;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}
.hero-lead {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,.65);
  max-width: 54ch;
  line-height: 1.7;
  margin-bottom: 22px;
}
.hero-bio {
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 28px;
}
.hero-bio p {
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.hero-micro {
  font-size: 11.5px;
  color: rgba(255,255,255,.3);
  letter-spacing: .02em;
}

/* Hero card */
.hero-card-wrap { padding-top: 4px; }
.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.hero-card-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.checklist { list-style: none; display: grid; gap: 11px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}
.check-icon { color: var(--gold); flex-shrink: 0; margin-top: 1px; font-size: 12px; }
.checklist strong { color: #fff; font-weight: 500; }
.hero-card-divider { height: 1px; background: rgba(255,255,255,.1); margin: 18px 0; }
.scope-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 10px;
}
.scope-rails { display: flex; flex-wrap: wrap; gap: 6px; }
.rail-tag {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: 3px 10px;
  letter-spacing: .01em;
}
.hero-card-note {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  font-style: italic;
  line-height: 1.55;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-lg { padding: 11px 22px; font-size: 14px; }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 600;
}
.btn-primary:hover { background: #c9992f; border-color: #c9992f; }
.btn-secondary {
  background: var(--soft);
  color: var(--navy);
  border-color: var(--line);
}
.btn-secondary:hover { background: var(--soft-2); }
.btn-outline {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.2);
}
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--slate);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--navy); background: var(--soft-2); }
.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,.5);
  border-color: transparent;
}
.btn-ghost-light:hover { color: #fff; }
.btn[disabled] { opacity: .38; cursor: not-allowed; pointer-events: none; }

/* ── Sections ── */
.section { padding: 60px 0; }
.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: normal;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-lead {
  font-size: 15px;
  color: var(--slate);
  max-width: 62ch;
  line-height: 1.7;
  font-weight: 300;
}

/* ── Why 6 Pillars ── */
.pillars-explained {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 36px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 860px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar-card {
  background: var(--bg);
  padding: 22px;
  transition: background .15s;
}
.pillar-card:hover { background: var(--soft); }
.pillar-card-number {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.pillar-card-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: normal;
  color: var(--navy);
  margin-bottom: 3px;
  line-height: 1.3;
}
.pillar-card-weight {
  font-size: 11px;
  color: var(--slate-2);
  margin-bottom: 12px;
  letter-spacing: .02em;
}
.pillar-card-desc {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 14px;
  font-weight: 300;
}
.pillar-card-signal {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--navy);
  background: var(--gold-light);
  border-left: 2px solid var(--gold);
  padding: 6px 10px;
  line-height: 1.4;
}
.framework-note {
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.framework-note-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-2);
  white-space: nowrap;
  flex-shrink: 0;
}
.framework-note-text {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.65;
  font-weight: 300;
}

/* ── Tool section ── */
.tool-section { background: var(--bg); }
.tool-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.progress-wrap { min-width: 240px; }
.progress-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  font-size: 12px;
  color: var(--slate-2);
  margin-bottom: 7px;
}
.dot { opacity: .5; }
.progress-bar {
  height: 4px;
  background: var(--soft-2);
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 100px;
  transition: width .3s ease;
}

/* ── Scenario section ── */
.scenario-section { margin-bottom: 32px; }
.scenario-intro {
  font-size: 13.5px;
  color: var(--slate);
  margin-bottom: 14px;
  padding: 12px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  line-height: 1.6;
}
.scenario-intro strong { color: var(--navy); font-weight: 600; }
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 760px) { .scenario-grid { grid-template-columns: 1fr; } }
.scenario-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.scenario-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.scenario-active { border-color: var(--gold) !important; box-shadow: 0 0 0 3px var(--gold-light) !important; }
.scenario-tag {
  display: inline-flex;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  width: fit-content;
}
.tag-red    { background: var(--red-bg);    color: var(--red-ink);    border: 1px solid var(--red-line); }
.tag-yellow { background: var(--yellow-bg); color: var(--yellow-ink); border: 1px solid var(--yellow-line); }
.tag-blue   { background: var(--soft-2);    color: var(--navy);       border: 1px solid var(--line); }
.scenario-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: normal;
  color: var(--navy);
  line-height: 1.35;
}
.scenario-desc {
  font-size: 12.5px;
  color: var(--slate);
  line-height: 1.6;
  flex: 1;
  font-weight: 300;
}
.btn-scenario {
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  margin-top: 4px;
  width: fit-content;
  letter-spacing: .01em;
}
.btn-scenario:hover { background: var(--gold-light); border-color: var(--gold-line); color: var(--navy); }
.scenario-active-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-light);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  margin-bottom: 16px;
  display: inline-block;
  letter-spacing: .01em;
}

/* ── Pillar accordions ── */
.pillars-list { display: grid; gap: 8px; margin-bottom: 24px; }
.pillar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}
.pillar.open { border-color: var(--navy); }
.pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--soft);
  cursor: pointer;
  user-select: none;
  gap: 12px;
  transition: background .12s;
}
.pillar.open .pillar-header { background: var(--navy); }
.pillar-header:hover { background: var(--soft-2); }
.pillar.open .pillar-header:hover { background: var(--navy-2); }
.pillar-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: normal;
  color: var(--navy);
  letter-spacing: .01em;
}
.pillar.open .pillar-title { color: #fff; }
.pillar-meta {
  font-size: 11.5px;
  color: var(--slate-2);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 2px;
  flex-wrap: wrap;
}
.pillar.open .pillar-meta { color: rgba(255,255,255,.45); }
.chev { font-size: 12px; color: var(--slate-2); transition: transform .2s; flex-shrink: 0; }
.pillar.open .chev { transform: rotate(180deg); color: rgba(255,255,255,.5); }
.pillar-body { padding: 18px 20px; display: none; }
.pillar.open .pillar-body { display: block; }

/* Questions */
.q { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.q:last-child { border-bottom: none; padding-bottom: 4px; }
.q-title { font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.q-desc { font-size: 13px; color: var(--slate); margin-bottom: 12px; line-height: 1.55; font-weight: 300; }
.q-options { display: grid; gap: 7px; }
.option {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
.option:hover { background: var(--soft); border-color: var(--slate-2); }
.option-selected { border-color: var(--gold) !important; background: var(--gold-light) !important; }
.option input[type="radio"] { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.option-label { font-size: 13.5px; font-weight: 500; color: var(--navy); }
.option-selected .option-label { color: var(--navy); }
.option-sub { font-size: 12px; color: var(--slate-2); margin-top: 2px; line-height: 1.4; font-weight: 300; }

/* Actions */
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tool-micro {
  margin-top: 14px;
  font-size: 12px;
  color: var(--slate-2);
  line-height: 1.6;
  max-width: 70ch;
  font-weight: 300;
}

/* ── Results ── */
.results-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.empty-state {
  text-align: center;
  padding: 52px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  margin-top: 24px;
}
.empty-icon { font-size: 28px; color: var(--slate-2); margin-bottom: 12px; }
.empty-text { font-size: 14px; color: var(--slate); font-weight: 300; }
.hidden { display: none !important; }

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
@media (max-width: 760px) { .results-grid { grid-template-columns: 1fr; } }

/* Cards */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.card-full { grid-column: 1 / -1; }
.card-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 16px;
}

/* Score card */
.card-score { border-top: 3px solid var(--gold); }
.score-row { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.score-main { display: flex; align-items: baseline; gap: 4px; }
.score-big {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: normal;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--navy);
}
.score-denom { font-size: 20px; color: var(--slate-2); font-weight: 300; }
.score-right { flex: 1; min-width: 160px; }
.score-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: normal;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.score-badges { display: grid; gap: 7px; }
.badge {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--slate);
  white-space: nowrap;
  display: inline-block;
}

/* Heatmap */
.heatmap { display: grid; gap: 7px; }
.hm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.hm-left { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hm-title { font-weight: 500; font-size: 13px; color: var(--navy); }
.hm-sub { font-size: 11px; color: var(--slate-2); font-weight: 300; }
.hm-score {
  font-weight: 600;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-display);
}
.hm-floor-flag { color: var(--yellow-ink); font-size: 12px; margin-left: 5px; }
.hm-green { background: var(--green-bg); border-color: var(--green-line); }
.hm-green .hm-score { color: var(--green-ink); border-color: var(--green-line); background: #dcfce7; }
.hm-yellow { background: var(--yellow-bg); border-color: var(--yellow-line); }
.hm-yellow .hm-score { color: var(--yellow-ink); border-color: var(--yellow-line); background: #fef3c7; }
.hm-red { background: var(--red-bg); border-color: var(--red-line); }
.hm-red .hm-score { color: var(--red-ink); border-color: var(--red-line); background: #fee2e2; }

/* Diagnosis */
.diagnosis-list { list-style: none; display: grid; gap: 12px; }
.diagnosis-item { display: flex; flex-direction: column; gap: 6px; }

/* ── Pillar Narratives ─────────────────────────────────────── */
.pillar-narratives { display: flex; flex-direction: column; gap: 0; }

.pn-row {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
}
.pn-row:last-child { border-bottom: none; }

.pn-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.pn-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  font-family: Georgia, serif;
}

.pn-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pn-critical    { background: #fee2e2; color: #991b1b; }
.pn-weak        { background: #fef3c7; color: #92400e; }
.pn-developing  { background: #e0f2fe; color: #0c4a6e; }
.pn-strong      { background: #dcfce7; color: #166534; }
.pn-exceptional { background: #f3e8ff; color: #581c87; }

.pn-text {
  font-size: 12.5px;
  color: #374151;
  line-height: 1.55;
}
.diag-tier {
  display: inline-flex;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  width: fit-content;
}
.tier-1 { background: var(--red-bg);    color: var(--red-ink);    border: 1px solid var(--red-line); }
.tier-2 { background: var(--yellow-bg); color: var(--yellow-ink); border: 1px solid var(--yellow-line); }
.tier-3 { background: var(--soft-2);    color: var(--slate);      border: 1px solid var(--line); }
.diag-text {
  font-size: 14px;
  color: var(--navy);
  line-height: 1.6;
  font-weight: 300;
}

/* Priorities */
.priorities-list { display: grid; gap: 10px; }
.priority {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--soft);
}
.priority-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: normal;
  color: var(--gold);
  background: var(--gold-light);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.priority-body { flex: 1; min-width: 0; }
.priority-title { font-weight: 600; font-size: 13.5px; color: var(--navy); margin-bottom: 4px; line-height: 1.35; }
.priority-meta { font-size: 11.5px; color: var(--slate-2); margin-bottom: 5px; font-weight: 300; }
.priority-why { font-size: 13px; color: var(--slate); line-height: 1.55; font-weight: 300; }

/* 30/60/90 Plan */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
@media (max-width: 640px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-col { padding: 18px 20px; background: var(--bg); }
.plan-phase {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.plan-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: normal;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.plan-col ul { list-style: none; display: grid; gap: 9px; }
.plan-col li {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
  font-weight: 300;
}
.plan-col li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 11px;
  top: 3px;
}

/* Results action bar */
.results-actions-bar { margin-top: 4px; }
.results-actions-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.results-actions-label { font-size: 13px; color: var(--slate); font-weight: 300; }
.results-actions-right { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s, transform .2s;
  opacity: 0;
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top.hidden { opacity: 0 !important; pointer-events: none !important; }

/* Footer */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}
.footer-home {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  font-size: 12.5px;
}
.footer-home:hover { color: var(--gold); }
