/* ============================================================
   Leadly — premium editorial styling
   navy #1A2650 · deep #0C1330 · cream #F4EEE0 · gold #C9A24B · amber #F5B301
   ============================================================ */

:root {
  --navy: #1A2650;
  --navy-deep: #0C1330;
  --navy-mid: #22305F;

  --paper: #FBF9F2;
  --cream: #F4EEE0;
  --cream-deep: #EDE6D3;

  --gold: #C9A24B;
  --gold-deep: #A9822F;
  --gold-ink: #8B6823;
  --gold-soft: #E4D3AC;
  --amber: #F5B301;

  --ink: #171B33;
  --body: #4C5064;
  --muted: #69708C;
  --hair: #E4DAC3;
  --hair-dark: rgba(255, 255, 255, 0.12);

  --radius: 12px;
  --radius-sm: 9px;
  --maxw: 1140px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth; scroll-padding-top: 90px;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

a, button, summary, label { touch-action: manipulation; }
.btn, button { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--paper);
  line-height: 1.7;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); margin: 0; font-weight: 500; line-height: 1.12; }
h1 { letter-spacing: -0.015em; }
h2 { letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--gold-deep); }
}
em { font-style: italic; }

.container {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 max(28px, env(safe-area-inset-right, 0px)) 0 max(28px, env(safe-area-inset-left, 0px));
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 20px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--gold); flex-shrink: 0;
}
.eyebrow.light { color: #E8D3A6; }
.eyebrow.light::before { background: #E8D3A6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform 160ms var(--ease);
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
}
.btn:active { transform: scale(.97); }
.btn:disabled { cursor: progress; }
.btn.is-loading::before {
  content: ""; flex-shrink: 0;
  width: .95em; height: .95em; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
.btn-primary { background: var(--amber); color: #22160a; border-color: var(--amber); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #ffc327; border-color: #ffc327; color: #22160a; }
}
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .32); }
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); color: #fff; }
}
.btn-sm { padding: 11px 22px; font-size: .72rem; }
.btn-lg { padding: 17px 34px; font-size: .82rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(251, 249, 242, .9);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom-color: var(--hair);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand { position: relative; display: flex; align-items: center; gap: 11px; }
.brand-logo {
  height: 34px; width: auto; display: block;
  transition: opacity .25s var(--ease), visibility 0s linear 0s;
}
.brand-logo-dark {
  position: absolute; left: 0; top: 0; bottom: 0; margin: auto 0;
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.scrolled .brand-logo-light, .menu-open .brand-logo-light {
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.scrolled .brand-logo-dark, .menu-open .brand-logo-dark {
  opacity: 1; visibility: visible;
  transition: opacity .25s var(--ease), visibility 0s linear 0s;
}

.nav { display: flex; gap: 32px; }
.nav a {
  font-family: var(--sans); font-weight: 500; font-size: .9rem;
  color: rgba(255, 255, 255, .8);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: #fff; }
}
.scrolled .nav a { color: var(--body); }
@media (hover: hover) and (pointer: fine) {
  .scrolled .nav a:hover { color: var(--navy); }
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 1.5px; background: #fff; transition: background .3s; }
.scrolled .nav-toggle span { background: var(--navy); }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 10px 28px 22px; background: var(--paper); border-bottom: 1px solid var(--hair);
}
.mobile-nav a {
  font-family: var(--sans); font-weight: 500; font-size: .95rem;
  padding: 13px 2px; color: var(--ink); border-bottom: 1px solid var(--hair);
}
.mobile-nav a:last-child { border: 0; margin-top: 10px; color: #22160a; }

/* ============================================================
   House-scroll intro
   Default markup = safe, static, stacked (no-JS / reduced-motion).
   JS adds `.house-pin` once it confirms motion is OK — that class
   switches the whole thing to a pinned, scroll-scrubbed sequence.
   ============================================================ */
.house-scroll { position: relative; background: var(--navy-deep); }

.house-sticky { display: block; }

.house-layer {
  position: relative;
  height: 78vh;
  min-height: 460px;
  background-size: cover;
  background-position: center;
  display: flex;
  filter: saturate(.94) contrast(1.04) brightness(.97);
}
.house-layer::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,14,36,.5), rgba(9,14,36,.18) 35%, rgba(9,14,36,.5));
  pointer-events: none;
}
.house-layer.is-stage0::before {
  background: linear-gradient(180deg, rgba(9,14,36,.62), rgba(9,14,36,.22) 45%, rgba(9,14,36,.45));
}

.house-caption { position: relative; z-index: 1; }

.house-caption--0 {
  margin: auto; align-self: center;
  width: 100%; max-width: 640px; text-align: center; padding: 0 28px;
}
.house-caption--0 h1 {
  color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.6rem); max-width: 16ch; margin: 0 auto 8px;
}
.house-caption--0 h1 em { color: var(--gold-soft); font-style: italic; }
.house-caption--0 .eyebrow { justify-content: center; }
.house-cue {
  margin: 30px 0 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--sans); font-weight: 600; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}
.house-cue i { font-size: 1.3rem; color: var(--gold); }

.house-caption--side {
  align-self: center;
  max-width: 440px;
  margin: 40px 28px;
  background: rgba(9, 14, 36, .46);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  padding: 30px 32px;
}
.side-right { margin-left: auto; }
.side-left { margin-right: auto; }
.house-tag {
  display: inline-block; font-family: var(--sans); font-weight: 700; font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.house-caption--side h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0; }
.house-caption--side h2 em { color: var(--gold-soft); font-style: italic; }

.house-dots { display: none; }

/* ---------- Pinned / scroll-scrubbed mode (JS-enhanced) ---------- */
.house-scroll.house-pin {
  height: calc(var(--stages, 4) * 100vh);
}
.house-scroll.house-pin .house-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
}
.house-scroll.house-pin .house-layer {
  position: absolute; inset: 0; height: auto; min-height: 0;
  opacity: 0;
  transform: scale(1.12);
  will-change: opacity, transform;
}
.house-scroll.house-pin .house-caption--0 { margin: 0; position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.house-scroll.house-pin .house-caption--side {
  position: absolute; top: 50%; margin: 0; transform: translateY(-50%) translateX(0);
  opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.house-scroll.house-pin .house-caption--side.side-right { right: 8%; }
.house-scroll.house-pin .house-caption--side.side-left { left: 8%; }
.house-scroll.house-pin .house-caption--side:not(.is-visible).side-right { transform: translateY(-50%) translateX(18px); }
.house-scroll.house-pin .house-caption--side:not(.is-visible).side-left { transform: translateY(-50%) translateX(-18px); }
.house-scroll.house-pin .house-caption--side.is-visible { opacity: 1; }

.house-scroll.house-pin .house-dots {
  display: flex; flex-direction: column; gap: 11px;
  position: absolute; right: 26px; top: 50%; transform: translateY(-50%); z-index: 2;
}
.house-scroll.house-pin .house-dots i {
  width: 7px; height: 7px; border-radius: 50%; display: block;
  background: rgba(255, 255, 255, .32); transition: background .3s, transform .3s;
}
.house-scroll.house-pin .house-dots i.is-active { background: var(--gold); transform: scale(1.4); }

@media (max-width: 720px) {
  .house-layer { height: 86vh; }
  .house-caption--side { max-width: none; margin: 28px 20px; padding: 24px 22px; }
  .house-scroll.house-pin .house-caption--side { left: 20px; right: 20px; max-width: none; }
  .house-scroll.house-pin .house-dots { right: 14px; }
}

/* ---------- Hero (closing panel, after the house-scroll intro) ---------- */
.hero-closer {
  position: relative;
  background:
    radial-gradient(900px 460px at 82% 0%, rgba(201, 162, 75, .16), transparent 62%),
    linear-gradient(180deg, var(--navy), var(--navy-deep));
  color: #fff;
  padding: 128px 0 130px;
  overflow: hidden;
}
.hero-closer::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 100% 3px; opacity: .35; pointer-events: none;
}
.hero-closer::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-inner { position: relative; }
.hero-closer h2 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  margin-bottom: 24px;
}
.hero-closer h2 em { color: var(--gold-soft); }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: rgba(255, 255, 255, .78);
  max-width: 500px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-cta .ti { font-size: 1.05rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
.hero-trust li {
  display: flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .88);
}
.hero-trust i { color: var(--gold-soft); font-size: 1rem; }

/* ---------- Hero agenda card ---------- */
.hero-visual { position: relative; }
.agenda {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
  backdrop-filter: blur(2px);
}
.agenda-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 16px; margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.agenda-count { white-space: nowrap; }
.agenda-label {
  font-family: var(--sans); font-weight: 600; font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62);
}
.agenda-count {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-weight: 600; font-size: .78rem;
  color: var(--navy-deep); background: var(--gold-soft);
  padding: 5px 11px; border-radius: 999px;
}
.agenda ul { list-style: none; margin: 0; padding: 0; }
.agenda li {
  display: grid; grid-template-columns: 42px 1fr auto;
  align-items: center; gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.agenda li:last-child { border-bottom: 0; }
.ag-day {
  font-family: var(--serif); font-size: .9rem; color: var(--gold-soft);
  text-align: center;
}
.ag-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ag-main strong { font-family: var(--sans); font-weight: 600; font-size: .92rem; color: #fff; }
.ag-main span { font-size: .78rem; color: rgba(255, 255, 255, .58); }
.ag-ok i { color: #7cc9a4; font-size: 1.25rem; }
.agenda-foot {
  margin: 12px 4px 0; font-size: .74rem; color: rgba(255, 255, 255, .58);
}

/* ---------- Calculator ---------- */
.calc { background: var(--navy-deep); color: #fff; }
.calc-title { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 16ch; margin-bottom: 14px; }
.calc-lede { color: rgba(255, 255, 255, .68); font-size: 1.05rem; max-width: 46ch; margin-bottom: 44px; }

.calc-board {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .025);
  padding: clamp(24px, 4vw, 44px);
  overflow: hidden;
}
.calc-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  z-index: 0;
}
.calc-glow--a { width: 480px; height: 480px; top: -200px; left: -140px; background: radial-gradient(circle, rgba(201, 162, 75, .38), transparent 70%); }
.calc-glow--b { width: 520px; height: 520px; bottom: -220px; right: -160px; background: radial-gradient(circle, rgba(245, 179, 1, .22), transparent 70%); }

.calc-stats, .calc-main, .calc-note { position: relative; z-index: 1; }

.calc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
.calc-stat {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.calc-stat--hero { border-color: rgba(201, 162, 75, .45); background: linear-gradient(180deg, rgba(201, 162, 75, .14), rgba(255, 255, 255, .025)); }
.calc-stat-label {
  font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-soft);
}
.calc-stat-value {
  font-family: var(--sans); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-variant-numeric: tabular-nums; color: #fff; line-height: 1.1;
}
.calc-stat--hero .calc-stat-value { font-size: clamp(1.8rem, 3.1vw, 2.5rem); }
.calc-stat-sub { font-size: .82rem; color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; }

.calc-main { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; }
.calc-card {
  min-width: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 24px;
}
.calc-card h3 { color: #fff; font-family: var(--sans); font-weight: 600; font-size: .95rem; }
.calc-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.calc-chart-range {
  font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .08em;
  color: var(--gold); background: rgba(201, 162, 75, .14); padding: 4px 10px; border-radius: 999px;
  white-space: nowrap; flex-shrink: 0;
}

.calc-chart { display: flex; flex-direction: column; }

.calc-chart-values, .calc-chart-rates {
  display: flex; gap: 14px;
}
.calc-chart-values span, .calc-chart-rates span { flex: 1; text-align: center; }

.calc-chart-values span {
  font-family: var(--sans); font-weight: 600; font-size: .78rem; color: rgba(255, 255, 255, .7);
  font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .3s;
}
.calc-chart-values span.is-current { color: #ffe6a8; }

.calc-chart-rates span {
  font-family: var(--sans); font-weight: 600; font-size: .72rem; color: rgba(255, 255, 255, .5);
  margin-top: 12px; transition: color .3s;
}
.calc-chart-rates span.is-current { color: var(--amber); }

.calc-chart-canvas { position: relative; flex: 1; min-height: 130px; margin: 10px 0 4px; }
.calc-chart-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.calc-grid-line { stroke: rgba(255, 255, 255, .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.calc-grad-start { stop-color: var(--amber); stop-opacity: .32; }
.calc-grad-end { stop-color: var(--amber); stop-opacity: 0; }
.calc-area-path { fill: url(#calcAreaGrad); stroke: none; transition: d .25s var(--ease); }
.calc-line-path {
  fill: none; stroke: var(--gold-soft); stroke-width: 2.5;
  stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke;
  transition: d .25s var(--ease);
}

.calc-dots { position: absolute; inset: 0; }
.calc-dot {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--gold-deep); border: 2px solid var(--navy-deep);
  transition: left .25s var(--ease), bottom .25s var(--ease), background .3s, box-shadow .3s, width .3s, height .3s, margin .3s;
}
.calc-dot.is-current {
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  background: var(--amber); box-shadow: 0 0 16px rgba(245, 179, 1, .75);
}

.calc-chart-note { margin: 14px 0 0; font-size: .78rem; color: rgba(255, 255, 255, .6); }

.calc-field { display: block; margin-bottom: 20px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field-row {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--sans); font-size: .88rem; color: rgba(255, 255, 255, .78); margin-bottom: 9px;
}
.calc-field-row b { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.calc-field-hint { display: block; margin-top: 7px; font-size: .74rem; color: rgba(255, 255, 255, .6); }

.calc-controls input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  outline: none;
}
.calc-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--amber); border: 3px solid #22160a;
  box-shadow: 0 0 0 1px rgba(245, 179, 1, .5);
  cursor: pointer; margin-top: -6.5px;
  transition: transform 160ms var(--ease);
}
.calc-controls input[type="range"]::-moz-range-track { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .15); }
.calc-controls input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: var(--amber); border: 3px solid #22160a; cursor: pointer;
  transition: transform 160ms var(--ease);
}
.calc-controls input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-controls input[type="range"]:active::-moz-range-thumb { transform: scale(1.15); }
.calc-controls input[type="range"]:focus-visible { box-shadow: 0 0 0 3px rgba(245, 179, 1, .4); border-radius: 999px; }
.calc-controls input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(245, 179, 1, .5); }
.calc-controls input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(245, 179, 1, .5); }

.calc-note { margin: 22px 0 0; font-size: .8rem; color: rgba(255, 255, 255, .62); max-width: 70ch; }

@media (max-width: 1140px) {
  .calc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .calc-stats { grid-template-columns: minmax(0, 1fr); }
  .calc-main { grid-template-columns: minmax(0, 1fr); }
  .calc-bars { height: 150px; }
}

/* ---------- Video ---------- */
.video { background: var(--navy-deep); color: #fff; }
.video h2 { color: #fff; }
.video-frame {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  background: var(--navy-deep);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7);
}
.video-frame video { display: block; width: 100%; height: auto; max-height: 78vh; aspect-ratio: 16 / 9; object-fit: contain; background: var(--navy-deep); }
.video-frame.is-portrait { max-width: 430px; }
.video-frame.is-portrait video { aspect-ratio: 9 / 16; }
.video-cover {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px;
  border: 0; cursor: pointer;
  background:
    radial-gradient(600px 300px at 50% 40%, rgba(201, 162, 75, .18), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--navy-deep));
  color: #fff;
}
.video-cover[hidden] { display: none; }
.video-cover img { border-radius: 12px; }
.video-play {
  display: grid; place-items: center;
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--amber); color: #22160a;
  font-size: 1.7rem;
  transition: transform .2s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .video-cover:hover .video-play { transform: scale(1.06); }
}
.video-cap {
  font-family: var(--serif); font-size: 1.05rem; color: rgba(255, 255, 255, .9);
  max-width: 24ch; text-align: center;
}

/* ---------- Stats band ---------- */
.band {
  background: var(--navy-deep);
  border-top: 1px solid var(--hair-dark);
  border-bottom: 1px solid var(--hair-dark);
}
.band-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 14px 22px;
  padding: 22px 28px;
}
.band-inner span {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 500; font-size: .84rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .82);
}
.band-inner i { color: var(--gold); font-size: 1.05rem; }
.band-inner .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); padding: 0; }

/* ---------- Section scaffold ---------- */
.section { padding: clamp(80px, 11vw, 132px) 0; }
.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 18ch; margin-bottom: 48px; }

/* ============================================================
   Story scroll: problem -> how it works -> what's included ->
   lead quality -> pricing, as one compact interactive sequence.
   Default markup = safe, stacked (no-JS / reduced-motion / narrow
   screens). JS adds `.story-jacked` once it confirms a wide,
   motion-OK viewport — that class switches to the pinned,
   wheel-driven slideshow.
   ============================================================ */
.story-scroll { background: var(--navy-deep); }

.story-page {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 560px;
}
.story-page--reverse { direction: rtl; }
.story-page--reverse > * { direction: ltr; }

.story-side.story-image {
  background-size: cover; background-position: center;
  min-height: 320px;
}
.story-side.story-text { display: flex; align-items: center; }
.story-text-inner { padding: 56px 48px; max-width: 480px; }
.story-text-inner h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.3rem); max-width: 16ch; margin-bottom: 26px; }

.story-list { list-style: none; margin: 0; padding: 0; }
.story-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--hair-dark);
  font-family: var(--serif); font-size: 1.05rem; color: rgba(255, 255, 255, .88);
}
.story-list li:last-child { border-bottom: 0; }
.story-list i { color: var(--gold); font-size: 1.25rem; flex-shrink: 0; }

.story-steps { list-style: none; margin: 0; padding: 0; }
.story-steps li { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair-dark); }
.story-steps li:last-child { border-bottom: 0; }
.story-step-num {
  display: grid; place-items: center; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold);
  color: var(--gold-soft); font-family: var(--sans); font-weight: 600; font-size: .9rem;
}
.story-steps h3 { color: #fff; font-size: 1.15rem; margin-bottom: 3px; }
.story-steps p { color: rgba(255, 255, 255, .72); margin: 0; font-size: .92rem; }

.story-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.story-feature {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 500; font-size: .92rem;
  color: rgba(255, 255, 255, .88);
}
.story-feature i { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }

.story-qual-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.story-qual h3 { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.story-qual ul { list-style: none; margin: 0; padding: 0; }
.story-qual li { padding: 7px 0; font-size: .86rem; color: rgba(255, 255, 255, .75); border-bottom: 1px solid var(--hair-dark); }
.story-qual li:last-child { border-bottom: 0; }
.story-qual-yes h3 i { color: #4CB889; }
.story-qual-no h3 i { color: #E08A63; }

.story-dots { display: none; }

/* ---------- Pinned / wheel-scrubbed mode (JS-enhanced) ---------- */
.story-scroll.story-jacked { height: 100vh; overflow: hidden; }
.story-scroll.story-jacked .story-viewport { position: relative; height: 100vh; overflow: hidden; }
.story-scroll.story-jacked .story-page {
  position: absolute; inset: 0; min-height: 0;
  transform: translateY(100%);
  transition: transform .8s var(--ease);
}
.story-scroll.story-jacked .story-page.is-active { transform: translateY(0); }
.story-scroll.story-jacked .story-page.is-before { transform: translateY(-100%); }

.story-scroll.story-jacked .story-dots {
  display: flex; flex-direction: column; gap: 11px;
  position: absolute; left: 26px; top: 50%; transform: translateY(-50%); z-index: 2;
}
.story-scroll.story-jacked .story-dots span {
  width: 7px; height: 7px; border-radius: 50%; display: block;
  background: rgba(255, 255, 255, .32); transition: background .3s, transform .3s;
}
.story-scroll.story-jacked .story-dots span.is-active { background: var(--gold); transform: scale(1.4); }

@media (max-width: 900px) {
  .story-page, .story-page--reverse { grid-template-columns: 1fr; direction: ltr; }
  .story-text-inner { padding: 40px 24px; max-width: none; }
}

/* ---------- Timeline ---------- */
.timeline { background: var(--paper); }
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tl-step { padding-top: 22px; border-top: 1px solid var(--hair); }
.tl-num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); display: block; margin-bottom: 10px; }
.tl-day {
  font-family: var(--sans); font-weight: 600; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.tl-step h3 { font-size: 1.35rem; margin: 6px 0 8px; }
.tl-step p { margin: 0; font-size: .95rem; }

/* ---------- About feature grid (brand story page) ---------- */
.about-feat { background: var(--cream); overflow: hidden; }
.about-feat-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px) 1fr;
  gap: 40px;
  align-items: center;
}
.about-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); z-index: 0; }
.about-glow--a { width: 380px; height: 380px; top: -160px; left: -100px; background: radial-gradient(circle, rgba(201, 162, 75, .18), transparent 70%); }
.about-glow--b { width: 420px; height: 420px; bottom: -180px; right: -120px; background: radial-gradient(circle, rgba(245, 179, 1, .14), transparent 70%); }

.about-feat-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 32px; }
.about-feat-item { display: flex; gap: 14px; }
.about-feat-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201, 162, 75, .12); color: var(--gold-ink); font-size: 1.15rem;
}
.about-feat-item h3 { font-size: 1.02rem; margin: 0 0 4px; }
.about-feat-item p { font-size: .88rem; color: var(--body); margin: 0; line-height: 1.5; }

.about-feat-img { position: relative; z-index: 1; }
.about-feat-frame {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--hair); box-shadow: 0 24px 60px rgba(23, 27, 51, .12);
}
.about-feat-frame img { display: block; width: 100%; height: auto; }

@media (max-width: 900px) {
  .about-feat-inner { grid-template-columns: 1fr; }
  .about-feat-img { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ---------- Founder ---------- */
.founder { background: var(--navy-deep); color: #fff; }
.founder-inner { max-width: 860px; }
.founder blockquote { margin: 0; position: relative; padding-left: 40px; }
.founder blockquote::before {
  content: "\201C"; position: absolute; left: -6px; top: -18px;
  font-family: var(--serif); font-size: 5rem; color: var(--gold); line-height: 1;
}
.founder blockquote p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.4;
  color: #fff;
  margin-bottom: 24px;
}
.founder footer { display: flex; flex-direction: column; padding-left: 2px; }
.founder footer strong { font-family: var(--sans); font-weight: 600; font-size: 1rem; }
.founder footer span { color: rgba(255, 255, 255, .55); font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-list { max-width: 820px; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 24px 46px 24px 0; position: relative;
  font-family: var(--serif); font-weight: 500; font-size: 1.18rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "\002B"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.4rem; font-weight: 400; color: var(--gold-deep);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 44px 26px 0; color: var(--body); font-size: 1rem; overflow: hidden; }

/* ---------- Lead ---------- */
.lead { background: linear-gradient(180deg, var(--navy), var(--navy-deep)); color: #fff; }
.lead-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start; }
.lead-copy h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 18px; }
.lead-copy > p { color: rgba(255, 255, 255, .76); font-size: 1.06rem; }
.lead-check { list-style: none; padding: 0; margin: 26px 0 0; }
.lead-check li { display: flex; align-items: center; gap: 11px; padding: 9px 0; color: rgba(255, 255, 255, .88); font-size: .96rem; }
.lead-check i { color: var(--gold); font-size: 1.1rem; }
.lead-check a { color: var(--gold-soft); }

.lead-form {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--gold-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label {
  display: block;
  font-family: var(--sans); font-weight: 600; font-size: .82rem;
  color: var(--ink); margin-bottom: 15px;
}
.lead-form .opt { color: var(--muted); font-weight: 500; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--sans); font-size: .96rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 75, .16);
}
.lead-form textarea { resize: vertical; }
@media (pointer: coarse) {
  .lead-form input, .lead-form select, .lead-form textarea { font-size: 16px; }
}
.consent-row {
  display: flex !important; align-items: flex-start; gap: 10px;
  font-family: var(--sans); font-weight: 400 !important; font-size: .84rem !important;
  color: var(--body); margin-bottom: 18px !important; cursor: pointer;
}
.consent-row input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--navy); cursor: pointer;
}
.consent-row a { color: var(--navy); text-decoration: underline; }
@media (hover: hover) and (pointer: fine) {
  .consent-row a:hover { color: var(--gold-ink); }
}
.lead-form .btn { margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #2f8f66; }
.form-status.err { color: #c24a2a; }
.form-status-msg { animation: status-in 220ms var(--ease) both; }
.form-status .ti {
  flex-shrink: 0; font-size: 1.25rem; line-height: 1.1;
  animation: status-pop 320ms var(--ease) both;
}
@keyframes status-in {
  from { opacity: 0; transform: translateY(4px); }
}
@keyframes status-pop {
  from { opacity: 0; transform: scale(.6); }
}
.form-legal { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .66); padding: 56px 0 calc(30px + env(safe-area-inset-bottom, 0px)); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding-bottom: 28px; border-bottom: 1px solid var(--hair-dark);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { height: 30px; width: auto; display: block; }
.footer-brand strong { display: block; font-family: var(--serif); font-weight: 500; color: #fff; font-size: 1.1rem; }
.footer-brand span { font-size: .82rem; letter-spacing: .05em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: rgba(255, 255, 255, .66); font-size: .9rem; }
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { color: var(--gold-soft); }
}
.footer-bottom { padding-top: 22px; font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open { background: var(--paper); border-bottom-color: var(--hair); }
  .site-header.menu-open .nav-toggle span { background: var(--navy); }
  .mobile-nav.show { display: flex; }

  .mini-grid, .steps, .feature-grid, .timeline-grid { grid-template-columns: 1fr; }
  .qual-cols, .pricing-wrap, .lead-inner { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-closer { padding: 90px 0 64px; }
  .section h2 { margin-bottom: 36px; }
}
@media (max-width: 560px) {
  .agenda li { grid-template-columns: 34px 1fr auto; gap: 10px; }
  .video-cap { font-size: .95rem; }
}
@media (max-width: 560px) {
  .container { padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); }
  .form-row { grid-template-columns: 1fr; }
  .lead-form { padding: 26px 22px; }
  .hero-cta .btn { width: 100%; }
  .band-inner .dot { display: none; }
  .band-inner { gap: 10px 18px; }
  .calc-board { padding: 16px; }
  .calc-card { padding: 16px; }
  .calc-chart-values, .calc-chart-rates { gap: 4px; }
  .calc-chart-values span { font-size: .7rem; }
  .calc-chart-rates span { font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, html { animation: none !important; transition: none !important; scroll-behavior: auto; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Reveal on scroll (progressive enhancement; visible at rest) ---------- */
html.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .tl-step.reveal:nth-child(2) { transition-delay: 70ms; }
html.js .tl-step.reveal:nth-child(3) { transition-delay: 140ms; }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-hero { background: linear-gradient(180deg, var(--navy), var(--navy-deep)); color: #fff; padding: 150px 0 56px; }
.story-hero { position: relative; background-size: cover; background-position: center; }
.story-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9, 14, 36, .82), rgba(9, 14, 36, .9));
}
.story-hero .container { position: relative; z-index: 1; }
.legal-hero .eyebrow.light { margin-bottom: 16px; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.legal-hero p { color: rgba(255, 255, 255, .72); font-size: 1rem; margin: 0; }
.legal-body { padding: 56px 0 90px; }
.legal-content { max-width: 720px; }
.legal-notice {
  background: var(--cream); border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 40px; font-size: .92rem; color: var(--body);
}
.legal-notice strong { color: var(--ink); }
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 1.08rem; margin: 24px 0 8px; }
.legal-content p { margin: 0 0 14px; }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { text-decoration: underline; }
.legal-updated { font-size: .85rem; color: var(--muted); margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hair); }
