/* Insurer Signal v4 — tokens and components from design/v4-boards/04-design-system.png */

@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/sora-600.woff2") format("woff2");
}
@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/sora-700.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
}

:root {
  --deep-teal: #0D5B63;
  --emerald: #10B981;
  --mint: #A7F3D0;
  --aqua: #4DD0E1;
  --amber: #F5B041;
  --ink: #0F172A;
  --pearl: #FFFFFF;
  --slate: #64748B;
  --light-slate: #E2E8F0;
  --surface: #F8FAFC;
  --dark: #002C2A;
  --dark-2: #003230;
  --dark-card: #013633;
  --dark-border: rgba(167, 243, 208, 0.16);
  --amber-bg: #FEF3D7;
  --amber-bg-2: #FEF8EB;
  --amber-cta: #E8A63A;
  --danger: #EF4444;
  --success: #059669;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.1);
  --radius-card: 20px;
  --radius-pill: 999px;
  --radius-input: 12px;
  --header-h: 80px;
  --gutter: clamp(20px, 5vw, 80px);
  --max: 1680px;
  --font-display: Sora, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.reduce-motion, html.reduce-motion * { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: var(--pearl);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--deep-teal);
  color: var(--pearl);
  padding: 8px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip:focus { left: 0; }

/* The HTML hidden attribute does not reliably set display:none on SVG,
   so an in-flow sprite would leave a ~150–170px gap above the header. */
.icon-sprite,
svg[hidden] {
  display: none !important;
  width: 0;
  height: 0;
  position: absolute;
  overflow: hidden;
}


/* Type scale from board 04 */
.t-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
}
.t-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.t-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.28;
  letter-spacing: 0;
  margin: 0;
}
.t-body { font-size: 16px; line-height: 24px; }
.t-caption { font-size: 12px; line-height: 16px; color: var(--slate); }
.t-mono { font-family: var(--font-mono); font-size: 12px; line-height: 16px; }
.accent {
  background: linear-gradient(90deg, #10B981 0%, #0D5B63 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent-mint { color: var(--mint); }
.ink { color: var(--ink); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Buttons — board 04, gradient fill sampled from board 05 pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
.btn-primary {
  color: var(--pearl);
  background: linear-gradient(180deg, #1A858A 0%, #0D5B63 52%, #024850 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset;
}
.btn-primary:hover { background: linear-gradient(180deg, #14777C 0%, #0A4E55 55%, #013E46 100%); }
.btn-primary:active { background: #024850; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-secondary {
  color: var(--deep-teal);
  background: var(--pearl);
  border-color: var(--deep-teal);
}
.btn-secondary:hover { background: #F0FAF8; }
.btn-on-amber {
  color: var(--ink);
  background: var(--pearl);
  border-color: transparent;
}
.btn-on-amber:hover { background: var(--amber-bg-2); }
.btn-on-dark {
  color: var(--dark);
  background: var(--mint);
  border: 0;
}
.btn-on-dark:hover { background: #8EECC4; }
.btn-ghost-dark {
  color: var(--pearl);
  background: transparent;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,.06); }
.btn-icon { width: 1em; height: 1em; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header .nav-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-mark { width: 28px; height: 44px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.nav-active { color: var(--deep-teal); }
.header-cta { flex-shrink: 0; }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
}
.mobile-menu {
  display: none;
  background: var(--pearl);
  border-top: 1px solid var(--light-slate);
  padding: 12px var(--gutter) 24px;
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--light-slate);
}
.mobile-menu .btn { margin-top: 16px; width: 100%; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--pearl);
  padding: 40px 0 32px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
  gap: 40px;
  align-items: center;
}
.hero-copy .t-display { max-width: 12em; }
.hero-copy .lead {
  margin: 20px 0 0;
  max-width: 42ch;
  color: #334155;
  font-size: 18px;
  line-height: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Sample report card */
.report-card {
  background: var(--pearl);
  border: 1px solid var(--light-slate);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 22px 22px 16px;
}
.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.report-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
}
.badge-sample { background: #FEF3C7; color: #92400E; }
.metrics {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}
.metric {
  background: var(--surface);
  border: 1px solid var(--light-slate);
  border-radius: 14px;
  padding: 12px 14px;
}
.metric .label, .donut-label { font-size: 12px; color: var(--slate); }
.metric .value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 2px 0;
}
.metric .note { font-size: 12px; color: var(--slate); }
.donut {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  position: relative;
}
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.donut-center strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}
.report-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--light-slate);
  border-radius: 14px;
  padding: 12px;
}
.panel h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
}
.chart { width: 100%; height: 110px; display: block; }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--slate);
}
.legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 4px;
}
.channel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--pearl);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 6px;
}
.channel-row:last-child { margin-bottom: 0; }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #D1FAE5;
  color: var(--deep-teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.channel-row .name { font-size: 13px; font-weight: 600; }
.channel-row .meta { font-size: 11px; color: var(--slate); }
.channel-row .count { margin-left: auto; font-size: 13px; font-weight: 600; }
.report-foot {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--slate);
}

/* Feature cards */
.features {
  position: relative;
  z-index: 1;
  margin-top: -8px;
  padding: 8px 0 24px;
  background: linear-gradient(180deg, transparent, #F3FBFA 40%, var(--pearl));
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--pearl);
  border: 1px solid var(--light-slate);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.icon-box {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border: 1.5px solid #B6E2DE;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--deep-teal);
}
.icon-box svg { width: 24px; height: 24px; }
.feature-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}
.feature-card p { margin: 0; color: #475569; font-size: 14px; line-height: 22px; }
.more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  color: var(--deep-teal);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.more:hover { text-decoration: underline; }

/* Founder + offer band */
.founder-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--pearl);
  border: 1px solid var(--light-slate);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  padding: 14px 24px;
  margin: 8px auto 16px;
  max-width: 920px;
  font-size: 14px;
  line-height: 20px;
  color: #334155;
}
.founder-pill .mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ECFDF5;
  color: var(--deep-teal);
  display: grid;
  place-items: center;
}
.offer-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--pearl);
  border: 1px solid var(--light-slate);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin: 0 0 48px;
  overflow: hidden;
}
.offer-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
}
.offer-cell + .offer-cell { border-left: 1px solid var(--light-slate); }
.offer-cell h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--deep-teal);
}
.offer-cell p { margin: 2px 0 0; font-size: 13px; color: var(--slate); }

/* Amber work section */
.work {
  position: relative;
  background: var(--amber-bg);
  padding: 72px 0 80px;
  overflow: hidden;
}
.work-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  margin: 0 0 12px;
}
.work-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}
.work-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat-card {
  background: var(--amber-bg-2);
  border: 1px solid rgba(245, 176, 65, .25);
  border-radius: 16px;
  padding: 18px 16px 16px;
  text-align: center;
}
.stat-card .icon-circle {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 1.5px solid #E8C27A;
  display: grid;
  place-items: center;
  color: var(--deep-teal);
  background: var(--pearl);
}
.stat-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}
.trio {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 36px;
  text-align: center;
}
.trio h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 12px 0 8px;
}
.trio p { margin: 0; color: #475569; font-size: 14px; line-height: 22px; }
.work-lower {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 16px;
}
.chart-card, .timeline-card, .cream-card {
  background: var(--amber-bg-2);
  border: 1px solid rgba(245, 176, 65, .22);
  border-radius: 18px;
  padding: 20px;
}
.chart-card header, .timeline-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.chart-card h3, .timeline-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
}
.bars { width: 100%; height: 180px; display: block; }
.humility {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin: 24px 0;
  color: #334155;
  font-size: 16px;
  line-height: 26px;
}
.humility .q {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  color: var(--deep-teal);
}
.story-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 8px 0 16px;
}
.story-card {
  background: var(--pearl);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.story-card h3 { margin: 8px 0 6px; font-size: 15px; font-family: var(--font-display); }
.story-card p { margin: 0; font-size: 13px; color: #475569; }
.story-note { position: relative; font-size: 13px; color: var(--slate); margin: 0 0 24px; }
.cta-gold {
  position: relative;
  background: linear-gradient(135deg, #F5B041 0%, #E89A1C 100%);
  border-radius: 18px;
  padding: 32px 36px;
  color: var(--ink);
  overflow: hidden;
  margin-top: 8px;
}
.cta-gold h2 { color: var(--ink); max-width: 20ch; }
.cta-gold p { margin: 10px 0 20px; max-width: 46ch; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 22px 36px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: #E8C27A;
}
.timeline li:last-child::before { display: none; }
.tl-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  color: var(--deep-teal);
  background: var(--pearl);
  border-radius: 50%;
}
.timeline h4 { margin: 0 0 4px; font-size: 14px; }
.timeline p { margin: 0; font-size: 13px; color: #475569; }

/* Insights article */
.insights {
  background: var(--pearl);
  padding: 72px 0 80px;
}
.crumb { font-size: 13px; color: var(--slate); margin: 0 0 16px; }
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr);
  gap: 48px;
  align-items: start;
}
.byline { color: var(--slate); font-size: 14px; margin: 12px 0 20px; }
.article .lead { font-size: 18px; line-height: 28px; color: #334155; margin: 0 0 28px; }
.article h2 { margin: 32px 0 12px; }
.article p { margin: 0 0 16px; color: #334155; }
.article a { color: var(--deep-teal); }
.article a.btn-primary, .article a.btn-primary:hover, .article a.btn-primary:active { color: #fff; }
.pull {
  border-left: 3px solid var(--deep-teal);
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
}
.protip {
  background: #FFF8EB;
  border: 1px solid #F3E0B8;
  border-radius: 16px;
  padding: 18px 18px 16px;
  margin: 20px 0 28px;
}
.protip strong { display: block; margin-bottom: 6px; }
.advice { margin: 0 0 20px; padding: 0 0 0 20px; color: #334155; }
.advice li { margin: 0 0 10px; }
.mid-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #F0FDFA;
  border: 1px solid #B6E2DE;
  border-radius: 16px;
  padding: 18px 20px;
  margin-top: 28px;
}
.mid-cta h3 { margin: 0 0 4px; font-size: 16px; }
.mid-cta p { margin: 0; font-size: 14px; color: #475569; }
.mid-cta .btn { color: #fff; min-width: max-content; }
.side-card {
  background: var(--surface);
  border: 1px solid var(--light-slate);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 14px;
}
.side-card h3 { margin: 0 0 12px; font-size: 14px; font-family: var(--font-display); }
.takeaways { list-style: none; margin: 0; padding: 0; }
.takeaways li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 20px;
  color: #334155;
}
.takeaways li svg { color: var(--emerald); margin-top: 2px; }
.fact-row { margin-bottom: 12px; }
.fact-row .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--deep-teal);
}
.fact-row p { margin: 0; font-size: 13px; color: #475569; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--deep-teal);
  text-decoration: none;
}
.side-nav a:hover { text-decoration: underline; }
.related a {
  display: block;
  padding: 8px 0;
  border-top: 1px solid var(--light-slate);
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
}
.related a:first-child { border-top: 0; }
.related a:hover { color: var(--deep-teal); }

/* Dark section */
.audience {
  position: relative;
  background: var(--dark);
  color: var(--pearl);
  padding: 72px 0 80px;
  overflow: hidden;
}
.audience-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.audience .eyebrow { color: var(--mint); }
.aud-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: start;
}
.aud-hero .lead { color: #C7E8E4; font-size: 17px; line-height: 28px; max-width: 44ch; margin: 16px 0 0; }
.aud-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.picker {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 20px;
}
.picker h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  appearance: none;
  border: 1px solid var(--dark-border);
  background: transparent;
  color: var(--pearl);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
}
.chip[aria-pressed="true"], .chip.is-on {
  background: rgba(16, 185, 129, .18);
  border-color: var(--emerald);
  color: var(--mint);
}
.picker-body { margin: 0; color: #D5EDEA; font-size: 14px; line-height: 22px; }
.picker-help { margin: 10px 0 0; font-size: 12px; color: #8BB8B3; }
.how {
  position: relative;
  margin: 36px 0;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 22px;
}
.how h3 { margin: 0 0 18px; font-family: var(--font-display); font-size: 16px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step { text-align: center; }
.step-num {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 1.5px solid var(--mint);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--mint);
}
.step h4 { margin: 0 0 6px; font-size: 15px; }
.step p { margin: 0; font-size: 13px; color: #C7E8E4; }
.seg-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.seg-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 18px;
}
.seg-card h3 { margin: 8px 0 8px; font-size: 16px; font-family: var(--font-display); }
.seg-card p { margin: 0; font-size: 13px; line-height: 20px; color: #C7E8E4; }
.seg-card .more { color: var(--mint); }
.faq {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 8px 20px 8px;
  margin-bottom: 24px;
}
.faq > h3 { margin: 16px 4px 8px; font-family: var(--font-display); font-size: 16px; }
.faq details { border-top: 1px solid var(--dark-border); }
.faq details:first-of-type { border-top: 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 4px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "▾"; color: var(--mint); font-weight: 400; }
.faq details[open] summary::after { content: "▴"; }
.faq details p {
  margin: 0 4px 16px;
  font-size: 14px;
  line-height: 22px;
  color: #C7E8E4;
}
.cta-dark {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cta-dark h2 { font-size: 22px; }
.cta-dark p { margin: 8px 0 0; color: #C7E8E4; }

/* Form */
.book {
  background: var(--surface);
  padding: 72px 0 80px;
}
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.book .lead { color: #334155; margin: 16px 0 20px; max-width: 44ch; }
.form-card {
  background: var(--pearl);
  border: 1px solid var(--light-slate);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field .hint { display: block; font-size: 12px; color: var(--slate); font-weight: 400; margin-top: 4px; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--light-slate);
  border-radius: var(--radius-input);
  padding: 0 12px;
  background: var(--pearl);
  color: var(--ink);
}
.field textarea { height: 96px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--aqua);
  border-color: var(--deep-teal);
}
.field input.is-error, .field select.is-error {
  border-color: var(--danger);
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  line-height: 20px;
  margin: 8px 0 16px;
}
.check input { width: 18px; height: 18px; accent-color: var(--deep-teal); margin-top: 1px; }
.form-error {
  background: #FEF2F2;
  color: #991B1B;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 12px;
}
.form-error[hidden] { display: none; }
.form-legal { margin: 12px 0 0; font-size: 12px; color: var(--slate); }
.form-legal a { color: var(--deep-teal); }

/* Footer */
.site-footer {
  background: var(--pearl);
  border-top: 1px solid var(--light-slate);
  padding: 48px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 32px;
  align-items: start;
}
.foot-blurb { margin: 12px 0 0; color: var(--slate); font-size: 14px; max-width: 36ch; }
.foot-col h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}
.foot-col a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  padding: 3px 0;
  color: var(--ink);
}
.foot-col a:hover { color: var(--deep-teal); }
.lq-badge { width: 84px; height: 50px; object-fit: contain; }
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--light-slate);
  font-size: 13px;
  color: var(--slate);
}
.foot-legal a { color: var(--slate); text-decoration: none; }
.foot-legal a:hover { color: var(--deep-teal); }

/* Inner pages */
.page { padding: 48px 0 80px; }
.page-prose { max-width: 720px; }
.page-prose h1 { margin-bottom: 12px; }
.page-prose p { margin: 0 0 14px; color: #334155; }
.page-prose h2 { margin: 28px 0 10px; }
.draft-note {
  background: #FFF8EB;
  border: 1px solid #F3E0B8;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  margin: 16px 0 24px;
}

/* Modal */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .45);
}
.modal-card {
  position: relative;
  background: var(--pearl);
  border-radius: 20px;
  padding: 28px 28px 24px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.modal-card h2 { margin: 0 0 8px; }
.modal-card p { margin: 0 0 18px; color: #475569; }

/* Header variants */
.header-amber { background: rgba(254, 243, 215, .92); }
.header-dark { background: rgba(0, 44, 42, .92); }
.header-dark .brand-name, .header-dark .nav-links a, .header-dark .menu-btn { color: var(--pearl); }

@media (max-width: 1024px) {
  .hero-grid, .work-hero, .work-lower, .article-grid, .aud-hero, .book-grid, .foot-grid, .seg-grid {
    grid-template-columns: 1fr;
  }
  .nav-links, .header-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .mobile-menu.is-open { display: block; }
  .feature-grid, .stat-row, .trio, .story-row, .steps, .offer-band {
    grid-template-columns: 1fr;
  }
  .offer-cell + .offer-cell { border-left: 0; border-top: 1px solid var(--light-slate); }
  .metrics { grid-template-columns: 1fr; }
  .report-split { grid-template-columns: 1fr; }
  .founder-pill { border-radius: 16px; }
  .cta-dark, .mid-cta { flex-direction: column; align-items: flex-start; }
  .site-header { height: auto; }
  .site-header .nav-inner { height: 72px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 24px; }
  .hero-actions, .work-actions, .aud-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

/* ========================================================================
   v5 — page backgrounds, frosted cards, icon tiles, theme chrome
   Colours sampled from boards 01, 03, 04, 05. Raster waves in /assets/bg-*.webp
   ======================================================================== */

body.theme-light {
  background-color: #F8FAFC;
  background-image: none;
}
body.theme-amber {
  background-color: #F5B53F;
  background-image: url("/assets/bg-amber-1440.webp");
  background-image: image-set(
    url("/assets/bg-amber-1440.webp") 1x,
    url("/assets/bg-amber-2560.webp") 2x
  );
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top center;
}
body.theme-dark {
  background-color: #001F1D;
  background-image: url("/assets/bg-dark-1440.webp");
  background-image: image-set(
    url("/assets/bg-dark-1440.webp") 1x,
    url("/assets/bg-dark-2560.webp") 2x
  );
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top center;
  color: #E8F4F2;
}
body.theme-article {
  background-color: #F6F7F7;
  background-image: url("/assets/bg-article-1440.webp");
  background-image: image-set(
    url("/assets/bg-article-1440.webp") 1x,
    url("/assets/bg-article-2560.webp") 2x
  );
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top center;
}

/* Don't paint opaque section fills over the waves */
.theme-light .hero,
.theme-light .features,
.theme-light .teasers,
.theme-amber .work,
.theme-dark .audience,
.theme-article .insights,
.theme-amber .book {
  background: transparent;
}
.features {
  background: transparent;
  margin-top: 8px;
}
.hero { background: transparent; padding: 24px 0 16px; }
.hero-bg, .work-bg, .audience-bg { display: none; }

/* Frosted glass cards — board 05 / 01 / 02 */
.frost,
.report-card,
.feature-card,
.founder-pill,
.offer-band,
.stat-card,
.chart-card,
.timeline-card,
.humility,
.story-card,
.side-card,
.picker,
.how,
.faq,
.form-card,
.mid-cta,
.cta-dark,
.protip {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
}
.report-card,
.feature-card,
.stat-card,
.chart-card,
.timeline-card,
.story-card,
.side-card,
.picker,
.form-card,
.how {
  border-radius: 20px;
}
.founder-pill,
.offer-band,
.humility {
  border-radius: 999px;
}

/* Mint rounded-square icon tiles with teal icons — board 05 */
.icon-box {
  width: 56px;
  height: 56px;
  background: #D8F6EC;
  border: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--deep-teal);
  flex-shrink: 0;
}
.icon-box svg { width: 24px; height: 24px; }
.offer-band .icon-box,
.stat-card .icon-circle,
.offer-cell .icon-box {
  width: 52px;
  height: 52px;
  background: #D8F6EC;
  border: 0;
  border-radius: 14px;
  color: var(--deep-teal);
}
.stat-card .icon-circle {
  display: grid;
  place-items: center;
}

/* Offer band as one frosted strip, like the 05 stats row */
.offer-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 18px 8px;
  margin-top: 20px;
  align-items: stretch;
}
.offer-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 24px;
  border-right: 1px solid rgba(13, 91, 99, 0.12);
}
.offer-cell:last-child { border-right: 0; }
.offer-cell h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}
.offer-cell p { margin: 2px 0 0; color: var(--slate); font-size: 13px; }

/* Header / nav */
.nav-links a.nav-active {
  color: var(--deep-teal);
  font-weight: 600;
}
.crumb {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--slate);
  margin: 0 0 12px;
}
.theme-dark .crumb,
.crumb-dark { color: rgba(232, 244, 242, 0.7); }

/* Dark theme chrome */
.theme-dark .site-header {
  background: rgba(1, 31, 27, 0.72);
  border-bottom: 1px solid rgba(167, 243, 208, 0.08);
}
.theme-dark .brand,
.theme-dark .brand-name,
.theme-dark .nav-links a,
.theme-dark .menu-btn { color: #F4FFFC; }
.theme-dark .nav-links a.nav-active,
.theme-dark .nav-links a:hover { color: var(--mint); }
.theme-dark .mobile-menu {
  background: #012F2B;
  border-top-color: rgba(167, 243, 208, 0.12);
}
.theme-dark .mobile-menu a {
  color: #F4FFFC;
  border-bottom-color: rgba(167, 243, 208, 0.12);
}
.theme-dark .site-footer {
  background: transparent;
  color: #D5EBE7;
  border-top: 1px solid rgba(167, 243, 208, 0.12);
}
.theme-dark .site-footer a,
.theme-dark .foot-blurb,
.theme-dark .foot-legal { color: #D5EBE7; }
.theme-dark .picker,
.theme-dark .how,
.theme-dark .faq,
.theme-dark .cta-dark,
.theme-dark .aud-card,
.theme-dark .feature-card {
  background: rgba(1, 40, 37, 0.62);
  border: 1px solid rgba(167, 243, 208, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  color: #E8F4F2;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.theme-dark .feature-card h3,
.theme-dark .feature-card p { color: inherit; }
.theme-dark .icon-box {
  background: rgba(16, 185, 129, 0.16);
  color: var(--mint);
  border: 1px solid rgba(167, 243, 208, 0.22);
}

/* Amber page cards are cream-frosted, as on board 01 */
.theme-amber .site-header {
  background: rgba(254, 243, 215, 0.72);
  border-bottom: 1px solid rgba(232, 166, 58, 0.18);
}
.theme-amber .site-footer {
  background: transparent;
  border-top: 1px solid rgba(232, 166, 58, 0.2);
}
.theme-amber .stat-card,
.theme-amber .chart-card,
.theme-amber .timeline-card,
.theme-amber .story-card,
.theme-amber .humility,
.theme-amber .form-card,
.theme-amber .trio > div {
  background: rgba(254, 248, 235, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 50px rgba(120, 70, 10, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.theme-amber .trio > div { border-radius: 20px; padding: 24px; text-align: center; }
.theme-amber .cta-gold {
  background:
    linear-gradient(180deg, rgba(232, 166, 58, 0.18), rgba(232, 166, 58, 0.05)),
    rgba(245, 176, 65, 0.92);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(120, 70, 10, 0.16);
  color: var(--ink);
}

/* Article / about */
.theme-article .site-header {
  background: rgba(255, 255, 255, 0.86);
}
.theme-article .site-footer { background: transparent; }
.theme-light .site-footer,
.theme-article .site-footer,
.theme-amber .site-footer { background: transparent; }

.teasers { padding: 12px 0 80px; }
.page-prose { padding: 40px 0 80px; max-width: 760px; }
.page-prose .draft-note {
  background: rgba(254, 243, 199, 0.9);
  border-radius: 12px;
  padding: 12px 16px;
}

/* Secondary outline already uses deep teal; keep frosted fill */
.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

@media (max-width: 800px) {
  .offer-band { grid-template-columns: 1fr; border-radius: 20px; padding: 8px; }
  .offer-cell { border-right: 0; border-bottom: 1px solid rgba(13, 91, 99, 0.12); }
  .offer-cell:last-child { border-bottom: 0; }
  .founder-pill { border-radius: 20px; }
}

/* ---- closing pass: gold CTA, tighter amber page, insights chrome ---- */
.theme-amber .cta-gold,
.cta-gold {
  background:
    radial-gradient(120% 80% at 80% 120%, rgba(255, 220, 140, 0.35), transparent 60%),
    linear-gradient(160deg, #E8A63A 0%, #DF981B 55%, #D08912 100%);
  color: #1A1408;
  border: 0;
  box-shadow: 0 18px 40px rgba(120, 70, 10, 0.22);
  backdrop-filter: none;
}
.theme-amber .cta-gold h2,
.cta-gold h2 { color: #1A1408; }
.theme-amber .cta-gold p,
.cta-gold p { color: #3A2A10; }
.theme-amber .cta-gold .btn-on-amber {
  background: #FFF8EC;
  color: var(--ink);
  border-color: transparent;
}

/* Pack board-01's first screen tighter so the gold CTA enters the 16:9 frame */
.theme-amber .work { padding: 20px 0 40px; }
.theme-amber .work-hero { gap: 24px; }
.theme-amber .work-actions { margin-top: 16px; }
.theme-amber .trio { margin: 20px 0 16px; gap: 16px; }
.theme-amber .trio > div { padding: 16px 18px; }
.theme-amber .humility { margin: 16px 0; }
.theme-amber .story-row { margin: 4px 0 10px; }
.theme-amber .story-note { margin: 0 0 16px; }
.theme-amber .cta-gold { margin-top: 4px; padding: 24px 28px; }

/* Insights — board 02 article chrome */
.quote-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
  gap: 20px;
  align-items: start;
  margin: 24px 0 8px;
}
.quote-row .pull { margin: 0; }
.theme-article .protip,
.protip {
  background: #FFF8EB !important;
  border: 1px solid #E8C27A !important;
  box-shadow: none !important;
  backdrop-filter: none;
  border-radius: 16px;
  padding: 18px 18px 16px;
  color: #3A2A10;
}
.protip strong {
  color: #B45309;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.theme-article .mid-cta,
.mid-cta {
  background: #F3F7F7 !important;
  border: 1px solid #D4E5E5 !important;
  box-shadow: none !important;
  backdrop-filter: none;
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}
.mid-cta-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E7F4F2;
  color: var(--deep-teal);
  display: grid;
  place-items: center;
}
.download-band {
  background: #F3FBFA !important;
  border: 1px solid #C5E4E0 !important;
  box-shadow: none !important;
  backdrop-filter: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.download-band p { margin: 0; font-size: 13px; line-height: 20px; color: #475569; }
.download-band .btn { align-self: stretch; }

@media (max-width: 800px) {
  .quote-row { grid-template-columns: 1fr; }
}

/* ---- home: board 05b artwork (UI removed), cover, centre-bottom ---- */
.theme-light .home-board {
  position: relative;
}
.theme-light .home-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--header-h));
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: #F6F7F7;
}
.theme-light .home-bg img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  object-fit: unset;
  object-position: top left;
}
.theme-light .home-board > * {
  position: relative;
  z-index: 1;
}
.theme-light .home-board > .home-bg {
  position: absolute;
  z-index: 0;
}
.theme-light .home-board::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(246, 247, 247, 0) 0%, #F6F7F7 100%);
  pointer-events: none;
  z-index: 0;
}
.theme-light .hero,
.theme-light .features {
  background: transparent;
  overflow: visible;
}
.theme-light .teasers {
  background: #F6F7F7;
  padding-top: 32px;
}
.theme-light .site-header {
  background: rgba(246, 247, 247, 0.72);
}
.theme-light .site-footer {
  background: #F6F7F7;
}

@media (max-width: 800px) {
  .theme-light .home-bg {
    bottom: auto;
    height: 155vh;
  }
  .theme-light .home-bg img {
    width: auto;
    height: 155vh;
    max-width: none;
    left: 0;
  }
  .theme-light .home-bg::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 160px;
    background: linear-gradient(180deg, rgba(246,247,247,0) 0%, #F6F7F7 100%);
    pointer-events: none;
  }
  body.theme-amber,
  body.theme-dark,
  body.theme-article {
    background-size: auto 155vh;
    background-position: top left;
  }
}


/* ========================================================================
   Motion — GSAP reveals, card lift, wave canvas. Hidden only when JS
   has armed motion; with JS off or reduced-motion, everything stays visible.
   ======================================================================== */
html.motion-ok.motion-armed .js-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
html.motion-ok .feature-card,
html.motion-ok .seg-card,
html.motion-ok .report-card,
html.motion-ok .picker,
html.motion-ok .how,
html.motion-ok .cta-dark,
html.motion-ok .offer-band,
html.motion-ok .frost {
  transition: transform .4s ease, box-shadow .4s ease;
}
html.motion-ok .feature-card:hover,
html.motion-ok .seg-card:hover,
html.motion-ok .report-card:hover,
html.motion-ok .picker:hover,
html.motion-ok .frost:hover {
  transform: translateY(-4px);
}
.word-clip { display: inline-block; overflow: hidden; vertical-align: bottom; }
.word-clip .word-inner { display: inline-block; }

.wave-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.wave-fx canvas { display: block; width: 100%; height: 100%; }
.theme-light .home-board > .wave-fx {
  position: absolute;
  z-index: 1;
  top: calc(-1 * var(--header-h));
  left: 0;
  right: 0;
  bottom: auto;
  height: auto;
  aspect-ratio: 2560 / 2200;
}
.theme-dark .wave-fx {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120vh;
  z-index: 0;
}
.theme-light .home-bg { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html.motion-ok.motion-armed .js-reveal {
    opacity: 1;
    transform: none;
  }
  html.motion-ok .feature-card:hover,
  html.motion-ok .seg-card:hover,
  html.motion-ok .report-card:hover,
  html.motion-ok .picker:hover,
  html.motion-ok .frost:hover {
    transform: none;
  }
}

body.theme-dark > .wave-fx { z-index: 0; }
body.theme-dark > .site-header,
body.theme-dark > #content,
body.theme-dark > .audience,
body.theme-dark > .site-footer,
body.theme-dark > .skip {
  position: relative;
  z-index: 1;
}

body.theme-dark.has-wave-fx-dark,
body.has-wave-fx-css {
  /* Field colour stays; the Runway artwork is drawn by the canvas so it doesn't double. */
  background-image: none;
}

.theme-amber .wave-fx,
.theme-article .wave-fx {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  aspect-ratio: 2560 / 2200;
  z-index: 0;
}
body.theme-amber > .wave-fx,
body.theme-article > .wave-fx { z-index: 0; }
body.theme-amber > .site-header,
body.theme-amber > #content,
body.theme-amber > .work,
body.theme-amber > .book,
body.theme-amber > .site-footer,
body.theme-amber > .skip,
body.theme-article > .site-header,
body.theme-article > #content,
body.theme-article > .insights,
body.theme-article > .about,
body.theme-article > .site-footer,
body.theme-article > .skip {
  position: relative;
  z-index: 1;
}


/* Room for the Runway Character launcher (fixed bottom-right, styles live in a
   closed shadow root so the button cannot be restyled or moved from here). */
.site-footer {
  padding-bottom: 96px;
}
.form-card {
  margin-bottom: 24px;
  scroll-margin-bottom: 96px;
}
#runway-embed-widget {
  z-index: 80;
}

/* ---------- "Which program fits?" planner (services/strategy) ---------- */
.planner { margin: 8px 0 12px; }
.planner fieldset { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.planner legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; padding: 0; color: var(--ink); }
.plan-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-pick { position: relative; }
.plan-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-pick span {
  display: inline-block;
  border: 1.5px solid var(--light-slate);
  background: var(--pearl);
  color: var(--ink);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.plan-pick span:hover { border-color: var(--deep-teal); }
.plan-pick input:checked + span { background: var(--deep-teal); border-color: var(--deep-teal); color: var(--pearl); }
.plan-pick input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }
.plan-result {
  border-top: 1px solid var(--light-slate);
  margin-top: 4px;
  padding-top: 18px;
}
.plan-result .plan-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; }
.plan-result .plan-picks-label { font-family: var(--font-mono); font-size: 12px; color: var(--slate); letter-spacing: .02em; }
.plan-pace {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--deep-teal);
  background: rgba(167, 243, 208, .45);
  border: 1px solid var(--mint);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
}
.article .plan-result h3 { font-family: var(--font-display); font-size: 20px; line-height: 28px; margin: 0 0 10px; color: var(--ink); }
.article .plan-result ul.advice { margin: 0 0 14px; }
.article .plan-result p { font-size: 15px; margin: 0 0 10px; }
.plan-note {
  font-size: 13px !important;
  color: var(--slate) !important;
  background: var(--amber-bg-2);
  border: 1px solid var(--amber-bg);
  border-left: 3px solid var(--amber);
  border-radius: 10px;
  padding: 8px 12px;
}
.plan-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 14px; }
@media (prefers-reduced-motion: reduce) {
  .plan-pick span { transition: none; }
}
.field .hint[hidden] { display: none; }

/* ---------- Amber / wave fixes, 11 Nov 2026 ---------- */
/* Soft fade at the foot of the wave canvas, so it can never end on a hard line
   (the canvas colours now match the field, this is a safety net). */
body > .wave-fx {
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
/* ========================================================================
   Two schemes only (Chris, 11 Nov 2026): light and dark. Amber is an accent,
   never a page or section background. runway-amber / bg-amber files are kept
   but no page uses them.
   ======================================================================== */

/* Light-scheme cards on The work: white frosted, teal hairline (was cream on amber) */
.work { background: transparent; }
.stat-card,
.chart-card, .timeline-card, .cream-card,
.story-card,
.trio > div {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #D5E9E6;
  box-shadow: 0 12px 32px rgba(13, 91, 99, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.trio > div { border-radius: 20px; padding: 16px 18px; text-align: center; }
.trio { gap: 16px; margin: 20px 0 16px; }
.story-note { color: #475569; }
.humility { color: #334155; }

/* Icon tiles: pale teal on light, dark glass on dark. No mint-on-cream. */
.icon-box,
.offer-band .icon-box,
.offer-cell .icon-box,
.stat-card .icon-circle {
  background: #E7F4F2;
  border: 1px solid #C9E6E2;
  color: var(--deep-teal);
}
.theme-dark .icon-box {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(167, 243, 208, 0.22);
  color: var(--mint);
}

/* Dark CTA works on light pages too */
.cta-dark { color: #E8F4F2; }
.cta-dark h2 { color: #F4FFFC; }
.theme-article .cta-dark,
.theme-light .cta-dark {
  background: #012F2B;
  border: 1px solid rgba(167, 243, 208, 0.16);
  box-shadow: 0 18px 50px rgba(1, 47, 43, 0.22);
}

/* Contact on the dark scheme */
body.theme-dark > .book { position: relative; z-index: 1; }
.theme-dark .book { background: transparent; padding-bottom: 96px; }
.theme-dark .book h1 { color: #F4FFFC; }
.theme-dark .book .lead { color: #C7E8E4; }
.theme-dark .form-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(167, 243, 208, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  color: var(--ink);
}
.theme-dark .form-card a { color: var(--deep-teal); }
.book { padding-bottom: 96px; }

/* Orange as accent only: a short bar before eyebrow labels, and the
   planner's note rule. Never body text on light. */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin: 0 8px 0 0;
  vertical-align: middle;
  border-radius: 2px;
  background: var(--amber);
}
.theme-dark .book .eyebrow { color: var(--mint); }
.plan-note {
  background: #F1F8F7;
  border: 1px solid #D5E9E6;
  border-left: 3px solid var(--amber);
}

/* ---------- Analytics consent bar (GA4, consent mode v2) ----------
   Bottom-left, so it never sits on the avatar launcher (bottom-right). */
.consent-bar {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #D5E9E6;
  border-top: 3px solid var(--amber);
  box-shadow: 0 12px 32px rgba(13, 91, 99, 0.14);
  color: var(--ink);
  font-size: 14px;
  line-height: 21px;
}
.consent-bar p { margin: 0 0 10px; }
.consent-actions { display: flex; gap: 8px; }
.consent-bar .btn { width: auto; padding: 8px 16px; font-size: 14px; min-height: 40px; }
.consent-no {
  background: transparent;
  color: var(--deep-teal);
  border: 1px solid #B6E2DE;
}
.consent-no:hover { background: #F0FAF8; }
.theme-dark .consent-bar {
  background: rgba(1, 40, 37, 0.96);
  border-color: rgba(167, 243, 208, 0.22);
  border-top-color: var(--amber);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  color: #E8F4F2;
}
.theme-dark .consent-bar .consent-yes { background: var(--mint); color: #012F2B; }
.theme-dark .consent-no { color: #E8F4F2; border-color: rgba(167, 243, 208, 0.35); }
.theme-dark .consent-no:hover { background: rgba(255, 255, 255, 0.06); }
@media (max-width: 640px) {
  .consent-bar { left: 12px; right: 88px; bottom: 12px; max-width: none; }
}
@media print { .consent-bar { display: none; } }
