/* Monday Numbers — "Cash, in motion". Plain CSS, mobile-first, no idle loops. */

/* Arial sized to Inter's metrics, so the late font swap does not reflow the page */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.12%; ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; }

:root {
  /* Brand Guide v1.0: Teal primary, Amber accent (never text), Linen on dark, Paper ground, Ink text, Mist lines */
  --teal: #0F4C5C;
  --amber: #C8751A;
  --linen: #F6F3EE;
  --paper: #FAF8F4;
  --ink: #14272C;
  --mist: #D5E0E2;

  --ink-2: #3A4C51;
  --ink-3: #5A6A6E;
  --line: var(--mist);
  --line-2: #BCCBCE;
  --ground: var(--paper);
  --band: var(--linen);
  --card: #FFFFFF;
  --teal-hover: #0B3B48;
  --teal-50: #E4EEEF;
  --teal-100: #CBDDE0;
  --amber-ink: #8A4E0E;
  --danger: #A3341F;
  /* teal surfaces ("night" sections use brand Teal) */
  --night: var(--teal);
  --night-2: #0C4251;
  --night-3: #0A3846;
  --night-line: rgba(246, 243, 238, .16);
  --on-night: var(--linen);
  --on-night-2: #C2D3D4;
  --sea: var(--mist);
  --amber-lit: #E59A43;

  --font: "Inter", "Inter Fallback", ui-sans-serif, "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Funnel Display", "Instrument Sans", "Inter Fallback", ui-sans-serif, system-ui, sans-serif;
  --font-ui: "Instrument Sans", "Inter Fallback", ui-sans-serif, system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(20, 39, 44, .05), 0 14px 34px -18px rgba(20, 39, 44, .25);
  --shadow-night: 0 2px 6px rgba(5, 25, 31, .25), 0 36px 70px -30px rgba(5, 25, 31, .6);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1180px;
  --gutter: 20px;
  --section: clamp(72px, 11vw, 140px);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; scrollbar-color: var(--line-2) transparent; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--ground);
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
::selection { background: var(--teal-100); color: var(--ink); }
.night ::selection { background: rgba(246, 243, 238, .3); color: #fff; }
:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.night :focus-visible { outline-color: var(--sea); }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (hover: hover) { a:hover { color: var(--teal-hover); text-decoration-thickness: 2px; } }
.night a:not(.btn) { color: var(--sea); }

h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; color: var(--ink); font-family: var(--font-ui); }
h1, h2 { font-family: var(--font-display); font-weight: 500; }
h1 { font-size: clamp(2.7rem, 8.4vw, 5.4rem); letter-spacing: -0.04em; line-height: 1.0; }
h2 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.04; }
h3 { font-size: 1.25rem; letter-spacing: -0.012em; line-height: 1.3; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
.tnum, table, .num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }
.section { padding: var(--section) 0; }
.band { background: var(--band); }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink-2); max-width: 60ch; line-height: 1.55; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 + p { margin-top: 18px; }
.muted { color: var(--ink-3); }
.small { font-size: .9375rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip:focus, .skip:hover { top: 12px; color: #fff; }

/* ---------- Night grounds ---------- */
.night { background: var(--night); color: var(--on-night); position: relative; isolation: isolate; }
.night h1, .night h2, .night h3 { color: var(--linen); }
.night .lede, .night .muted { color: var(--on-night-2); }
.night-grid::before { content: none; }
.night-light { background: linear-gradient(180deg, var(--teal) 0%, #0D4554 60%, var(--night-2) 100%); }

/* ---------- Buttons ---------- */
.btn {
  touch-action: manipulation;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 24px;
  font: inherit; font-family: var(--font-ui); font-size: 1rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.005em;
  border-radius: 999px; border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .22s var(--ease), transform .2s var(--ease);
  user-select: none; -webkit-user-select: none;
}
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn-primary { background: var(--teal); color: var(--linen); box-shadow: 0 8px 20px -12px rgba(15, 76, 92, .7); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--line-2); }
.night .btn-primary { background: var(--linen); color: var(--teal); box-shadow: 0 10px 24px -14px rgba(5, 25, 31, .6); }
.night .btn-ghost { color: var(--linen); border-color: rgba(246, 243, 238, .4); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); text-decoration: none; }
  .btn:active { transform: scale(.97); }
  .btn-primary:hover { background: var(--teal-hover); color: var(--linen); box-shadow: 0 14px 28px -14px rgba(15, 76, 92, .8); }
  .btn-ghost:hover { border-color: var(--teal); color: var(--teal-hover); }
  .night .btn-primary:hover { background: #FFFFFF; color: var(--teal-hover); box-shadow: 0 16px 30px -16px rgba(5, 25, 31, .7); }
  .night .btn-ghost:hover { border-color: var(--linen); color: #fff; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8125rem; font-weight: 600; line-height: 1;
  color: var(--teal); background: var(--teal-50); padding: 6px 10px; border-radius: 999px; white-space: nowrap;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.night .tag { color: var(--linen); background: rgba(246, 243, 238, .14); }
.night .tag::before { background: var(--amber-lit); }

/* ---------- Header: a floating glass pill ---------- */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding: 0 max(var(--gutter), env(safe-area-inset-left)); pointer-events: none; }
.header-pill {
  pointer-events: auto; max-width: 1080px; margin: 0 auto; position: relative;
  border-radius: 999px; border: 1px solid rgba(20, 39, 44, .07);
  /* liquid glass: translucent body, blur and saturation behind, a bright top edge and a faint inner ring */
  background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(250, 248, 244, .8));
  -webkit-backdrop-filter: blur(18px) saturate(1.7); backdrop-filter: blur(18px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 0 0 1px rgba(255, 255, 255, .35), 0 1px 2px rgba(20, 39, 44, .05), 0 16px 40px -20px rgba(20, 39, 44, .45);
  color: var(--ink);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 7px 0 18px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; padding: 6px 0; }
.brand img { height: 28px; width: auto; display: block; }
.brand .logo-rev { display: none; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; position: relative; }
.nav .lens { position: absolute; left: 0; top: 50%; height: 36px; width: 10px; margin-top: -18px; border-radius: 999px; background: rgba(20, 39, 44, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), width .35s var(--ease), opacity .2s var(--ease); }
.nav .lens.on { opacity: 1; }
.site-header.on-night .nav .lens { background: rgba(246, 243, 238, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.nav li { position: relative; z-index: 1; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-family: var(--font-ui); font-size: .9063rem; font-weight: 600; text-decoration: none; transition: color .2s var(--ease), background-color .2s var(--ease); }
@media (hover: hover) { .nav a:hover { color: var(--ink); } }
.nav a[aria-current="page"] { color: var(--teal); background: rgba(15, 76, 92, .08); }
.nav .sep { width: 1px; height: 18px; background: rgba(20, 39, 44, .14); margin: 0 6px; }
.header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 999px; background: rgba(20, 39, 44, .06); color: inherit; cursor: pointer; transition: background-color .3s var(--ease); margin: 8px 0; }
.menu-btn svg { width: 20px; height: 20px; overflow: visible; }
.menu-btn svg path { transition: transform .25s var(--ease), opacity .2s var(--ease); transform-box: fill-box; transform-origin: center; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }
.mobile-nav { padding: 4px 20px 18px; border-top: 1px solid rgba(20, 39, 44, .08); }
.header-pill:has(.mobile-nav:not([hidden])) { border-radius: 24px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a:not(.btn) { display: block; padding: 14px 0; color: inherit; text-decoration: none; font-family: var(--font-ui); font-weight: 500; font-size: 1.0625rem; border-bottom: 1px solid rgba(20, 39, 44, .08); }
.mobile-nav .btn { width: 100%; margin-top: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .js .header-pill { animation: settle .8s var(--ease) both; }
  .mobile-nav:not([hidden]) li, .mobile-nav:not([hidden]) .btn { animation: menu-in .35s var(--ease) both; }
  .mobile-nav li:nth-child(2) { animation-delay: .03s; } .mobile-nav li:nth-child(3) { animation-delay: .05s; } .mobile-nav li:nth-child(4) { animation-delay: .07s; } .mobile-nav .btn { animation-delay: .09s; }
}
@keyframes settle { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
/* pill over teal sections */
.site-header.on-night .header-pill { background: linear-gradient(180deg, rgba(22, 90, 108, .82), rgba(10, 56, 70, .9)); border-color: rgba(246, 243, 238, .12); color: var(--linen); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(246, 243, 238, .08), 0 16px 40px -20px rgba(5, 25, 31, .7); }
.site-header.on-night .logo-std { display: none; }
.site-header.on-night .logo-rev { display: block; }
.site-header.on-night .nav a { color: var(--on-night-2); }
@media (hover: hover) { .site-header.on-night .nav a:hover { color: var(--linen); } }
.site-header.on-night .nav a[aria-current="page"] { color: var(--linen); background: rgba(246, 243, 238, .12); }
.site-header.on-night .nav .sep { background: rgba(246, 243, 238, .22); }
.site-header.on-night .menu-btn { background: rgba(246, 243, 238, .1); }
.site-header.on-night .mobile-nav, .site-header.on-night .mobile-nav a:not(.btn) { border-color: rgba(246, 243, 238, .14); }
.site-header.on-night .header-cta, .site-header.on-night .mobile-nav .btn { background: var(--linen); color: var(--teal); box-shadow: none; }
.site-header.on-night :focus-visible { outline-color: var(--linen); }
@media (min-width: 900px) {
  .header-pill { width: fit-content; }
  .header-inner { gap: 28px; padding-left: 22px; }
  .nav, .header-cta { display: flex; }
  .header-cta { min-height: 42px; padding: 9px 20px; font-size: .9375rem; }
  .menu-btn, .mobile-nav { display: none !important; }
}
/* the header floats, so content starts under it */
main > section:first-child { padding-top: calc(var(--top-pad, 0px) + 96px); }
.hero { padding-top: clamp(120px, 14vw, 180px) !important; }
.page-hero { padding-top: clamp(130px, 15vw, 190px) !important; }
.notfound { padding-top: 140px !important; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 7vw, 104px) 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: 52px; align-items: center; padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: block; }
.hero h1 .line:nth-child(2) { color: var(--on-night-2); }
.hero .lede { margin-top: 26px; }
.hero .btn-row { margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: .9375rem; color: var(--on-night-2); }
.hero-trail { position: absolute; left: 0; right: 0; bottom: 96px; width: 100%; height: 46%; z-index: -1; pointer-events: none; opacity: .5; }
.final .hero-trail { bottom: 0; height: 60%; opacity: .4; }
.hero-trail path { fill: none; stroke-width: 1.7; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 60px; }
  .hero h1 { font-size: clamp(3rem, 4.3vw, 3.95rem); }
  .hero h1 .line > span { white-space: nowrap; }
}
.trust-row { border-top: 1px solid var(--night-line); }
.trust-row ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.trust-row li { display: flex; align-items: center; gap: 12px; padding: 16px 0; font-size: .9688rem; font-weight: 520; color: var(--on-night); border-bottom: 1px solid var(--night-line); text-wrap: pretty; }
.trust-row li:last-child { border-bottom: 0; }
.trust-row svg { width: 20px; height: 20px; flex: none; color: var(--sea); }
@media (min-width: 720px) { .trust-row ul { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } .trust-row li:nth-last-child(2) { border-bottom: 0; } }
@media (min-width: 1100px) { .trust-row ul { grid-template-columns: repeat(4, 1fr); } .trust-row li { border-bottom: 0; padding: 24px 0; } }

/* ---------- The Monday email ---------- */
.email { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; max-width: 520px; width: 100%; margin-inline: auto; position: relative; }
.night .email { border-color: rgba(255,255,255,.08); box-shadow: var(--shadow-night); }
.email-top { padding: 16px 20px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.email-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; align-items: center; font-size: .8125rem; color: var(--ink-3); }
.email-meta span { overflow-wrap: anywhere; }
.email-meta span:last-child { white-space: nowrap; }
.email-meta .from { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 560; }
.email-meta .from img { width: 18px; height: 18px; flex: none; }
.email-subject { font-weight: 650; font-size: 1rem; letter-spacing: -0.01em; text-wrap: balance; color: var(--ink); }
.email-body { padding: 18px 20px 20px; display: grid; gap: 18px; }
.email-cash { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.email-cash .k { font-size: .8125rem; color: var(--ink-3); font-weight: 500; }
.email-cash .v { font-size: clamp(2rem, 6vw, 2.5rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--ink); }
.email-cash .delta { font-size: .875rem; color: var(--ink-3); text-align: right; }
.email-cash .delta b { color: var(--teal); font-weight: 600; }
.ledger { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.ledger th, .ledger td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.ledger th { color: var(--ink-2); }
.ledger td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.ledger td.chg { width: 76px; color: var(--ink-3); font-size: .8438rem; }
.ledger tr:last-child th, .ledger tr:last-child td { border-bottom: 0; }
.mini-forecast { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px 10px; background: var(--band); }
.mini-forecast .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .875rem; color: var(--ink-2); }
.mini-forecast .row strong { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.mini-forecast .row strong::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.mini-forecast .row.muted { color: var(--ink-3); }
.mini-forecast svg { width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.watch { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.watch li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.watch li::before { content: ""; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--amber); }
.watch strong { font-weight: 620; color: var(--ink); }
.email-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); background: #FBFDFD; }
.email-label .muted { font-size: .8125rem; color: var(--ink-3); }
.email .tag { color: var(--teal); background: var(--teal-50); }
.email .tag::before { background: var(--teal); }
.email-summary { font-size: .9375rem; color: var(--ink-2); line-height: 1.55; }
.email-h { font-size: .875rem; font-weight: 650; color: var(--ink-2); margin-bottom: 8px; }

/* charts */
.chart-axis { font-size: 11px; fill: var(--ink-3); font-family: var(--font); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-grid.base { stroke: var(--line-2); }
.cash-line { fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.cash-area { fill: url(#mn-fade-light); opacity: 1; }
.sales-line { fill: none; stroke: #6E858B; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 6 5; }
.low-ring { fill: var(--amber); stroke: #fff; stroke-width: 2.5; }
.low-label { paint-order: stroke; stroke: var(--halo, #fff); stroke-width: 5px; stroke-linejoin: round; font-size: 12px; font-weight: 600; fill: var(--ink); font-family: var(--font); font-variant-numeric: tabular-nums; }
.out-bar { fill: #7D9196; }
.out-bar.big { fill: var(--amber); }
.night .chart-axis { fill: var(--on-night-2); }
.night .chart-grid { stroke: var(--night-line); }
.night .chart-grid.base { stroke: rgba(173, 214, 216, .3); }
.night .cash-line { stroke: var(--linen); }
.night .cash-area { fill: url(#mn-fade-dark); opacity: 1; }
.night .low-ring { fill: var(--amber-lit); stroke: var(--night-2); paint-order: stroke; stroke-width: 3px; outline: none; }
.night .low-halo { fill: none; stroke: var(--amber-lit); stroke-width: 1.25; opacity: .55; }
.night .low-label { fill: var(--linen); --halo: var(--night-2); }
.night .email .chart-axis { fill: var(--ink-3); }
.night .email .cash-line { stroke: var(--teal); }
.night .email .low-ring { fill: var(--amber); stroke: #fff; filter: none; }

/* hero entrance: once per visit, masks + transform/opacity only */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .line > span { animation: line-up .95s var(--ease) both; }
  .js .hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
  .js .hero .lede { animation: rise .8s var(--ease) .22s both; }
  .js .hero .btn-row { animation: rise .8s var(--ease) .3s both; }
  .js .hero .hero-note { animation: fade .8s var(--ease) .42s both; }
  .js .hero .email { animation: card-in .95s var(--ease) .12s both; }
  .js .hero .email [data-row] { animation: row-in .5s var(--ease) both; animation-delay: calc(.2s + var(--d, 0ms)); }
  .js .hero .trust-row li { animation: fade .9s var(--ease) both; animation-delay: calc(.75s + var(--d, 0ms)); }
  .js .hero .hero-trail path { stroke-dasharray: var(--len, 3000); stroke-dashoffset: var(--len, 3000); animation: draw 2.4s var(--ease) .35s forwards; }
  .js .final .hero-trail path { stroke-dasharray: var(--len, 3000); stroke-dashoffset: var(--len, 3000); }
  .js .final.in .hero-trail path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease); }
  .js .hero .mini-forecast .cash-line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1s var(--ease) .8s forwards; }
  .js .hero .mini-forecast .low-ring { transform-box: fill-box; transform-origin: center; animation: pop .5s var(--ease) 1.55s both; }
}
@keyframes line-up { from { transform: translateY(108%); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes card-in { 0% { opacity: 0; transform: translateY(36px) scale(.97); } 35% { opacity: .18; } 100% { opacity: 1; transform: none; } }
@keyframes row-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } }

/* ---------- Problem: sticky scroll story ---------- */
.story { display: grid; gap: 28px; }
.story-figure { position: sticky; top: 78px; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 14px 14px 10px; margin: 0; }
.story-figure .legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8125rem; color: var(--ink-2); margin-bottom: 6px; }
.story-figure .legend span { display: inline-flex; align-items: center; gap: 8px; }
.story-figure .legend .note { margin-left: auto; color: var(--ink-3); }
.story-figure svg.story-chart { width: 100%; height: auto; overflow: visible; }
.story-figure figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: .875rem; color: var(--ink-3); margin-top: 6px; }
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step { padding: 22px 0 22px 20px; border-left: 2px solid var(--line); transition: border-color .4s var(--ease); }
.story-step h3 { font-size: 1.1875rem; color: var(--ink-3); transition: color .4s var(--ease); }
.story-step p { margin-top: 6px; color: var(--ink-3); transition: color .4s var(--ease); }
.story-step.active { border-left-color: var(--teal); }
.story-step.active h3 { color: var(--ink); }
.story-step.active p { color: var(--ink-2); }
.story-close { margin-top: 28px; font-size: 1.1875rem; font-weight: 600; color: var(--teal); max-width: 56ch; letter-spacing: -0.01em; }
.pin { opacity: 0; transition: opacity .45s var(--ease); }
.pin { transition-duration: .22s; }
.pin.show { opacity: 1; transition: opacity .4s var(--ease) .2s; }
.pin-band { fill: var(--amber); opacity: .12; }
.pin-line { stroke: var(--amber); stroke-width: 1.5; stroke-dasharray: 3 3; }
.pin-text { font-size: 11.5px; font-weight: 600; fill: var(--ink-2); font-family: var(--font); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.story-bank { transition: stroke-dashoffset 1s var(--ease); }
@media (min-width: 960px) {
  .story { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 72px; align-items: start; }
  .story-figure { top: 110px; padding: 22px 22px 16px; }
  .story-step { padding: 22vh 0 22vh 28px; }
  .story-step:first-child { padding-top: 6vh; }
  .story-step:last-child { padding-bottom: 18vh; }
}
@media (max-width: 959px) {
  .story-step { padding: 11vh 0 11vh 18px; }
  .story-step:first-child { padding-top: 4vh; }
  .story-step:last-child { padding-bottom: 8vh; }
}
@media (prefers-reduced-motion: reduce) { .pin { opacity: 1; } .story-step { padding-top: 22px !important; padding-bottom: 22px !important; } .story-figure { position: static; } }

/* ---------- Calculator (night) ---------- */
.calc { display: grid; gap: 32px; }
.calc-form { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 560; color: var(--ink-2); line-height: 1.3; }
.night .field label { color: var(--on-night-2); }
.input { position: relative; display: flex; align-items: center; }
.input input {
  caret-color: var(--teal); width: 100%; min-height: 50px; padding: 10px 12px; font: inherit; font-size: 1rem;
  font-variant-numeric: tabular-nums; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 12px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.night .input input { color: #fff; background: var(--night-2); border-color: rgba(246, 243, 238, .24); caret-color: var(--linen); }
@media (hover: hover) { .input input:hover { border-color: #A9B7BA; } .night .input input:hover { border-color: rgba(173, 214, 216, .45); } }
.input input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 76, 92, .28); }
.night .input input:focus { border-color: var(--linen); box-shadow: 0 0 0 3px rgba(246, 243, 238, .22); background: var(--night-3); }
.input.pre input { padding-left: 26px; }
.input.suf input { padding-right: 46px; }
.input .affix { position: absolute; font-size: .9375rem; color: var(--ink-3); pointer-events: none; }
.night .input .affix { color: var(--on-night-2); }
.input.pre .affix { left: 12px; }
.input.suf .affix { right: 12px; }
.input input[aria-invalid="true"] { border-color: #E07A5F; }
.field-error { font-size: .8125rem; color: #F1A28E; }
.calc-out { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-night); padding: 20px; display: grid; gap: 20px; align-content: start; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--night-line); border-radius: 12px; overflow: hidden; }
.kpi { padding: 14px 14px 12px; border-right: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.kpi:nth-child(2n) { border-right: 0; }
.kpi:nth-last-child(-n+2) { border-bottom: 0; }
.kpi .k { font-size: .8125rem; color: var(--on-night-2); font-weight: 500; line-height: 1.3; }
.kpi .v { font-size: clamp(1.4rem, 4.6vw, 1.85rem); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 4px; line-height: 1.1; white-space: nowrap; color: #fff; }
.kpi .v.pos { color: var(--linen); }
.kpi .v.neg { color: #F1A28E; }
.calc-chart svg { width: 100%; height: auto; overflow: visible; }
.calc-sentence { font-size: 1.0625rem; font-weight: 560; line-height: 1.5; color: #fff; }
.calc-disclaimer { font-size: .8438rem; color: var(--on-night-2); }
.calc-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
@media (min-width: 640px) { .calc-form { grid-template-columns: repeat(3, 1fr); } .field.full { grid-column: auto; } .kpis { grid-template-columns: repeat(4, 1fr); } .kpi { border-bottom: 0; } .kpi:nth-child(2n) { border-right: 1px solid var(--night-line); } .kpi:last-child { border-right: 0; } }
@media (min-width: 1000px) { .calc { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; } .calc-form { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } .calc-out { position: sticky; top: 96px; padding: 26px; } }

/* ---------- Email showcase with spotlight ---------- */
.showcase { display: grid; gap: 36px; align-items: start; }
.showcase .email { max-width: 560px; margin: 0; }
.showcase .email [data-part] { transition: opacity .3s var(--ease), box-shadow .3s var(--ease); border-radius: 10px; }
.showcase .email.spot [data-part] { opacity: .25; }
.showcase .email.spot [data-part].lit { opacity: 1; box-shadow: 0 0 0 2px var(--teal), 0 0 0 7px var(--teal-50); }
.anno { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: a; }
.anno li { padding: 16px 18px; border-radius: 12px; display: grid; grid-template-columns: 32px 1fr; gap: 12px; cursor: pointer; border: 1px solid transparent; transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.anno li::before { counter-increment: a; content: counter(a); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-50); color: var(--teal); font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color .25s var(--ease), color .25s var(--ease); }
.anno li.lit { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.anno li.lit::before { background: var(--teal); color: #fff; }
.anno strong { display: block; font-weight: 650; }
.anno span { color: var(--ink-2); font-size: .9688rem; }
.anno-hint { font-size: .875rem; color: var(--ink-3); margin: 0 0 8px 18px; }
@media (min-width: 1000px) { .showcase { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 72px; } .anno-wrap { position: sticky; top: 120px; } }

/* ---------- Dashboard ---------- */
.dash { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; margin: 0; }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dash-title { font-weight: 650; letter-spacing: -0.01em; }
.dash-stats { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--line); }
.dash-stats > div { padding: 14px 20px; border-right: 1px solid var(--line); }
.dash-stats > div:nth-child(2n) { border-right: 0; }
.dash-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.dash-stats .k { font-size: .8125rem; color: var(--ink-3); }
.dash-stats .v { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dash-stats .v.low { color: var(--ink); display: flex; align-items: center; gap: 8px; }
.dash-stats .v.low::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); flex: none; }
.dash-chart { padding: 16px 12px 8px 4px; }
.dash-chart svg { width: 100%; height: auto; overflow: visible; }
.dash-foot { padding: 12px 20px 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .8125rem; color: var(--ink-3); }
.dash-foot svg { display: inline; vertical-align: middle; }
.dash-caption { margin-top: 22px; max-width: 68ch; color: var(--ink-2); }
@media (min-width: 720px) { .dash-stats { grid-template-columns: repeat(4, 1fr); } .dash-stats > div { border-bottom: 0 !important; border-right: 1px solid var(--line) !important; } .dash-stats > div:last-child { border-right: 0 !important; } }
@media (prefers-reduced-motion: no-preference) {
  .js .draw .cash-line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
  .js .draw.in .cash-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) .15s; }
  .js .draw .low-ring, .js .draw .low-label, .js .draw .cash-area { opacity: 0; }
  .js .draw.in .low-ring, .js .draw.in .low-label { opacity: 1; transition: opacity .35s var(--ease) 1.35s; }
  .js .draw.in .cash-area { opacity: 1; transition: opacity .9s var(--ease) .6s; }
  .js .draw .out-bar { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
  .js .draw.in .out-bar { transform: scaleY(1); transition: transform .7s var(--ease); transition-delay: var(--d, 0ms); }
}

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; position: relative; }
.steps li { padding: 24px 0; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 8px; align-content: start; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); grid-row: 1 / span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .9375rem; font-weight: 700; font-variant-numeric: tabular-nums; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--ground); }
.steps h3, .steps p { grid-column: 2; }
.steps p { color: var(--ink-2); max-width: 46ch; }
.steps-rail { position: absolute; left: 17px; top: 48px; bottom: 48px; width: 2px; background: var(--line); }
.steps-rail i { position: absolute; inset: 0; background: var(--teal); transform-origin: top; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps li { grid-template-columns: 1fr; padding-top: 0; }
  .steps li::before { grid-row: auto; margin-bottom: 18px; }
  .steps h3, .steps p { grid-column: 1; }
  .steps-rail { left: 18px; right: 18px; top: 17px; bottom: auto; width: auto; height: 2px; }
  .steps-rail i { transform-origin: left; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .steps-rail i { transform: scaleY(0); }
  .js .in .steps-rail i { transform: none; transition: transform 1.1s var(--ease) .1s; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) { .js .steps-rail i { transform: scaleX(0); } }

/* ---------- Prices ---------- */
.prices { display: grid; gap: 20px; }
.price-lead { background: linear-gradient(160deg, var(--night-2) 0%, var(--night) 70%); color: var(--on-night); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); display: grid; gap: 24px; position: relative; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-night); }

.price-lead h3 { color: #fff; }
.price-lead .amount { font-size: clamp(3rem, 7vw, 4.25rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.price-lead .amount small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--on-night-2); margin-left: 8px; }
.price-lead ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.price-lead li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--on-night); }
.price-lead li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--sea); }
.price-lead .btn-primary { background: var(--linen); color: var(--teal); }
.price-lead .guarantee { font-size: .9375rem; color: var(--on-night-2); }
.price-rows { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.price-row { padding: 24px 0; border-bottom: 1px solid var(--line-2); display: grid; gap: 12px; }
.price-row .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.price-row .amt { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--teal); }
.price-row ul { margin: 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 4px; }
.price-row li::marker { color: var(--line-2); }
.agency-line { margin-top: 28px; color: var(--ink-2); }
@media (min-width: 1000px) { .prices { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; } }

/* ---------- Sample audit teaser ---------- */
.audit-teaser { display: grid; gap: 32px; align-items: center; }
.finding-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.finding-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 15px 20px; border-bottom: 1px solid var(--line); align-items: baseline; transition: background-color .2s var(--ease); }
@media (hover: hover) { .finding-list li:not(.foot):hover { background: var(--band); } }
.finding-list li:last-child { border-bottom: 0; }
.finding-list .t { font-weight: 560; font-size: .9688rem; }
.finding-list .n { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--teal); font-size: .9375rem; text-align: right; white-space: nowrap; }
.finding-list .foot { display: flex; justify-content: space-between; gap: 12px; background: var(--band); }
@media (min-width: 1000px) { .audit-teaser { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; } }

/* ---------- Fit, about, data ---------- */
.fit { display: grid; gap: 40px; }
.fit h3 { margin-bottom: 16px; }
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.fit li svg { width: 18px; height: 18px; margin-top: 4px; }
.fit .yes svg { color: var(--teal); }
.fit .no svg { color: var(--ink-3); }
@media (min-width: 900px) { .fit { grid-template-columns: 1fr 1fr; gap: 72px; } }
.about { display: grid; gap: 32px; }
.about p { font-size: 1.125rem; color: var(--ink-2); max-width: 64ch; }
.about .sig { margin-top: 16px; font-weight: 600; color: var(--ink); font-size: 1rem; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; }
.facts li { padding: 14px 0; border-top: 1px solid var(--line); font-size: .9688rem; color: var(--ink-2); }
.facts strong { color: var(--ink); font-weight: 620; }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); gap: 72px; align-items: start; } }
.data-grid { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.data-grid > div { padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.data-grid h3 { font-size: 1.0625rem; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.data-grid h3 svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.data-grid p { color: var(--ink-2); }
@media (min-width: 800px) { .data-grid { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

/* ---------- FAQ: smooth open where supported ---------- */
.faq { max-width: 840px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 620; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.4; transition: color .2s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background:
  linear-gradient(var(--ink-2), var(--ink-2)) center / 11px 1.75px no-repeat,
  linear-gradient(var(--ink-2), var(--ink-2)) center / 1.75px 11px no-repeat, var(--band);
  transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
@media (hover: hover) { .faq summary:hover { color: var(--teal); } }
.faq .ans { padding: 0 0 24px; color: var(--ink-2); max-width: 68ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* ---------- Final CTA ---------- */
.final { overflow: hidden; }
.final h2 { max-width: 16ch; font-size: clamp(2.3rem, 5.6vw, 4rem); }
.final p { color: var(--on-night-2); font-size: 1.1875rem; margin-top: 18px; max-width: 54ch; }
.final .btn-row { margin-top: 34px; }

/* ---------- Footer (night) ---------- */
.site-footer { padding: 64px 0 40px; background: var(--night); color: var(--on-night-2); font-size: .9375rem; border-top: 1px solid var(--night-line); }
.site-footer .brand img { height: 28px; width: auto; }
.footer-grid { display: grid; gap: 32px; }
.footer-grid h2 { font-family: var(--font-ui); font-size: .9375rem; font-weight: 600; letter-spacing: -0.005em; color: var(--linen); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--on-night-2); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s var(--ease), color .2s var(--ease); text-decoration: none; }
@media (hover: hover) { .footer-grid a:hover { color: #fff; background-size: 100% 1px; } }
.site-footer :focus-visible { outline-color: var(--sea); }
.footer-tag { margin-top: 12px; max-width: 34ch; }
.footer-legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: .8438rem; color: var(--on-night-2); display: grid; gap: 6px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(44px, 6vw, 72px); overflow: hidden; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); max-width: 18ch; }
.page-hero .lede { margin-top: 20px; }
.page-hero .updated { color: var(--on-night-2); }
@media (prefers-reduced-motion: no-preference) {
  .js .page-hero h1 { animation: rise .8s var(--ease) both; }
  .js .page-hero .lede, .js .page-hero .btn-row, .js .page-hero .updated, .js .page-hero .code { animation: rise .8s var(--ease) .12s both; }
}
.page-body { padding-top: clamp(48px, 7vw, 88px); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); margin: 56px 0 14px; }
.prose h3 { margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol { color: var(--ink-2); margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--ink-3); }
.prose strong { color: var(--ink); font-weight: 620; }
.prose > :first-child { margin-top: 0; }
.updated { font-size: .875rem; color: var(--ink-3); margin-top: 12px; }
.two-col { display: grid; gap: 48px; }
@media (min-width: 1000px) { .two-col { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; } .two-col aside { position: sticky; top: 100px; } }
.order-box { border-radius: var(--radius-lg); padding: 26px; background: linear-gradient(160deg, var(--night-2) 0%, var(--night) 70%); color: var(--on-night); box-shadow: var(--shadow-night); display: grid; gap: 16px; position: relative; overflow: hidden; isolation: isolate; }

.order-box .amount { font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.order-box .muted { color: var(--on-night-2); }
.order-box .btn { width: 100%; background: var(--linen); color: var(--teal); }
.order-box a:not(.btn) { color: var(--sea); }
.order-box :focus-visible { outline-color: var(--sea); }
.export h3 { display: flex; gap: 10px; align-items: center; }
.timeline { list-style: none; padding: 0 !important; margin: 0; }
.timeline li { padding: 14px 0; border-top: 1px solid var(--line); }
.audit-doc { max-width: 860px; }
.audit-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); margin-bottom: 8px; }
.finding { padding: 32px 0; border-bottom: 1px solid var(--line-2); display: grid; gap: 14px; break-inside: avoid; }
.finding-top { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: baseline; }
.finding-top .idx { font-size: .875rem; font-weight: 650; color: var(--teal); font-variant-numeric: tabular-nums; }
.finding-top h2 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); margin: 0; }
.finding-figs { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.finding-figs div { display: grid; }
.finding-figs .k { font-size: .8125rem; color: var(--ink-3); }
.finding-figs .v { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.finding p { color: var(--ink-2); max-width: 70ch; }
.finding .fix { background: var(--teal-50); border-radius: var(--radius); padding: 14px 16px; color: var(--ink); }
.finding .fix strong { color: var(--teal); }
.summary-table { width: 100%; border-collapse: collapse; margin: 24px 0 8px; font-size: .9688rem; }
.summary-table th, .summary-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.summary-table th { font-size: .8125rem; color: var(--ink-3); font-weight: 600; }
.summary-table td.r, .summary-table th.r { text-align: right; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .summary-table td.r, .summary-table th.r { white-space: nowrap; } }
@media (max-width: 719px) { .summary-table { font-size: .875rem; } .summary-table th, .summary-table td { padding: 10px 4px; } .summary-table th:last-child, .summary-table td:last-child { display: none; } }
.mini-audit { list-style: none; padding: 0; margin: 24px 0 0; display: grid; border-top: 1px solid var(--line-2); }
.mini-audit li { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.notfound { min-height: 70svh; display: grid; align-content: center; }
.notfound .code { font-size: .9375rem; font-weight: 650; color: var(--sea); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.points { display: grid; margin: 0; }
.points > div { padding: 20px 0; border-top: 1px solid var(--line-2); }
.points dt { font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.01em; }
.points dd { margin: 6px 0 0; color: var(--ink-2); }
.problem-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .problem-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }

@media print {
  .site-header, .site-footer, .no-print, .skip { display: none !important; }
  body { font-size: 11pt; }
  .night, .page-hero { background: #fff !important; color: var(--ink) !important; }
  .night h1, .night h2, .night .lede, .night .muted, .page-hero h1, .page-hero .lede { color: var(--ink) !important; }
  .night .tag { color: var(--teal); background: var(--teal-50); }
  .night-light { background: #fff !important; }
  .section, .page-hero, .page-body { padding: 16px 0; }
  .finding { padding: 14px 0; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: none; padding: 0; }
  @page { margin: 16mm 14mm; }
}

@media (max-width: 699px) { .hero-trail { display: none; } }

/* rules that draw on arrival (one per list, not per item) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rule] { position: relative; }
  .js [data-rule]::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
  .js [data-rule].in::before { transform: scaleX(1); }
  .js .words .w { display: inline-block; opacity: .18; transform: translateY(4px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--wi) * 28ms); }
  .js .words.in .w { opacity: 1; transform: none; }
  .js .final.in .btn-primary { animation: cta-ring 1.2s var(--ease) .6s 1 both; }
}
@keyframes cta-ring { 0% { box-shadow: 0 0 0 0 rgba(246, 243, 238, .55); } 100% { box-shadow: 0 0 0 16px rgba(246, 243, 238, 0); } }

/* header CTA keeps button colours inside the nav */
.nav a.header-cta { display: inline-flex; align-items: center; color: var(--linen); background: var(--teal); padding: 0 16px; min-height: 38px; font-size: .9063rem; border-radius: 999px; }
.site-header.on-night .nav a.header-cta, .site-header.on-night .nav a.header-cta[aria-current="page"] { color: var(--teal); background: var(--linen); }
@media (hover: hover) and (pointer: fine) { .site-header.on-night .nav a.header-cta:hover { background: #fff; color: var(--teal-hover); } .nav a.header-cta:hover { color: var(--linen); } }

.nav a.header-cta[aria-current="page"] { color: var(--linen); background: var(--teal); }

/* ===================== Round 4: interaction and motion ===================== */
/* Buttons: a fill sweeps in on hover, the button lifts, text colour follows */
.btn-fx { position: relative; overflow: hidden; isolation: isolate; }
.btn-fx > span { position: relative; z-index: 1; transition: color .3s var(--ease); }
.btn-fx::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; transform: scaleX(0); transform-origin: left center; transition: transform .45s var(--ease); }
.btn-primary.btn-fx::before { background: var(--teal-hover); }
.btn-ghost.btn-fx::before { background: var(--teal); }
.night .btn-primary.btn-fx::before { background: #FFFFFF; }
.night .btn-ghost.btn-fx::before { background: var(--linen); }
@media (hover: hover) and (pointer: fine) {
  .btn-fx:hover::before, .btn-fx:focus-visible::before { transform: scaleX(1); }
  .btn-fx:hover { transform: translateY(-2px); }
  .btn-ghost.btn-fx:hover { border-color: var(--teal); }
  .btn-ghost.btn-fx:hover > span { color: var(--linen); }
  .night .btn-ghost.btn-fx:hover { border-color: var(--linen); }
  .night .btn-ghost.btn-fx:hover > span { color: var(--teal); }
  .night .btn-primary.btn-fx:hover { box-shadow: 0 18px 34px -16px rgba(5, 25, 31, .75); }
  .btn-fx:active { transform: scale(.97); }
}

/* Hero email: weekly preview */
.hero-email .email-label { flex-wrap: wrap; row-gap: 10px; }
.week-tabs { display: flex; align-items: center; gap: 4px; }
.week-tabs button { font: 600 12.5px/1 var(--font-ui); color: var(--ink-3); background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 7px 10px; min-height: 30px; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .week-tabs button:hover { color: var(--ink); border-color: var(--mist); } }
.week-tabs button[aria-selected="true"] { background: var(--teal); color: var(--linen); }
.week-tabs .week-pause { width: 30px; padding: 0; display: inline-grid; place-items: center; color: var(--ink-2); }
.week-pause svg { width: 13px; height: 13px; fill: currentColor; }
.week-pause .pl { display: none; }
.is-paused .week-pause .p1, .is-paused .week-pause .p2 { display: none; }
.is-paused .week-pause .pl { display: block; }
.delta b.down { color: var(--ink); }
.sel-line { stroke: var(--teal); stroke-width: 1; stroke-dasharray: 2 3; opacity: .55; }
.sel-dot { fill: var(--teal); stroke: #fff; stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) {
  .hero-email.swap [data-he] { animation: swap-in .5s var(--ease) both; }
  .hero-email.swap .sel-dot { animation: pop .45s var(--ease) both; transform-box: fill-box; transform-origin: center; }
}
@keyframes swap-in { from { opacity: .15; transform: translateY(5px); } }
@media (max-width: 480px) { .week-tabs button { padding: 7px 8px; } .hero-email .email-label { justify-content: center; } }

/* Story: every step readable; the active one leads */
.story-step { position: relative; padding-left: 52px !important; border-left: 0 !important; }
.story-step::before { content: ""; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--mist); }
.story-step.active::before { background: var(--teal); }
.story-n { position: absolute; left: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--font-ui); color: var(--teal); background: var(--linen); border: 1px solid var(--mist); transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); z-index: 1; }
.story-step.active .story-n { background: var(--teal); color: var(--linen); border-color: var(--teal); transform: scale(1.08); }
.story-step h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); color: var(--ink-2); }
.story-step p { color: var(--ink-3); font-size: 1.0625rem; }
.story-step.active h3 { color: var(--ink); }
.story-step.active p { color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .story-step h3, .story-step p { transition: color .4s var(--ease), opacity .4s var(--ease), transform .5s var(--ease); }
  .js .story-step:not(.active) h3, .js .story-step:not(.active) p { opacity: .86; }
  .js .story-step.active h3, .js .story-step.active p { transform: translateX(4px); }
}

/* Scroll reveals (once) */
@media (prefers-reduced-motion: no-preference) {
  /* reveals use translate and scale, so each card's own hover transform still works */
  .js .reveal { opacity: 0; translate: 0 20px; transition: opacity .8s var(--ease), translate .9s var(--ease); }
  .js .reveal.in { opacity: 1; translate: none; }
  .js .reveal-card { opacity: 0; translate: 0 32px; scale: .985; transition: opacity .8s var(--ease), translate 1s var(--ease), scale 1s var(--ease), transform .5s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease); }
  .js .reveal-card.in { opacity: 1; translate: none; scale: none; }
  .js .reveal-card.settled, .js .reveal.settled { transition-delay: 0s !important; }
  .js .price-rows .reveal-card:nth-child(2) { transition-delay: .08s; }
  .js .price-rows .reveal-card:nth-child(3) { transition-delay: .15s; }
  .js .data-grid .reveal-card:nth-child(2), .js .fit .reveal-card:nth-child(2) { transition-delay: .08s; }
  .js .data-grid .reveal-card:nth-child(3) { transition-delay: .14s; }
  .js .data-grid .reveal-card:nth-child(4) { transition-delay: .2s; }
}

/* Price cards: real cards that lift */
.price-rows { border-top: 0; gap: 14px; }
.price-row { background: var(--card); border: 1px solid var(--mist); border-radius: 16px; padding: 22px 24px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .price-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
  .price-lead { transition: transform .4s var(--ease); }
  .price-lead:hover { transform: translateY(-3px); }
}
.price-rows[data-rule]::before { display: none; }

/* Calculator: framed, with a pointer to it */
.calc-frame { position: relative; border-radius: 26px; padding: clamp(18px, 3vw, 34px); background: linear-gradient(180deg, rgba(246, 243, 238, .07), rgba(246, 243, 238, .02)); border: 1px solid rgba(246, 243, 238, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.calc-hint { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font: 500 15px/1.4 var(--font-ui); color: var(--linen); }
.calc-hint svg { width: 20px; height: 20px; flex: none; color: var(--amber-lit); }
@media (prefers-reduced-motion: no-preference) { .js .calc-frame.in .calc-hint svg { animation: nudge 1.4s var(--ease) .5s 2 both; } }
@keyframes nudge { 0%, 100% { transform: none; } 40% { transform: translateX(6px); } }
.calc-chart { position: relative; }
.calc-chart .chart-axis { font-size: 12px; }
.calc-tip { position: absolute; left: 0; top: 0; pointer-events: none; background: var(--linen); color: var(--teal); border-radius: 10px; padding: 7px 10px; font: 500 12px/1.2 var(--font-ui); box-shadow: 0 10px 24px -10px rgba(5, 25, 31, .6); white-space: nowrap; display: grid; gap: 2px; text-align: center; }
.calc-tip[hidden] { display: none; }
.calc-tip b { font: 700 15px/1.1 var(--font); font-variant-numeric: tabular-nums; color: var(--ink); }
.end-label { font: 600 12px var(--font); fill: var(--linen); font-variant-numeric: tabular-nums; paint-order: stroke; stroke: var(--night-2); stroke-width: 5px; stroke-linejoin: round; }
.cross-line { stroke: rgba(246, 243, 238, .55); stroke-width: 1; stroke-dasharray: 3 3; }
.cross-dot { fill: var(--linen); stroke: var(--night-2); stroke-width: 2.5; }
.zero-line { stroke: #F1A28E; stroke-width: 1.25; stroke-dasharray: 4 4; }
.neg-zone { fill: rgba(241, 162, 142, .1); }
.ref-line { stroke: var(--ink-3); stroke-width: 1.25; stroke-dasharray: 5 5; }
.ref-label { font: 600 11.5px var(--font-ui); fill: var(--ink-3); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.night .ref-line { stroke: rgba(246, 243, 238, .5); }
.night .ref-label { fill: var(--on-night-2); stroke: var(--night-2); }
.kpi { transition: background-color .6s var(--ease); }
.kpi.flash { animation: kpi-flash .9s var(--ease); }
@keyframes kpi-flash { 0% { background: rgba(246, 243, 238, .16); } 100% { background: transparent; } }

/* Phone polish */
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  .hero { padding-top: 104px !important; }
  .hero-grid { gap: 36px; }
  .hero .btn-row .btn { width: 100%; }
  .calc-frame { padding: 16px; border-radius: 20px; }
  .calc-out { padding: 16px; }
  .story-figure { top: 74px; padding: 12px 12px 8px; }
  .story-figure figcaption { font-size: .8125rem; }
  .story-step h3 { font-size: 1.15rem; }
  .story-step p { font-size: 1rem; }
  .price-row { padding: 18px; }
  .final .btn-row .btn { width: 100%; }
  .dash-stats .v { font-size: 1.3rem; }
}

/* ===================== Round 5: inner pages as cards, not documents ===================== */
/* buttons: keep the base colour on hover so the sweep is what you see */
@media (hover: hover) and (pointer: fine) {
  .btn-primary.btn-fx:hover { background: var(--teal); }
  .night .btn-primary.btn-fx:hover { background: var(--linen); }
  .night .btn-primary.btn-fx:hover > span { color: var(--teal-hover); }
}

/* hero with a paper preview */
.audit-hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .audit-hero-grid { grid-template-columns: 1.12fr .88fr; gap: 64px; } }
.audit-hero-copy .tag { margin-bottom: 22px; }
.audit-hero .btn-row { margin-top: 30px; }
.audit-hero:has(+ .audit-glance) { padding-bottom: clamp(110px, 12vw, 150px); }
.hero-price { display: flex; align-items: baseline; gap: 12px; margin-top: 26px; }
.hero-price .amount { font: 700 clamp(3rem, 6vw, 4rem)/1 var(--font); letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.hero-price .then { color: var(--on-night-2); font-weight: 500; font-family: var(--font-ui); }

.paper-stack { position: relative; margin: 0 auto; width: min(100%, 400px); }
.paper-stack::before { content: ""; position: absolute; inset: 14px -10px -10px 14px; border-radius: 14px; background: rgba(246, 243, 238, .14); transform: rotate(4deg); }
.paper-stack .paper { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 794 / 980; object-fit: cover; object-position: top; border-radius: 14px; background: #fff; box-shadow: var(--shadow-night); transform: rotate(-2.5deg); transition: transform .9s var(--ease); }
.email-stack .paper { aspect-ratio: 624 / 800; }
@media (hover: hover) and (pointer: fine) { .paper-stack:hover .paper { transform: rotate(0deg) translateY(-6px); } }
.paper-chip { position: absolute; z-index: 2; display: grid; gap: 2px; background: var(--linen); color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: 0 22px 44px -20px rgba(5, 25, 31, .75); }
.paper-chip .k { font: 600 12px/1.2 var(--font-ui); color: var(--ink-3); }
.paper-chip .v { font: 700 1.25rem/1.1 var(--font); letter-spacing: -0.02em; color: var(--teal); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chip-a { left: -28px; top: 16%; }
.chip-b { right: -22px; bottom: 12%; }
.chip-b .v { color: var(--amber-ink); }
@media (prefers-reduced-motion: no-preference) {
  .js .page-hero .tag, .js .hero-price { animation: rise .8s var(--ease) .06s both; }
  .js .paper-stack { animation: rise 1.1s var(--ease) .18s both; }
  .js .paper-chip { animation: pop .6s var(--ease) .8s both; }
  .js .chip-b { animation-delay: 1s; }
  .paper-chip { transition: transform .5s var(--ease); }
  .paper-stack:hover .chip-a { transform: translate(-6px, -4px); }
  .paper-stack:hover .chip-b { transform: translate(6px, 4px); }
}
@media (max-width: 959px) { .paper-stack { width: min(76%, 330px); } .chip-a { left: -18%; } .chip-b { right: -16%; } }
@media (max-width: 480px) { .paper-chip { padding: 9px 12px; } .paper-chip .v { font-size: 1.05rem; } .chip-a { left: -14%; } .chip-b { right: -12%; } }

/* at-a-glance tiles that overlap the hero */
.audit-glance { position: relative; z-index: 2; margin-top: clamp(-80px, -7vw, -56px); }
.glance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .glance-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.glance { display: grid; gap: 4px; align-content: start; background: var(--card); border: 1px solid var(--mist); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); }
.glance .k { font: 600 13px/1.3 var(--font-ui); color: var(--ink-3); }
.glance .v { font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.1 var(--font); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.glance .v.low { color: var(--teal); display: inline-flex; align-items: center; gap: 8px; }
.glance .v.low::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); flex: none; }
.glance .v.sm { font-size: clamp(1.05rem, 1.6vw, 1.2rem); letter-spacing: -0.01em; line-height: 1.3; }
.glance .s { font-size: .8125rem; color: var(--ink-3); }

/* five leak cards */
.leak-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .leak-grid { grid-template-columns: repeat(2, 1fr); } .leak-grid > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .leak-grid { grid-template-columns: repeat(6, 1fr); } .leak-grid > * { grid-column: span 2; } .leak-grid > :nth-child(n+4) { grid-column: span 3; } .leak-grid > :first-child { grid-column: span 2; } }
.leak-card { position: relative; overflow: hidden; display: grid; gap: 8px; align-content: start; min-height: 196px; padding: 24px 24px 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--mist); color: inherit; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.leak-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--teal), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.leak-card::after { content: ""; position: absolute; right: 22px; top: 24px; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; color: var(--ink-3); transform: rotate(135deg); transition: transform .4s var(--ease); }
.leak-i { font: 600 13px/1 var(--font-ui); color: var(--amber-ink); font-variant-numeric: tabular-nums; }
.leak-n { margin-top: 14px; font: 700 clamp(1.7rem, 3vw, 2.25rem)/1.05 var(--font); letter-spacing: -0.03em; color: var(--teal); font-variant-numeric: tabular-nums; }
.leak-t { font: 600 1.0625rem/1.3 var(--font-ui); color: var(--ink); }
.leak-s { font-size: .9375rem; color: var(--ink-3); }
.leak-card:first-child { background: linear-gradient(160deg, var(--teal) 0%, var(--night-3) 100%); border-color: transparent; box-shadow: var(--shadow-night); }
.leak-card:first-child .leak-n, .leak-card:first-child .leak-t { color: var(--linen); }
.leak-card:first-child .leak-i { color: var(--on-night-2); }
.leak-card:first-child .leak-s, .leak-card:first-child::after { color: var(--on-night-2); }
.leak-card:hover { color: inherit; }
@media (hover: hover) and (pointer: fine) {
  .leak-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
  .leak-card:first-child:hover { box-shadow: var(--shadow-night); }
  .leak-card:hover::before { transform: scaleX(1); }
  .leak-card:hover::after { transform: translate(0, 3px) rotate(135deg); }
}
.leak-card:focus-visible { outline-offset: 4px; border-radius: 20px; }

/* finding detail: sticky menu + cards */
.audit-layout { display: grid; gap: 32px; }
.audit-toc { display: none; }
@media (min-width: 1000px) {
  .audit-layout { grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }
  .audit-toc { display: grid; gap: 14px; position: sticky; top: 104px; }
}
.toc-k { margin: 0; font: 600 13px/1.3 var(--font-ui); color: var(--ink-3); }
.audit-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--mist); }
.audit-toc ol a { display: grid; grid-template-columns: 22px 1fr; gap: 8px; margin-left: -2px; padding: 10px 12px; border-left: 2px solid transparent; border-radius: 0 10px 10px 0; color: var(--ink-3); font: 500 .9375rem/1.35 var(--font-ui); text-decoration: none; transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease); }
.audit-toc ol a .n { font-weight: 600; color: var(--teal); font-variant-numeric: tabular-nums; }
.audit-toc ol a:hover { color: var(--ink); }
.audit-toc ol a.on { color: var(--ink); border-left-color: var(--teal); background: rgba(15, 76, 92, .06); }
.toc-cta { justify-self: start; margin-top: 10px; }

.audit-findings { display: grid; gap: 24px; min-width: 0; }
.finding-card { display: grid; gap: 28px; background: var(--card); border: 1px solid var(--mist); border-radius: 24px; padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow); scroll-margin-top: 100px; }
@media (min-width: 820px) { .finding-card { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; } }
.fc-top { display: grid; gap: 8px; }
.fc-i { font: 600 13px/1.2 var(--font-ui); color: var(--amber-ink); }
.fc-top h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.15; }
.fc-figs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.fc-figs div { display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--mist); }
.fc-figs .k { font: 600 12.5px/1.2 var(--font-ui); color: var(--ink-3); }
.fc-figs .v { font: 700 1.35rem/1.2 var(--font); letter-spacing: -0.02em; color: var(--teal); font-variant-numeric: tabular-nums; }
.fc-figs .v.sm { font-size: 1.05rem; color: var(--ink); letter-spacing: 0; }
.fc-why { margin: 18px 0 0; color: var(--ink-2); font-size: 1.03rem; line-height: 1.65; max-width: 60ch; }
.fc-fix { margin-top: 18px; border-radius: 16px; padding: 16px 18px; background: var(--teal-50); }
.fc-fix-k { display: inline-flex; font: 600 12.5px/1 var(--font-ui); color: var(--linen); background: var(--teal); padding: 6px 11px; border-radius: 999px; }
.fc-fix p { margin: 10px 0 0; color: var(--ink); line-height: 1.55; }
.fc-vis { margin: 0; align-self: stretch; display: grid; gap: 16px; align-content: center; background: var(--paper); border: 1px solid var(--mist); border-radius: 18px; padding: 22px 20px; }
.fc-vis figcaption { font-size: .8125rem; color: var(--ink-3); }
.audit-note { margin: 8px 0 0; }

.hbars { display: grid; gap: 16px; }
.hbar { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; align-items: baseline; }
.hb-l { font-size: .875rem; color: var(--ink-2); }
.hb-v { font: 700 .9375rem/1 var(--font); color: var(--ink); font-variant-numeric: tabular-nums; }
.hb-t { grid-column: 1 / -1; height: 12px; border-radius: 999px; background: rgba(15, 76, 92, .08); overflow: hidden; }
.hb-t i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--teal); transform-origin: left center; }
.hbar.hot .hb-t i { background: var(--amber); }
.hbar.soft .hb-t i { background: #6F8E94; }
.mline { width: 100%; height: auto; overflow: visible; }
.ml-line { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ml-area { fill: rgba(200, 117, 26, .08); }
.ml-zero { stroke: var(--line-2); stroke-dasharray: 3 4; }
.ml-dot { fill: var(--teal); stroke: #fff; stroke-width: 2; }
.ml-dot.end { fill: var(--amber); }
.ml-t { font: 700 13px var(--font); fill: var(--ink); }
.ml-a { font: 500 11px var(--font-ui); fill: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .js .finding-card .hb-t i { transform: scaleX(0); transition: transform 1.1s var(--ease) .25s; }
  .js .finding-card.in .hb-t i { transform: none; }
  .js .finding-card .hbar:nth-child(2) .hb-t i { transition-delay: .4s; }
  .js .finding-card .hbar:nth-child(3) .hb-t i { transition-delay: .55s; }
  .js .finding-card .ml-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
  .js .finding-card.in .ml-line { stroke-dashoffset: 0; }
  .js .finding-card .ml-dot.end, .js .finding-card .ml-t:last-of-type { opacity: 0; transition: opacity .4s var(--ease) 1.6s; }
  .js .finding-card.in .ml-dot.end, .js .finding-card.in .ml-t:last-of-type { opacity: 1; }
}

/* closing band with a price card */
.close-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .close-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; } }
.close-grid h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.close-grid .lede { margin-top: 16px; }
.close-card { display: grid; gap: 16px; padding: clamp(24px, 3vw, 34px); border-radius: 24px; background: rgba(246, 243, 238, .07); border: 1px solid var(--night-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.close-card .amount { font: 700 clamp(2.8rem, 6vw, 3.8rem)/1 var(--font); letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.close-card .amount small { font: 500 1rem/1 var(--font-ui); letter-spacing: 0; color: var(--on-night-2); margin-left: 10px; }
.close-card .amount small.from { margin: 0 8px 0 0; }
.close-card p { margin: 0; color: var(--on-night-2); }

/* audit page */
.trust-strip { background: var(--night-2); }
.trust-strip .trust-row { border-top: 1px solid var(--night-line); }
.get-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .get-grid { grid-template-columns: repeat(3, 1fr); } }
.get-card { display: grid; gap: 10px; align-content: start; background: var(--card); border: 1px solid var(--mist); border-radius: 22px; padding: 14px 14px 26px; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
@media (hover: hover) and (pointer: fine) { .get-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20, 39, 44, .05), 0 24px 44px -22px rgba(20, 39, 44, .35); } }
.get-media { position: relative; height: 210px; border-radius: 14px; overflow: hidden; margin-bottom: 10px; }
.get-n, .get-card h3, .get-card p { padding: 0 10px; }
.get-n { font: 600 13px/1 var(--font-ui); color: var(--amber-ink); }
.get-card h3 { font-size: 1.25rem; }
.get-card p { margin: 0; color: var(--ink-2); }
.get-foot { margin: 28px 0 0; color: var(--ink-2); }

.media-video { display: grid; place-items: center; background: linear-gradient(160deg, var(--teal), var(--night-3)); }
.vid-frame { position: relative; width: 80%; aspect-ratio: 16 / 10; background: var(--paper); border-radius: 10px; overflow: hidden; box-shadow: 0 22px 40px -20px rgba(0, 0, 0, .6); }
.vid-bar { height: 18px; display: flex; gap: 4px; align-items: center; padding: 0 8px; background: var(--mist); }
.vid-bar i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.vid-body { padding: 16px 12px; color: var(--teal); }
.vid-body svg { display: block; width: 100%; height: auto; }
.vid-play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(15, 76, 92, .94); color: var(--linen); box-shadow: 0 0 0 8px rgba(15, 76, 92, .16); }
.vid-play svg { width: 20px; height: 20px; margin-left: 3px; }
.vid-time { position: absolute; right: 8px; bottom: 8px; font: 600 11px/1 var(--font-ui); color: #fff; background: rgba(20, 39, 44, .82); padding: 4px 6px; border-radius: 5px; }
.media-sheet { display: grid; place-items: center; padding: 18px; background: var(--teal-50); }
.mini-sheet { width: 100%; background: #fff; border: 1px solid var(--mist); border-radius: 10px; overflow: hidden; font: 500 12px/1.25 var(--font); box-shadow: var(--shadow); }
.ms-row { display: grid; grid-template-columns: 1.6fr .8fr .9fr; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--mist); color: var(--ink-2); }
.ms-row:last-child { border-bottom: 0; }
.ms-row span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.ms-h { background: var(--teal); }
.ms-h span, .ms-h span:not(:first-child) { color: var(--linen); font-weight: 600; }
.ms-row.hot { background: rgba(200, 117, 26, .1); }
.media-pdf { display: flex; justify-content: center; align-items: flex-start; padding-top: 22px; background: linear-gradient(160deg, var(--linen), var(--teal-100)); }
.media-pdf img { width: 62%; height: auto; border-radius: 6px 6px 0 0; box-shadow: 0 16px 36px -16px rgba(20, 39, 44, .5); transform: translateY(10px); transition: transform .7s var(--ease); }
@media (hover: hover) and (pointer: fine) { .get-card:hover .media-pdf img { transform: translateY(0) rotate(-1.5deg); } }
@media (prefers-reduced-motion: no-preference) {
  .js .get-card.in .vid-play { animation: play-ring 1.6s var(--ease) .6s 2; }
  .js .get-card .ms-row { opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js .get-card.in .ms-row { opacity: 1; transform: none; }
  .js .get-card.in .ms-row:nth-child(2) { transition-delay: .25s; } .js .get-card.in .ms-row:nth-child(3) { transition-delay: .35s; }
  .js .get-card.in .ms-row:nth-child(4) { transition-delay: .45s; } .js .get-card.in .ms-row:nth-child(5) { transition-delay: .55s; }
  .js .get-card.in .ms-row:nth-child(1) { transition-delay: .15s; }
}
@keyframes play-ring { 0% { box-shadow: 0 0 0 0 rgba(15, 76, 92, .45); } 100% { box-shadow: 0 0 0 22px rgba(15, 76, 92, 0); } }

/* export tabs with step cards */
.export-tabs { background: var(--card); border: 1px solid var(--mist); border-radius: 24px; padding: clamp(12px, 2.4vw, 28px); box-shadow: var(--shadow); }
.tab-list { display: flex; gap: 6px; overflow-x: auto; padding: 4px; background: var(--paper); border: 1px solid var(--mist); border-radius: 999px; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
html:not(.js) .tab-list { display: none; }
.tab-list button { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px 10px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 .9375rem/1 var(--font-ui); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.tab-list button:hover { color: var(--ink); }
.tab-list button[aria-selected="true"] { background: var(--teal); color: var(--linen); box-shadow: 0 8px 18px -12px rgba(15, 76, 92, .8); }
.tab-list .ti { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: rgba(15, 76, 92, .1); font-variant-numeric: tabular-nums; }
.tab-list button[aria-selected="true"] .ti { background: rgba(246, 243, 238, .22); }
.tab-panel { padding: 26px 6px 6px; }
.tab-panel[hidden] { display: none; }
.panel-t { font-size: 1.15rem; margin-bottom: 18px; }
.step-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 760px) { .step-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .step-cards { grid-template-columns: repeat(4, 1fr); } }
.step-cards li { counter-increment: s; position: relative; padding: 54px 18px 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--mist); color: var(--ink-2); font-size: .98rem; line-height: 1.5; }
.step-cards li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--linen); font: 600 13px/1 var(--font-ui); }
.step-cards li strong { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .tab-panel.enter .step-cards li { animation: rise .55s var(--ease) both; }
  .tab-panel.enter .step-cards li:nth-child(2) { animation-delay: .06s; }
  .tab-panel.enter .step-cards li:nth-child(3) { animation-delay: .12s; }
  .tab-panel.enter .step-cards li:nth-child(4) { animation-delay: .18s; }
}

/* timeline as cards on a rule */
.timeline-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline-cards li { position: relative; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--mist); }
.tl-when { display: inline-flex; font: 600 12.5px/1 var(--font-ui); color: var(--teal); background: var(--teal-50); padding: 6px 10px; border-radius: 999px; }
.timeline-cards h3 { margin-top: 14px; font-size: 1.15rem; }
.timeline-cards p { margin: 8px 0 0; color: var(--ink-2); font-size: .97rem; }
.timeline-cards[data-rule]::before { display: none; }
@media (min-width: 900px) {
  .timeline-cards { grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 30px; }
  .timeline-cards[data-rule]::before { display: block; }
  .timeline-cards li::before { content: ""; position: absolute; left: 22px; top: -37px; width: 13px; height: 13px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px var(--ground); }
  .band .timeline-cards li::before { box-shadow: 0 0 0 5px var(--band); }
}

/* payment and guarantee */
.pay-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .pay-grid { grid-template-columns: 1.3fr 1fr; } }
.pay-card { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--card); border: 1px solid var(--mist); }
.pay-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.pay-card p { margin: 0; color: var(--ink-2); }
.pay-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-list li { font: 600 13px/1 var(--font-ui); color: var(--teal); background: var(--teal-50); padding: 8px 12px; border-radius: 999px; }
.guarantee-card { background: linear-gradient(160deg, var(--teal), var(--night-3)); border-color: transparent; box-shadow: var(--shadow-night); }
.guarantee-card p { color: var(--on-night-2); }
.g-icon { width: 42px; height: 42px; color: var(--amber-lit); }

/* agencies */
.why-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--mist); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
@media (hover: hover) and (pointer: fine) { .why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.why-card svg { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--teal-50); color: var(--teal); }
.why-card h3 { margin-top: 6px; font-size: 1.2rem; }
.why-card p { margin: 0; color: var(--ink-2); }
.incl-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .incl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .incl-grid { grid-template-columns: repeat(4, 1fr); } }
.incl-card { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 10px; align-content: start; min-height: 210px; padding: 26px; border-radius: 22px; background: linear-gradient(165deg, var(--teal) 0%, var(--night-3) 100%); color: var(--on-night); transition: transform .4s var(--ease); }
.incl-card::after { content: ""; position: absolute; z-index: -1; right: -48px; bottom: -48px; width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgba(246, 243, 238, .14); box-shadow: 0 0 0 22px rgba(246, 243, 238, .03); transition: transform .8s var(--ease); }
@media (hover: hover) and (pointer: fine) { .incl-card:hover { transform: translateY(-4px); } .incl-card:hover::after { transform: scale(1.15); } }
.incl-n { font: 600 13px/1 var(--font-ui); color: var(--on-night-2); }
.incl-card h3 { margin-top: 18px; font-size: 1.2rem; color: var(--linen); }
.incl-card p { margin: 0; color: var(--on-night-2); }

/* staggered reveals in card grids */
@media (prefers-reduced-motion: no-preference) {
  .js :is(.glance-grid, .leak-grid, .get-grid, .timeline-cards, .why-grid, .incl-grid, .pay-grid) > .reveal-card:nth-child(2) { transition-delay: .08s; }
  .js :is(.glance-grid, .leak-grid, .get-grid, .timeline-cards, .why-grid, .incl-grid, .pay-grid) > .reveal-card:nth-child(3) { transition-delay: .16s; }
  .js :is(.glance-grid, .leak-grid, .timeline-cards, .incl-grid) > .reveal-card:nth-child(4) { transition-delay: .24s; }
  .js .leak-grid > .reveal-card:nth-child(5) { transition-delay: .32s; }
}

@media (max-width: 640px) {
  .audit-hero-grid { gap: 44px; }
  .audit-hero .btn-row .btn { width: 100%; }
  .close-card .btn-row .btn { width: 100%; }
  .finding-card { border-radius: 20px; }
  .fc-figs div { flex: 1 1 140px; }
  .tab-list button { padding: 9px 14px 9px 9px; font-size: .9rem; }
  .leak-card { min-height: 0; }
}
@media print {
  .audit-toc, .paper-stack, .audit-close { display: none !important; }
  .finding-card, .leak-card, .glance { box-shadow: none; break-inside: avoid; }
  .audit-glance { margin-top: 0; }
}

/* legal pages: summary cards, side menu, one clean card */
.short-grid { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); }
@media (min-width: 760px) { .short-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.short-card { display: grid; gap: 4px; padding: 20px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--mist); }
.short-card .k { font: 600 13px/1.3 var(--font-ui); color: var(--amber-ink); }
.short-card .v { font: 600 1.15rem/1.3 var(--font-ui); color: var(--ink); }
.legal-card { max-width: none; background: var(--card); border: 1px solid var(--mist); border-radius: 24px; padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow); }
.legal-card h2 { scroll-margin-top: 100px; font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 44px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card ul { padding-left: 1.2em; }
.legal-card li { margin-bottom: 8px; }
.legal-card li::marker { color: var(--teal); }
@media (prefers-reduced-motion: no-preference) {
  .js .short-grid > .reveal-card:nth-child(2) { transition-delay: .08s; }
  .js .short-grid > .reveal-card:nth-child(3) { transition-delay: .16s; }
}
.email-stack .chip-a { top: 34%; }
@media (max-width: 640px) {
  .tab-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 18px; overflow: visible; }
  .tab-list button { justify-content: flex-start; border-radius: 14px; white-space: normal; text-align: left; line-height: 1.2; }
  .step-cards li { padding: 16px 16px 16px 58px; }
  .step-cards li::before { top: 14px; left: 16px; }
}

/* ===================== Round 6: rolling figures, clearer glass, about card, interactive prices ===================== */
/* Glass: lighter tint, the page shows through; Chromium bends it like a tube, everyone gets blur */
.glass-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.header-pill { background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(250, 248, 244, .5)); -webkit-backdrop-filter: blur(12px) saturate(1.9); backdrop-filter: blur(12px) saturate(1.9); }
.site-header.on-night .header-pill { background: linear-gradient(180deg, rgba(24, 96, 116, .56), rgba(10, 56, 70, .66)); }
.glass-warp .header-pill { backdrop-filter: url(#mn-glass) blur(4px) saturate(1.9); }
.header-pill::before, .header-pill::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; }
/* the tube: a bright band along the top, a softer one at the bottom, glowing ends */
.header-pill::before { background: linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, .12) 34%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, .26) 100%); mix-blend-mode: soft-light; }
.header-pill::after { box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .45), inset 14px 0 18px -16px rgba(255, 255, 255, .9), inset -14px 0 18px -16px rgba(255, 255, 255, .9); }
.site-header.on-night .header-pill::after { box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(255, 255, 255, .14), inset 14px 0 18px -16px rgba(255, 255, 255, .35), inset -14px 0 18px -16px rgba(255, 255, 255, .35); }
.site-header.on-night .header-pill::before { opacity: .55; }
.header-inner, .mobile-nav { position: relative; z-index: 1; }
.nav a, .brand, .mobile-nav a:not(.btn) { text-shadow: 0 0 12px rgba(255, 255, 255, .75); }
.site-header.on-night .nav a, .site-header.on-night .mobile-nav a:not(.btn) { text-shadow: 0 0 12px rgba(5, 25, 31, .55); }
.nav a.header-cta { text-shadow: none; }
@media (prefers-reduced-transparency: reduce) {
  .header-pill { background: rgba(250, 248, 244, .97); }
  .site-header.on-night .header-pill { background: rgba(12, 66, 81, .97); }
}

/* Rolling figures: a short pop as the digits run */
[data-roll], [data-he], .kpi .v { font-variant-numeric: tabular-nums; }
span[data-roll], strong[data-roll] { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .rolling { animation: roll-pop .75s var(--ease) both; }
}
@keyframes roll-pop { 0% { opacity: .3; transform: translateY(8px) scale(.94); filter: blur(2px); } 55% { filter: blur(0); } 100% { opacity: 1; transform: none; filter: none; } }

/* Hero: markets */
.regions { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.regions li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font: 500 13px/1 var(--font-ui); color: var(--on-night-2); background: rgba(246, 243, 238, .08); border: 1px solid var(--night-line); }
.regions b { color: var(--linen); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .js .hero .regions li { animation: rise .7s var(--ease) both; animation-delay: .55s; } .js .hero .regions li:nth-child(2) { animation-delay: .62s; } .js .hero .regions li:nth-child(3) { animation-delay: .69s; } }

/* Calculator: currency picker with a sliding lens */
.calc-hint { justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; }
.calc-hint-t { display: inline-flex; align-items: center; gap: 10px; }
.cur-pick { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(5, 25, 31, .3); border: 1px solid var(--night-line); }
.cur-pick button { position: relative; z-index: 1; min-height: 36px; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--on-night-2); font: 600 13px/1 var(--font-ui); cursor: pointer; transition: color .3s var(--ease); }
.cur-pick button b { font-weight: 700; }
.cur-pick button:hover { color: var(--linen); }
.cur-pick button[aria-checked="true"] { color: var(--teal); }
.cur-pick:not(.ready) button[aria-checked="true"] { background: var(--linen); }
.cur-lens { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--linen); box-shadow: 0 6px 16px -8px rgba(5, 25, 31, .6); transition: transform .5s var(--ease), width .5s var(--ease); }
.cur-wide .input.pre input { padding-left: 50px; }
.cur-wide .input.pre .affix { font-size: .8125rem; font-weight: 600; }
.calc-chart .tick { opacity: 0; transition: opacity .5s var(--ease); }
.calc-chart .tick.on { opacity: 1; }

/* Cards that respond to the pointer: a soft light follows it, price cards lean towards it */
.spot-card { position: relative; isolation: isolate; }
.spot-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(15, 76, 92, .1), transparent 65%); }
.night.spot-card::after, .night .spot-card::after { background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(246, 243, 238, .14), transparent 65%); }
.spot-card[data-tilt] { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
@media (hover: hover) and (pointer: fine) {
  .spot-card:hover::after { opacity: 1; }
  .spot-card[data-tilt]:hover { --lift: -4px; }
  .price-row.spot-card:hover { border-color: var(--teal-100); box-shadow: 0 2px 4px rgba(20, 39, 44, .05), 0 24px 44px -24px rgba(15, 76, 92, .45); }
  .price-row.spot-card:hover .amt { color: var(--teal-hover); }
}
.price-row .amt { transition: color .3s var(--ease); }
.price-lead .amount span[data-roll] { line-height: 1; }

/* About: one card */
.about-card { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 30px; padding: clamp(28px, 5vw, 64px); border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, #17607A 0%, var(--teal) 42%, var(--night-3) 100%); box-shadow: var(--shadow-night); }
@media (min-width: 860px) { .about-card { grid-template-columns: auto 1fr; gap: 56px; align-items: center; } }
.about-trail { position: absolute; z-index: -1; left: 0; bottom: 0; width: 100%; height: 60%; }
.about-trail path { fill: none; stroke: rgba(246, 243, 238, .14); stroke-width: 2; vector-effect: non-scaling-stroke; }
.about-mark { position: relative; width: clamp(116px, 15vw, 164px); aspect-ratio: 1; display: grid; place-items: center; }
.about-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.about-mark .ring-bg { fill: rgba(246, 243, 238, .06); stroke: rgba(246, 243, 238, .16); stroke-width: 1.5; }
.about-mark .ring { fill: none; stroke: var(--amber-lit); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.about-mark span { position: relative; font: 500 clamp(2.3rem, 4vw, 3.1rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--linen); }
.about-body h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.about-text { margin: 18px 0 0; max-width: 60ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--on-night); text-wrap: pretty; }
.about-sign { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.about-sign .name { display: block; font: 500 1.5rem/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--linen); }
.about-sign .role { display: block; margin-top: 4px; font: 500 .9rem/1.3 var(--font-ui); color: var(--on-night-2); }
@media (prefers-reduced-motion: no-preference) {
  .js .about-card .about-trail { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--ease) .3s; }
  .js .about-card.in .about-trail { clip-path: inset(0 0 0 0); }
  .js .about-card .ring { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .35s; }
  .js .about-card.in .ring { stroke-dashoffset: 0; }
  .js .about-card .about-mark { opacity: 0; scale: .86; transition: opacity .8s var(--ease) .1s, scale 1s var(--ease) .1s; }
  .js .about-card.in .about-mark { opacity: 1; scale: none; }
  .js .about-card .about-body > * { opacity: 0; translate: 0 14px; transition: opacity .7s var(--ease), translate .8s var(--ease); }
  .js .about-card.in .about-body > * { opacity: 1; translate: none; }
  .js .about-card.in .about-body > :nth-child(1) { transition-delay: .18s; }
  .js .about-card.in .about-body > :nth-child(2) { transition-delay: .3s; }
  .js .about-card.in .about-body > :nth-child(3) { transition-delay: .44s; }
}
@media (max-width: 640px) { .about-sign .btn { width: 100%; } }

/* Reading progress */
.scroll-progress { position: fixed; z-index: 60; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left center; }

/* How it works: exports drawing into one spreadsheet, then one email */
.flow { position: relative; display: grid; gap: 56px; margin-top: clamp(56px, 7vw, 88px); padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: radial-gradient(90% 120% at 50% 0%, #FFFFFF 0%, var(--linen) 70%); border: 1px solid var(--mist); overflow: hidden; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.flow-track { fill: none; stroke: var(--line-2); stroke-width: 1.25; stroke-dasharray: 2 5; }
.flow-path { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.flow-path.out { stroke: var(--amber); stroke-width: 2.4; }
.flow-col, .flow-core { position: relative; z-index: 1; }
.flow-k { margin: 0 0 12px; font: 600 13px/1.3 var(--font-ui); color: var(--ink-3); }
.flow-in { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flow-in li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--mist); font: 500 .9375rem/1.25 var(--font-ui); color: var(--ink-2); transition: border-color .4s var(--ease), box-shadow .4s var(--ease), translate .4s var(--ease); }
.flow-in li b { display: block; font-weight: 600; color: var(--ink); }
.flow-in li i { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-2); transition: background-color .35s var(--ease), border-color .35s var(--ease); }
.flow-in li.lit { border-color: var(--teal-100); box-shadow: 0 10px 24px -18px rgba(15, 76, 92, .6); }
.flow-in li.lit i { background: var(--teal); border-color: var(--teal); }
.flow-core { display: grid; justify-items: center; gap: 12px; text-align: center; }
.core-disc { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #17607A, var(--night-3)); box-shadow: 0 0 0 8px rgba(15, 76, 92, .06), var(--shadow-night); transition: box-shadow .6s var(--ease); }
.core-disc img { width: 44px; height: 44px; }
.flow-core.lit .core-disc { box-shadow: 0 0 0 10px rgba(200, 117, 26, .14), var(--shadow-night); }
.core-t { font: 600 .9375rem/1.35 var(--font-ui); color: var(--ink); }
.flow-out { display: grid; gap: 8px; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--mist); opacity: .55; transition: opacity .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease), translate .6s var(--ease); }
.flow-out.lit { opacity: 1; border-color: var(--teal-100); box-shadow: var(--shadow); }
.fo-top { display: flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--font-ui); color: var(--ink-3); }
.flow-out b { font: 600 1.05rem/1.3 var(--font-ui); color: var(--ink); }
.flow-out ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.flow-out li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.flow-out li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
@media (min-width: 860px) {
  .flow { grid-template-columns: minmax(0, 1fr) auto minmax(0, .8fr); gap: 96px; align-items: center; }
  .flow-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .flow-core.lit .core-disc { animation: core-pulse 1.2s var(--ease) 1; }
  .flow-out.lit { translate: 0 -2px; }
}
@keyframes core-pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 117, 26, .45), var(--shadow-night); } 100% { box-shadow: 0 0 0 26px rgba(200, 117, 26, 0), var(--shadow-night); } }

/* ===================== Round 7: last fixes ===================== */
/* Calculator figures sit on one baseline, whatever the label length */
.kpi { display: flex; flex-direction: column; }
.kpi .v { margin-top: auto; padding-top: 6px; }

/* Main buttons: hover inverts (a fill sweeps in, text and border swap) */
.btn-primary.btn-fx::before { background: var(--paper); }
.night .btn-primary.btn-fx::before, .site-header.on-night .btn-primary.btn-fx::before { background: var(--night-3); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary.btn-fx:hover, .btn-primary.btn-fx:focus-visible { background: var(--teal); border-color: var(--teal); box-shadow: 0 14px 28px -16px rgba(15, 76, 92, .7); }
  .btn-primary.btn-fx:hover > span, .btn-primary.btn-fx:focus-visible > span { color: var(--teal); }
  .night .btn-primary.btn-fx:hover, .night .btn-primary.btn-fx:focus-visible,
  .site-header.on-night .btn-primary.btn-fx:hover, .site-header.on-night .btn-primary.btn-fx:focus-visible { background: var(--linen); border-color: var(--linen); box-shadow: 0 16px 30px -16px rgba(5, 25, 31, .75); }
  .night .btn-primary.btn-fx:hover > span, .night .btn-primary.btn-fx:focus-visible > span,
  .site-header.on-night .btn-primary.btn-fx:hover > span, .site-header.on-night .btn-primary.btn-fx:focus-visible > span { color: var(--linen); }
}
/* touch: the same inversion while the finger is down */
@media (hover: none) {
  .btn-fx:active::before { transform: scaleX(1); transition-duration: .18s; }
  .btn-primary.btn-fx:active > span { color: var(--teal); }
  .night .btn-primary.btn-fx:active > span, .site-header.on-night .btn-primary.btn-fx:active > span { color: var(--linen); }
  .btn-ghost.btn-fx:active > span { color: var(--linen); }
  .night .btn-ghost.btn-fx:active > span { color: var(--teal); }
}
.nav a.header-cta.btn-fx { border: 1px solid transparent; }

/* Audit hero: the founding price as type, not a pill */
.hero-price { align-items: center; gap: 16px; }
.hero-price .then { display: grid; gap: 3px; padding-left: 16px; border-left: 1px solid var(--night-line); font: 500 .9375rem/1.35 var(--font-ui); color: var(--on-night-2); }
.hero-price .then b { font-weight: 600; color: var(--linen); }

/* Mobile menu: links slide and show an arrow; the button inverts */
.mobile-nav a:not(.btn) { display: flex; align-items: center; justify-content: space-between; border-radius: 12px; margin: 0 -10px; padding-left: 10px; padding-right: 12px; -webkit-tap-highlight-color: transparent; transition: color .25s var(--ease), background-color .3s var(--ease), padding-left .35s var(--ease); }
.mobile-nav a:not(.btn)::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; opacity: 0; transform: translateX(-8px) rotate(45deg); transition: opacity .3s var(--ease), transform .35s var(--ease); }
.mobile-nav a:not(.btn):hover, .mobile-nav a:not(.btn):focus-visible, .mobile-nav a:not(.btn):active { padding-left: 18px; color: var(--teal); background: rgba(15, 76, 92, .07); }
.mobile-nav a:not(.btn):hover::after, .mobile-nav a:not(.btn):focus-visible::after, .mobile-nav a:not(.btn):active::after { opacity: 1; transform: translateX(0) rotate(45deg); }
.site-header.on-night .mobile-nav a:not(.btn):hover, .site-header.on-night .mobile-nav a:not(.btn):focus-visible, .site-header.on-night .mobile-nav a:not(.btn):active { color: var(--linen); background: rgba(246, 243, 238, .1); }
.mobile-nav li { border-bottom: 1px solid rgba(20, 39, 44, .08); }
.mobile-nav a:not(.btn) { border-bottom: 0; }
.site-header.on-night .mobile-nav li { border-color: rgba(246, 243, 238, .14); }

/* Questions: a side column and one card per question */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 72px; align-items: start; } .faq-side { position: sticky; top: 110px; } }
.faq-side .lede { margin-top: 18px; }
.faq-side .btn { margin-top: 26px; }
.faq[data-faq] { max-width: none; border-top: 0; display: grid; gap: 12px; counter-reset: q; }
.faq[data-faq] details { counter-increment: q; border: 1px solid var(--mist); border-radius: 18px; background: var(--card); transition: border-color .35s var(--ease), box-shadow .35s var(--ease), translate .35s var(--ease); }
.faq[data-faq] summary { display: grid; grid-template-columns: 34px 1fr 30px; align-items: center; gap: 12px; padding: 20px 20px 20px 22px; font: 600 1.0625rem/1.4 var(--font-ui); letter-spacing: -0.005em; }
.faq[data-faq] summary::before { content: counter(q, decimal-leading-zero); font: 600 13px/1 var(--font-ui); color: var(--amber-ink); font-variant-numeric: tabular-nums; }
.faq[data-faq] summary::after { position: static; margin: 0; width: 30px; height: 30px; background:
  linear-gradient(var(--teal), var(--teal)) center / 11px 1.75px no-repeat,
  linear-gradient(var(--teal), var(--teal)) center / 1.75px 11px no-repeat, var(--teal-50);
  transition: transform .4s var(--ease), background-color .3s var(--ease); }
.faq[data-faq] details[open] summary::after { transform: rotate(135deg); background:
  linear-gradient(var(--linen), var(--linen)) center / 11px 1.75px no-repeat,
  linear-gradient(var(--linen), var(--linen)) center / 1.75px 11px no-repeat, var(--teal); }
.faq[data-faq] details[open] { border-color: var(--teal-100); box-shadow: var(--shadow); }
.faq[data-faq] .ans { padding: 0 24px 22px 68px; max-width: none; }
@media (hover: hover) and (pointer: fine) {
  .faq[data-faq] details:hover { border-color: var(--line-2); translate: 0 -2px; }
  .faq[data-faq] summary:hover { color: var(--ink); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .faq[data-faq] details { opacity: 0; translate: 0 16px; transition: opacity .6s var(--ease), translate .7s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
  .js .faq[data-faq].in details { opacity: 1; translate: none; }
  .js .faq[data-faq].in details:nth-child(2) { transition-delay: .05s; } .js .faq[data-faq].in details:nth-child(3) { transition-delay: .1s; }
  .js .faq[data-faq].in details:nth-child(4) { transition-delay: .15s; } .js .faq[data-faq].in details:nth-child(5) { transition-delay: .2s; }
  .js .faq[data-faq].in details:nth-child(6) { transition-delay: .25s; } .js .faq[data-faq].in details:nth-child(7) { transition-delay: .3s; }
  .js .faq[data-faq].in.settled details { transition-delay: 0s; }
  .faq[data-faq] details[open] .ans { animation: rise .45s var(--ease) both; }
}
@media (max-width: 640px) {
  .faq[data-faq] summary { grid-template-columns: 26px 1fr 28px; gap: 10px; padding: 16px 14px 16px 16px; font-size: 1rem; }
  .faq[data-faq] .ans { padding: 0 16px 18px 52px; }
}

/* Exports diagram: entrance, moving pulses once connected, a calm turning ring */
.flow-pulse { fill: none; stroke: var(--amber); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: .05 .95; stroke-dashoffset: 1; opacity: 0; transition: opacity .5s var(--ease); }
.flow-pulse.out { stroke: var(--teal); }
.flow-path { transition: stroke-width .3s var(--ease); }
.flow-path.hot { stroke-width: 3.4; }
.core-disc { position: relative; }
.core-disc::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed rgba(15, 76, 92, .28); opacity: 0; transition: opacity .6s var(--ease); }
.flow-core.lit .core-disc::after { opacity: 1; }
.flow-in li:hover { border-color: var(--teal-100); }
.flow-out li { transition: opacity .5s var(--ease), translate .5s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .flow.flowing .flow-pulse { opacity: 1; animation: pulse-run 2.6s cubic-bezier(.45, 0, .55, 1) infinite; animation-delay: calc(var(--i) * .38s); }
  .flow:not(.onscreen) .flow-pulse, .flow:not(.onscreen) .core-disc::after { animation-play-state: paused; }
  .flow-core.lit .core-disc::after { animation: spin 22s linear infinite; }
  .js .flow .flow-k, .js .flow .flow-in li, .js .flow .flow-core, .js .flow .flow-out { opacity: 0; transition: opacity .7s var(--ease), translate .8s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
  .js .flow .flow-in li { translate: -18px 0; }
  .js .flow .flow-core { translate: 0 14px; }
  .js .flow .flow-out { translate: 18px 0; }
  .js .flow.in .flow-k, .js .flow.in .flow-in li, .js .flow.in .flow-core { opacity: 1; translate: none; }
  .js .flow.in .flow-out { opacity: .55; translate: none; }
  .js .flow.in .flow-out.lit { opacity: 1; translate: 0 -2px; }
  .js .flow.in .flow-in li:nth-child(2) { transition-delay: .07s; } .js .flow.in .flow-in li:nth-child(3) { transition-delay: .14s; } .js .flow.in .flow-in li:nth-child(4) { transition-delay: .21s; }
  .js .flow.in .flow-core { transition-delay: .25s; }
  .js .flow .flow-out li { opacity: 0; translate: 0 6px; }
  .js .flow .flow-out.lit li { opacity: 1; translate: none; }
  .js .flow .flow-out.lit li:nth-child(2) { transition-delay: .12s; } .js .flow .flow-out.lit li:nth-child(3) { transition-delay: .24s; }
}
@keyframes pulse-run { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Portrait: export tabs always fit, buttons line up */
@media (max-width: 640px) {
  .tab-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab-list button { min-width: 0; width: 100%; padding: 9px 10px 9px 8px; font-size: .875rem; overflow-wrap: anywhere; }
  .tab-list .ti { flex: none; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .calc-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .calc-actions .btn { width: 100%; }
  .about-sign { flex-direction: column; align-items: stretch; }
  .hero-price .amount { font-size: 3rem; }
}
@media (max-width: 380px) {
  .tab-list button { font-size: .8125rem; gap: 6px; }
  .tab-list .ti { width: 20px; height: 20px; font-size: 11px; }
  .cur-pick button { padding: 6px 10px; }
}

/* Calculator verdict: status, headline, two lines, coloured by tone */
.verdict { --tone: var(--on-night-2); --tone-bg: rgba(246, 243, 238, .1); display: grid; gap: 10px; padding: 18px 20px; border-radius: 16px; background: rgba(5, 25, 31, .22); border: 1px solid var(--night-line); }
.verdict.tone-ok { --tone: #9FDCCB; --tone-bg: rgba(159, 220, 203, .14); }
.verdict.tone-warn { --tone: var(--amber-lit); --tone-bg: rgba(229, 154, 67, .15); }
.verdict.tone-bad { --tone: #F1A28E; --tone-bg: rgba(241, 162, 142, .15); }
.v-chip { justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font: 600 12.5px/1 var(--font-ui); color: var(--tone); background: var(--tone-bg); }
.v-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.v-head { margin: 0; font: 500 clamp(1.2rem, 2vw, 1.45rem)/1.3 var(--font-display); letter-spacing: -0.015em; color: var(--linen); text-wrap: balance; }
.v-head b { font-weight: 600; color: var(--tone); font-variant-numeric: tabular-nums; }
.v-lines { list-style: none; margin: 2px 0 0; padding: 10px 0 0; border-top: 1px solid var(--night-line); display: grid; gap: 7px; }
.v-lines li { position: relative; padding-left: 18px; font-size: .9375rem; line-height: 1.45; color: var(--on-night-2); }
.v-lines li::before { content: ""; position: absolute; left: 0; top: .52em; width: 8px; height: 8px; border-radius: 50%; background: var(--on-night-2); }
.v-lines li.ok::before { background: #9FDCCB; } .v-lines li.warn::before { background: var(--amber-lit); } .v-lines li.bad::before { background: #F1A28E; }
.v-lines b { font-weight: 600; color: var(--linen); font-variant-numeric: tabular-nums; }
.verdict { transition: background-color .4s var(--ease), border-color .4s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .verdict.swap .v-chip, .verdict.swap .v-head { animation: rise .45s var(--ease) both; }
  .verdict.swap .v-head { animation-delay: .05s; }
}

/* Calculator numbers in the brand's display faces (owner request, 19 Nov 2026) */
.calc-form .input input { font-family: var(--font-ui); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.005em; font-variant-numeric: tabular-nums; }
.kpi .v { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; }
/* open phone menu: nearly solid glass so the links stay readable */
.header-pill:has(.mobile-nav:not([hidden])) { background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(250, 248, 244, .94)); }
.site-header.on-night .header-pill:has(.mobile-nav:not([hidden])) { background: linear-gradient(180deg, rgba(20, 84, 102, .97), rgba(10, 56, 70, .98)); }

/* ===================== Round 8: labels as type, not capsules ===================== */
.tag, .night .tag, .email .tag { display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none; border-radius: 0; font: 500 12.5px/1.2 var(--font-ui); letter-spacing: .005em; color: var(--ink-3); white-space: nowrap; }
.tag::before, .night .tag::before, .email .tag::before { content: ""; width: 16px; height: 1px; border-radius: 0; background: currentColor; opacity: .6; }
.night .tag { color: var(--on-night-2); }
.night .email .tag, .hero-email .tag { color: var(--ink-3); }
.tl-when { display: block; padding: 0; background: none; border-radius: 0; font: 600 13px/1.2 var(--font-ui); color: var(--amber-ink); font-variant-numeric: tabular-nums; }
.timeline-cards h3 { margin-top: 10px; }
.pay-list { display: block; margin: 6px 0 0; font: 600 14px/1.4 var(--font-ui); color: var(--teal); }
.pay-list span { margin: 0 8px; color: var(--line-2); font-weight: 400; }
.fc-fix-k { display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none; border-radius: 0; color: var(--teal); font: 600 13px/1 var(--font-ui); }
.fc-fix-k::before { content: ""; width: 10px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(-45deg); }
.v-chip { padding: 0; background: none; border-radius: 0; gap: 8px; font: 600 13.5px/1 var(--font-ui); letter-spacing: .005em; }
.v-chip::before { display: none; }
.v-chip svg { width: 18px; height: 18px; }

/* Markets: three typographic columns under the hero */
.markets { padding: clamp(48px, 6vw, 84px) 0; border-bottom: 1px solid var(--line); }
.markets-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .markets-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 64px; align-items: center; } }
.markets-t { max-width: 14ch; font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.12; }
.market-list { list-style: none; margin: 0; padding: 0; display: grid; }
.market-list li { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.market-list li:first-child { border-top: 0; }
.m-sym { grid-row: 1 / 3; font: 400 2.6rem/1 var(--font-display); letter-spacing: -0.03em; color: var(--teal); transition: color .35s var(--ease), translate .45s var(--ease); }
.m-aed { font-size: 1.55rem; letter-spacing: -0.01em; }
.m-name { font: 600 1.0625rem/1.3 var(--font-ui); color: var(--ink); }
.m-note { font-size: .9375rem; color: var(--ink-3); }
@media (min-width: 720px) {
  .market-list { grid-template-columns: repeat(3, 1fr); }
  .market-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 4px 28px; border-top: 0; border-left: 1px solid var(--line); }
  .market-list li:first-child { border-left: 0; padding-left: 0; }
  .m-sym { font-size: clamp(3rem, 4.6vw, 3.8rem); height: 1.05em; display: flex; align-items: flex-end; margin-bottom: 12px; }
  .m-aed { font-size: clamp(1.9rem, 2.9vw, 2.4rem); height: auto; min-height: calc(clamp(3rem, 4.6vw, 3.8rem) * 1.05); padding-bottom: .12em; }
}
@media (hover: hover) and (pointer: fine) { .market-list li:hover .m-sym { color: var(--amber-ink); translate: 0 -3px; } }
@media (prefers-reduced-motion: no-preference) {
  .js .market-list .reveal-card:nth-child(2) { transition-delay: .08s; }
  .js .market-list .reveal-card:nth-child(3) { transition-delay: .16s; }
}

/* Glass, round 9: on light pages the tint is much lighter, so the page shows through; edges stay crisp */
.header-pill { background: linear-gradient(180deg, rgba(255, 255, 255, .36), rgba(250, 248, 244, .22)); border-color: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(9px) saturate(1.8); backdrop-filter: blur(9px) saturate(1.8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(20, 39, 44, .07), 0 1px 2px rgba(20, 39, 44, .05), 0 18px 40px -22px rgba(20, 39, 44, .4); }
.glass-warp .header-pill { backdrop-filter: url(#mn-glass) blur(2.5px) saturate(1.8); }
.header-pill::before { opacity: .65; }
.site-header.on-night .header-pill { background: linear-gradient(180deg, rgba(24, 96, 116, .5), rgba(10, 56, 70, .6)); border-color: rgba(246, 243, 238, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(246, 243, 238, .06), 0 16px 40px -20px rgba(5, 25, 31, .7); }
.nav a, .brand, .mobile-nav a:not(.btn) { text-shadow: 0 0 10px rgba(255, 255, 255, .95), 0 0 2px rgba(255, 255, 255, .8); }

/* ===================== Round 10: more cards, more motion ===================== */
/* Who it's for: two cards, rows arrive one by one, a row lights under the pointer */
.fit .yes, .fit .no { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 34px); border-radius: 24px; border: 1px solid var(--mist); background: var(--card); }
.fit .yes::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .3s; }
.fit .yes.in::before { transform: scaleX(1); }
.fit .no { background: var(--paper); border-style: dashed; border-color: var(--line-2); }
.fit h3 { font-size: 1.25rem; }
.fit li { border-radius: 12px; margin: 0 -10px; padding: 12px 10px; transition: background-color .3s var(--ease), color .3s var(--ease); }
.fit li svg { transition: transform .35s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .fit li:hover { background: var(--teal-50); color: var(--ink); }
  .fit .no li:hover { background: rgba(20, 39, 44, .05); }
  .fit li:hover svg { transform: scale(1.2); }
  .fit .yes:hover, .fit .no:hover { box-shadow: var(--shadow); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .fit .reveal-card li { opacity: 0; translate: -12px 0; transition: opacity .55s var(--ease), translate .6s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
  .js .fit .reveal-card.in li { opacity: 1; translate: none; }
  .js .fit .reveal-card.in li:nth-child(2) { transition-delay: .08s; } .js .fit .reveal-card.in li:nth-child(3) { transition-delay: .16s; } .js .fit .reveal-card.in li:nth-child(4) { transition-delay: .24s; }
  .js .fit .reveal-card.settled li { transition-delay: 0s; }
}

/* Your data: four cards with an icon tile that moves on hover */
.data-grid { border-top: 0; gap: 16px; }
.data-grid[data-rule]::before { display: none; }
.data-grid > div { padding: 24px; border: 1px solid var(--mist); border-radius: 20px; background: var(--card); }
.data-grid h3 { gap: 14px; }
.data-grid h3 svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--teal-50); transition: transform .45s var(--ease), background-color .35s var(--ease), color .35s var(--ease); }
.data-grid p { margin: 8px 0 0 56px; }
@media (min-width: 800px) { .data-grid { column-gap: 16px; } }
@media (hover: hover) and (pointer: fine) {
  .data-grid > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
  .data-grid > div:hover h3 svg { transform: rotate(-8deg) scale(1.06); background: var(--teal); color: var(--linen); }
}
@media (max-width: 640px) { .data-grid p { margin-left: 0; } }

/* Email notes read as cards before you touch them */
.anno li { background: rgba(255, 255, 255, .55); border-color: var(--line); }
@media (hover: hover) and (pointer: fine) { .anno li:hover { background: #fff; transform: translateX(4px); } }
.anno li { transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .35s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .js .anno-wrap .anno li { opacity: 0; translate: 16px 0; transition: opacity .55s var(--ease), translate .6s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .35s var(--ease); }
  .js .anno-wrap.in .anno li { opacity: 1; translate: none; }
  .js .anno-wrap.in .anno li:nth-child(2) { transition-delay: .08s; } .js .anno-wrap.in .anno li:nth-child(3) { transition-delay: .16s; } .js .anno-wrap.in .anno li:nth-child(4) { transition-delay: .24s; }
  .js .anno-wrap.settled .anno li { transition-delay: 0s; }
}

/* Trust row icons nudge on hover */
.trust-row li svg { transition: transform .4s var(--ease), color .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .trust-row li:hover svg { transform: translateY(-2px) scale(1.12); color: var(--amber-lit); } }

/* ===================== Tour page: pinned scroll scenes and a curved gallery ===================== */
.tour [data-pin] { position: relative; }
.t-intro { height: 210vh; height: 210svh; background: radial-gradient(120% 90% at 50% 0%, #17607A 0%, var(--teal) 45%, var(--night-3) 100%); }
.t-chapters { height: 340vh; height: 340svh; background: var(--paper); }
.t-gallery { height: 440vh; height: 440svh; background: radial-gradient(100% 70% at 50% 42%, #145A6C 0%, var(--teal) 42%, var(--night-3) 100%); --pw: min(520px, 72vw); --ph: calc(var(--pw) * .66); }
.t-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }

/* opening */
.t-line { position: absolute; left: 0; right: 0; bottom: 6%; width: 100%; height: 48%; pointer-events: none; }
.t-line path { fill: none; stroke: var(--amber-lit); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85; }
.t-intro-in { position: relative; z-index: 1; will-change: transform, opacity; }
.t-kicker { margin: 0 0 18px; font: 600 14px/1.2 var(--font-ui); letter-spacing: .01em; color: var(--amber-ink); }
.night .t-kicker { color: var(--amber-lit); }
.t-title { font: 500 clamp(3.2rem, 11vw, 9rem)/.95 var(--font-display); letter-spacing: -0.045em; color: var(--linen); }
.t-title span { display: block; }
.t-title span:last-child { color: var(--on-night-2); }
.t-sub { margin: 26px 0 0; max-width: 46ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--on-night-2); }
.t-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: grid; justify-items: center; gap: 8px; font: 600 12px/1 var(--font-ui); color: var(--on-night-2); opacity: var(--cue, 1); }
.t-cue i { display: block; width: 1px; height: 34px; background: linear-gradient(var(--on-night-2), transparent); transform-origin: top; }
@media (prefers-reduced-motion: no-preference) {
  .t-cue i { animation: cue 1.8s var(--ease) infinite; }
  .js .t-title span { animation: rise 1s var(--ease) both; }
  .js .t-title span:last-child { animation-delay: .12s; }
  .js .t-kicker, .js .t-sub { animation: rise 1s var(--ease) .24s both; }
}
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* chapters */
.t-chapters .t-stick { padding-top: 64px; }
.t-stage { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .t-stage { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; } }
.t-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.t-steps li { grid-area: 1 / 1; opacity: 0; translate: 0 26px; transition: opacity .6s var(--ease), translate .7s var(--ease); }
.t-steps li.on { opacity: 1; translate: none; }
.t-steps li.past { translate: 0 -26px; }
.t-n { font: 600 14px/1 var(--font-ui); color: var(--amber-ink); font-variant-numeric: tabular-nums; }
.t-steps h2 { margin-top: 14px; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.02; }
.t-steps p { margin: 16px 0 0; max-width: 40ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-2); }
.t-visual { position: relative; height: min(58vh, 470px); }
.t-layer { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; translate: 0 22px; transition: opacity .6s var(--ease), translate .7s var(--ease); }
.t-layer.on { opacity: 1; translate: none; }
.v-files .f-card { position: absolute; display: flex; align-items: center; gap: 12px; width: min(320px, 80%); padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--mist); box-shadow: var(--shadow); font: 500 .875rem/1.3 var(--font-ui); color: var(--ink-3);
  transform: translate(calc(var(--x) * (1 - var(--f, 0))), calc(var(--y) * (1 - var(--f, 0)) + var(--sy, 0px))) rotate(calc(var(--r) * (1 - var(--f, 0)))); }
.v-files .f-card:nth-child(1) { --sy: -96px; } .v-files .f-card:nth-child(2) { --sy: -32px; }
.v-files .f-card:nth-child(3) { --sy: 32px; } .v-files .f-card:nth-child(4) { --sy: 96px; }
.f-card i { flex: none; font: 700 11px/1 var(--font-ui); font-style: normal; letter-spacing: .02em; color: var(--linen); background: var(--teal); padding: 9px 7px; border-radius: 8px; }
.f-card b { display: block; font: 600 .9375rem/1.3 var(--font); color: var(--ink); }
.vc-card { width: min(580px, 100%); padding: 16px 16px 6px; border-radius: 20px; background: var(--card); border: 1px solid var(--mist); box-shadow: 0 2px 4px rgba(20, 39, 44, .05), 0 30px 60px -32px rgba(20, 39, 44, .4); }
.vc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-bottom: 6px; font: 600 .9375rem/1.3 var(--font-ui); color: var(--ink); }
.vc-svg { display: block; width: 100%; height: auto; overflow: visible; }
.v-chart .low-ring, .v-chart .low-label { opacity: var(--low, 0); transition: opacity .45s var(--ease); }
.ve-card { width: min(390px, 94%); display: grid; gap: 10px; padding: 20px 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--mist); box-shadow: 0 2px 4px rgba(20, 39, 44, .05), 0 40px 70px -36px rgba(20, 39, 44, .5);
  transform: translateY(calc((1 - var(--e, 0)) * 70px)) scale(calc(.93 + var(--e, 0) * .07)); }
.ve-top { display: flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--font-ui); color: var(--ink-3); }
.ve-time { margin-left: auto; font-variant-numeric: tabular-nums; }
.ve-subject { font: 600 1rem/1.3 var(--font-ui); color: var(--ink); }
.ve-cash { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.ve-cash span { font-size: .8125rem; color: var(--ink-3); }
.ve-cash strong { font: 700 2.2rem/1.05 var(--font); letter-spacing: -0.03em; color: var(--teal); font-variant-numeric: tabular-nums; }
.ve-row, .ve-low { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; color: var(--ink-2); }
.ve-row b, .ve-low b { color: var(--ink); font-variant-numeric: tabular-nums; }
.ve-low { padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--mist); }
.ve-low b { color: var(--amber-ink); }
.t-progress { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: flex; gap: 8px; }
.t-progress i { display: block; width: 30px; height: 3px; border-radius: 3px; background: var(--mist); transition: background-color .4s var(--ease); }
.t-progress i.on { background: var(--teal); }

/* curved gallery */
.t-gallery .t-stick { justify-content: space-evenly; padding: 84px 0 22px; }
.g-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.g-scene { position: relative; height: min(48vh, 430px); perspective: 1700px; perspective-origin: 50% 42%; }
.g-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.g-panel { position: absolute; left: calc(var(--pw) / -2); top: calc(var(--ph) / -2); width: var(--pw); height: var(--ph); padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--paper); cursor: pointer; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .65); transition: box-shadow .45s var(--ease); }
.g-panel img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.g-panel.g-wide img { object-fit: contain; background: #fff; padding: 4%; }
.g-panel.g-dark, .g-panel.g-dark img { background: var(--teal); }
.g-panel.g-dark img { object-fit: cover; padding: 0; }
.g-panel.on { box-shadow: 0 0 0 2px rgba(246, 243, 238, .7), 0 44px 90px -30px rgba(0, 0, 0, .75); }
.g-panel:focus-visible { outline: 3px solid var(--linen); outline-offset: 4px; }
.g-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.g-caption { display: grid; gap: 6px; max-width: 54ch; }
.g-caption b { font: 500 clamp(1.4rem, 2.6vw, 2rem)/1.15 var(--font-display); letter-spacing: -0.015em; color: var(--linen); }
.g-caption span { color: var(--on-night-2); }
@media (prefers-reduced-motion: no-preference) { .g-caption.swap b, .g-caption.swap span { animation: rise .5s var(--ease) both; } .g-caption.swap span { animation-delay: .05s; } }
.g-ctrl { display: flex; align-items: center; gap: 14px; }
.g-arrow { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(246, 243, 238, .35); background: transparent; color: var(--linen); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease); }
.g-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.g-arrow:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .g-arrow:hover { background: var(--linen); color: var(--teal); border-color: var(--linen); } }
.g-count { font: 600 14px/1 var(--font-ui); color: var(--on-night-2); font-variant-numeric: tabular-nums; }
.g-count b { color: var(--linen); }
.g-note { margin: 0; text-align: center; font-size: .8125rem; color: var(--on-night-2); }

/* preview window */
.g-box { width: min(920px, calc(100vw - 24px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(5, 25, 31, .8); overflow: hidden; }
.g-box::backdrop { background: rgba(5, 25, 31, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.g-box-in { display: flex; flex-direction: column; max-height: calc(100svh - 32px); }
.g-box-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--mist); }
.g-box-t { display: block; font: 600 1.1rem/1.3 var(--font-ui); }
.g-box-l { display: block; margin-top: 2px; font-size: .9375rem; color: var(--ink-3); }
.g-close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--mist); background: var(--card); color: var(--ink); cursor: pointer; }
.g-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.g-box-img { overflow: auto; overscroll-behavior: contain; padding: 14px; }
.g-box-img img { display: block; width: 100%; height: auto; border-radius: 12px; }
@media (prefers-reduced-motion: no-preference) { .g-box[open] { animation: box-in .45s var(--ease) both; } .g-box[open]::backdrop { animation: fade .3s var(--ease) both; } }
@keyframes box-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }

/* phones and narrow screens */
@media (max-width: 899px) {
  .t-chapters .t-stick { justify-content: flex-start; padding-top: 92px; }
  .t-steps h2 { font-size: clamp(1.75rem, 7.4vw, 2.4rem); margin-top: 10px; }
  .t-steps p { font-size: 1rem; margin-top: 10px; }
  .t-visual { height: 46vh; height: 46svh; }
  .v-files .f-card { width: min(300px, 86%); }
  .v-files .f-card:nth-child(1) { --sy: -84px; } .v-files .f-card:nth-child(2) { --sy: -28px; }
  .v-files .f-card:nth-child(3) { --sy: 28px; } .v-files .f-card:nth-child(4) { --sy: 84px; }
  .t-progress { bottom: 16px; }
  .t-gallery { --pw: 76vw; height: 380vh; height: 380svh; }
  .t-gallery .t-stick { padding-top: 88px; justify-content: space-around; }
  .g-scene { height: 40vh; height: 40svh; perspective: 1100px; }
  .g-foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .g-ctrl { justify-content: space-between; }
  .g-caption b { font-size: 1.35rem; }
  .g-caption span { font-size: .9375rem; }
  .t-title { font-size: clamp(3rem, 15vw, 4.4rem); }
}

/* motion off: no pinning, everything in order */
.t-static .tour [data-pin] { height: auto; }
.t-static .t-stick { position: static; height: auto; overflow: visible; padding: 120px 0 72px; }
.t-static .t-line path { stroke-dashoffset: 0; }
.t-static .t-cue, .t-static .t-progress { display: none; }
.t-static .t-steps { gap: 28px; }
.t-static .t-steps li { grid-area: auto; opacity: 1; translate: none; }
.t-static .t-visual { height: auto; display: grid; gap: 24px; }
.t-static .t-layer { position: static; opacity: 1; translate: none; }
.t-static .v-files { display: grid; gap: 10px; justify-items: center; }
.t-static .v-files .f-card { position: relative; transform: none; }
.t-static .ve-card { transform: none; }
.t-static .g-scene { height: auto; perspective: none; }
.t-static .g-ring { position: static; width: auto; height: auto; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(20px, calc(50vw - var(--pw) / 2)) 20px; transform: none !important; }
.t-static .g-panel { position: relative; left: auto; top: auto; flex: none; transform: none !important; opacity: 1 !important; pointer-events: auto !important; scroll-snap-align: center; }

/* ===================== Phone polish ===================== */
/* numbers inside sentences stay inline so punctuation never wraps away from them */
span[data-roll="inline"] { display: inline; }
/* finger-sized controls */
@media (max-width: 640px) {
  .week-tabs button { min-height: 40px; padding: 8px 10px; }
  .week-tabs .week-pause { width: 40px; }
  .cur-pick button { min-height: 40px; }
  .calc-actions a:not(.btn) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
  .faq[data-faq] summary { min-height: 56px; }
  .footer-grid a { display: inline-block; padding: 6px 0; }
}
/* touch: cards answer a press */
@media (hover: none) {
  a, button, summary, [role="button"] { -webkit-tap-highlight-color: transparent; }
  .leak-card, .price-row, .price-lead, .get-card, .why-card, .incl-card, .data-grid > div, .anno li, .flow-in li, .g-panel { transition: transform .2s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease); }
  .leak-card:active, .price-row:active, .get-card:active, .why-card:active, .incl-card:active, .data-grid > div:active, .anno li:active { transform: scale(.985); }
}
/* homepage link into the tour */
.tour-link { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 28px 0 0; color: var(--ink-3); font-size: .9375rem; }
@media (max-width: 640px) { .tour-link { flex-direction: column; align-items: stretch; text-align: center; } }
/* tour labels on teal: light text for contrast, the amber stays as a short line */
.night .t-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--linen); }
.night .t-kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--amber-lit); }

/* gallery, round 2: every piece shown whole; cards take their picture's shape at one shared height */
.t-gallery { --ph: min(44vh, 400px); --pmax: min(640px, 80vw); }
.g-scene { height: calc(var(--ph) + 48px); }
.g-panel { --gw: min(calc(var(--ph) * var(--ar, 1)), var(--pmax)); width: var(--gw); height: var(--ph); left: 0; top: 0; margin-left: calc(var(--gw) / -2); margin-top: calc(var(--ph) / -2); background: #fff; }
.g-panel img, .g-panel.g-wide img, .g-panel.g-dark img { object-fit: contain; object-position: center; padding: 0; background: transparent; }
.g-panel.g-dark { background: #0F4C5C; }
@media (max-width: 899px) { .t-gallery { --ph: 40vh; --ph: 40svh; --pmax: 84vw; } .g-scene { height: calc(var(--ph) + 24px); } }

/* Email readability: figures bold; teal when the move is good for you, red when it isn't */
.email-summary .em-n, .watch .em-n { font-weight: 650; color: var(--ink); }
.em-n.good, .ledger td.chg.good, .ve-card .good, .hero-email .good { color: var(--teal); font-weight: 650; }
.em-n.bad, .ledger td.chg.bad, .ve-card .bad, .hero-email .bad { color: var(--danger); font-weight: 650; }
.ledger td { font-weight: 620; }
.ledger td.chg { font-weight: 600; }
.ve-sum { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.ve-sum b { color: var(--ink); font-weight: 650; }
.ve-row { display: grid; grid-template-columns: 1fr auto 58px; align-items: baseline; gap: 10px; }
.ve-row i { font-style: normal; font-size: .8125rem; text-align: right; font-variant-numeric: tabular-nums; }
.hero-email .delta b.bad { color: var(--danger); }
.hero-email .delta b.good { color: var(--teal); }
