/* ═══════════════════════════════════════════════════════════════════════
   sonuswealth — shared site styles
   Vocabulary: USD Halo (full-bleed video heroes, solid #2B2644 cards,
   pure black/white type, restraint). Theme tokens drive light + dark.
   ═══════════════════════════════════════════════════════════════════════ */

/* ───────────────── theme tokens ───────────────── */
:root[data-theme="light"] {
  --bg:           #F5F5F5;
  --bg-soft:      #EDEDEB;
  --bg-deep:      #E8E6E0;
  --ink:          #000000;
  --ink-85:       rgba(0,0,0,0.85);
  --ink-72:       rgba(0,0,0,0.72);
  --ink-60:       rgba(0,0,0,0.6);
  --ink-50:       rgba(0,0,0,0.5);
  --ink-30:       rgba(0,0,0,0.3);
  --line:         rgba(0,0,0,0.08);
  --line-strong:  rgba(0,0,0,0.16);

  --card-dark:    #2B2644;
  --card-dark-ink: #FFFFFF;
  --card-dark-ink-72: rgba(255,255,255,0.72);
  --card-dark-ink-60: rgba(255,255,255,0.6);

  --pill-bg:      #000000;
  --pill-ink:     #FFFFFF;
  --pill-circle:  #FFFFFF;
  --pill-arrow:   #000000;

  --accent-lav:   #6E5FCC;        /* saturated lavender — legible on lavender video */
  --accent-lav-soft: #8B7FD9;
  --accent-gold:  #C8902E;
  --accent-emerald: #0FA67F;

  --nav-glass:    rgba(255,255,255,0.55);
  --nav-line:     rgba(0,0,0,0.08);

  /* hero text scrim — left-side cream gradient so black text always reads */
  --hero-scrim:   linear-gradient(105deg, rgba(245,245,245,0.92) 0%, rgba(245,245,245,0.78) 28%, rgba(245,245,245,0.35) 55%, rgba(245,245,245,0) 80%);

  --shadow-card:  0 30px 60px -30px rgba(0,0,0,0.18);
}

:root[data-theme="dark"] {
  --bg:           #07050F;
  --bg-soft:      #100C22;
  --bg-deep:      #18133A;
  --ink:          #FFFFFF;
  --ink-85:       rgba(255,255,255,0.94);
  --ink-72:       rgba(255,255,255,0.82);
  --ink-60:       rgba(255,255,255,0.68);
  --ink-50:       rgba(255,255,255,0.55);
  --ink-30:       rgba(255,255,255,0.35);
  --line:         rgba(255,255,255,0.10);
  --line-strong:  rgba(255,255,255,0.22);

  --card-dark:    #261E48;
  --card-dark-ink: #FFFFFF;
  --card-dark-ink-72: rgba(255,255,255,0.82);
  --card-dark-ink-60: rgba(255,255,255,0.65);

  --pill-bg:      #FFFFFF;
  --pill-ink:     #07050F;
  --pill-circle:  #07050F;
  --pill-arrow:   #FFFFFF;

  --accent-lav:   #C9BCFF;
  --accent-lav-soft: #B8A8F0;
  --accent-gold:  #F0C580;
  --accent-emerald: #5CE5BD;

  --nav-glass:    rgba(20,15,40,0.62);
  --nav-line:     rgba(255,255,255,0.12);

  --hero-scrim:   linear-gradient(105deg, rgba(7,5,15,0.94) 0%, rgba(7,5,15,0.82) 28%, rgba(7,5,15,0.4) 55%, rgba(7,5,15,0) 80%);

  --shadow-card:  0 40px 80px -30px rgba(0,0,0,0.85);
}

/* dark-theme body gets a subtle aurora behind the entire page so backgrounds
   don't read as flat. Helps cards lift, gives the "luxe" feel. */
:root[data-theme="dark"] body {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(80,40,140,0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 30%, rgba(120,80,200,0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(180,130,220,0.18), transparent 65%),
    #07050F;
  background-attachment: fixed;
}
:root[data-theme="dark"] .section { background: transparent; }
:root[data-theme="dark"] .section.alt {
  background: linear-gradient(180deg, rgba(38,30,72,0.35), rgba(38,30,72,0.18));
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
:root[data-theme="dark"] .section.deep {
  background: linear-gradient(180deg, rgba(60,40,110,0.55), rgba(38,30,72,0.65));
  border-top: 1px solid rgba(255,255,255,0.08);
}
:root[data-theme="dark"] footer {
  background: linear-gradient(180deg, rgba(20,15,40,0.7), rgba(7,5,15,0.95));
}
:root[data-theme="dark"] .card-dark {
  background: linear-gradient(155deg, #2A2150 0%, #1F1840 100%);
  border: 1px solid rgba(255,255,255,0.06);
}
:root[data-theme="dark"] .card-light {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
:root[data-theme="dark"] .step {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
:root[data-theme="dark"] .qa-question {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
:root[data-theme="dark"] .qa-question.active {
  background: linear-gradient(135deg, #2A2150, #1F1840);
  border-color: rgba(201,188,255,0.4);
  color: #FFFFFF;
}
:root[data-theme="dark"] .qa-answer {
  background: linear-gradient(155deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border-color: rgba(255,255,255,0.08);
}

/* ───────────────── reset + base ───────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background .45s ease, color .45s ease;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img, video { display: block; max-width: 100%; }

/* ───────────────── typography helpers ───────────────── */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-lav);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px;
  background: var(--accent-lav);
  display: inline-block;
}

h1, h2, h3 { font-weight: 500; letter-spacing: -0.035em; line-height: 1.0; color: var(--ink); }
h1 { font-size: clamp(44px, 6.5vw, 96px); letter-spacing: -0.045em; line-height: 0.98; }
h2 { font-size: clamp(36px, 4.5vw, 64px); }
h3 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -0.02em; }
p  { color: var(--ink-85); line-height: 1.6; }

.wrap { width: min(100%, 1280px); margin: 0 auto; padding: 0 20px; }

/* ───────────────── floating glass pill nav ───────────────── */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(calc(100vw - 40px), 1280px);
  padding: 12px 16px 12px 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-glass);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--nav-line);
}
.nav-left {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav-mark { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; }
.nav-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-links {
  display: flex; gap: 28px;
  font-size: 14px;
  color: var(--ink-72);
  font-weight: 500;
}
.nav-links a { transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.current { color: var(--ink); }
.nav-links a.current::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--accent-lav); border-radius: 2px;
}
.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-ink);
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s, opacity .2s;
}
.nav-cta:hover { transform: translateY(-1px); opacity: 0.9; }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ───────────────── theme toggle ───────────────── */
.theme-toggle {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 70;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--nav-glass);
  border: 1px solid var(--nav-line);
  backdrop-filter: blur(14px);
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform .25s ease;
}
.theme-toggle:hover { transform: rotate(15deg); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ───────────────── hero (full-bleed video) ───────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  padding: 0 20px;
}
.hero.short {
  min-height: 560px;
  height: auto;
}
.hero.short .hero-inner { min-height: 560px; }
.hero.short .hero-content { padding-top: clamp(80px, 9vw, 110px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 88px;
  height: calc(100% - 108px);
  background: var(--bg-soft);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(139,127,217,0.45), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 90%, rgba(255,178,128,0.30), transparent 65%),
    linear-gradient(180deg, #E9DFFF 0%, #F5EFFF 40%, #FDF6F0 100%);
}
:root[data-theme="dark"] .hero-fallback {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(139,127,217,0.30), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 90%, rgba(80,40,140,0.25), transparent 65%),
    linear-gradient(180deg, #1A1535 0%, #0F0D1A 60%, #15102A 100%);
}

/* legibility fix — strong left-side scrim so text always reads
   on top of any video imagery (Halo's video has cream on the left
   by design; ours can't guarantee that, so we paint the scrim ourselves) */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--hero-scrim);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: clamp(36px, 6vw, 88px) clamp(28px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-top { max-width: 880px; }
.hero-bottom { width: 100%; }

.product-hero .hero-top {
  max-width: min(760px, 58vw);
}
.product-hero-panel {
  position: absolute;
  right: clamp(34px, 6vw, 96px);
  bottom: clamp(20px, 4vw, 48px);
  width: min(360px, 28vw);
  min-width: 250px;
  display: grid;
  justify-items: center;
  gap: 0;
  pointer-events: none;
}
.product-hero-panel img {
  width: min(270px, 22vw);
  max-width: 100%;
  filter: drop-shadow(0 24px 34px rgba(15,13,26,0.28));
  transform: translateY(16px);
}
.product-hero-card {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  border-radius: 18px;
  padding: 18px 20px 20px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  box-shadow: 0 20px 50px rgba(15,13,26,0.16);
  backdrop-filter: blur(18px);
}
.product-hero-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-lav);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.product-hero-card strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.product-hero-card small {
  display: block;
  color: var(--ink-72);
  font-size: 14px;
  line-height: 1.45;
}

.hero h1 {
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 18ch;
  /* reserve height for two-line heading so rotating taglines don't jump */
  min-height: calc(0.98em * 2 + 4px);
}
.hero .eyebrow { margin-bottom: 32px; }
.hero .lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-85);
  max-width: 56ch;
  margin-bottom: 36px;
  /* reserve height so different-length rotating paragraphs don't push layout
     during fade transitions. Sized to roughly the average paragraph length. */
  min-height: calc(1.55em * 5);
}
@media (max-width: 700px) {
  .hero .lede { min-height: calc(1.55em * 7); }
  .product-hero .hero-top {
    max-width: 100%;
  }
  .product-hero-panel {
    display: none;
  }
}

/* ───────────────── buttons ───────────────── */
.cta-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 26px;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-ink);
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s, opacity .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-1px); opacity: 0.92; }
.btn-primary .arrow-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--pill-circle);
  color: var(--pill-arrow);
  display: grid; place-items: center;
  transition: transform .2s;
}
.btn-primary:hover .arrow-circle { transform: translateX(3px); }
.btn-primary .arrow-circle svg { width: 14px; height: 14px; }

.btn-secondary {
  color: var(--ink-72);
  font-size: 14px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.btn-secondary:hover { color: var(--ink); border-color: var(--ink); }

/* ───────────────── tagline rotator ───────────────── */
h1.rotating { cursor: pointer; user-select: none; transition: opacity .4s ease; }
h1.rotating.fading { opacity: 0; }
h1.rotating .l1, h1.rotating .l2 { display: block; }

.tagline-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.tagline-counter {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
  font-weight: 600;
}
.tagline-dots { display: flex; gap: 6px; align-items: center; }
.tagline-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-30);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.tagline-dot:hover { background: var(--ink-60); }
.tagline-dot.active { background: var(--ink); transform: scale(1.5); }

.tagline-arrow {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-72);
  cursor: pointer;
  display: grid; place-items: center;
  transition: color .2s, border-color .2s, background .2s, transform .15s;
}
.tagline-arrow:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: scale(1.05);
}
.tagline-arrow:active { transform: scale(0.96); }
.tagline-arrow svg { width: 13px; height: 13px; }

.tagline-pause {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
  background: transparent;
  cursor: pointer;
}
.tagline-pause:hover { color: var(--ink); border-color: var(--ink); }

/* lede fades in sync with the rotating headline */
.lede { transition: opacity .35s ease; }
.lede.fading { opacity: 0; }

/* ───────────────── badge marquee ───────────────── */
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  max-width: 720px;
}
.marquee-track {
  display: flex; gap: 48px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
  white-space: nowrap;
  padding: 6px 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ───────────────── generic section ───────────────── */
.section {
  padding: clamp(72px, 9vw, 144px) 0;
  background: var(--bg);
}
.section.alt { background: var(--bg-soft); }
.section.deep { background: var(--bg-deep); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 20px; max-width: 22ch; }
.section-head p {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-72);
  max-width: 64ch;
  line-height: 1.55;
}

.sonu-stage-section {
  padding-top: clamp(64px, 7vw, 104px);
  padding-bottom: clamp(64px, 7vw, 104px);
}
.sonu-stage-board {
  border: 1px solid rgba(194, 160, 103, 0.34);
  border-radius: 24px;
  overflow: hidden;
  background: #F8F1E8;
  box-shadow: 0 24px 70px rgba(38, 30, 16, 0.10);
}
.sonu-stage-board img {
  width: 100%;
  height: auto;
  display: block;
}
:root[data-theme="dark"] .sonu-stage-board {
  border-color: rgba(201, 188, 255, 0.20);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}
@media (max-width: 820px) {
  .sonu-stage-section .wrap {
    overflow: hidden;
  }
  .sonu-stage-board {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .sonu-stage-board img {
    width: max(1120px, 190vw);
    max-width: none;
  }
}

/* ───────────────── cards (Halo 3-up + variants) ───────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .card-grid { grid-template-columns: 1fr; } }

.card {
  border-radius: 20px;
  padding: 28px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  transition: transform .25s ease;
}
.card:hover { transform: translateY(-4px); }
.card.span-2 { grid-column: span 2; }
@media (max-width: 640px) { .card.span-2 { grid-column: span 1; } }

.card-image {
  background-size: cover;
  background-position: center;
  color: #000;
  min-height: 380px;
}
.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245,245,245,0) 30%, rgba(245,245,245,0.6) 100%);
  z-index: 0;
}
:root[data-theme="dark"] .card-image::after {
  background: linear-gradient(180deg, rgba(15,13,26,0) 30%, rgba(15,13,26,0.65) 100%);
}
.card-image > * { position: relative; z-index: 1; }

.card-dark {
  background: var(--card-dark);
  color: var(--card-dark-ink);
}

.card-light {
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.card-head {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-bottom: 16px;
  color: inherit;
}
.card-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-72);
  max-width: 36ch;
}
.card-image .card-body { color: var(--ink-72); }
:root[data-theme="dark"] .card-image .card-body { color: rgba(255,255,255,0.78); }
.card-dark .card-body { color: var(--card-dark-ink-72); }
.card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--accent-lav);
}
.card-dark .card-label { color: var(--accent-lav-soft); }
.card.gold-accent .card-label { color: var(--accent-gold); }
.card.emerald-accent .card-label { color: var(--accent-emerald); }

/* ───────────────── two-column body section ───────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }
.two-col p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-72);
  max-width: 56ch;
}
.two-col p + p { margin-top: 16px; }

/* ───────────────── chip row ───────────────── */
.chip-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px;
}
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--card-dark);
  color: var(--card-dark-ink);
  border: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  transition: transform .2s;
}
.chip:hover { transform: translateY(-2px); }
.chip.outline {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-72);
}
.chip.outline:hover { color: var(--ink); border-color: var(--ink); }

/* ───────────────── numbered step list ───────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 28px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-lav);
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--ink-72); }

/* ───────────────── feature list ───────────────── */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 700px) { .feature-list { grid-template-columns: 1fr; } }
.feature {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.feature-head {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--ink);
}
.feature p { font-size: 15px; color: var(--ink-72); }

/* ───────────────── quote / pull ───────────────── */
.pull {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
  max-width: 24ch;
  margin: 0 auto;
  text-align: center;
}
.pull-attr {
  display: block;
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
  font-weight: 600;
  text-align: center;
}

/* ───────────────── form ───────────────── */
.form-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 36px;
}
.form-row input[type="email"],
.form-row input[type="text"] {
  flex: 1; min-width: 240px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
}
.form-row input:focus {
  outline: none;
  border-color: var(--accent-lav);
}
.form-note {
  font-size: 13px;
  color: var(--ink-60);
  margin-top: 14px;
}

/* ───────────────── footer ───────────────── */
footer {
  padding: 80px 0 40px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  color: var(--ink-72);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-mark {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.foot-mark img { width: 26px; height: 26px; object-fit: contain; }
.foot-tag {
  font-size: 14px;
  color: var(--ink-60);
  max-width: 30ch;
  line-height: 1.55;
}
.foot-col h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
  font-weight: 700;
  margin-bottom: 16px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: var(--ink-72); transition: color .2s; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-50);
  letter-spacing: 0.06em;
  flex-wrap: wrap; gap: 12px;
}

/* ───────────────── sketch note ───────────────── */
.sketch-note {
  display: none; /* hidden site-wide — was a dev-only badge */
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 60;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--nav-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--nav-line);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* ───────────────── Q&A demo (Ask) ───────────────── */
.qa-demo {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 900px) {
  .qa-demo { grid-template-columns: 1fr; }
}

.qa-questions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qa-question {
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-72);
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
  transition: all .2s ease;
}
.qa-question:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  transform: translateX(2px);
}
.qa-question.active {
  background: var(--card-dark);
  color: var(--card-dark-ink);
  border-color: var(--card-dark);
}
.qa-question.active:hover { transform: none; }

.qa-answer {
  padding: 32px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.qa-answer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.qa-answer-head .qa-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.qa-answer-head .qa-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qa-answer-head .qa-who {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.qa-answer-head .qa-status {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-50);
  display: flex;
  align-items: center;
  gap: 6px;
}
.qa-answer-head .qa-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(15,166,127,0.18);
}
.qa-answer-body {
  flex: 1;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-85);
  margin-bottom: 22px;
  transition: opacity .3s ease;
}
.qa-answer-body.fading { opacity: 0; }
.qa-answer-body strong {
  color: var(--ink);
  font-weight: 600;
}
.qa-answer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.qa-source {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-72);
}
.qa-fca {
  color: var(--accent-lav);
  font-weight: 500;
}

/* Sonu mascot placements */
.sonu-inline-card {
  min-height: 230px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 12%, rgba(212, 169, 86, 0.18), transparent 30%),
    var(--bg-soft);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: center;
  gap: 22px;
  overflow: hidden;
  padding: 26px 28px;
}
.sonu-inline-card.protect {
  background:
    radial-gradient(circle at 84% 16%, rgba(212, 169, 86, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(110,95,204,0.08), rgba(212,169,86,0.08)),
    var(--bg-soft);
}
.sonu-card-copy p {
  color: var(--ink-60);
  font-size: 16px;
  line-height: 1.65;
  margin: 12px 0 0;
}
.sonu-inline-card img {
  width: 190px;
  max-width: 100%;
  align-self: end;
  justify-self: end;
  filter: drop-shadow(0 18px 28px rgba(25, 19, 43, 0.22));
}
.sonu-waitlist-note {
  margin-top: 28px;
  max-width: 680px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.36);
  background: rgba(255,255,255,0.60);
  color: rgba(0,0,0,0.82);
  backdrop-filter: blur(10px);
}
.sonu-waitlist-note img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(24, 18, 40, 0.18);
}
.sonu-waitlist-note strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}
.sonu-waitlist-note p {
  margin: 6px 0 0;
  color: rgba(0,0,0,0.68);
  font-size: 13.5px;
  line-height: 1.45;
}
@media (max-width: 720px) {
  .sonu-inline-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .sonu-inline-card img {
    width: 170px;
    justify-self: center;
  }
  .sonu-waitlist-note {
    grid-template-columns: 70px 1fr;
  }
  .sonu-waitlist-note img {
    width: 70px;
    height: 70px;
  }
}

/* ───────────────── stats block (By the numbers) ───────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-tile {
  padding: 32px 28px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
:root[data-theme="dark"] .stat-tile {
  background: linear-gradient(155deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border-color: rgba(255,255,255,0.08);
}
.stat-tile.accent {
  background: linear-gradient(155deg, var(--card-dark), var(--card-dark));
  color: var(--card-dark-ink);
  border-color: transparent;
}
:root[data-theme="dark"] .stat-tile.accent {
  background: linear-gradient(155deg, #2A2150, #1F1840);
}
.stat-tile-num {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.stat-tile.accent .stat-tile-num { color: var(--card-dark-ink); }
.stat-tile.accent.gold .stat-tile-num {
  background: linear-gradient(120deg, var(--accent-gold) 0%, #FFB370 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-tile-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-lav);
  margin-bottom: 10px;
}
.stat-tile-body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-72);
}
.stat-tile.accent .stat-tile-body { color: var(--card-dark-ink-72); }
.stat-source {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-50);
}
.stat-tile.accent .stat-source { color: rgba(255,255,255,0.4); }

/* ───────────────── team grid (About) ───────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

.role-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  position: relative;
  transition: transform .2s ease;
}
.role-card:hover { transform: translateY(-3px); }
:root[data-theme="dark"] .role-card {
  background: linear-gradient(155deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border-color: rgba(255,255,255,0.08);
}
.role-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--card-dark);
  color: #FFFFFF;             /* white icon on dark-purple cap — high contrast in both themes */
  display: grid; place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px -10px rgba(43,38,68,0.5);
}
:root[data-theme="dark"] .role-icon {
  color: var(--accent-lav);   /* dark theme: bright lavender icon on slightly-lifted card-dark */
  background: linear-gradient(135deg, #2A2150, #1F1840);
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.5);
}
.role-icon svg { width: 22px; height: 22px; }
.role-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--ink);
}
.role-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-72);
}

/* ───────────────── jargon / plain-English cards ───────────────── */
.jargon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 900px) { .jargon-grid { grid-template-columns: 1fr; } }

.jargon-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: transform .2s, border-color .2s;
}
.jargon-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
:root[data-theme="dark"] .jargon-card {
  background: linear-gradient(155deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border-color: rgba(255,255,255,0.08);
}
.jargon-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-lav);
  margin-bottom: 8px;
}
.jargon-term {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  line-height: 1.2;
}
.jargon-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-85);
}
.jargon-body strong { color: var(--ink); font-weight: 600; }

/* ───────────────── audience block (For Pros sub-sections) ───────────────── */
.audience {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}
.audience:first-of-type { border-top: 0; }
.audience-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}
@media (max-width: 700px) { .audience-head { grid-template-columns: 1fr; } }
.audience-num {
  font-size: clamp(48px, 5vw, 80px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--accent-lav);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.audience-head h3 {
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.05;
}
.audience-head p {
  font-size: 16px;
  color: var(--ink-72);
  max-width: 60ch;
  line-height: 1.55;
}

/* ───────────────── sub-nav (in-page section nav) ───────────────── */
.sub-nav {
  position: sticky;
  top: 84px;
  z-index: 40;
  background: var(--nav-glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--nav-line);
  padding: 12px 0;
}
.sub-nav-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sub-nav-inner::-webkit-scrollbar { display: none; }
.sub-nav-inner a {
  white-space: nowrap;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-60);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.sub-nav-inner a:hover { color: var(--ink); }
.sub-nav-inner a.current {
  color: var(--ink);
  border-bottom-color: var(--accent-lav);
}

/* ───────────────── persona / worked-example cards ─────────────────
   Used on /index for the four canonical demo households (Paul / Hannah /
   Niamh / Maya). Each card shows: who they are, the headline number, a
   before/after delta with two coloured numbers, and the one-paragraph
   takeaway. Designed to read as proof, not marketing — so the numbers
   carry more weight than the prose. */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 900px) { .persona-grid { grid-template-columns: 1fr; } }

.persona-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
:root[data-theme="dark"] .persona-card {
  background: linear-gradient(155deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border-color: rgba(255,255,255,0.08);
}
.persona-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--line-strong);
}

.persona-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-lav);
}

.persona-headline {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.persona-numbers {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 480px) {
  .persona-numbers { grid-template-columns: 1fr; gap: 14px; }
  .persona-arrow { display: none; }
}

.persona-number { display: flex; flex-direction: column; gap: 4px; }

.persona-num-label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-60);
}

.persona-num-val {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.persona-num-val.before { color: #C26563; }
:root[data-theme="dark"] .persona-num-val.before { color: #F0928D; }
.persona-num-val.after  { color: var(--accent-emerald); }

.persona-num-sub {
  font-size: 12px;
  color: var(--ink-60);
  line-height: 1.4;
}

.persona-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-lav);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
:root[data-theme="dark"] .persona-arrow { color: #07050F; }

.persona-takeaway {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-85);
}

.persona-meta {
  display: flex; gap: 12px; align-items: center;
  font-size: 12px; color: var(--ink-60);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
:root[data-theme="dark"] .persona-meta { border-top-color: rgba(255,255,255,0.08); }
.persona-meta strong { color: var(--ink-85); font-weight: 600; }
.persona-meta a {
  margin-left: auto;
  color: var(--accent-lav);
  text-decoration: none;
  font-weight: 600;
}
.persona-meta a:hover { text-decoration: underline; }

/* ───────────────── onboarding preview (21 questions → model) ─────────────────
   Used on /index between Meet section and Worked Examples. Two-column layout:
   left = the 15 visible onboarding questions (of ~21 incl. conditionals); right =
   the model output preview as a faux dashboard (triple-anchor + CoI + top action).
   The point: show concretely what 90 seconds of clicks buys you. */
.onboard-grid {
  display: grid;
  grid-template-columns: 1fr 14px 1.1fr;
  gap: 32px;
  margin-top: 40px;
  align-items: start;
}
@media (max-width: 980px) {
  .onboard-grid { grid-template-columns: 1fr; gap: 28px; }
  .onboard-arrow { display: none; }
}

/* ── left column: question list */
.q-list-wrap {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px;
}
:root[data-theme="dark"] .q-list-wrap {
  background: linear-gradient(155deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border-color: rgba(255,255,255,0.08);
}
.q-list-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent-lav);
  margin-bottom: 4px;
}
.q-list-head {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500; letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}
.q-list { list-style: none; }
.q-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-85);
  align-items: baseline;
}
:root[data-theme="dark"] .q-list li { border-bottom-color: rgba(255,255,255,0.06); }
.q-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.q-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-lav);
  font-variant-numeric: tabular-nums;
}
.q-text { color: var(--ink); font-weight: 400; }
.q-text strong { font-weight: 600; }
.q-meta {
  display: block;
  font-size: 12px;
  color: var(--ink-60);
  margin-top: 2px;
}

.q-list-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-60);
}
:root[data-theme="dark"] .q-list-foot { border-top-color: rgba(255,255,255,0.08); }

/* ── arrow column */
.onboard-arrow {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--accent-lav);
}
.onboard-arrow svg { width: 32px; height: 32px; }
.onboard-arrow-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-top: 8px;
}

/* ── right column: model preview */
.model-preview {
  background: linear-gradient(155deg, var(--card-dark), #1F1840);
  color: #fff;
  border-radius: 22px;
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-card);
}
.model-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent-gold);
  margin-bottom: 0;
}
.model-head {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500; letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 8px 0;
}

/* triple-anchor row */
.model-anchors {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.anchor { display: flex; flex-direction: column; gap: 4px; }
.anchor-label {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
}
.anchor-val {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500; letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.anchor-val.score { color: var(--accent-emerald); }
.anchor-val.risk  { color: var(--accent-gold); }
.anchor-band {
  font-size: 11px;
  color: rgba(255,255,255,0.72);
}

/* CoI ticker */
.model-coi {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(240,146,141,0.30);
  border-radius: 14px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.coi-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #F0928D;
  margin-bottom: 4px;
}
.coi-detail {
  font-size: 13px; color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.coi-val {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500; letter-spacing: -0.03em;
  color: #F0928D;
  font-variant-numeric: tabular-nums;
}

/* top action */
.model-action {
  background: rgba(15,166,127,0.08);
  border: 1px solid rgba(15,166,127,0.28);
  border-radius: 14px;
  padding: 16px 18px;
}
.action-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-emerald);
  margin-bottom: 6px;
}
.action-body {
  font-size: 14px; line-height: 1.5;
  color: rgba(255,255,255,0.92);
}
.action-body strong { color: var(--accent-emerald); }

.model-foot {
  font-size: 11.5px; color: rgba(255,255,255,0.55);
  line-height: 1.4;
  padding-top: 4px;
}

/* ───────────────── archetype picker (inside model-preview) ───────────────── */
.model-pick-label {
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.archetype-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip-arch {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  font-family: inherit;
}
.chip-arch:hover {
  background: rgba(255,255,255,0.13);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.chip-arch.active {
  background: var(--accent-lav);
  color: #fff;
  border-color: var(--accent-lav);
  font-weight: 600;
}
.chip-arch:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* ───────────────── model math disclosure ───────────────── */
.model-math {
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 14px;
}
.model-math summary {
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.model-math summary::-webkit-details-marker { display: none; }
.model-math summary::after {
  content: "↓";
  opacity: 0.5;
  font-size: 13px;
  margin-left: 4px;
  transition: transform .2s ease;
}
.model-math[open] summary::after { transform: rotate(180deg); }
.model-math summary:hover { color: rgba(255,255,255,0.9); }
.math-body {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: rgba(0,0,0,0.18);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* ───────────────── comparison table (home) ───────────────── */
.compare-wrap {
  margin-top: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.compare-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table thead th {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-72);
  padding: 18px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: bottom;
  white-space: nowrap;
  background: var(--bg-soft);
}
.compare-table thead th.sw-col {
  color: #fff;
  background: linear-gradient(160deg, var(--accent-lav), color-mix(in srgb, var(--accent-lav) 70%, #000));
  position: relative;
}
.compare-table thead th.sw-col::after {
  content: "ours";
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7);
}
.compare-table tbody th {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 14px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  max-width: 280px;
  line-height: 1.4;
}
.compare-table tbody td {
  padding: 14px 12px;
  text-align: left;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-72);
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.compare-table tbody td.sw {
  color: var(--ink);
  font-weight: 600;
  background: color-mix(in srgb, var(--accent-lav) 8%, transparent);
}
.compare-table tbody td.sw::before {
  content: "✓ ";
  color: var(--accent-emerald);
  font-weight: 700;
}
.compare-table tbody td.part::before {
  content: "~ ";
  color: var(--accent-gold);
}
.compare-table tbody td.no {
  color: var(--ink-60);
  opacity: 0.7;
}
.compare-table tbody td.no::before {
  content: "— ";
  opacity: 0.6;
}
.compare-foot {
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-60);
  max-width: 70ch;
  line-height: 1.55;
}

/* ───────────────── cookie consent banner ─────────────────
   Minimal UK GDPR-compliant banner. Three states stored in localStorage:
   "all" (accept all), "essential" (essential only), null (not chosen yet). */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 640px;
  margin: 0 auto;
  background: rgba(15, 12, 30, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 18px 22px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.50);
  font-size: 14px;
  line-height: 1.5;
  animation: cookieRise 0.4s ease-out;
}
@keyframes cookieRise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-banner-actions { display: flex; gap: 8px; }
}
.cookie-banner a { color: var(--accent-lav); text-decoration: underline; }
.cookie-banner-actions { display: contents; }
@media (max-width: 640px) { .cookie-banner-actions { display: flex; } }
.cookie-btn {
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: opacity 0.15s, transform 0.15s;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn-secondary {
  background: rgba(255,255,255,0.10);
  color: #fff;
}
.cookie-btn-secondary:hover { background: rgba(255,255,255,0.16); }
.cookie-btn-primary {
  background: #fff;
  color: #07050F;
}
.cookie-btn-primary:hover { background: #f0eef8; }

/* ───────────────── utilities ───────────────── */
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.center { text-align: center; }
.max-prose { max-width: 64ch; }
.accent-lav { color: var(--accent-lav); }

/* Product page proof blocks */
.product-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.product-proof-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 10%, rgba(110,95,204,0.13), transparent 34%),
    var(--card);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-proof-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-lav) 38%, var(--line));
  box-shadow: 0 20px 48px rgba(15,13,26,0.12);
}
.product-proof-card.primary,
.product-proof-card.sonu-product-card {
  grid-column: span 2;
}
.product-proof-card h3 {
  margin: 10px 0 12px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
  letter-spacing: 0;
}
.product-proof-card p {
  color: var(--ink-72);
  line-height: 1.55;
}
.proof-index {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--card-dark);
  color: var(--accent-lav-soft);
  font-size: 12px;
  font-weight: 800;
}
.proof-list {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--ink-72);
  font-size: 14px;
}
.proof-list li::before {
  content: "✓ ";
  color: var(--accent-emerald);
  font-weight: 800;
}
.sonu-product-card {
  display: grid;
  grid-template-columns: 1fr 190px;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(212,169,86,0.24), transparent 34%),
    linear-gradient(135deg, rgba(110,95,204,0.10), rgba(212,169,86,0.10)),
    var(--card);
}
.sonu-product-card img {
  width: 210px;
  max-width: 100%;
  align-self: end;
  justify-self: end;
  margin-bottom: -28px;
}
.rule-plain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.rule-plain-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.rule-plain-card span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-lav) 12%, transparent);
  color: var(--accent-lav);
  font-size: 12px;
  font-weight: 800;
}
.rule-plain-card h3 {
  margin: 14px 0 8px;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: 0;
}
.rule-plain-card p {
  color: var(--ink-72);
  line-height: 1.5;
}
.product-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.flow-step {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-soft);
}
.flow-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  background: var(--accent-lav);
  color: #fff;
  font-weight: 800;
}
.flow-step h3 {
  margin-bottom: 10px;
  font-size: 24px;
  letter-spacing: 0;
}
.flow-step p {
  color: var(--ink-72);
  line-height: 1.55;
}
.product-sonu-example {
  min-height: 320px;
}
.product-sonu-example .card-head {
  max-width: 18ch;
}
@media (max-width: 980px) {
  .product-proof-grid,
  .rule-plain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-flow {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .product-proof-grid,
  .rule-plain-grid {
    grid-template-columns: 1fr;
  }
  .product-proof-card.primary,
  .product-proof-card.sonu-product-card {
    grid-column: auto;
  }
  .sonu-product-card {
    grid-template-columns: 1fr;
  }
  .sonu-product-card img {
    justify-self: center;
    margin-bottom: -18px;
  }
}

/* Timeline page */
.timeline-preview {
  margin-top: 40px;
  display: grid;
  gap: 12px;
  position: relative;
}
.timeline-preview::before {
  content: '';
  position: absolute;
  left: 72px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--line);
}
.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.timeline-row::before {
  content: '';
  position: absolute;
  left: 65px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent-lav);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line);
}
.timeline-row.accent::before { background: var(--accent-emerald); }
.timeline-row.gold::before { background: var(--accent-gold); }
.timeline-row span {
  color: var(--accent-lav);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.timeline-row strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}
.timeline-row em {
  color: var(--ink-60);
  font-style: normal;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .timeline-preview::before { left: 25px; }
  .timeline-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 54px;
  }
  .timeline-row::before { left: 18px; }
}

/* ───────────────── Ask Sonu (AI chat) ───────────────── */
.ask-sonu {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  margin-top: 24px;
}
@media (max-width: 700px) { .ask-sonu { padding: 24px; } }
.ask-head {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}
.ask-head img { width: 72px; height: 72px; object-fit: contain; }
.ask-head .ask-who {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-lav);
  margin-bottom: 4px;
}
.ask-head h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}
.ask-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.ask-prompt {
  padding: 10px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--ink-85);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  font-family: inherit;
}
.ask-prompt:hover {
  background: rgba(110,95,204,0.08);
  border-color: rgba(110,95,204,0.3);
  color: var(--ink);
}
.ask-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: stretch;
}
@media (max-width: 600px) { .ask-input-row { grid-template-columns: 1fr; } }
.ask-input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  resize: vertical;
  min-height: 76px;
  line-height: 1.5;
  transition: border-color .2s;
}
.ask-input:focus {
  outline: 0;
  border-color: var(--accent-lav);
}
.ask-submit {
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 14px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
  min-height: 76px;
}
.ask-submit:hover { transform: translateY(-1px); }
.ask-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.ask-answer {
  margin-top: 22px;
  padding: 24px 26px;
  background: linear-gradient(155deg, rgba(110,95,204,0.05), rgba(110,95,204,0.01));
  border: 1px solid rgba(110,95,204,0.18);
  border-radius: 16px;
  display: none;
}
.ask-answer.show { display: block; }
.ask-answer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.ask-answer-head img { width: 36px; height: 36px; object-fit: contain; }
.ask-answer-head .who {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.ask-answer-head .status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-emerald);
}
.ask-answer-head .status.thinking { color: var(--accent-lav); }
.ask-answer-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-85);
  white-space: pre-wrap;
}
.ask-answer-body strong { color: var(--ink); }
.ask-answer-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--ink-60);
  line-height: 1.5;
}
.ask-disclaimer {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-60);
}

/* ───────────────── Ask Sonu Visual Explanation Cards ───────────────── */
.sonu-visual-card {
  margin-top: 20px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.06);
}
:root[data-theme="dark"] .sonu-visual-card {
  background: linear-gradient(155deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4);
}
.sonu-visual-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* 1. Timeline Comparison (Retirement) */
.visual-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.timeline-lane {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lane-label {
  font-size: 12px;
  color: var(--ink-72);
  font-weight: 500;
}
.timeline-bar {
  position: relative;
  height: 28px;
  background: var(--bg-deep);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.timeline-bar .bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s ease;
}
.timeline-bar.target .bar-fill {
  background: linear-gradient(90deg, var(--accent-lav-soft), #d9534f);
}
.timeline-bar.optimized .bar-fill {
  background: linear-gradient(90deg, var(--accent-lav), var(--accent-emerald));
}
.timeline-bar .bar-value {
  position: relative;
  z-index: 1;
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  padding-left: 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.visual-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.metric {
  text-align: center;
  display: flex;
  flex-direction: column;
}
.metric strong {
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
}
.metric span {
  font-size: 11px;
  color: var(--ink-60);
  margin-top: 2px;
}

/* 2. Option Comparison (Mortgage vs ISA) */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
@media (max-width: 500px) { .comparison-grid { grid-template-columns: 1fr; } }
.comp-option {
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
}
.comp-option h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-72);
  margin-bottom: 8px;
}
.comp-value {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.comp-value.green { color: var(--accent-emerald); }
.comp-value.gold { color: var(--accent-gold); }
.comp-desc {
  font-size: 12px;
  color: var(--ink-60);
  line-height: 1.4;
}
.comp-note {
  font-size: 12px;
  color: var(--ink-72);
  background: rgba(110,95,204,0.06);
  padding: 10px 12px;
  border-radius: 8px;
  border-left: 3px solid var(--accent-lav);
}

/* 3. Estate Breakdown Bar */
.breakdown-bar {
  display: flex;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}
.breakdown-bar .slice {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  transition: width 0.6s ease;
}
.iht-metrics {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.iht-metric {
  display: flex;
  flex-direction: column;
}
.iht-metric span {
  font-size: 11px;
  color: var(--ink-60);
}
.iht-metric strong {
  font-size: 15px;
  margin-top: 2px;
}

/* 4. Plan Health Check Scorecard */
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 500px) { .status-grid { grid-template-columns: 1fr; } }
.status-item {
  padding: 16px 12px;
  border-radius: 12px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.status-item.green { border-top: 4px solid var(--accent-emerald); }
.status-item.amber { border-top: 4px solid var(--accent-gold); }
.status-metric {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.status-label {
  font-size: 11px;
  color: var(--ink-60);
  margin: 4px 0 8px;
}
.status-badge {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.status-item.green .status-badge {
  background: rgba(15,166,127,0.12);
  color: var(--accent-emerald);
}
.status-item.amber .status-badge {
  background: rgba(200,144,46,0.12);
  color: var(--accent-gold);
}

/* 5. 7-Year PET Clock */
.pet-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.pet-step {
  padding: 12px 8px;
  text-align: center;
  border-radius: 8px;
  background: var(--bg-deep);
  border: 1px dashed var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pet-step.done {
  background: rgba(220,53,69,0.06);
  border: 1px solid rgba(220,53,69,0.22);
}
.pet-step.taper {
  background: rgba(200,144,46,0.06);
  border: 1px solid rgba(200,144,46,0.22);
}
.pet-step.free {
  background: rgba(15,166,127,0.06);
  border: 1px solid rgba(15,166,127,0.22);
}
.step-year {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-72);
}
.step-val {
  font-size: 11px;
  font-weight: 600;
}
.pet-step.done .step-val { color: #d9534f; }
.pet-step.taper .step-val { color: var(--accent-gold); }
.pet-step.free .step-val { color: var(--accent-emerald); }
.pet-notes {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-72);
  background: var(--bg-deep);
  padding: 10px 14px;
  border-radius: 8px;
}

/* 6. Interest Rate Comparison */
.rate-comparison {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 14px;
  align-items: flex-end;
  height: 120px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.rate-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
}
.rate-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-60);
  margin-bottom: 8px;
  text-align: center;
}
.rate-bar {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: var(--accent-lav-soft);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  transition: height 0.6s ease;
}
.rate-column.highlight .rate-bar {
  background: linear-gradient(180deg, #d9534f, var(--accent-lav));
}
.rate-val {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.rate-details {
  font-size: 12px;
  text-align: center;
  color: var(--ink-72);
}

/* 7. Double Tax Stack (IHT + Income Tax on remaining SIPP) */
.double-tax-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.stack-layer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
}
.stack-layer.pot { background: var(--bg-deep); color: var(--ink); border: 1px solid var(--line); }
.stack-layer.iht { background: #d9534f; }
.stack-layer.inc { background: #f0ad4e; }
.stack-layer.left { background: var(--accent-emerald); }

/* 8. DB vs DC wrapper card */
.wrapper-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 500px) { .wrapper-comparison { grid-template-columns: 1fr; } }
.wrapper-box {
  padding: 14px;
  border-radius: 10px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
}
.wrapper-box.protected { border-top: 4px solid var(--accent-emerald); }
.wrapper-box.exposed { border-top: 4px solid #d9534f; }
.wrapper-box h5 { font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.wrapper-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}
.wrapper-box.protected .wrapper-badge { background: rgba(15,166,127,0.12); color: var(--accent-emerald); }
.wrapper-box.exposed .wrapper-badge { background: rgba(217,83,79,0.12); color: #d9534f; }
.wrapper-desc { font-size: 11.5px; color: var(--ink-72); line-height: 1.45; }

