﻿/* ==========================================================================
   Income Intelligence - design system v2 "The Measured Game"
   --------------------------------------------------------------------------
   Editorial financial-journal meets modern measured brand. The product is
   honest measurement, so the visual language is measurement: ruler ticks,
   line-work, oversized numerals, hairline rules, film grain on dark surfaces.

   Type: Bricolage Grotesque (display) / Instrument Sans (body) /
         Spline Sans Mono (numeric + eyebrows). Loaded from Google Fonts in
         the layouts.

   Every class name is a stable contract with the PHP templates - the
   variable NAMES survive from the source system; only the VALUES changed
   (emerald family -> deep ink-navy, lime -> warm gold).
   ========================================================================== */

:root {
  /* Palette - ink-navy dominant, warm gold as a scalpel. */
  --pitch: #13385f;
  --pitch-dark: #0e2a47;
  --pitch-deep: #081829;
  --pitch-ink: #06121f;
  --pitch-100: #e9eef4;
  --pitch-200: #cfdbe7;
  --lime: #e8b04b;
  --lime-deep: #8a6118;     /* gold for text on light backgrounds (5.1:1 on paper, 4.8:1 on band bg) */

  --ink: #101609;
  --ink-2: #46503f;
  --ink-3: #6a7360;         /* 4.5:1 on paper - WCAG AA for small muted text */
  --paper: #f6f7f2;
  --paper-2: #edefe6;
  --surface: #fdfdfb;
  --border: #dfe3d6;
  --border-2: #e9ece1;
  --hairline: rgba(14, 42, 71, 0.16);

  --amber: #b45309;
  --amber-bg: #fbf0dc;
  --red: #b93226;
  --red-bg: #fbe7e4;
  --blue: #1f6feb;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(6, 18, 31, 0.05);
  --shadow: 0 10px 30px -12px rgba(6, 18, 31, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(6, 18, 31, 0.3);

  --wrap: 1140px;
  --wrap-narrow: 780px;

  --font-display: 'Bricolage Grotesque', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font: 'Instrument Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'Spline Sans Mono', ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Reusable textures (CSP-safe data URIs). */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  --ticks: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 12px);
}

/* -- Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }
::selection { background: var(--lime); color: var(--pitch-ink); }
:focus-visible { outline: 2px solid var(--pitch); outline-offset: 3px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* -- Layout ------------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--wrap-narrow); }
.section { padding: 88px 0; }
.section-sm { padding: 52px 0; }
/* Interior pages open straight into content - no dead air under the nav. */
main > .section:first-child { padding-top: 44px; }
main > .section:first-child .section-head { margin-bottom: 36px; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.stack > * + * { margin-top: 14px; }
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  main > .section:first-child { padding-top: 28px; }
  .wrap { padding: 0 20px; }
}

/* -- Typography ---------------------------------------------------------------
   Editorial scale: huge tight display, measured body. */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -0.022em; color: var(--ink); text-wrap: balance; }
.display {
  font-size: clamp(2.9rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.034em;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); font-weight: 800; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.22rem; line-height: 1.25; letter-spacing: -0.012em; }
.lead { font-size: 1.16rem; line-height: 1.62; color: var(--ink-2); text-wrap: pretty; }
.t-body { font-size: 1rem; line-height: 1.68; }

/* Eyebrow: mono kicker with a tick ruler - the measurement motif. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pitch);
}
.eyebrow::before {
  content: ''; width: 34px; height: 9px; color: var(--pitch);
  background: var(--ticks);
  opacity: 0.85;
}
.center .eyebrow::before, .eyebrow.center::before { display: none; }
.center .eyebrow::after, .eyebrow.center::after {
  content: ''; position: absolute;
}
.section-head { max-width: 660px; margin: 0 auto 48px; }
.section-head h2 { margin-top: 10px; }
.section-head .lead { margin-top: 14px; }
.center.section-head { text-align: center; }

/* -- Brand --------------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-img { width: 30px; height: 30px; display: block; flex-shrink: 0; transition: transform 0.5s var(--ease); }
.brand:hover .brand-img { transform: rotate(-8deg) scale(1.05); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; color: var(--ink); }
.brand-to { color: var(--lime-deep); }

/* -- Nav ------------------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 0.95rem; }
.nav-links a:not(.btn) { position: relative; padding: 4px 0; color: var(--ink-2); transition: color 0.2s var(--ease); }
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--pitch); transition: right 0.3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after { right: 0; }
/* Mobile: single-row bar (brand + CTA + burger); links live in the drop panel.
   The primary CTA never hides - only the secondary links fold away. */
.nav-mobile { display: none; align-items: center; gap: 6px; }
.nav-burger {
  position: relative; width: 44px; height: 44px; flex-shrink: 0;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-radius: 10px;
}
.nav-burger span {
  display: block; width: 21px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform 0.35s var(--ease-expo), opacity 0.25s var(--ease);
}
.nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: -1;
  background: linear-gradient(170deg, var(--pitch-deep), var(--pitch-ink));
  border-bottom: 1px solid rgba(232, 176, 75, 0.3);
  box-shadow: 0 30px 60px -22px rgba(6, 18, 31, 0.55);
  padding: 10px 0 24px;
  opacity: 0; transform: translateY(-16px); visibility: hidden; pointer-events: none;
  transition: transform 0.45s var(--ease-expo), opacity 0.3s var(--ease), visibility 0s 0.45s;
}
.nav-menu::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.1; mix-blend-mode: overlay;
}
.nav.menu-open .nav-menu {
  opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  transition: transform 0.45s var(--ease-expo), opacity 0.3s var(--ease), visibility 0s;
}
.nav-menu .wrap { counter-reset: nm; position: relative; }
.nav-menu a:not(.btn) {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.42rem; letter-spacing: -0.02em;
  color: #eef2f7; padding: 15px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.nav-menu a:not(.btn)::before {
  counter-increment: nm; content: counter(nm, decimal-leading-zero);
  font-family: var(--font-mono); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.16em;
  color: var(--lime); opacity: 0.85;
}
.nav-menu a:not(.btn):active { color: var(--lime); }
.nav-menu-cta {
  margin-top: 18px; width: 100%;
  background: var(--lime); color: var(--pitch-ink);
  box-shadow: 0 14px 34px -12px rgba(232, 176, 75, 0.5);
}
/* Staggered link entrance once the panel opens. */
.nav-menu a { opacity: 0; transform: translateX(-16px); transition: opacity 0.35s var(--ease-expo), transform 0.35s var(--ease-expo); }
.nav.menu-open .nav-menu a { opacity: 1; transform: none; }
.nav.menu-open .nav-menu a:nth-child(1) { transition-delay: 0.08s; }
.nav.menu-open .nav-menu a:nth-child(2) { transition-delay: 0.15s; }
.nav.menu-open .nav-menu a:nth-child(3) { transition-delay: 0.22s; }
.nav.menu-open .nav-menu a:nth-child(4) { transition-delay: 0.3s; }

/* The header stays pinned; it only condenses (glass + shadow) once scrolling. */
.nav { transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease); }

/* Floating back-to-top: appears after real downward travel (injected by JS). */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pitch-dark); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 14px 34px -12px rgba(6, 18, 31, 0.55);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-expo),
              visibility 0s 0.4s, background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.to-top.show {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-expo),
              visibility 0s, background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.to-top:hover { background: var(--lime); color: var(--pitch-ink); transform: translateY(-3px); }
.to-top:active { transform: translateY(-1px); }
.to-top svg { transition: transform 0.25s var(--ease); }
.to-top:hover svg { transform: translateY(-2px); }
@media (max-width: 640px) { .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; } }

@media (max-width: 640px) {
  .nav-inner { height: 64px; }
  .nav-links { display: none; }
  .nav-mobile { display: inline-flex; }
  .nav-menu { display: block; }
}

/* -- Buttons ---------------------------------------------------------------------
   Squared-off pill: confident, athletic, not bubble-soft. */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em;
  text-align: center;
  padding: 13px 26px; border-radius: 10px;
  transition: transform 0.15s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--pitch-dark); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 10px 24px -10px rgba(14, 42, 71, 0.55); }
.btn-primary:hover { background: var(--pitch-ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 14px 30px -10px rgba(14, 42, 71, 0.6); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #232b1c; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--pitch); color: var(--pitch-dark); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; border-radius: 12px; }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; border-radius: 8px; }
.btn-block { display: flex; width: 100%; }

/* -- Hero -------------------------------------------------------------------------
   Photographic, grained, with a load-in stagger and the score ruler. */
.hero {
  position: relative; color: #eef2f7; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(6, 18, 31, 0.92) 0%, rgba(6, 51, 29, 0.72) 46%, rgba(6, 51, 29, 0.45) 100%),
    url('/assets/img/hero.jpg') center 30% / cover no-repeat,
    linear-gradient(160deg, #113154 0%, var(--pitch-deep) 70%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain);
  opacity: 0.14; mix-blend-mode: overlay;
}
.hero::after {
  /* Halfway-line + centre-circle pitch marking, cropped off the right edge. */
  content: ''; position: absolute; top: 50%; right: -170px; width: 520px; height: 520px;
  transform: translateY(-50%);
  border: 1.5px solid rgba(255, 255, 255, 0.14); border-radius: 50%;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 108px 0 96px; max-width: 720px; }
@media (max-width: 640px) { .hero-inner { padding: 64px 0 60px; } }
.hero .eyebrow { color: var(--lime); }
.hero .eyebrow::before { color: var(--lime); }
.hero h1 { color: #fff; margin-top: 16px; max-width: 15ch; }
.hero .lead { color: #cfdae5; max-width: 52ch; margin-top: 22px; font-size: 1.2rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-cta .btn-primary { background: var(--lime); color: var(--pitch-ink); box-shadow: 0 14px 34px -12px rgba(232, 176, 75, 0.5); }
.hero-cta .btn-primary:hover { background: #f2b94e; transform: translateY(-2px); }
.hero-cta .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.32); }
.hero-cta .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.7); color: #fff; }
.hero-trust { margin-top: 30px; display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: #a6bcd3; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ''; width: 6px; height: 6px; background: var(--lime); }

/* The 0-100 ruler: the product in one ornament. */
.hero-ruler {
  margin-top: 44px; max-width: 460px; position: relative;
  height: 34px; color: rgba(255,255,255,0.5);
}
.hero-ruler::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px;
  background: var(--ticks);
  opacity: 0.65;
}
.hero-ruler::after {
  content: ''; position: absolute; left: 0; top: -3px; width: 3px; height: 18px;
  background: var(--lime);
  animation: ruler-sweep 3.2s var(--ease) 0.9s both;
}
@keyframes ruler-sweep { from { left: 0; } to { left: 72%; } }
.hero-ruler span {
  position: absolute; top: 16px; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em;
}
.hero-ruler span:nth-child(1) { left: 0; transform: none; }
.hero-ruler span:nth-child(2) { left: 25%; }
.hero-ruler span:nth-child(3) { left: 50%; }
.hero-ruler span:nth-child(4) { left: 75%; }
.hero-ruler span:nth-child(5) { left: 100%; transform: translateX(-100%); }

/* Load-in stagger. */
.fx { opacity: 0; transform: translateY(18px); animation: fx-in 0.9s var(--ease) forwards; }
.fx-1 { animation-delay: 0.05s; } .fx-2 { animation-delay: 0.16s; }
.fx-3 { animation-delay: 0.27s; } .fx-4 { animation-delay: 0.38s; }
.fx-5 { animation-delay: 0.5s; }
@keyframes fx-in { to { opacity: 1; transform: none; } }

/* -- Cards ------------------------------------------------------------------------ */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card::before {
  /* Corner-arc pitch marking. */
  content: ''; position: absolute; top: -1px; left: -1px; width: 22px; height: 22px;
  border-right: 1.5px solid var(--hairline);
  border-radius: 0 0 100% 0;
  border-bottom: 1.5px solid var(--hairline);
  pointer-events: none;
}
.card:hover { transform: translateY(-3px); border-color: var(--pitch-200); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--ink-2); font-size: 0.99rem; }

.grid { display: grid; gap: 18px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 880px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.step-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.step-num {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  color: var(--pitch-dark); background: var(--pitch-100); border-radius: 10px;
}
.step-head .step-num { margin-bottom: 0; }
.step-icon { color: var(--pitch); opacity: 0.9; }

/* -- Imagery ------------------------------------------------------------------------ */
.page-hero-img {
  width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}
.img-card {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
}
@media (max-width: 560px) { .page-hero-img { aspect-ratio: 2 / 1; } }

/* -- Pricing -------------------------------------------------------------------------- */
.price-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 22px; max-width: 840px; margin: 0 auto; align-items: start; }
@media (max-width: 680px) { .price-wrap { grid-template-columns: 1fr; } }
.price-card { padding: 34px 32px; }
.price-card.featured {
  background: linear-gradient(165deg, var(--pitch-deep), var(--pitch-ink));
  border-color: transparent; color: #e9eff5;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.price-card.featured::before { display: none; }
.price-card.featured::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.12; mix-blend-mode: overlay;
}
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured .feature-list li { color: #c9d5e2; }
.price-card.featured .feature-list li::before { color: var(--lime); }
.price-card.featured .muted { color: #96aabf; }
.price-card.featured:hover { transform: translateY(-4px); }
.price-card.featured .btn-primary { background: var(--lime); color: var(--pitch-ink); box-shadow: 0 14px 34px -12px rgba(232, 176, 75, 0.45); }
.price-card.featured .btn-primary:hover { background: #f2b94e; }
.price-badge {
  position: absolute; top: 18px; right: 18px; z-index: 1;
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pitch-ink); background: var(--lime); padding: 6px 11px; border-radius: 6px;
}
.price { font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 14px 0 6px; }
.price small { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; color: var(--ink-3); }
.price-card.featured .price small { color: #8fa6bf; }
.feature-list { margin-top: 18px; }
.feature-list li { display: flex; gap: 11px; padding: 8px 0; color: var(--ink-2); font-size: 0.97rem; line-height: 1.5; }
.feature-list li::before { content: 'â†’'; color: var(--pitch); font-weight: 700; flex-shrink: 0; }

/* -- Score dial ------------------------------------------------------------------------ */
.dial-wrap { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.dial { position: relative; width: 178px; height: 178px; flex-shrink: 0; }
.dial::before {
  /* Tick ring behind the dial - gauge language. */
  content: ''; position: absolute; inset: -13px; border-radius: 50%;
  background: repeating-conic-gradient(from -90deg, var(--hairline) 0deg 1.2deg, transparent 1.2deg 9deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
}
.dial svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.dial .track { stroke: var(--paper-2); }
.dial .value { stroke: var(--pitch); stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.dial-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dial-score { font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.dial-outof { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ink-3); margin-top: 4px; }

.band-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 8px;
  font-family: var(--font-mono); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--pitch-100); color: var(--pitch-dark);
}
.band-wealth_builder { background: var(--pitch-dark); color: #f9d99d; }
.band-on_track { background: #f5eedd; color: var(--lime-deep); }
.band-momentum { background: var(--pitch-100); color: var(--pitch-dark); }
.band-starting { background: var(--paper-2); color: var(--ink-2); }
.band-pressure { background: var(--amber-bg); color: var(--amber); }
.band-reset { background: var(--red-bg); color: var(--red); }

/* -- Corner bars -------------------------------------------------------------------------- */
.bars { margin-top: 10px; }
.bar-row { margin: 16px 0; }
.bar-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.bar-label { font-weight: 600; font-size: 0.95rem; }
.bar-val { font-family: var(--font-mono); font-weight: 600; font-size: 0.9rem; color: var(--pitch-dark); }
.bar-track {
  height: 8px; border-radius: 999px; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--paper) calc(25% - 1px) 25%),
    var(--paper-2);
}
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--pitch-dark), var(--pitch)); border-radius: 999px; }

/* -- Result -------------------------------------------------------------------------------- */
.result-hero {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px 38px; box-shadow: var(--shadow);
}
.callout {
  background: var(--pitch-100); border: 1px solid var(--pitch-200); border-left: 3px solid var(--pitch);
  border-radius: var(--radius-sm); padding: 17px 20px; color: var(--pitch-ink); font-size: 0.96rem;
}
.callout-amber { background: var(--amber-bg); border-color: #eed9ac; border-left-color: var(--amber); color: #6b4206; }
.disclaimer { font-size: 0.85rem; line-height: 1.6; color: var(--ink-3); border-left: 2px solid var(--border); padding-left: 16px; }

.locked { position: relative; }
.locked-inner { filter: blur(7px) saturate(0.8); opacity: 0.5; pointer-events: none; user-select: none; max-height: 260px; overflow: hidden; }
.lock-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 14px; padding: 26px;
  background: linear-gradient(180deg, rgba(246,247,242,0.2), rgba(246,247,242,0.92) 60%);
  border-radius: var(--radius-lg);
}
.lock-badge {
  width: 48px; height: 48px; border-radius: 12px; background: var(--pitch-100);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}

/* -- Unlock (the sell) ------------------------------------------------------------------------ */
.unlock {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--pitch-deep) 0%, var(--pitch-ink) 90%);
  color: #e9eff5; border-radius: var(--radius-xl); padding: 40px 38px;
  box-shadow: var(--shadow-lg);
}
.unlock::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.12; mix-blend-mode: overlay;
}
.unlock::after {
  content: ''; position: absolute; top: -140px; right: -140px; width: 380px; height: 380px;
  border: 1.5px solid rgba(232, 176, 75, 0.18); border-radius: 50%; pointer-events: none;
}
.unlock h2 { color: #fff; }
.unlock .price { color: #fff; }
.unlock .price small { color: #8fa6bf; }
.unlock .feature-list li { color: #cbd7e4; }
.unlock .feature-list li::before { color: var(--lime); }
.unlock .btn-primary { background: var(--lime); color: var(--pitch-ink); box-shadow: 0 14px 34px -12px rgba(232, 176, 75, 0.45); }
.unlock .btn-primary:hover { background: #f2b94e; transform: translateY(-2px); }
.unlock-note { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; color: #96aabf; margin-top: 12px; }
.unlock .eyebrow, .unlock .eyebrow::before { color: var(--lime); }

/* -- Forms --------------------------------------------------------------------------------------- */
.form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 36px 34px; box-shadow: var(--shadow);
}
@media (max-width: 560px) { .form-card { padding: 26px 20px; } }
.fieldset { padding: 26px 0; border-top: 1px solid var(--border-2); }
.fieldset:first-of-type { border-top: 0; padding-top: 4px; }
.fieldset-legend {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--pitch); margin-bottom: 4px;
  display: inline-flex; align-items: center; gap: 10px;
}
.fieldset-legend::after { content: ''; width: 26px; height: 8px; color: var(--pitch); background: var(--ticks); opacity: 0.7; }
.fieldset-sub { color: var(--ink-3); font-size: 0.92rem; margin-bottom: 18px; }
.field { margin-bottom: 20px; }
.field > label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.97rem; }
.field .hint { font-weight: 400; color: var(--ink-3); font-size: 0.85rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

input[type="text"], input[type="email"], input[type="number"], input[type="password"], select, textarea {
  width: 100%; padding: 13px 15px; font-size: 1rem; font-family: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--border); border-radius: 10px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: 0; border-color: var(--pitch); background: #fff;
  box-shadow: 0 0 0 4px rgba(19, 56, 95, 0.12);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237d8674' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.field.has-error input, .field.has-error select { border-color: var(--red); }
.err { color: var(--red); font-size: 0.85rem; margin-top: 6px; font-weight: 500; }
.form-error {
  background: var(--red-bg); border: 1px solid #f0c5bf; border-left: 3px solid var(--red);
  color: #7c221a; padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 500;
}

/* Segmented radio pills. */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills input { position: absolute; opacity: 0; width: 0; height: 0; }
.pills label {
  display: inline-flex; padding: 10px 16px; border-radius: 9px;
  font-size: 0.92rem; font-weight: 600; color: var(--ink-2);
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--border);
  cursor: pointer; transition: all 0.18s var(--ease);
}
.pills label:hover { box-shadow: inset 0 0 0 1.5px var(--pitch-200); color: var(--ink); }
.pills input:checked + label { background: var(--pitch-dark); box-shadow: inset 0 0 0 1.5px var(--pitch-dark); color: #fff; }
.pills input:focus-visible + label { box-shadow: inset 0 0 0 1.5px var(--pitch), 0 0 0 4px rgba(19, 56, 95,0.15); }

/* Range slider - the gauge. Fill tracks the thumb via --p (set in main.js),
   the value chip heats up with the rating, and a live descriptor names it. */
.range-row { display: flex; align-items: center; gap: 18px; }
.range-row input[type="range"] {
  -webkit-appearance: none; appearance: none; flex: 1; height: 10px; border-radius: 999px;
  --p: 44.4%;
  background:
    linear-gradient(90deg, var(--pitch-dark), var(--pitch) 60%, #4d78a6) 0 0 / var(--p) 100% no-repeat,
    repeating-linear-gradient(90deg, transparent 0 calc(11.1% - 1.5px), var(--paper) calc(11.1% - 1.5px) 11.1%),
    var(--paper-2);
  border: 0; padding: 0; box-shadow: inset 0 1px 2px rgba(6, 18, 31, 0.08);
  cursor: pointer;
}
.range-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; border-radius: 10px;
  background: var(--pitch-dark);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(6, 18, 31, 0.35), 0 0 0 0 rgba(232, 176, 75, 0);
  cursor: grab;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s var(--ease);
}
.range-row input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.1); }
.range-row input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.2); cursor: grabbing;
  background: var(--pitch);
  box-shadow: 0 3px 14px rgba(6, 18, 31, 0.4), 0 0 0 7px rgba(232, 176, 75, 0.28);
}
.range-row input[type="range"]:focus-visible { outline: none; }
.range-row input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 2px 10px rgba(6, 18, 31, 0.35), 0 0 0 5px rgba(19, 56, 95, 0.3);
}
.range-row input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 8px; background: var(--pitch-dark);
  border: 3px solid #fff; box-shadow: 0 2px 10px rgba(6, 18, 31,0.35); cursor: grab;
  transition: transform 0.18s var(--ease);
}
.range-row input[type="range"]:active::-moz-range-thumb { transform: scale(1.2); }
.range-row input[type="range"]::-moz-range-progress {
  height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, var(--pitch-dark), var(--pitch));
}
.range-val {
  width: 50px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  background: var(--paper-2); color: var(--ink-2); border-radius: 10px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}
.range-val[data-band="mid"]  { background: var(--pitch-100); color: var(--pitch-dark); }
.range-val[data-band="high"] { background: var(--pitch-dark); color: #fff; }
.range-val[data-band="max"]  { background: var(--pitch-ink); color: var(--lime); }
.range-val.pulse { animation: chip-pulse 0.28s var(--ease); }
@keyframes chip-pulse { 40% { transform: scale(1.18); } }
.range-desc {
  margin-top: 8px;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.25s var(--ease);
}
.range-desc::before { content: ''; width: 18px; height: 8px; background: var(--ticks); opacity: 0.6; }
.range-desc[data-band="high"], .range-desc[data-band="max"] { color: var(--pitch-dark); }

/* -- Plan ----------------------------------------------------------------------------------------- */
.plan-section { padding: 34px 0; border-top: 1px solid var(--border-2); }
.plan-section:first-child { border-top: 0; }
.plan-h { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.plan-h .tag {
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pitch-dark); background: var(--pitch-100); padding: 6px 11px; border-radius: 6px; flex-shrink: 0;
}
.priority {
  position: relative; border-left: 3px solid var(--pitch);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 24px; margin: 16px 0;
  border-top: 1px solid var(--border-2); border-right: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2);
}
.action-list li { display: flex; gap: 11px; padding: 7px 0; color: var(--ink-2); line-height: 1.55; }
.action-list li::before { content: 'â†’'; color: var(--pitch); font-weight: 700; flex-shrink: 0; }

.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border-2); }
.table th {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3);
  border-bottom: 1.5px solid var(--border);
}
.table td:nth-child(2) { font-family: var(--font-mono); font-weight: 600; color: var(--pitch-dark); white-space: nowrap; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }

.timeline { position: relative; margin-left: 8px; }
.timeline-item { position: relative; padding: 0 0 22px 28px; border-left: 1.5px solid var(--border); }
.timeline-item:last-child { border-left-color: transparent; }
.timeline-item::before {
  content: ''; position: absolute; left: -7.5px; top: 4px; width: 14px; height: 14px;
  border-radius: 4px; background: var(--pitch); border: 3px solid var(--paper);
}
.timeline-item .win { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600; color: var(--pitch-dark); }

.week-list li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border-2); line-height: 1.55; }
.week-list li:last-child { border-bottom: 0; }
.week-list .day { font-family: var(--font-mono); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; width: 104px; flex-shrink: 0; color: var(--pitch-dark); padding-top: 2px; }
.pre {
  white-space: pre-wrap; font-family: var(--font-mono); font-size: 0.84rem; line-height: 1.6;
  background: var(--pitch-ink); color: #cddae7; padding: 20px 22px; border-radius: var(--radius);
}

/* -- Methodology weights ----------------------------------------------------------------------------- */
.weight-row { display: flex; align-items: center; gap: 14px; margin: 12px 0; }
.weight-row .wl { width: 260px; flex-shrink: 0; font-weight: 600; font-size: 0.94rem; }
.weight-bar { flex: 1; height: 18px; background: var(--paper-2); border-radius: 6px; overflow: hidden; }
.weight-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--pitch-dark), var(--pitch)); border-radius: 6px; }
.weight-pct { width: 48px; text-align: right; font-family: var(--font-mono); font-weight: 600; font-size: 0.88rem; color: var(--pitch-dark); }
@media (max-width: 560px) { .weight-row .wl { width: 128px; font-size: 0.84rem; } }

/* -- Footer -------------------------------------------------------------------------------------------- */
.footer {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--pitch-deep), var(--pitch-ink));
  color: #bfcddc; padding: 64px 0 32px; margin-top: 72px;
}
.footer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.1; mix-blend-mode: overlay;
}
.footer::after {
  /* Centre-circle watermark. */
  content: ''; position: absolute; top: -190px; right: 6%; width: 460px; height: 460px;
  border: 1.5px solid rgba(255, 255, 255, 0.07); border-radius: 50%; pointer-events: none;
}
.footer .brand-name { color: #fff; }
.footer .brand-to { color: var(--lime); }
.footer-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.footer-brand { max-width: 330px; }
.footer-brand .muted { color: #8da2b9; margin-top: 12px; font-size: 0.95rem; }
.footer-links { display: flex; flex-direction: column; gap: 11px; font-weight: 600; font-size: 0.95rem; }
.footer-links a { color: #cbd7e4; transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--lime); }
.footer-legal {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-legal .muted { color: #7d93ab; font-size: 0.8rem; max-width: 660px; line-height: 1.6; }

/* -- Prose ---------------------------------------------------------------------------------------------- */
.prose { max-width: var(--wrap-narrow); }
.prose h1 { margin-top: 12px; }
.prose h2 { margin: 42px 0 14px; padding-top: 26px; border-top: 1px solid var(--border-2); }
.prose h3 { margin: 26px 0 8px; }
.prose p { margin-bottom: 15px; color: var(--ink-2); }
.prose .lead { color: var(--ink-2); font-size: 1.14rem; }
.prose ul { margin: 0 0 18px 0; }
.prose ul li { position: relative; padding: 5px 0 5px 24px; color: var(--ink-2); }
.prose ul li::before { content: ''; position: absolute; left: 5px; top: 14px; width: 7px; height: 7px; border-radius: 2px; background: var(--pitch); }
.prose a:not(.btn) { color: var(--pitch-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--pitch-200); }
.prose a:hover:not(.btn) { text-decoration-color: var(--pitch); }
.prose code { font-family: var(--font-mono); font-size: 0.88em; background: var(--paper-2); padding: 2px 6px; border-radius: 5px; }

/* -- Admin ----------------------------------------------------------------------------------------------- */
.admin-bare { max-width: 430px; margin: 9vh auto; padding: 0 20px; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-side {
  width: 236px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--pitch-deep), var(--pitch-ink));
  color: #bfcddc; padding: 22px 16px; display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.admin-side .brand-name { color: #fff; }
.admin-side .brand-to { color: var(--lime); }
.admin-side-label {
  font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: #7d93ab; margin: 10px 8px 8px;
}
.admin-nav { display: flex; flex-direction: column; gap: 3px; }
.admin-nav a { padding: 10px 12px; border-radius: 9px; font-weight: 600; font-size: 0.93rem; color: #c4d1df; transition: all 0.18s var(--ease); }
.admin-nav a:hover { background: rgba(255,255,255,0.07); color: #fff; }
.admin-nav a.is-active { background: var(--lime); color: var(--pitch-ink); }
.admin-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 9px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.admin-side-foot a { color: #8da2b9; font-size: 0.88rem; font-weight: 600; }
.admin-side-foot a:hover { color: #fff; }
.admin-main { flex: 1; padding: 34px 38px; max-width: 980px; }
@media (max-width: 720px) {
  .admin-shell { flex-direction: column; }
  .admin-side { width: 100%; height: auto; position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-side-foot { margin: 0 0 0 auto; flex-direction: row; border: 0; padding: 0; }
  .admin-main { padding: 22px 20px; }
}
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.admin-head h1 { font-size: 1.9rem; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
@media (max-width: 780px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.stat .lbl { font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); margin-top: 4px; }
.stat .sub { font-size: 0.82rem; color: var(--pitch-dark); font-weight: 600; margin-top: 5px; }

.wz {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 5px 11px; border-radius: 6px;
}
.wz::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: currentColor; }
.wz.verified { background: var(--pitch-100); color: var(--pitch-dark); }
.wz.in_progress { background: var(--amber-bg); color: var(--amber); }
.wz.error { background: var(--red-bg); color: var(--red); }
.wz.not_started { background: var(--paper-2); color: var(--ink-3); }

.wz-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); margin-bottom: 10px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.wz-list a:hover { border-color: var(--pitch-200); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.wz-list .wz-t { font-weight: 700; }
.wz-list .wz-d { font-size: 0.86rem; color: var(--ink-3); }

.copybox { display: flex; gap: 8px; align-items: stretch; margin: 8px 0; }
.copybox code {
  flex: 1; background: var(--pitch-ink); color: #cddae7; border-radius: 9px; padding: 11px 13px;
  font-family: var(--font-mono); font-size: 0.82rem; white-space: pre-wrap; word-break: break-all;
}
.copy-btn {
  flex-shrink: 0; background: var(--ink); color: #fff; border-radius: 9px; padding: 0 16px;
  font-weight: 600; font-size: 0.85rem; transition: background 0.2s var(--ease);
}
.copy-btn:hover { background: #232b1c; }
.copy-btn.copied { background: var(--pitch); }

.env-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-2); font-size: 0.9rem; }
.env-row:last-child { border-bottom: 0; }
.env-row code { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-2); }
.deep-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.trouble { border-left: 2px solid var(--border); padding: 4px 0 4px 16px; margin: 12px 0; }
.trouble h4 { font-size: 0.96rem; margin-bottom: 3px; }
.trouble p { font-size: 0.88rem; color: var(--ink-2); }
.kv { width: 100%; border-collapse: collapse; }
.kv th { text-align: left; width: 200px; padding: 9px 12px 9px 0; color: var(--ink-3); font-weight: 600; font-size: 0.85rem; vertical-align: top; }
.kv td { padding: 9px 0; border-bottom: 1px solid var(--border-2); }
.kv tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   v3 layer "Broadcast Cut" - cinematic hero, scroll-reveal storytelling,
   editorial numbering, ticker, stat band, pull-quote imagery, premium
   pricing ring, FAQ accordions, footer watermark. Later rules deliberately
   override the v2 blocks above; every effect respects reduced motion.
   ========================================================================== */

/* -- Scroll reveal (JS adds .rv to targets, .in when they enter view) ------- */
html.js .rv {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.85s var(--ease-expo), transform 0.85s var(--ease-expo);
  transition-delay: var(--rd, 0s);
}
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1 !important; transform: none !important; }
}

/* -- Nav: condensing glass bar + reading progress ---------------------------- */
.nav { transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  box-shadow: 0 12px 34px -22px rgba(6, 18, 31, 0.4);
}
.nav-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--pitch), var(--lime));
  transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}

/* -- Ticker: broadcast strip under the hero ---------------------------------- */
.ticker {
  position: relative; overflow: hidden; background: var(--pitch-ink); color: #cfdae5;
  border-top: 1px solid rgba(232, 176, 75, 0.28);
  border-bottom: 1px solid rgba(232, 176, 75, 0.28);
}
.ticker-track {
  display: inline-flex; align-items: center; white-space: nowrap; padding: 13px 0;
  animation: tick-scroll 32s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; padding: 0 30px;
}
.ticker-track span::before {
  content: ''; width: 7px; height: 7px; background: var(--lime);
  transform: rotate(45deg); margin-right: 30px; flex-shrink: 0;
}
@keyframes tick-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* -- Hero: cinematic height, ambient glow, floating proof card, scroll cue --- */
.hero { display: flex; align-items: center; min-height: clamp(560px, 84vh, 830px); }
.hero-inner { width: 100%; }
.hero-glow {
  position: absolute; top: -180px; right: -100px; width: 660px; height: 660px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(232, 176, 75, 0.2), transparent 72%);
  filter: blur(28px);
  animation: glow-breathe 7s ease-in-out infinite alternate;
}
@keyframes glow-breathe { from { opacity: 0.55; } to { opacity: 1; } }

.hero-card {
  position: absolute; right: 6.5%; top: 50%; z-index: 1; width: 252px;
  padding: 22px 22px 18px; border-radius: 18px;
  background: rgba(6, 18, 31, 0.52);
  border: 1px solid rgba(232, 176, 75, 0.3);
  backdrop-filter: blur(12px) saturate(130%);
  box-shadow: 0 34px 90px -24px rgba(0, 0, 0, 0.55);
  transform: translateY(-50%) rotate(2.4deg);
  animation: hc-in 0.9s var(--ease) 0.5s both, card-float 6.5s ease-in-out 1.6s infinite alternate;
}
@keyframes hc-in {
  from { opacity: 0; transform: translateY(calc(-50% + 12px)) rotate(2.4deg); }
  to   { opacity: 1; transform: translateY(calc(-50% - 9px)) rotate(2.4deg); }
}
@keyframes card-float {
  from { transform: translateY(calc(-50% - 9px)) rotate(2.4deg); }
  to   { transform: translateY(calc(-50% + 9px)) rotate(2.4deg); }
}
@media (prefers-reduced-motion: reduce) { .hero-card, .hero-glow { animation: none; } }
.hc-dial {
  position: relative; width: 122px; height: 122px; margin: 2px auto 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hc-dial::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--lime) 78%, rgba(255, 255, 255, 0.13) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
}
.hc-num { font-family: var(--font-display); font-size: 2.7rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.hc-outof { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em; color: #9fb6cf; margin-top: 3px; }
.hc-band {
  text-align: center; font-family: var(--font-mono); font-weight: 600; font-size: 0.62rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--pitch-ink); background: var(--lime); border-radius: 6px; padding: 6px 8px; margin-bottom: 14px;
}
.hc-bar { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.hc-bar span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; color: #9fb6cf; width: 30px; flex-shrink: 0; }
.hc-bar i { flex: 1; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); position: relative; overflow: hidden; }
.hc-bar i::after {
  content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w, 60%);
  background: linear-gradient(90deg, var(--pitch), var(--lime)); border-radius: 99px;
}
.hc-tag { margin-top: 13px; text-align: center; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase; color: #7d93ab; }
/* 150%-scaled laptops sit around 1045 CSS px - keep the card visible there,
   just slimmer and tighter to the edge so it clears the headline. */
@media (max-width: 1240px) { .hero-card { width: 220px; right: 3%; padding: 18px 18px 15px; } }
@media (max-width: 1000px) { .hero-card { display: none; } }

.hero-scroll {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 9px; color: #9fb6cf;
}
.hero-scroll span { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.32em; text-transform: uppercase; }
.hero-scroll::after {
  content: ''; width: 1.5px; height: 32px; transform-origin: top;
  background: linear-gradient(180deg, var(--lime), transparent);
  animation: cue-drop 2s var(--ease) infinite;
}
@keyframes cue-drop {
  0% { transform: scaleY(0); opacity: 1; }
  55% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@media (max-width: 640px) { .hero-scroll { display: none; } }

/* -- Editorial section numbering on eyebrows --------------------------------- */
.eyebrow[data-idx]::after {
  content: '/ ' attr(data-idx);
  position: static; width: auto; height: auto;
  opacity: 0.5; letter-spacing: 0.1em;
}

/* -- Ghost numerals behind the how-it-works steps ----------------------------- */
.step-ghost {
  position: absolute; right: 14px; bottom: 2px; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 800; font-size: 5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--pitch-200);
}

/* -- Stat band: the numbers, said out loud ------------------------------------ */
.stat-band {
  position: relative; overflow: hidden; padding: 66px 0;
  background: linear-gradient(160deg, var(--pitch-deep), var(--pitch-ink));
  color: #e9eff5;
}
.stat-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.11; mix-blend-mode: overlay;
}
.stat-band-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.stat-big { border-left: 1.5px solid rgba(232, 176, 75, 0.35); padding-left: 22px; }
.sb-num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.7rem, 5vw, 4rem); letter-spacing: -0.04em; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.sb-num sup { font-size: 0.45em; color: var(--lime); font-weight: 700; }
.sb-lbl {
  display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: #9fb6cf; line-height: 1.8;
}
@media (max-width: 880px) { .stat-band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; } }

/* -- Image band with an overlaid editorial pull quote -------------------------- */
.img-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--hairline); box-shadow: var(--shadow-lg);
}
.img-band img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
.img-band::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(205deg, transparent 42%, rgba(6, 18, 31, 0.9) 88%);
}
.img-band-quote { position: absolute; left: 36px; right: 36px; bottom: 28px; z-index: 1; color: #fff; max-width: 620px; }
.img-band-quote p {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em;
  font-size: clamp(1.3rem, 2.7vw, 1.95rem); line-height: 1.18; text-wrap: balance;
}
.img-band-quote p::before { content: '\201C'; color: var(--lime); margin-right: 2px; }
.ibq-by {
  display: inline-flex; align-items: center; gap: 11px; margin-top: 13px;
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--lime);
}
.ibq-by::before { content: ''; width: 26px; height: 1.5px; background: var(--lime); }
@media (max-width: 560px) {
  .img-band img { aspect-ratio: 4 / 3; }
  .img-band-quote { left: 18px; right: 18px; bottom: 18px; }
}

/* -- The Climb: progress story slider ------------------------------------------ */
.slider { position: relative; }
.slider-track {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding: 4px; margin: 0 -4px;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%; min-width: 0; scroll-snap-align: center;
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow);
}
.slide-media { position: relative; min-height: 340px; }
.slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(200deg, transparent 55%, rgba(6, 18, 31, 0.55) 100%);
}
.slide-score {
  position: absolute; left: 18px; bottom: 18px; z-index: 1;
  display: inline-flex; align-items: baseline; gap: 8px;
  background: rgba(6, 18, 31, 0.78); backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 176, 75, 0.35); border-radius: 10px;
  padding: 9px 14px; color: #fff;
}
.slide-score b { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; letter-spacing: -0.03em; }
.slide-score span { font-family: var(--font-mono); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #9fb6cf; }
.slide-score .up { color: var(--lime); font-size: 0.8rem; }
.slide-body { padding: 34px 34px 28px; display: flex; flex-direction: column; }
.slide-phase {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-family: var(--font-mono); font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--pitch);
}
.slide-phase::before { content: ''; width: 22px; height: 8px; background: var(--ticks); color: var(--pitch); opacity: 0.7; }
.slide-body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.slide-body p { color: var(--ink-2); font-size: 0.99rem; }
.slide-meter { margin-top: auto; padding-top: 24px; }
.slide-meter .sm-top {
  display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.slide-meter .sm-top b { color: var(--pitch-dark); }
.slide-meter .sm-track {
  height: 8px; border-radius: 99px; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--paper) calc(25% - 1px) 25%),
    var(--paper-2);
}
.slide-meter .sm-track i {
  display: block; height: 100%; width: var(--w, 50%); border-radius: 99px;
  background: linear-gradient(90deg, var(--pitch-dark), var(--pitch) 70%, var(--lime));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.1s var(--ease-expo) 0.25s;
}
.slide.in .slide-meter .sm-track i { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .slide-meter .sm-track i { transform: scaleX(1) !important; } }
.slide-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.slider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.slider-btn {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--border);
  color: var(--ink); transition: box-shadow 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.slider-btn:hover { box-shadow: inset 0 0 0 1.5px var(--pitch); color: var(--pitch-dark); transform: translateY(-1px); }
.slider-btn[disabled] { opacity: 0.35; pointer-events: none; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
  width: 26px; height: 6px; border-radius: 99px; background: var(--border);
  transition: background 0.25s var(--ease), width 0.25s var(--ease);
}
.slider-dots button.active { background: var(--pitch); width: 40px; }
.slider-dots button:hover:not(.active) { background: var(--pitch-200); }
.slider-note {
  text-align: center; margin-top: 16px;
  font-family: var(--font-mono); font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}
@media (max-width: 820px) {
  .slide { grid-template-columns: minmax(0, 1fr); }
  .slide-media { min-height: 0; aspect-ratio: 16 / 10; }
  .slide-body { padding: 24px 22px 22px; }
  .slide-meter { padding-top: 18px; }
}

/* -- Pricing: rotating lime ring on the featured card --------------------------- */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.price-card.featured::before {
  content: ''; display: block; position: absolute; inset: -1.5px; z-index: 0;
  width: auto; height: auto;
  border-radius: inherit; padding: 1.5px; pointer-events: none;
  border-right: 0; border-bottom: 0;
  background: conic-gradient(from var(--ang), transparent 0 232deg, rgba(232, 176, 75, 0.95) 320deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: ring-spin 5.5s linear infinite;
}
@keyframes ring-spin { to { --ang: 360deg; } }
@media (prefers-reduced-motion: reduce) { .price-card.featured::before { animation: none; } }

/* -- FAQ accordions --------------------------------------------------------------- */
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item[open] { border-color: var(--pitch-200); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 18px; padding: 19px 24px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.07rem;
  letter-spacing: -0.012em; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--pitch-dark); }
.faq-item summary::after {
  content: '+'; flex-shrink: 0; font-family: var(--font-mono); font-weight: 500;
  font-size: 1.45rem; line-height: 1; color: var(--pitch);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > p { padding: 0 44px 20px 24px; color: var(--ink-2); font-size: 0.98rem; }

/* -- Closing CTA panel -------------------------------------------------------------- */
.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(165deg, var(--pitch-deep), var(--pitch-ink));
  color: #e9eff5; border-radius: var(--radius-xl);
  padding: 66px 34px 60px; margin-top: 48px; box-shadow: var(--shadow-lg);
}
.cta-panel::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.12; mix-blend-mode: overlay;
}
.cta-panel::after {
  content: ''; position: absolute; bottom: -180px; left: -120px; width: 420px; height: 420px;
  border: 1.5px solid rgba(232, 176, 75, 0.2); border-radius: 50%; pointer-events: none;
}
.cta-panel .eyebrow, .cta-panel .eyebrow::before { color: var(--lime); }
.cta-panel h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.75rem); margin-top: 12px; }
.cta-panel > p { color: #a6bcd3; margin: 12px auto 28px; max-width: 46ch; }
.cta-panel .btn-primary { background: var(--lime); color: var(--pitch-ink); box-shadow: 0 16px 40px -12px rgba(232, 176, 75, 0.5); }
.cta-panel .btn-primary:hover { background: #f2b94e; transform: translateY(-2px); }

/* Celebration figure: rises out of the panel's right side on desktop. */
.cta-figure { display: none; }
@media (min-width: 920px) {
  .cta-panel { text-align: left; padding-left: 60px; padding-right: 340px; }
  .cta-panel > p { margin: 12px 0 26px; }
  .cta-figure {
    display: block; position: absolute; right: 16px; bottom: 0; z-index: 0;
    height: calc(100% - 8px); width: auto;
    pointer-events: none; user-select: none;
    filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.5));
  }
  .cta-panel .eyebrow, .cta-panel h2, .cta-panel > p, .cta-panel .btn { position: relative; z-index: 1; }
}

/* -- Footer watermark ----------------------------------------------------------------- */
.footer-wm {
  position: relative; z-index: 0; margin: 44px 0 -26px; pointer-events: none; user-select: none;
  text-align: center; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; line-height: 0.8; letter-spacing: -0.03em;
  font-size: clamp(3.2rem, 11vw, 8.4rem);
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  transform: translateY(18%);
}

/* -- Primary buttons: shine sweep ------------------------------------------------------ */
.btn-primary { overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -75%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-18deg); transition: left 0.65s var(--ease); pointer-events: none;
}
.btn-primary:hover::after { left: 135%; }

/* -- Assess: sticky progress + numbered fieldsets --------------------------------------- */
.assess-progress {
  position: sticky; top: 80px; z-index: 30;
  background: color-mix(in srgb, var(--paper) 93%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 18px; margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.ap-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ap-label, .ap-count {
  font-family: var(--font-mono); font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3);
}
.ap-count { color: var(--pitch-dark); }
.ap-track { height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.ap-fill {
  display: block; height: 100%; width: 0%; border-radius: 99px;
  background: linear-gradient(90deg, var(--pitch-dark), var(--pitch) 65%, var(--lime));
  transition: width 0.5s var(--ease-expo);
}
@media (max-width: 640px) { .assess-progress { position: static; } }

.form-card { counter-reset: fs; }
.form-card .fieldset-legend::before {
  counter-increment: fs; content: counter(fs, decimal-leading-zero);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.06em;
  color: var(--pitch-ink); background: var(--lime); border-radius: 5px; padding: 2px 7px;
}

/* -- Bars grow into place when revealed -------------------------------------------------- */
html.js .weight-bar span, html.js .bar-fill {
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.1s var(--ease-expo) 0.15s;
}
html.js .weight-row.in .weight-bar span, html.js .bar-row.in .bar-fill { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  html.js .weight-bar span, html.js .bar-fill { transform: scaleX(1) !important; }
}

/* -- Print (Save the plan as PDF) ---------------------------------------------------------------------------- */
@media print {
  .nav, .footer, .to-top, .no-print { display: none !important; }
  body { background: #fff; }
  .plan-section { break-inside: avoid; }
  .card, .priority { box-shadow: none; border-color: #ccc; }
}

/* -- Brand mark (head + rising chart, supplied 2026-07-11) ------------------------------ */
.brand-mark { height: 32px; width: auto; vertical-align: middle; margin-right: 10px; }
.footer-brand .brand-mark { height: 38px; }
