/* West M Products — site stylesheet v3
   Direction: Apple-style restraint on the client's navy/orange brand.
   One typeface, very large type, lots of space, one idea per section.
   Dark navy sections alternate with light gray ones; tokens switch per section.
   Single fixed palette by choice (no light/dark theme switching). */
:root {
  --navy: #0a1424;
  --orange: #ff6b2c;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gut: max(22px, env(safe-area-inset-left, 0px));
  --gut-r: max(22px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* dark tokens (default) */
  --bg: var(--navy);
  --fg: #f5f5f7;
  --fg2: #98a2b3;
  --line: rgba(255, 255, 255, .12);
  --surface: #111c30;
  --surface-2: #17243c;
  --accent-text: #ff8d5c;
  --gain: #3cc993;
  color-scheme: dark;
}
.light {
  --bg: #f5f5f7;
  --fg: #1d1d1f;
  --fg2: #6e6e73;
  --line: #d2d2d7;
  --surface: #ffffff;
  --surface-2: #ececf0;
  --accent-text: #c4470b;
  --gain: #0f8a5f;
  color-scheme: light;
}

@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--navy); scroll-padding-top: 80px; }
html:focus-within { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--fg2); font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--fg); margin: 0; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 1.6rem + 5.2vw, 5.75rem); line-height: 1.02; letter-spacing: -0.045em; }
h2 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.9rem); line-height: 1.05; letter-spacing: -0.04em; }
h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
strong { color: var(--fg); font-weight: 600; }
ul, ol { margin: 0; }
.accent { color: var(--orange); }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--navy); padding: 10px 14px; z-index: 99; }
.skip:focus { left: 12px; top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { max-width: calc(var(--wrap) + 44px); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.narrow { max-width: calc(760px + 44px); }
.sec { position: relative; background: var(--bg); color: var(--fg2); padding-block: clamp(88px, 12vw, 168px); }
.sec.tight { padding-block: clamp(64px, 8vw, 112px); }
.sec + .sec.light, .light + .sec:not(.light) { border-top: 0; }
.head { display: grid; gap: 20px; max-width: 760px; margin: 0 auto clamp(48px, 7vw, 88px); text-align: center; justify-items: center; }
.head.left { margin-left: 0; text-align: left; justify-items: start; }
.sub { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.45; color: var(--fg2); max-width: 36em; letter-spacing: -0.015em; }
.fine { font-size: .875rem; line-height: 1.5; color: var(--fg2); }
.center { text-align: center; }

/* ---------- reveal (JS adds .js to <html>; content is visible without it) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(10, 20, 36, .72); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.wordmark { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.04em; color: #f5f5f7; white-space: nowrap; }
.wordmark span { color: var(--orange); }
.wordmark:hover { text-decoration: none; color: #fff; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; }
.menu > li { position: relative; }
.menu a, .menu button { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .9rem; color: rgba(245, 245, 247, .82); padding: 8px 12px; border: 0; background: none; cursor: pointer; border-radius: 8px; transition: color .2s; }
.menu a:hover, .menu button:hover { color: #fff; text-decoration: none; }
.menu [aria-current="page"], .menu .current > button { color: #fff; }
.chev { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.dropdown { position: absolute; top: calc(100% + 14px); left: -8px; min-width: 260px; list-style: none; margin: 0; padding: 10px; border-radius: 16px; background: rgba(17, 28, 48, .96); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .chev, .has-drop.open .chev { transform: rotate(180deg); }
.dropdown a { display: block; width: 100%; padding: 10px 12px; font-size: .95rem; color: #f5f5f7; border-radius: 10px; }
.dropdown a:hover { background: rgba(255, 255, 255, .06); }
.nav-cta { flex: none; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #f5f5f7; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }
.menu .only-mobile { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav .nav-cta { display: none; }
  .menu { position: fixed; inset: calc(64px + env(safe-area-inset-top, 0px)) 0 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 18px var(--gut-r) 40px var(--gut); background: rgba(10, 20, 36, .98); backdrop-filter: blur(20px); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
  .menu.open { opacity: 1; visibility: visible; }
  .menu > li { opacity: 0; transform: translateY(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .menu.open > li { opacity: 1; transform: none; }
  .menu.open > li:nth-child(2) { transition-delay: .03s; } .menu.open > li:nth-child(3) { transition-delay: .06s; } .menu.open > li:nth-child(4) { transition-delay: .09s; } .menu.open > li:nth-child(5) { transition-delay: .12s; } .menu.open > li:nth-child(6) { transition-delay: .15s; }
  .menu a, .menu button { width: 100%; justify-content: space-between; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; color: #f5f5f7; padding: 12px 0; border-radius: 0; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: none; border: 0; box-shadow: none; padding: 0 0 8px; min-width: 0; backdrop-filter: none; }
  .has-drop.open .dropdown { display: block; }
  .dropdown a { font-size: 1.1rem; font-weight: 500; color: var(--fg2); padding: 9px 0; }
  .menu .only-mobile { display: block; margin-top: 24px; }
  .menu .only-mobile .btn { width: 100%; justify-content: center; font-size: 1.05rem; padding: 16px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- buttons + links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1; padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .3s var(--ease), background .3s, box-shadow .3s; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: #ff8148; color: var(--navy); transform: scale(1.02); box-shadow: 0 12px 30px -12px rgba(255, 107, 44, .7); }
.btn-secondary { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-secondary:hover { color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--fg2); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.head .actions, .center .actions { justify-content: center; }
.more { font-weight: 500; font-size: 1.02rem; color: var(--accent-text); display: inline-flex; align-items: center; gap: 4px; }
.more::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .3s var(--ease); }
.more:hover { text-decoration: none; }
.more:hover::after { transform: translate(3px, -1px); }

/* ---------- heroes ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); }
.page-hero { padding-block: clamp(72px, 11vw, 150px) clamp(64px, 9vw, 120px); }
.page-hero::after { content: ""; position: absolute; z-index: -1; left: 50%; top: -30%; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 107, 44, .12), transparent); pointer-events: none; }
.page-hero .wrap { display: grid; gap: 24px; justify-items: center; text-align: center; }
.page-hero h1 { max-width: 15ch; }
.page-hero .sub { max-width: 34em; }
.page-hero .actions { justify-content: center; margin-top: 8px; }
.crumbs { font-size: .82rem; color: var(--fg2); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--fg2); }
.crumbs a:hover { color: var(--fg); }

/* home hero with the orb (the only one on the site) */
.home-hero { padding-block: clamp(56px, 8vw, 110px) clamp(80px, 10vw, 140px); }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5; background-image: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 62%, #cfe0ff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 47% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 38%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 81% 22%, #cfe0ff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 92% 58%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 7% 78%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 72% 74%, #fff 50%, transparent 51%); }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(50% 60% at 76% 46%, rgba(255, 107, 44, .16), transparent 62%), radial-gradient(45% 55% at 5% 0%, rgba(60, 110, 200, .18), transparent 60%); }
.floor { position: absolute; z-index: -1; left: -20%; right: -20%; bottom: 0; height: 40%; pointer-events: none; perspective: 520px; overflow: hidden; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 95%); mask-image: linear-gradient(to top, #000 10%, transparent 95%); }
.floor::before { content: ""; position: absolute; inset: -50% 0 0; transform: rotateX(68deg); transform-origin: bottom; background-image: linear-gradient(rgba(150, 180, 230, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 180, 230, .14) 1px, transparent 1px); background-size: 64px 64px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.home-grid h1 { max-width: 13ch; }
.nowrap { white-space: nowrap; }
.home-grid .sub { margin-top: 24px; }
.home-grid .actions { margin-top: 36px; }
@media (max-width: 920px) { .home-grid { grid-template-columns: 1fr; text-align: center; } .home-grid h1, .home-grid .sub { margin-inline: auto; } .home-grid .actions { justify-content: center; } }
.orbit { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.orbit .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(160, 190, 230, .14); inset: var(--i); }
.orbit .ring.dash { border-style: dashed; border-color: rgba(160, 190, 230, .1); }
.orbit .spin { position: absolute; inset: 0; }
.orbit .sat { position: absolute; left: 50%; top: var(--top); width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 3px rgba(255, 255, 255, .45); }
.orbit .sat.o { background: #ffa275; box-shadow: 0 0 14px 3px rgba(255, 107, 44, .6); }
.orbit .core { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 50% 40%, #182640, #0b1424 70%); border: 1px solid rgba(255, 140, 80, .35); display: grid; place-items: center; color: var(--orange); box-shadow: 0 0 60px 10px rgba(255, 107, 44, .32), 0 0 140px 40px rgba(255, 107, 44, .1); }
.orbit .core svg { width: 40%; height: 40%; }
.chip { position: absolute; left: var(--l); top: var(--t); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 9px 15px 9px 9px; border-radius: 14px; background: rgba(17, 28, 48, .9); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); color: #f5f5f7; font-size: .9rem; font-weight: 550; white-space: nowrap; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .7); transition: border-color .3s; }
.chip:hover { text-decoration: none; border-color: rgba(255, 107, 44, .55); color: #fff; }
.chip i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 107, 44, .14); color: var(--orange); }
.chip i svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .orbit .spin { animation: spin var(--s, 40s) linear infinite; }
  .orbit .spin.rev { animation-direction: reverse; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .chip { animation: bob 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
  @keyframes bob { 50% { transform: translate(-50%, calc(-50% - 7px)); } }
  .orbit .core { animation: pulse 4.5s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 80px 16px rgba(255, 107, 44, .42), 0 0 170px 50px rgba(255, 107, 44, .14); } }
  .floor::before { animation: floor 7s linear infinite; }
  @keyframes floor { to { background-position: 0 64px, 0 0; } }
}
@media (max-width: 520px) { .chip { font-size: .74rem; padding: 6px 10px 6px 6px; gap: 7px; border-radius: 11px; } .chip i { width: 24px; height: 24px; border-radius: 7px; } .chip i svg { width: 13px; height: 13px; } }

/* ---------- big numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { padding: 8px clamp(16px, 2.5vw, 32px); display: grid; gap: 10px; align-content: start; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); font-weight: 650; letter-spacing: -0.045em; line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.stat b.g { color: var(--gain); }
.stat span { font-size: 1rem; line-height: 1.4; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; row-gap: 32px; } .stat { border-left: 0; padding: 0 0 32px; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; padding-bottom: 0; } }

/* ---------- statement ---------- */
.statement { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.6rem); line-height: 1.12; letter-spacing: -0.04em; font-weight: 600; color: var(--fg); max-width: 20ch; margin-inline: auto; text-align: center; text-wrap: balance; }
.statement .dim { color: var(--fg2); }

/* ---------- rows (services list) ---------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 8px 40px; align-items: center; padding: clamp(24px, 3vw, 34px) 0; border-bottom: 1px solid var(--line); color: var(--fg2); transition: padding .4s var(--ease); }
.row:hover { text-decoration: none; padding-left: 8px; }
.row h3 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); letter-spacing: -0.03em; }
.row .go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--fg); transition: background .3s, color .3s, box-shadow .3s; }
.row:hover .go { background: var(--orange); color: var(--navy); box-shadow: none; }
.row .go svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .row { grid-template-columns: minmax(0, 1fr) auto; } .row p { grid-column: 1; grid-row: 2; } .row .go { grid-row: 1 / span 2; grid-column: 2; } }

/* ---------- tiles ---------- */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tile { background: var(--surface); border-radius: 28px; padding: clamp(28px, 3.5vw, 44px); display: grid; gap: 12px; align-content: start; }
.tile .num { font-size: .95rem; font-weight: 600; color: var(--accent-text); }
.tile.big b { font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4rem); font-weight: 650; letter-spacing: -0.045em; line-height: 1; color: var(--fg); }
.tile.big b.g { color: var(--gain); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); font-size: .9rem; font-weight: 600; color: var(--accent-text); }
.steps p { font-size: 1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; row-gap: 28px; } }

/* ---------- simple list ---------- */
.list { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--line); }
.list li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 6px 32px; }
.list li b { color: var(--fg); font-weight: 600; font-size: 1.08rem; }
@media (max-width: 640px) { .list li { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split .head { margin-bottom: 0; }

/* ---------- calculator ---------- */
.calc { max-width: 880px; margin: 0 auto; background: var(--surface); border-radius: 32px; padding: clamp(24px, 4vw, 48px); display: grid; gap: 28px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); border: 1px solid var(--line); }
.calc-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .calc-in { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-size: .9rem; font-weight: 500; color: var(--fg2); }
.unit { position: relative; }
.unit::before { content: attr(data-u); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--fg2); font-size: 1.1rem; pointer-events: none; }
.unit.r::before { left: auto; right: 16px; }
.unit input { padding-left: 32px; }
.unit.r input { padding-left: 16px; padding-right: 36px; }
input, select, textarea { font: inherit; font-size: 1.05rem; color: var(--fg); background: var(--surface-2); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px; width: 100%; transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none; }
.calc input { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); }
input::placeholder, textarea::placeholder { color: var(--fg2); opacity: .7; }
textarea { min-height: 120px; resize: vertical; }
.calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.calc-out div { display: grid; gap: 6px; padding: 8px 4px; }
.calc-out span { font-size: .88rem; color: var(--fg2); }
.calc-out b { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 650; letter-spacing: -0.045em; line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.calc-out .hl b { color: var(--orange); }
@media (max-width: 520px) { .calc-out { grid-template-columns: 1fr; gap: 14px; } }
.bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--surface-2); }
.bar span { height: 100%; transition: width .6s var(--ease); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .82rem; color: var(--fg2); }
.legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--c); vertical-align: 1px; }
.calc-note { text-align: center; font-size: .95rem; color: var(--fg2); max-width: 44em; margin: 0 auto; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 20px; text-align: center; }
@media (max-width: 860px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person { display: grid; gap: 4px; justify-items: center; }
.person img { width: 112px; height: 112px; border-radius: 50%; margin-bottom: 14px; background: var(--surface-2); filter: grayscale(1); }
.person h3 { font-size: 1.08rem; }
.person span { font-size: .92rem; }

/* ---------- FAQ / disclosure ---------- */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; color: var(--fg); font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); font-weight: 600; letter-spacing: -0.02em; padding: 24px 48px 24px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--fg2); border-bottom: 1.5px solid var(--fg2); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 24px; max-width: 64ch; display: grid; gap: .8em; }
.scope { list-style: none; padding: 8px 0 0; columns: 2 260px; column-gap: 40px; }
.scope li { break-inside: avoid; padding: 10px 0 10px 28px; position: relative; color: var(--fg); font-size: 1rem; }
.scope li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--gain); border-bottom: 2px solid var(--gain); transform: rotate(-45deg); }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta .wrap { display: grid; gap: 24px; justify-items: center; }
.cta h2 { max-width: 16ch; }
.cta .contact-line { font-size: .95rem; color: var(--fg2); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.cta .contact-line a { color: var(--fg2); }
.cta .contact-line a:hover { color: var(--fg); }

/* ---------- blog ---------- */
.posts { display: grid; border-top: 1px solid var(--line); }
.post { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 40px; padding: 30px 0; border-bottom: 1px solid var(--line); color: var(--fg2); align-items: baseline; }
.post:hover { text-decoration: none; }
.post:hover h3 { color: var(--accent-text); }
.post h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -0.025em; transition: color .2s; }
.post p { grid-column: 1; margin-top: 6px; max-width: 60ch; }
.post .meta { grid-column: 2; grid-row: 1; white-space: nowrap; }
@media (max-width: 640px) { .post { grid-template-columns: 1fr; } .post .meta { grid-column: 1; grid-row: auto; } }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; font-size: .9rem; color: var(--fg2); }
.post .meta { justify-content: flex-start; }

/* ---------- article ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--orange); }
.article-hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.2rem); max-width: 18ch; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .aside { display: none; } }
.article-body { font-size: 1.15rem; line-height: 1.7; color: #3a3a3f; max-width: 42rem; }
.article-body > * + * { margin-top: 1.15em; }
.article-body h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); letter-spacing: -0.035em; margin-top: 2em; }
.article-body h3 { margin-top: 1.6em; font-size: 1.25rem; }
.article-body ul, .article-body ol { padding-left: 1.3em; display: grid; gap: .5em; }
.article-body li::marker { color: var(--fg2); }
.article-body .note { background: var(--surface); border-radius: 20px; padding: 22px 26px; font-size: 1.05rem; color: var(--fg); }
.article-body .fine { margin-top: .6em; }
.table-wrap { overflow-x: auto; border-radius: 20px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
table:has(th:nth-child(3)) { min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
th { font-weight: 600; color: var(--fg); font-size: .9rem; }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--fg); font-weight: 500; }
.aside { position: sticky; top: 96px; display: grid; gap: 28px; font-size: .95rem; }
.aside h2 { font-size: .95rem; letter-spacing: 0; color: var(--fg); margin-bottom: 8px; }
.toc ol { list-style: none; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1.5px solid transparent; color: var(--fg2); line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--fg); text-decoration: none; }
.toc a.on { color: var(--fg); border-left-color: var(--orange); }
.aside p { margin-bottom: 10px; }
.sources li { overflow-wrap: anywhere; font-size: 1rem; }

/* ---------- contact ---------- */
.form { display: grid; gap: 20px; max-width: 720px; margin: 0 auto; }
.form .two { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0; }
.hint { font-weight: 400; opacity: .8; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.choice span { display: inline-block; font-size: .95rem; padding: 11px 18px; border-radius: 999px; background: var(--surface-2); color: var(--fg); border: 1.5px solid transparent; transition: background .2s, border-color .2s; }
.choice input:checked + span { border-color: var(--orange); background: rgba(255, 107, 44, .12); }
.choice input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.form-status { padding: 16px 18px; border-radius: 14px; background: var(--surface-2); color: var(--fg); }
.form-status.err { box-shadow: inset 3px 0 0 #e5484d; }
.form-status.ok { box-shadow: inset 3px 0 0 var(--gain); }
.hp { position: absolute; left: -5000px; }
.form .actions { justify-content: center; margin-top: 8px; }
.form .btn { min-width: 260px; }

/* ---------- footer ---------- */
.site-footer { background: #070e1a; color: #8a93a3; padding-block: 56px 32px; font-size: .88rem; border-top: 1px solid rgba(255, 255, 255, .06); }
.site-footer a { color: #b5bdca; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.foot-grid h2 { font-size: .88rem; color: #f5f5f7; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.foot-blurb { margin-top: 12px; max-width: 30ch; }
.foot-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

.lost { font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 700; letter-spacing: -0.06em; line-height: .9; color: var(--orange); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- results cases ---------- */
.cases { display: grid; border-top: 1px solid var(--line); }
.case { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 14px 56px; padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.case b { font-size: clamp(3rem, 2rem + 4vw, 5.25rem); font-weight: 650; letter-spacing: -0.05em; line-height: .95; color: var(--fg); }
.case b.g { color: var(--gain); }
.case h3 { margin-bottom: 10px; }
.case .more { margin-top: 14px; }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; } }
.big-stat { display: grid; gap: 18px; justify-items: center; text-align: center; }
.big-stat b { font-size: clamp(4rem, 2.5rem + 7vw, 8.5rem); font-weight: 650; letter-spacing: -0.055em; line-height: .9; color: var(--fg); }
.big-stat b.g { color: var(--gain); }
.big-stat p { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); max-width: 30em; letter-spacing: -0.015em; }
details.disclose { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.disclose summary { cursor: pointer; list-style: none; text-align: center; padding: 22px 0; font-weight: 500; color: var(--accent-text); font-size: 1.05rem; }
details.disclose summary::-webkit-details-marker { display: none; }
details.disclose summary::after { content: " +"; }
details.disclose[open] summary::after { content: " −"; }
details.disclose .scope { padding-bottom: 24px; }

/* ---------- glossary ---------- */
.gloss { margin: 0; display: grid; border-top: 1px solid var(--line); }
.gloss .term { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; scroll-margin-top: 90px; }
.gloss dt { color: var(--fg); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; }
.gloss dd { margin: 0; font-size: 1.05rem; line-height: 1.6; max-width: 62ch; }
.gloss .term:target dt { color: var(--accent-text); }

/* ---------- availability (scarcity) ---------- */
.avail { display: block; margin-top: 22px; font-size: .95rem; line-height: 1.5; color: var(--fg2); text-wrap: balance; }
.avail strong { color: var(--fg); font-weight: 600; }
.avail .dot { display: inline-block; vertical-align: 1px; margin-right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #3cc993; box-shadow: 0 0 0 0 rgba(60, 201, 147, .6); }
.avail.full .dot { background: var(--orange); }
@media (prefers-reduced-motion: no-preference) { .avail .dot { animation: avail 2.4s ease-out infinite; } @keyframes avail { 0% { box-shadow: 0 0 0 0 rgba(60, 201, 147, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(60, 201, 147, 0); } } }
.page-hero .avail { margin-top: 4px; }


.tiles.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
