/* ClientBooks — Premium Confidence */
:root {
  --navy-950: #050f17;
  --navy-900: #081a26;
  --navy-850: #0b2130;
  --navy-800: #0f2a3a;
  --teal-800: #0d3a3a;
  --teal-700: #10504b;
  --emerald-700: #0b6e55;
  --emerald-600: #0e8a69;
  --emerald-500: #16a67e;
  --emerald-400: #2cc79a;
  --emerald-100: #dff3ea;
  --emerald-50: #eef8f3;
  --gold-600: #b98a2f;
  --gold-500: #d4a84a;
  --gold-300: #f0cf85;
  --ink: #0b1e2d;
  --ink-2: #33475a;
  --ink-3: #5d6f7f;
  --line: #e2e8e6;
  --paper: #f6f8f6;
  --white: #ffffff;
  --on-dark: #eaf2f0;
  --on-dark-2: #a9bcc0;
  --on-dark-3: #7b9095;

  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(8, 26, 38, .06), 0 12px 32px -12px rgba(8, 26, 38, .18);
  --shadow-float: 0 40px 80px -30px rgba(3, 14, 22, .55), 0 18px 36px -18px rgba(3, 14, 22, .35);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold-500); color: var(--navy-950); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: -0.005em; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .25s, border-color .25s, color .25s;
}
.btn .arrow { transition: transform .3s var(--ease-out); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 16.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn .ico { width: 22px; height: 22px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #1fbf8f 0%, #0f9a72 55%, #0b8262 100%);
  border-color: rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 24px -10px rgba(14, 160, 118, .75), 0 0 0 1px rgba(5, 70, 52, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 16px 32px -12px rgba(14, 160, 118, .85), 0 0 0 1px rgba(5, 70, 52, .4); }
.btn-primary:active { transform: translateY(0); }

.btn-glass { color: #fff; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn-outline { color: var(--ink); background: #fff; border-color: #c8d3d0; }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-1px); }

.btn-outline-emerald { color: #fff; background: rgba(22,166,126,.12); border-color: rgba(44,199,154,.6); }
.btn-outline-emerald:hover { background: rgba(22,166,126,.28); border-color: var(--emerald-400); }

.btn-ghost { color: var(--on-dark); border-color: rgba(255,255,255,.2); }

/* ---------- Concepts link ---------- */
.concepts-link {
  position: fixed; left: 14px; bottom: 14px; z-index: 120;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 12px 7px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--on-dark);
  background: rgba(5, 15, 23, .78); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); box-shadow: 0 8px 20px -8px rgba(0,0,0,.5);
  transition: background .2s, transform .2s;
}
.concepts-link svg { width: 16px; height: 16px; }
.concepts-link:hover { background: rgba(5, 15, 23, .95); transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s, padding .35s;
  padding: 10px 0;
}
.site-header.is-scrolled {
  background: rgba(6, 20, 29, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -18px rgba(0,0,0,.6);
  padding: 4px 0;
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(22,166,126,.35)); }
.brand-word { font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.header-divider { width: 1px; height: 26px; background: rgba(255,255,255,.2); }
.primary-nav ul { display: flex; gap: 6px; }
.primary-nav a { display: inline-block; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: rgba(234,242,240,.82); transition: color .2s, background .2s; }
.primary-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-mobile-actions { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.signin { font-size: 14.5px; font-weight: 600; color: rgba(234,242,240,.88); }
.signin:hover { color: #fff; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle .bars span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease-out), opacity .2s; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Eyebrows & type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald-600); margin-bottom: 18px; }
.eyebrow-gold { color: var(--gold-300); }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald-400); box-shadow: 0 0 0 4px rgba(44,199,154,.18); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(44,199,154,0); } }

.em { color: var(--emerald-600); }
.em-gold {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--gold-300), var(--gold-500) 60%, #e9c46f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.lede { font-size: clamp(16.5px, 1.4vw, 18.5px); color: var(--ink-2); line-height: 1.6; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; margin-bottom: 16px; text-wrap: balance; }
.experts-copy h2, .est-copy h2, .security-copy h2 { text-wrap: balance; }
.section-head .lede { margin-top: 4px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(980px, 100svh);
  padding: clamp(120px, 15vh, 168px) 0 clamp(200px, 22vw, 260px);
  color: #fff;
  background: radial-gradient(120% 90% at 85% 10%, #0f3b3a 0%, #0a2230 45%, #06141d 100%);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-img {
  position: absolute; right: 0; top: 0;
  height: 100%; width: auto; max-width: none; min-width: 62%;
  object-fit: cover; object-position: 75% 20%;
  will-change: transform;
  animation: heroIn 1.8s var(--ease-out) both;
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #06141d 0%, rgba(6,20,29,.96) 30%, rgba(6,20,29,.72) 46%, rgba(6,20,29,.18) 66%, rgba(6,20,29,0) 82%),
    linear-gradient(180deg, rgba(6,20,29,.55) 0%, rgba(6,20,29,0) 22%, rgba(6,20,29,0) 62%, #06141d 100%);
}
.hero-glow {
  position: absolute; left: -10%; bottom: -30%; width: 70%; height: 80%;
  background: radial-gradient(closest-side, rgba(22,166,126,.22), transparent 70%);
  filter: blur(10px);
}
.hero-content { position: relative; }
.hero-title {
  font-size: clamp(42px, 7vw, 86px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  max-width: 12ch;
  text-wrap: balance;
}
.accent-wrap { position: relative; display: inline-block; white-space: nowrap; }
.accent {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em;
  font-size: 1.12em; line-height: .9;
  background: linear-gradient(100deg, #f6dc9b 0%, #d4a84a 45%, #f0cf85 70%, #c7963a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
.accent-underline { position: absolute; left: 2%; right: 4%; bottom: -.12em; width: 94%; height: .22em; overflow: visible; }
.accent-underline path { fill: none; stroke: var(--gold-500); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 0; }
.js .accent-underline path { stroke-dashoffset: 320; animation: draw 1.3s .75s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-sub { margin-top: 26px; max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); color: rgba(234,242,240,.86); line-height: 1.55; }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 14px 0; max-width: 900px; }
.hero-proof li { display: flex; align-items: center; gap: 14px; padding: 4px 24px 4px 0; margin-right: 24px; border-right: 1px solid rgba(255,255,255,.16); }
.hero-proof li:last-child { border-right: 0; margin-right: 0; }
.hero-proof svg { width: 32px; height: 32px; flex-shrink: 0; fill: none; stroke: var(--gold-500); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-proof strong { display: block; font-size: 15.5px; font-weight: 700; color: #fff; line-height: 1.3; }
.hero-proof span { display: block; font-size: 13px; color: var(--on-dark-2); line-height: 1.4; }

/* ---------- Demo card ---------- */
.demo-section { position: relative; z-index: 2; margin-top: clamp(-190px, -15vw, -150px); padding-bottom: 24px; }
.demo-section::before { content: ""; position: absolute; inset: 40% 0 0 0; background: var(--white); z-index: -1; }
.demo-card {
  position: relative;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, #f3d48d 0%, #c99a3d 28%, rgba(212,168,74,.35) 55%, #e8c36f 80%, #b9862c 100%) border-box;
  border: 1.5px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float), 0 0 0 6px rgba(212,168,74,.07);
  overflow: hidden;
}
.demo-grid { display: grid; grid-template-columns: 0.86fr 1.14fr; }
.demo-upload { padding: clamp(22px, 3vw, 36px); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.demo-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.demo-icon { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(160deg, var(--emerald-50), var(--emerald-100)); border: 1px solid #cfe9dc; }
.demo-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--emerald-700); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.demo-title { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.demo-desc { margin-top: 4px; font-size: 14px; color: var(--ink-3); line-height: 1.5; }

.dropzone {
  position: relative; flex: 1; min-height: 220px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px;
  padding: 28px 20px; border-radius: 16px; cursor: pointer; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #f2fbf7 0%, #f7fbf9 60%, #fff 100%);
  border: 1.5px dashed #9fd2bd;
  transition: border-color .25s, background-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--emerald-500); box-shadow: 0 0 0 5px rgba(22,166,126,.1); }
.dropzone.is-over { transform: scale(1.01); }
.dz-ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; background: #fff; box-shadow: 0 6px 18px -8px rgba(14,138,105,.45), 0 0 0 1px #d6ede3; transition: transform .35s var(--ease-out); }
.dropzone:hover .dz-ring { transform: translateY(-3px); }
.dz-ring svg { width: 34px; height: 34px; fill: none; stroke: var(--emerald-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dz-title { font-weight: 700; font-size: 16px; }
.dz-sub { font-size: 13.5px; color: var(--ink-3); }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 64px; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(22,166,126,0) 0%, rgba(22,166,126,.16) 70%, rgba(44,199,154,.85) 100%);
  border-bottom: 1px solid rgba(44,199,154,.9);
}
.dropzone.is-scanning { border-style: solid; border-color: var(--emerald-500); cursor: progress; }
.dropzone.is-scanning .scanline { opacity: 1; animation: scan 1.2s ease-in-out infinite alternate; }
.dropzone.is-scanning .dz-ring { animation: bob 1.2s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateY(-64px); } to { transform: translateY(calc(220px)); } }
@keyframes bob { to { transform: translateY(-4px); } }
.dropzone.is-done { border-style: solid; border-color: #9fd2bd; }

.demo-note { margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }
.demo-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: var(--ink-3); stroke-width: 1.6; }
.demo-note strong { color: var(--ink-2); font-weight: 700; }

.demo-results { padding: clamp(22px, 3vw, 36px); background: linear-gradient(180deg, #fbfdfc, #fff); min-width: 0; }
.results-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.spark svg { width: 28px; height: 28px; fill: var(--emerald-600); }
.spark { flex-shrink: 0; margin-top: 2px; }
.is-scanning-state .spark svg { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.results-titles { flex: 1; min-width: 0; }
.results-title { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.results-sub { margin-top: 2px; font-size: 13.5px; color: var(--ink-3); }
.year-select select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  padding: 7px 30px 7px 12px; border-radius: 9px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%2333475a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 12px;
}

.total-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; border-radius: 16px;
  background: linear-gradient(110deg, #e6f6ee 0%, #d3efe2 55%, #c6ead9 100%);
  border: 1px solid #c3e5d4;
  position: relative; overflow: hidden;
}
.total-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.65) 48%, transparent 66%); transform: translateX(-120%); }
.total-panel.is-revealed::after { animation: sheen 1.4s .2s var(--ease-out); }
@keyframes sheen { to { transform: translateX(120%); } }
.total-label { font-size: 13.5px; font-weight: 600; color: var(--teal-700); }
.total-amount { font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; color: var(--emerald-700); font-variant-numeric: tabular-nums; }
.expert-badge {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9);
  font-size: 13px; font-weight: 700; line-height: 1.25; color: var(--ink);
  box-shadow: 0 6px 16px -10px rgba(8,26,38,.35);
  transition: opacity .4s, transform .5s var(--ease-out);
}
.expert-badge svg { width: 26px; height: 26px; fill: none; stroke: var(--emerald-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.expert-badge.is-hidden { opacity: 0; transform: translateY(6px) scale(.96); }

.scan-progress { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: #f5f9f7; border: 1px solid var(--line); }
.progress-bar { height: 6px; border-radius: 6px; background: #e3ece8; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--emerald-500), var(--gold-500)); transition: width .4s linear; }
.progress-steps { margin-top: 12px; display: grid; gap: 6px; }
.progress-steps li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); transition: color .3s; }
.progress-steps li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #c9d6d1; flex-shrink: 0; transition: all .3s; }
.progress-steps li.is-active { color: var(--ink); font-weight: 600; }
.progress-steps li.is-active::before { border-color: var(--emerald-500); border-top-color: transparent; animation: spin .8s linear infinite; }
.progress-steps li.is-done { color: var(--ink-2); }
.progress-steps li.is-done::before { background: var(--emerald-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.2 2.6 2.6L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--emerald-500); }

.findings-head { margin: 22px 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.findings-head h4 { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.findings-head > span { font-size: 12.5px; color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.tag { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-600); background: #fbf3e1; border: 1px solid #f1e0b8; padding: 2px 7px; border-radius: 6px; }
.findings { display: grid; gap: 8px; }
.finding {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), border-color .3s, box-shadow .3s;
}
.finding:hover { border-color: #bfe0d1; box-shadow: 0 6px 18px -12px rgba(8,26,38,.3); }
.finding.is-pending { opacity: 0; transform: translateY(10px); }
.f-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--emerald-50); border: 1px solid #d9efe5; }
.f-ico svg { width: 21px; height: 21px; fill: none; stroke: var(--emerald-700); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.f-text { min-width: 0; }
.f-text strong { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.f-text span { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.f-amt { font-size: 12px; color: var(--ink-3); white-space: nowrap; text-align: right; }
.f-amt b { display: block; font-size: 18px; font-weight: 800; color: var(--emerald-700); letter-spacing: -0.02em; }

.demo-stepper { display: flex; align-items: center; justify-content: center; gap: 0; padding: 18px 24px; border-top: 1px solid var(--line); background: #fbfcfb; counter-reset: s; }
.demo-stepper li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-3); white-space: nowrap; transition: color .3s; }
.demo-stepper li + li::before { content: ""; width: clamp(24px, 9vw, 120px); height: 1px; background: #d5dfdb; margin: 0 clamp(10px, 2vw, 24px); }
.st-dot { position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #eef2f0; border: 1px solid #d5dfdb; font-size: 12px; font-weight: 700; color: var(--ink-2); transition: all .35s var(--ease-out); }
.st-dot i { font-style: normal; }
.st-dot svg { position: absolute; width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.5); transition: all .35s var(--ease-out); }
.demo-stepper li.is-done { color: var(--ink); }
.demo-stepper li.is-done .st-dot { background: var(--emerald-600); border-color: var(--emerald-600); }
.demo-stepper li.is-done .st-dot i { opacity: 0; }
.demo-stepper li.is-done .st-dot svg { opacity: 1; transform: scale(1); }
.demo-stepper li.is-current { color: var(--ink); }
.demo-stepper li.is-current .st-dot { background: var(--emerald-700); border-color: var(--emerald-700); color: #fff; box-shadow: 0 0 0 4px rgba(22,166,126,.18); }

/* ---------- Stats ---------- */
.stats { padding: clamp(48px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); }
.backed { text-align: center; font-size: 14px; color: var(--ink-3); margin-bottom: 28px; }
.backed strong { color: var(--ink); font-weight: 700; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stat { padding: 8px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dt { font-size: 14px; color: var(--ink-3); line-height: 1.4; }
.stat dd { margin: 0; font-size: clamp(32px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; color: var(--emerald-700); font-variant-numeric: tabular-nums; }

/* ---------- How it works ---------- */
.how { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.how .section-head h2 { font-size: clamp(34px, 5vw, 56px); }
.steps { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: clamp(8px, 2vw, 24px); }
.step { text-align: center; padding: 0 8px; }
.step-ico { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(160deg, #eef9f4, #d8f0e5); border: 1px solid #cbe8da; box-shadow: 0 10px 24px -14px rgba(14,138,105,.5); transition: transform .4s var(--ease-out); }
.step:hover .step-ico { transform: translateY(-4px) rotate(-2deg); }
.step-ico svg { width: 36px; height: 36px; fill: none; stroke: var(--emerald-700); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step-ico.gold { background: linear-gradient(160deg, #fdf6e6, #f5e4bd); border-color: #efd9a6; box-shadow: 0 10px 24px -14px rgba(185,138,47,.6); }
.step-ico.gold svg { stroke: var(--gold-600); }
.step-num { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--gold-600); margin-bottom: 8px; }
.step h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.step p { color: var(--ink-2); max-width: 30ch; margin: 0 auto; font-size: 15.5px; }
.step-arrow { padding-top: 32px; }
.step-arrow svg { width: 40px; height: 12px; fill: none; stroke: #9aaab2; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.how-ctas { margin-top: clamp(40px, 6vw, 60px); display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- What we find ---------- */
.find-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.find .section-head { position: sticky; top: 110px; }
.find .lede { margin-bottom: 16px; }
.fine { font-size: 13px; color: var(--ink-3); }
.find-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.find-card {
  position: relative; padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(8,26,38,.04);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
  overflow: hidden;
}
.find-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--emerald-500), var(--gold-500)); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease-out); }
.find-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: #cfe5db; }
.find-card:hover::before { transform: scaleY(1); }
.fc-amt { display: inline-block; font-size: 13px; font-weight: 700; color: var(--emerald-700); background: var(--emerald-50); border: 1px solid #d3ecdf; padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }
.find-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.find-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* ---------- Estimator ---------- */
.estimator { color: #fff; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.est-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(16,80,75,.75), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(22,166,126,.18), transparent 70%),
    linear-gradient(180deg, #081a26, #06141d);
}
.est-bg::after { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent); }
.est-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.est-copy h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; margin-bottom: 18px; }
.est-copy .lede { color: var(--on-dark-2); }
.est-card {
  padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.est-field { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.est-field legend { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 10px; padding: 0; }
.seg { display: grid; gap: 8px; }
.seg-income { grid-template-columns: repeat(3, 1fr); }
.seg-years { grid-template-columns: repeat(3, 1fr); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 10px; border-radius: 11px; text-align: center; font-size: 14px; font-weight: 600; color: var(--on-dark); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); transition: all .25s var(--ease-out); }
.seg label:hover span { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.seg input:checked + span { color: var(--navy-950); background: linear-gradient(180deg, #f6dc9b, #d4a84a); border-color: #f0cf85; box-shadow: 0 8px 20px -10px rgba(212,168,74,.8); }
.seg input:focus-visible + span { outline: 2px solid var(--gold-300); outline-offset: 2px; }
.est-result { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 22px 0 24px; margin-bottom: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.est-label { font-size: 14px; color: var(--on-dark-2); }
.est-amount { font-size: clamp(48px, 6vw, 72px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #fff, #d9f5e9); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 4px 0 8px; }
.est-per { font-size: 14px; color: var(--on-dark-2); }
.est-per span { color: var(--gold-300); font-weight: 700; }
.est-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; flex-shrink: 0; }
.bar { position: relative; width: 34px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bar i { display: block; width: 100%; border-radius: 8px 8px 4px 4px; height: var(--h, 40%); background: linear-gradient(180deg, var(--emerald-400), var(--emerald-700)); transition: height .6s var(--ease-out), opacity .4s, background .4s; }
.bar.is-off i { opacity: .18; background: rgba(255,255,255,.4); }
.bar em { position: absolute; bottom: -22px; font-style: normal; font-size: 11px; color: var(--on-dark-3); }
.est-fine { margin-top: 12px; font-size: 12.5px; color: var(--on-dark-3); text-align: center; }

/* ---------- Experts ---------- */
.experts { background: var(--paper); }
.experts-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.experts-media { position: relative; margin: 0; }
.experts-frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; background: linear-gradient(135deg, #0b2130, #0d3a3a); box-shadow: var(--shadow-float); }
.experts-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform: scale(1.04); transition: transform 1.6s var(--ease-out); }
.experts-media.is-visible .experts-frame img { transform: scale(1); }
.experts-chip { position: absolute; left: clamp(-24px, -2vw, -12px); bottom: 28px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-card); font-size: 13px; color: var(--ink-3); line-height: 1.35; max-width: 290px; }
.experts-chip strong { display: block; font-size: 14.5px; color: var(--ink); }
.chip-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--emerald-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.experts-copy h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; margin-bottom: 18px; }
.pillars { margin-top: 32px; display: grid; gap: 22px; }
.pillars li { display: flex; gap: 18px; align-items: flex-start; }
.pillar-num { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--emerald-700); background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px -12px rgba(8,26,38,.4); }
.pillars li:last-child .pillar-num { color: var(--gold-600); }
.pillars h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.pillars p { font-size: 15px; color: var(--ink-2); }

/* ---------- Services ---------- */
.services-grid { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 16px; }
.svc-card { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: #cfe5db; }
.svc-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; background: var(--emerald-50); border: 1px solid #d3ecdf; }
.svc-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--emerald-700); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 8px; }
.svc-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.svc-feature { color: #fff; border-color: transparent; background: radial-gradient(120% 120% at 100% 0%, #10504b 0%, #0b2130 55%, #081a26 100%); }
.svc-feature::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(240,207,133,.7), rgba(212,168,74,.05) 50%, rgba(240,207,133,.4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.svc-feature p { color: var(--on-dark-2); }
.svc-feature .svc-ico { background: rgba(212,168,74,.12); border-color: rgba(212,168,74,.35); }
.svc-feature .svc-ico svg { stroke: var(--gold-300); }
.svc-link { margin-top: auto; padding-top: 20px; font-weight: 700; font-size: 14.5px; color: var(--gold-300); display: inline-flex; gap: 6px; }
.svc-link span { transition: transform .3s var(--ease-out); }
.svc-link:hover span { transform: translateX(4px); }
.audience { margin-top: 28px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; }
.audience > span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.audience ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.audience li { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- Compare ---------- */
.compare { background: linear-gradient(180deg, #fff, var(--paper)); padding-top: 0; }
.compare-wrap { margin-top: clamp(32px, 5vw, 52px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; }
.compare-table th, .compare-table td { padding: 18px 22px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-top: 22px; }
.compare-table tbody th { font-size: 15px; font-weight: 700; width: 26%; }
.compare-table td { font-size: 14.5px; color: var(--ink-2); width: 24.6%; }
.compare-table .col-cb { background: linear-gradient(180deg, #f0faf5, #e9f6f0); border-left: 1px solid #cfe9dc; border-right: 1px solid #cfe9dc; }
.compare-table thead .col-cb { color: var(--ink); border-top: 3px solid var(--emerald-500); border-top-left-radius: 0; }
.cb-head { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: -0.01em; font-size: 16px; font-weight: 800; }
.cb-head img { width: 20px; height: 20px; object-fit: contain; }
.v { display: inline-flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.v::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 12px; }
.v-yes::before { background-color: var(--emerald-600); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.2 2.6 2.6L12 5.4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.v-mid::before { background-color: #e9eef0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8h7' stroke='%235d6f7f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.v-no::before { background-color: #f6ecec; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m5 5 6 6M11 5l-6 6' stroke='%23b35a5a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.col-cb .v { color: var(--ink); font-weight: 600; }

/* ---------- Security ---------- */
.security { background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.security::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 0% 50%, rgba(16,80,75,.55), transparent 70%), radial-gradient(40% 60% at 100% 100%, rgba(212,168,74,.08), transparent 70%); }
.security-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.shield { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; margin-bottom: 24px; background: linear-gradient(160deg, rgba(212,168,74,.18), rgba(212,168,74,.04)); border: 1px solid rgba(212,168,74,.35); }
.shield svg { width: 44px; height: 44px; fill: none; stroke: var(--gold-300); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.security-copy h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; margin-bottom: 18px; }
.security-copy .lede { color: var(--on-dark-2); }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.security-grid li { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background .3s, border-color .3s, transform .35s var(--ease-out); }
.security-grid li:hover { background: rgba(255,255,255,.07); border-color: rgba(212,168,74,.4); transform: translateY(-3px); }
.security-grid h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.security-grid h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-400); box-shadow: 0 0 0 4px rgba(44,199,154,.15); }
.security-grid p { font-size: 14.5px; color: var(--on-dark-2); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq .section-head { position: sticky; top: 110px; }
.faq .section-head .lede { margin-bottom: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; font-size: clamp(17px, 1.6vw, 19px); font-weight: 700; letter-spacing: -0.01em; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--emerald-700); }
.plus { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .4s var(--ease-out); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -0.9px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease-out); }
.plus::after { transform: rotate(90deg); }
.faq-item[open] .plus { background: var(--emerald-600); border-color: var(--emerald-600); color: #fff; transform: rotate(180deg); }
.faq-item[open] .plus::after { transform: rotate(0deg); }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 48px 26px 4px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 0 0 clamp(72px, 10vw, 120px); }
.final-card {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(56px, 8vw, 96px) clamp(22px, 5vw, 64px);
  border-radius: 28px; color: #fff;
  background: radial-gradient(90% 120% at 50% 0%, #10504b 0%, #0b2130 50%, #06141d 100%);
  box-shadow: var(--shadow-float);
}
.final-glow { position: absolute; z-index: -1; left: 50%; top: -40%; width: 80%; height: 90%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(212,168,74,.22), transparent 70%); animation: glow 7s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translateX(-46%) scale(1.12); opacity: .7; } }
.final-card h2 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.035em; max-width: 16ch; margin: 0 auto 18px; text-wrap: balance; }
.final-card .lede { color: var(--on-dark-2); max-width: 36em; margin: 0 auto; }
.final-ctas { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.final-ticks { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--on-dark-2); }
.final-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.final-ticks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(44,199,154,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.2 2.6 2.6L12 5.4' fill='none' stroke='%232cc79a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-2); padding: clamp(56px, 7vw, 80px) 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { margin-top: 14px; max-width: 30ch; font-size: 14.5px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h3 { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-cols ul { display: grid; gap: 10px; }
.footer-cols a { font-size: 14.5px; transition: color .2s; }
.footer-cols a:hover { color: #fff; }
.disclaimer { margin-top: 28px; font-size: 12.5px; line-height: 1.6; color: var(--on-dark-3); max-width: 80ch; }
.footer-bottom { margin-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--on-dark-3); padding-left: 0; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; }
.js .reveal.is-visible { animation: revealUp .9s var(--ease-out) var(--d, 0s) both; }
.js .reveal.is-done { animation: none; opacity: 1; transform: none; }
.anim-settled .hero-img { animation: none; }
.anim-settled .accent-underline path { animation: none; stroke-dashoffset: 0; }
@keyframes revealUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .primary-nav a { padding: 8px 9px; font-size: 14px; }
  .header-divider { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .signin { display: none; }
  .header-actions { margin-left: auto; }
  .primary-nav {
    position: fixed; inset: 0 0 auto 0; top: 0; z-index: -1;
    padding: 88px var(--gutter) 24px;
    background: rgba(5, 15, 23, .97); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-104%); transition: transform .5s var(--ease-out);
    max-height: 100svh; overflow-y: auto;
  }
  .primary-nav.is-open { transform: none; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
  .primary-nav ul { flex-direction: column; gap: 2px; }
  .primary-nav a { display: block; padding: 14px 6px; font-size: 18px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; }
  .nav-mobile-actions { display: grid; gap: 10px; margin-top: 22px; }
  .nav-toggle { margin-left: 10px; }

  .demo-grid { grid-template-columns: 1fr; }
  .demo-upload { border-right: 0; border-bottom: 1px solid var(--line); }
  .dropzone { min-height: 180px; }
  .find-layout, .est-layout, .experts-layout, .security-layout, .faq-layout { grid-template-columns: 1fr; }
  .find .section-head, .faq .section-head { position: static; }
  .experts-media { order: -1; }
  .experts-chip { left: 12px; bottom: 12px; }
  .steps { grid-template-columns: 1fr; gap: 36px; max-width: 460px; margin-left: auto; margin-right: auto; }
  .step-arrow { display: none; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; text-align: left; padding: 0; }
  .step-ico { grid-row: span 3; margin: 0; width: 64px; height: 64px; border-radius: 18px; }
  .step-ico svg { width: 30px; height: 30px; }
  .step p { margin: 0; }
  .step-num { margin-bottom: 4px; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .header-actions .btn { display: none; }
  .hero { min-height: 0; padding-top: 0; padding-bottom: 170px; background: #06141d; }
  .hero-media { position: relative; inset: auto; height: 74vw; max-height: 460px; margin-bottom: -26vw; z-index: 0; overflow: hidden; }
  .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; object-position: 78% 18%; }
  .hero-shade { background: linear-gradient(180deg, rgba(6,20,29,.55) 0%, rgba(6,20,29,0) 30%, rgba(6,20,29,.25) 60%, #06141d 96%), linear-gradient(90deg, rgba(6,20,29,.75) 0%, rgba(6,20,29,0) 55%); }
  .hero-glow { display: none; }
  .hero-content { z-index: 1; }
  .hero-title { font-size: clamp(38px, 11vw, 52px); }
  .eyebrow-gold { font-size: 11px; letter-spacing: .1em; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-proof { flex-direction: column; gap: 16px; margin-top: 36px; }
  .hero-proof li { border-right: 0; margin-right: 0; padding: 0; }
  .demo-section { margin-top: -130px; }
  .results-head { flex-wrap: wrap; }
  .year-select { order: -1; width: 100%; display: flex; justify-content: flex-end; margin-bottom: -6px; }
  .total-panel { flex-direction: column; align-items: flex-start; }
  .expert-badge br { display: none; }
  .finding { grid-template-columns: auto 1fr; gap: 6px 12px; padding: 12px 14px; }
  .f-amt { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 6px; }
  .f-amt b { display: inline; font-size: 16px; }
  .demo-stepper { justify-content: space-between; padding: 16px; }
  .demo-stepper li { flex-direction: column; gap: 6px; font-size: 12px; text-align: center; white-space: normal; flex: 1; }
  .demo-stepper li + li::before { display: none; }
  .find-grid { grid-template-columns: 1fr; }
  .seg-income { grid-template-columns: repeat(2, 1fr); }
  .est-result { flex-direction: column; align-items: stretch; }
  .est-bars { height: 80px; justify-content: flex-start; margin-bottom: 18px; }
  .security-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .faq-body p { padding-right: 4px; }
  .final-ctas .btn { width: 100%; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  /* comparison → stacked cards */
  .compare-wrap { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: auto; min-width: 0; }
  .compare-table thead { display: none; }
  .compare-table tbody { display: grid; gap: 12px; }
  .compare-table tr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(8,26,38,.04); display: flex; flex-direction: column; }
  .compare-table tbody th { width: auto; padding: 16px 18px 10px; border: 0; font-size: 16px; order: -2; }
  .compare-table td { width: auto; padding: 10px 18px; border: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: start; }
  .compare-table td::before { content: attr(data-label); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
  .compare-table td.col-cb { order: -1; border: 0; border-top: 1px solid #cfe9dc; background: linear-gradient(90deg, #eaf7f0, #f3fbf7); }
  .compare-table td.col-cb::before { color: var(--emerald-700); }
  .compare-table tbody tr:last-child td { border-bottom: 0; }
  .footer-bottom { flex-direction: column; padding-bottom: 44px; }
}

@media (max-width: 420px) {
  .brand-word { font-size: 19px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 4px 14px; }
  .stat dd { font-size: 30px; }
  .stat dt { font-size: 13px; }
  .seg span { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; animation: none !important; }
  .js .accent-underline path { stroke-dashoffset: 0; animation: none; }
  .hero-img { animation: none; }
}
