@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/SchibstedGrotesk-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/SchibstedGrotesk-latin-ext.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Libre Caslon Condensed"; src: url("fonts/LibreCaslonCondensed-VariableFont_wght.ttf") format("truetype"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Condensed"; src: url("fonts/LibreCaslonCondensed-Italic-VariableFont_wght.ttf") format("truetype"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --ink: #15161a;
  --ink9: #111;
  --bg: #eef6fc;
  --green: #16a34a;
  --blue: #2563eb;
  --orange: #ff4e1e;
  --amber: #d97706;
  --body: #262930;
  --sub: #3c4046;
  --serif: "Libre Caslon Condensed", "Times New Roman", Times, serif;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --card-bg: linear-gradient(180deg, #fffffff5, #f1f5fbf5) padding-box, linear-gradient(160deg, #fff, #15161a29) border-box;
  --card-shadow: inset 0 1px #fffffff2, 0 1px 2px #15161a0d, 0 12px 28px #15161a14;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
section[id], footer[id] { scroll-margin-top: 72px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink9); color: #fff; padding: 10px 14px; border-radius: 6px; font-size: 13px; }
.skip:focus { top: 12px; }

/* ---------- shared ---------- */
.logo { font-family: var(--serif); font-size: 26px; letter-spacing: -.025em; color: var(--ink9); line-height: 1; white-space: nowrap; transition: opacity .2s; }
.logo i { font-style: italic; }
.logo:hover { opacity: .75; }
.logo--lg { font-size: 30px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink9); color: #fff; font-weight: 600; border-radius: 8px; white-space: nowrap; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s; }
.btn:hover { background: #000; box-shadow: 0 10px 24px #11111138; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--hero { height: 49px; padding: 0 28px; font-size: 15px; border-radius: 6px; box-shadow: 0 6px 16px #0000002e; }
.btn--block { width: 100%; height: 52px; font-size: 15px; }

.card { position: absolute; border: 1px solid #15161a17; background: #fffdfa; box-shadow: 0 1px 2px #15161a0a, 0 8px 24px -12px #1a3a5c2e; overflow: hidden; }

.h1 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; color: var(--ink9); font-size: 62px; text-wrap: balance; }
.h1 span, .h2 span, .hero-sub span { display: block; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
.h2--36 { font-size: 36px; line-height: 1.11; }
.body { margin-top: 24px; font-size: 15px; line-height: 1.6; color: var(--body); max-width: 420px; }
.text-link { margin-top: 50px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.text-link .arrow { transition: transform .3s var(--ease-out); }
.text-link:hover .arrow { transform: translateX(4px); }

/* icons: CSS masks with inline SVG data */
.ico { display: inline-block; width: 12px; height: 12px; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico--lg { width: 22px; height: 22px; color: #15161acc; }
.ico-home { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-7 9 7v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.ico-chart { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
.ico-doc { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h6'/%3E%3C/svg%3E"); }
.ico-post { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Cpath d='M7 9h10M7 13h7'/%3E%3C/svg%3E"); }
.ico-quote { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 2l4 4-4 4'/%3E%3Cpath d='M3 11v-1a4 4 0 0 1 4-4h14M7 22l-4-4 4-4'/%3E%3Cpath d='M21 13v1a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E"); }
.ico-voice { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 20h9M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E"); }
.ico-proof { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.ico-magnet { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 15l-4-4 6.8-6.8a7.1 7.1 0 0 1 10 10L12 21l-4-4 6.8-6.8a1.4 1.4 0 0 0-2-2zM5 8l4 4M12 15l4 4'/%3E%3C/svg%3E"); }
.ico-dm { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.ico-cal { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18M9 16l2 2 4-4'/%3E%3C/svg%3E"); }
.ico-loop { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E"); }
.ico-user { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.ico-check { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }
.ico-search { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E"); }

/* ---------- motion ---------- */
@keyframes fade { from { opacity: 0; } }
@keyframes enter { from { opacity: 0; translate: 0 18px; } }
@keyframes enter-dash { from { opacity: 0; translate: 0 56px; } }
@keyframes rise { from { opacity: 0; translate: 0 14px; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes fly-in { 0% { opacity: 0; translate: var(--fx) var(--fy); rotate: var(--fr); } 30% { opacity: 1; } 100% { opacity: 1; translate: 0 0; rotate: var(--r); } }
@keyframes pop-in { from { opacity: 0; scale: .9; } }
@keyframes draw { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }

.rise { animation: enter 1s var(--ease-out) var(--d, 0ms) backwards; }
.rise-dash { animation: enter-dash 1.4s var(--ease-out) .55s backwards; }
.nav-in { animation: fade 1s var(--ease-out) .1s backwards; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled { background: #ffffffa6; -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px #15161a0f; }
.nav-in { position: relative; max-width: 1440px; height: 76px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: center; }
.nav-link { position: absolute; right: 40px; font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 6px; transition: background .2s; }
.nav-link:hover { background: #15161a0d; }

/* ---------- hero ---------- */
.hero { --hero-pad: 80px; position: relative; overflow: hidden; padding: 104px 0 var(--hero-pad); isolation: isolate; }
/* Placeholder sky: swap for a real photo via background-image on .sky */
/* Fixed sky. --t (0 = morning, 1 = sunset) is set from scroll in main.js */
/* morning (base) → golden afternoon → sunset, each layer fading in over the last */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; --t: 0;
  background: radial-gradient(90% 50% at 50% 100%, #fbfdff 0%, #fbfdff00 70%), linear-gradient(180deg, #86bde8 0%, #a9d1f0 30%, #cfe4f6 62%, #eef6fc 100%); }
.sky-l { position: absolute; inset: 0; }
.clouds { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-in { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 12px; background: #ffffffd9; border: 1px solid #00000014; border-radius: 8px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.faces { display: flex; }
.face { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 9px; font-weight: 700; box-shadow: 0 0 0 1.5px #fff; }
.face--2 { margin-left: -6px; background: var(--blue); }
.h1 { margin-top: 16px; }
.hero-sub { margin-top: 22px; font-size: 16px; line-height: 1.5; color: var(--sub); }
.btn--hero { margin-top: 26px; }
.hero-dash { position: relative; z-index: 3; width: min(760px, calc(100% - 32px)); margin: 26px auto 0; }
/* cloud bank sits in front of the dashboard, so the dashboard rises out of the clouds */
.hill { position: absolute; z-index: 4; left: 0; bottom: 0; width: 100%; height: calc(var(--hero-pad, 80px) / .57 + min(760px, 100vw - 32px) * .275); object-fit: cover; object-position: center top; pointer-events: none; user-select: none; }

/* stage: fixed-size artboard scaled to container width (JS sets --k) */
.stage { position: relative; width: 100%; height: calc(var(--h) * var(--k, 1) * 1px); }
.stage-in { position: absolute; left: 0; top: 0; width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); transform-origin: 0 0; transform: scale(var(--k, 1)); }

/* dashboard */
.dash { position: relative; width: 900px; height: 470px; border-radius: 14.4px; background: #fff9; border: .9px solid #ffffffa6; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 .9px #fffc, 0 27px 63px #0d264d29; overflow: hidden; text-align: left; }
.dash .t { position: absolute; white-space: nowrap; line-height: 1.2; }
.dash b { font-weight: 600; }
.dash .mute { color: #15161a8c; }
.dash .mute2 { color: #15161a99; }
.dash .dsec { font-size: 8.5px; font-weight: 600; color: #15161a73; text-transform: uppercase; letter-spacing: .06em; }
.dash .lab { font-size: 9.5px; font-weight: 500; color: #15161a99; }
.dash .num { letter-spacing: -.02em; }
.dash .up { font-size: 8.5px; font-weight: 600; color: var(--green); }
.dash .axis { font-size: 8px; color: #15161a73; }
.dash .hotline { font-size: 8.5px; font-weight: 600; color: var(--green); }
.dash-side { position: absolute; left: 0; top: 0; bottom: 0; width: 190px; border-right: .9px solid #15161a0f; background: #ffffff59; }
.dash-mark { position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: #fff; font-family: var(--serif); font-size: 16px; display: grid; place-items: center; }
.dash-nav { position: absolute; left: 12px; width: 166px; height: 22px; padding: 0 10px; display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 500; color: #15161ab3; border-radius: 6px; }
.dash-nav.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px #15161a14; }
.dash-share { position: absolute; height: 24px; padding: 0 10px; display: flex; align-items: center; border-radius: 6px; background: var(--ink9); color: #fff; font-size: 9px; font-weight: 600; }
.dcard { position: absolute; border-radius: 10.8px; background: #ffffffd9; border: .9px solid #ffffffa6; box-shadow: 0 3.6px 14.4px #1a33590f; }
.dcard--chart { background: #ffffffb3; }
.dcard--float { z-index: 2; background: #ffffffeb; border-color: #ffffffe6; box-shadow: 0 12.6px 30.6px #0d264d24; }
.dash .grid { position: absolute; height: 1px; background: #15161a0f; }
.dash .bar { position: absolute; width: 46px; border-radius: 5px 5px 2px 2px; background: #c9d6e8; }
.dash .bar.hot { background: var(--ink); }
.dash-tip { position: absolute; padding: 8px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 8.5px; line-height: 1.5; display: flex; flex-direction: column; box-shadow: 0 8px 20px #15161a33; }
.dash-tip b { font-size: 9px; margin-bottom: 2px; }
.dash-pct { position: absolute; padding: 2px 6px; border-radius: 10px; background: #16a34a1f; color: var(--green); font-size: 8.5px; font-weight: 700; }
.trend { position: absolute; }
.trend-dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #16a34a2e; }

/* ---------- body sections ---------- */
.body-sky { position: relative; }
.sec { position: relative; padding: 110px 0; }
.sec-in { max-width: 1280px; margin: 0 auto; padding: 0 40px; display: grid; align-items: center; column-gap: 40px; }
.sec-in--copy-left { grid-template-columns: 420px minmax(0, 1fr); }
.sec-in--copy-right { grid-template-columns: minmax(0, 1fr) 440px; }
.sec-in--top { align-items: start; }
.copy { position: relative; z-index: 2; }

/* isometric stack
   Each layer gets --i (0 = top). Closed: layers sit 22px apart; open: 120px apart.
   --p (0..1, set on #stack-stage from scroll) moves between the two. */
.stage--stack { --cb: 222; }
.stack { position: absolute; inset: 0; --x: 490; --lx: 20; --gx: 240; }
.tr { --yc: calc(var(--cb) + var(--i) * 22); --yo: calc(40 + var(--i) * 120); --y: calc(var(--yc) + (var(--yo) - var(--yc)) * var(--p, 0)); }
.layer-wrap { position: absolute; left: 0; top: 0; width: 0; height: 0; translate: calc(var(--x) * 1px) calc(var(--y) * 1px); }
.layer, .plate { position: absolute; left: 0; top: 0; width: 400px; height: 260px; transform-origin: 0 0; transform: matrix(.866, .5, -.866, .5, 0, 0); transition: translate .7s var(--ease-out), opacity .5s, border-color .5s, box-shadow .7s var(--ease-out); }
.plate { translate: 0 6px; border-radius: 10px; background: #cbdbed; border: 1px solid #1a3a5c1a; filter: blur(4px); pointer-events: none; }
.layer { border-radius: 12px; background: #fbfdfff7; border: 1px solid #1a2f4a1f; box-shadow: inset 0 1px #fff; overflow: hidden; color: var(--ink); cursor: pointer; }
.layer::after { content: ""; position: absolute; inset: 0; background: #eef5fcb3; opacity: 0; pointer-events: none; transition: opacity .5s; }
.layer-wrap.is-focus .layer { translate: 0 -18px; border-color: #1a2f4a52; box-shadow: inset 0 1px #fff, 0 26px 50px #1a3a5c2e; }
.layer-wrap.is-focus .plate { translate: 0 -12px; }
.stack.has-focus .layer-wrap:not(.is-focus) .layer::after { opacity: 1; }
.stack.has-focus .layer-wrap:not(.is-focus) .plate { opacity: .45; }
.ground { position: absolute; left: 0; top: 0; width: 760px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, #1a3a6b2e, #1a3a6b00); pointer-events: none; translate: calc(var(--gx) * 1px) calc((var(--y) + 160) * 1px); }
.stack-label { position: absolute; left: 0; top: 0; width: 239px; display: block; translate: calc(var(--lx) * 1px) calc((var(--y) + 122) * 1px); opacity: clamp(0, calc((var(--p, 0) - .5) / .35), 1); transition: opacity .4s; }
.stack.has-focus .stack-label:not(.is-focus) { opacity: calc(clamp(0, calc((var(--p, 0) - .5) / .35), 1) * .45); }
.stack-label-t { display: block; width: 196px; text-align: right; font-size: 13px; font-weight: 600; line-height: 16px; color: #15161ae6; }
.leader { position: absolute; left: 199px; top: 8px; width: 40px; border-top: 1px dashed #15161a4d; transition: border-color .3s; }
.stack-label.is-focus .leader { border-top-style: solid; border-top-color: var(--ink); }
.stack-label-d { display: block; width: 196px; margin-top: 6px; text-align: right; font-size: 12px; line-height: 1.45; color: #15161a94; opacity: 0; transform: translateY(-4px); transition: opacity .4s, transform .4s var(--ease-out); }
.stack-label.is-focus .stack-label-d { opacity: 1; transform: none; }
.legend { display: none; }

.layer .a { position: absolute; white-space: nowrap; line-height: 1.2; }
.l-t12 { font-size: 12px; } .l-t11 { font-size: 11px; } .l-t10 { font-size: 10px; }
.l-t7 { font-size: 7px; } .l-t6 { font-size: 6.3px; } .l-t5 { font-size: 5.6px; }
.l-th { font-size: 4.2px; font-weight: 600; letter-spacing: .04em; color: #15161a73; }
.semi { font-weight: 600; } .med { font-weight: 500; }
.ink50 { color: #15161a80; } .ink55 { color: #15161a8c; } .ink75 { color: #15161abf; } .ink80 { color: #15161acc; } .ink85 { color: #15161ad9; }
.green { color: var(--green); } .blue { color: var(--blue); } .amber { color: var(--amber); }
.lcard { position: absolute; background: #fffc; border: .7px solid #15161a14; border-radius: 7px; }
.lcard--hero { border-width: 1.3px; border-radius: 12.5px; }
.rule { height: 1px; background: #15161a14; }
.rule2 { height: 1px; background: #15161a0f; }
.ptile { width: 20px; height: 20px; border-radius: 4.9px; display: grid !important; place-items: center; color: #15161acc; }
.ptile .ico, .l-av .ico { width: 10px; height: 10px; }
.l-av { width: 20px; height: 20px; border-radius: 50%; display: grid !important; place-items: center; background: #e4edf8; color: #15161a99; }
.l-ico { width: 12px; height: 12px; }
.tag { width: 64px; height: 16px; display: grid !important; place-items: center; border-radius: 5px; font-size: 7px; font-weight: 600; }
.tag--green { background: #16a34a1f; color: var(--green); }
.tag--blue { background: #2563eb1a; color: var(--blue); }
.tag--orange { background: #ff4e1e1f; color: var(--orange); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }
.dot--amber { background: var(--amber); }
.tgl { width: 15px; height: 8px; border-radius: 4.2px; background: var(--green); }
.tgl::after { content: ""; position: absolute; right: 1px; top: 1px; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.app { position: absolute; width: 55px; height: 36px; border-radius: 5.6px; background: #ffffffe6; border: .7px solid #15161a14; }
.app-i { position: absolute; left: 7px; top: 7px; width: 9px; height: 9px; color: #15161ad9; }
.app-ok { position: absolute; left: 41px; top: 6px; width: 8px; height: 8px; color: var(--green); }
.app span { position: absolute; left: 7px; top: 23px; white-space: nowrap; }

/* included */
.included { padding: 48px 24px 80px; }
.included-in { max-width: 1200px; margin: 0 auto; }
.included-h { font-family: var(--serif); font-size: clamp(32px, 4vw, 44px); font-weight: 400; line-height: 1.15; margin-bottom: 28px; }
.included-note { color: var(--sub); font-size: 14px; line-height: 1.6; margin-top: 22px; }

/* funnel */
.funnel { position: absolute; inset: 0; }
.spokes { position: absolute; left: 0; top: 0; }
.spokes path { fill: none; stroke: #15161a47; stroke-width: 1; stroke-dasharray: 3 4; }
.f-table { padding: 18px 22px 8px; border-radius: 12px; font-size: 16px; }
.f-th, .f-tr { display: grid; grid-template-columns: minmax(0, 1fr) 120px 118px; column-gap: 16px; align-items: center; }
.f-th { font-size: 14px; font-weight: 600; color: #15161a80; padding-bottom: 8px; border-bottom: 1px solid #15161a14; }
.f-tr { padding: 12px 0; border-top: 1px solid #15161a0f; }

.f-tr b { font-weight: 600; }
.f-tr .mute { color: #15161a8c; }
.st { justify-self: start; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: #15161ab3; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st--on { color: #15803d; }
.st--wait { color: #a35a05; }
.f-chart { border-radius: 16px; }
.f-chart-h { position: absolute; left: 24px; top: 20px; display: flex; gap: 10px; align-items: baseline; }
.f-chart-h b { font-size: 20px; font-weight: 600; }
.f-chart-h span { font-size: 16px; color: #15161a80; }
.f-grid { position: absolute; left: 24px; right: 24px; height: 1px; background: #15161a0f; }
.f-line { position: absolute; left: 0; top: 0; }
.f-stroke { stroke-dasharray: 1200; stroke-dashoffset: 1200; vector-effect: non-scaling-stroke; }
.is-live .f-stroke { animation: draw 2.2s var(--ease-out) .3s forwards; }
.f-end { position: absolute; width: 9px; height: 9px; margin-right: -4.5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px #2563eb26; }
.f-x { position: absolute; top: 222px; font-size: 17px; font-weight: 500; color: #15161ab3; }
.f-foot { position: absolute; right: 24px; top: 24px; font-size: 15px; color: #15161a80; }
.src-tile { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; }
.hub-tile { position: absolute; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 18px; background: var(--ink9); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 34px; box-shadow: 0 12px 28px #15161a40; }

/* results */
.rate { position: absolute; inset: 0; }
.rate > * { position: absolute; }
.eyebrow-s { font-size: 13px; font-weight: 600; color: #15161a99; }
.rate-big { font-weight: 600; line-height: 1; letter-spacing: -.06em; white-space: nowrap; }
.rate-per { font-size: 18px; line-height: 1.2; color: #15161aa6; }
.rate-saved { font-size: 16px; font-weight: 600; line-height: 1.2; color: var(--green); }
.payouts { padding: 16px 18px 14px; border-radius: 14px; }
.po-h { display: flex; justify-content: space-between; font-size: 12px; color: #15161a80; margin-bottom: 8px; }
.po-h b { font-size: 15px; color: var(--ink); font-weight: 600; }
.po-r { display: flex; justify-content: space-between; align-items: center; height: 36px; border-top: 1px solid #15161a0f; font-size: 13px; color: #15161ab3; }
.po-a { font-weight: 600; color: var(--ink); }
.po-f { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--blue); }

/* timeline */

/* client pile */
.pile { position: absolute; inset: 0; }
.tool { position: absolute; width: 208px; height: 104px; padding: 16px; border-radius: 16px; rotate: var(--r); border: 1px solid transparent; background: linear-gradient(180deg, #fffffff7, #f3f6faf7) padding-box, linear-gradient(160deg, #fff, #15161a24) border-box; box-shadow: var(--card-shadow); transition: rotate .6s var(--ease-out), translate .6s var(--ease-out); opacity: 0; }
.tool:hover { rotate: 0deg; translate: 0 -3px; }
.is-live .tool { opacity: 1; animation: fly-in 1.5s var(--ease-out) var(--d, 0ms) backwards; }
.tool-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--c); color: #fff; font-weight: 700; font-size: 16px; box-shadow: inset 0 1px #ffffff47, 0 4px 10px color-mix(in srgb, var(--c) 28%, transparent); }
.tool-n { position: absolute; left: 16px; top: 62px; font-size: 15px; font-weight: 600; }
.tool-p { position: absolute; left: 16px; top: 82px; font-size: 12.5px; color: #15161a8c; }
.tool-x { position: absolute; right: 16px; top: 18px; font-size: 12px; font-weight: 600; color: var(--sub); }
.hub-card { position: absolute; width: 300px; height: 200px; padding: 18px 20px; border-radius: 18px; background: var(--ink9); color: #fff; box-shadow: 0 20px 40px #15161a40; overflow: hidden; opacity: 0; }
.is-live .hub-card { opacity: 1; animation: pop-in 1.3s var(--ease-out) .7s backwards; }
.wc-ico { position: absolute; left: 20px; top: 18px; width: 34px; height: 34px; border-radius: 9px; background: #fff; color: var(--ink9); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; }
.wc-n { position: absolute; left: 64px; top: 18px; font-size: 15px; font-weight: 600; }
.wc-p { position: absolute; left: 64px; top: 38px; font-size: 12px; color: #ffffff8c; }
.wc-pill { position: absolute; right: 18px; top: 22px; padding: 3px 8px; border-radius: 10px; background: #ffffff1f; font-size: 11.5px; font-weight: 600; }
.wc-big { position: absolute; left: 20px; top: 74px; font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.02em; }
.wc-was { position: absolute; left: 20px; top: 118px; font-size: 14px; color: #ffffffb3; }
.wc-pct { position: absolute; left: 20px; top: 140px; font-size: 14px; color: #ffffffb3; }

/* system panel */
.sec--panel { padding: 56px 80px; }
.panel { position: relative; max-width: 1280px; margin: 0 auto; padding: 44px 40px 40px; border-radius: 24px; border: 1px solid transparent; background: linear-gradient(180deg, #ffffffe6, #f1f5fbe6) padding-box, linear-gradient(160deg, #fff, #15161a29) border-box; box-shadow: inset 0 1px #fffffff2, 0 1px 2px #15161a0d, 0 12px 28px -6px #15161a14; overflow: clip; }
.panel-head { display: grid; grid-template-columns: 560px minmax(0, 520px); column-gap: 80px; align-items: end; }
.panel-head .body { margin-top: 0; max-width: none; }
.idx { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--orange); padding-top: 3px; }

/* orbit */
.orbit { position: relative; width: 560px; height: 560px; }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid #15161a38; }
.ring--outer { width: 540px; height: 540px; margin: -270px 0 0 -270px; animation: spin 80s linear infinite; }
.ring--inner { width: 320px; height: 320px; margin: -160px 0 0 -160px; animation: spin 55s linear infinite reverse; }
.orb-tile { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a))); }
.orb-card { inset: 0; display: grid; place-items: center; border-radius: 14px; overflow: visible; transition: scale .5s var(--ease-out); }
.ring--outer .orb-card { animation: spin 80s linear infinite reverse; }
.ring--inner .orb-card { animation: spin 55s linear infinite; }
.orb-card:hover { scale: 1.06; }
.orb-tip { position: absolute; left: 50%; top: calc(100% + 8px); translate: -50% 0; padding: 4px 8px; border-radius: 6px; background: var(--ink9); color: #fff; font-size: 10.5px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.orb-card:hover .orb-tip { opacity: 1; }
.orb-hub { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 22px; background: var(--ink9); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 42px; box-shadow: 0 16px 36px #15161a40; }

/* footer */
/* footer: the sunset fades into it from the top; a thin gradient rule and a faint oversized mark do the rest */
.footer { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #f4f9fd00 0, #f4f9fdb3 140px, #f4f9fd 300px); }
.f-watermark { position: absolute; z-index: -1; right: -6%; bottom: -14%; width: min(760px, 70vw); color: var(--ink9); opacity: .045; pointer-events: none; }
.footer-in { max-width: 1440px; margin: 0 auto; padding: 0 120px 32px; }
.f-cta { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 72px 0 56px; }
.f-cta .body { margin: 16px 0 28px; }
.f-cols { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 56px 0 42px; border-bottom: 1px solid #15161a14; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col b { margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.f-col a { width: fit-content; font-size: 13px; color: #15161a99; transition: color .2s; }
.f-col a:hover { color: var(--ink); }
.f-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 40px 0; }
.f-bottom p { max-width: 460px; font-size: 13px; line-height: 1.6; color: #15161a99; }
.f-legal { display: flex; justify-content: space-between; font-size: 12px; color: #15161a80; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .stage--stack { --cb: 40; height: calc((496 + 294 * var(--p, 0)) * var(--k, 1) * 1px); }
  .stack { --x: 240; --gx: -10; }
  .stack-label { display: none; }
  .legend { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; margin-top: 16px; }
  .legend-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; text-align: left; font-size: 13px; font-weight: 500; color: #15161ac7; transition: color .3s; }
  .legend-item.is-focus { color: var(--ink); font-weight: 600; }
  .nav-in { padding: 0 32px; }
  .nav-link { right: 24px; }
  .h1 { font-size: clamp(36px, 5.8vw, 54px); }
  .hero-sub span { display: inline; }
  .hero-sub { max-width: 620px; }
  .h2 { font-size: 40px; }
  .sec { padding: 72px 0; }
  .sec-in, .sec-in--copy-left, .sec-in--copy-right { grid-template-columns: 1fr; row-gap: 32px; max-width: 768px; padding: 0 32px; }
  .sec-in--copy-right .copy { order: -1; }
  .sec--panel { padding: 40px 24px; }
  .panel-head { grid-template-columns: 1fr; row-gap: 20px; }
  .footer-in { max-width: 768px; padding: 0 40px 40px; }
  .f-cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
@media (max-width: 599px) {
  .nav-in { height: 68px; padding: 0 20px; justify-content: flex-start; }
  .logo { font-size: 24px; }
  .hero { --hero-pad: 48px; padding: 104px 0 var(--hero-pad); }
  .h1 { font-size: 36px; }
  .h1 span { display: inline; }
  .hero-sub { font-size: 16px; }
  .btn--hero { width: 100%; height: 52px; }
  .hero-dash { margin-top: 28px; }
  .h2, .h2--36 { font-size: 34px; }
  .h2 span { display: inline; }
  .h2 span + span::before { content: " "; }
  .sec-in, .sec-in--copy-left, .sec-in--copy-right { padding: 0 20px; }
  .included { padding: 32px 20px 56px; }
  .panel { padding: 32px 20px 24px; }
  .footer-in { padding: 0 20px 32px; }
  .f-cols { grid-template-columns: 1fr; }
  .f-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .f-legal { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .f-stroke { stroke-dashoffset: 0; }
}
.stage--clip { overflow: hidden; }


/* Decorative overflow (dot grids, stack shadow) must never widen the page on phones */
main { overflow-x: clip; }
@media (max-width: 1099px) { .stack .ground { width: 560px; --gx: 20; } }

/* Section frames: each section sits on its own soft panel so the sky shows only in the gutters */
.sec, .included { position: relative; isolation: isolate; }
.sec:not(.sec--panel)::before, .included::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: 10px max(16px, calc((100% - 1360px) / 2));
  border-radius: 28px;
  background: #f4f9fd4d;
  border: 1px solid #ffffff73;
  box-shadow: inset 0 1px #ffffff59, 0 18px 40px -24px #1a3a5c40;
  transition: background .8s, border-color .8s;
}
.included { padding-top: 72px; padding-bottom: 88px; }
.included-in { padding: 0 40px; }
@media (max-width: 599px) {
  .sec:not(.sec--panel)::before, .included::before { inset: 6px 8px; border-radius: 20px; }
  .included-in { padding: 0 8px; }
}

/* proof strip */
.proof { position: relative; isolation: isolate; padding: 34px 0; }
.proof::before { content: ""; position: absolute; z-index: -1; inset: 10px max(16px, calc((100% - 1360px) / 2)); border-radius: 28px; background: #ffffffd9; border: 1px solid #ffffffa6; box-shadow: inset 0 1px #fff, 0 18px 40px -24px #1a3a5c40; }
.proof-in { list-style: none; padding: 0 40px; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-in li { padding: 18px 28px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid #15161a14; }
.proof-in li:first-child { border-left: 0; padding-left: 0; }
.proof-in b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -.02em; color: var(--ink9); font-variant-numeric: lining-nums tabular-nums; }
.proof-in span { font-size: 13px; line-height: 1.45; color: var(--sub); }

/* sticky system */
.sys { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 80px; margin-top: 56px; }
.sys-nav { position: sticky; top: 110px; align-self: start; padding-left: 20px; }
.sys-track { position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: #15161a14; }
/* the bar runs gold → orange → rose → plum; the gradient is sized to the full track so colours stay put as it fills */
.sys-fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--sp, .1) * 100%); border-radius: 3px;
  background: linear-gradient(180deg, #ffb347 0%, #ff7a2e 30%, #ff4e1e 50%, #d9466a 75%, #6b4a9e 100%) top / 100% calc(100% / var(--sp, .1)) no-repeat;
  transition: height .5s var(--ease-out), background-size .5s var(--ease-out); }
.sys-nav ol { display: flex; flex-direction: column; }
.sys-nav-item { display: flex; align-items: baseline; gap: 12px; padding: 7px 0; font-size: 14px; color: #15161a80; transition: color .3s; }
.sys-nav-item:hover { color: var(--ink); }
.sys-nav-item.is-active { color: var(--ink); font-weight: 600; }
.sys-steps { display: flex; flex-direction: column; }
.sys-step { min-height: 34vh; padding: 6px 0 44px; border-bottom: 1px solid #15161a14; opacity: .35; transition: opacity .5s var(--ease-out); scroll-margin-top: 110px; }
.sys-step + .sys-step { padding-top: 40px; }
.sys-step:last-child { border-bottom: 0; min-height: 0; }
.sys-step.is-active { opacity: 1; }
.sys-n { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--orange); }
.sys-step h3 { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; }
.sys-step p { margin-top: 14px; max-width: 540px; font-size: 15.5px; line-height: 1.65; color: var(--body); }

/* best fit / not a fit */
.fit { max-width: 1280px; margin: 64px auto 0; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fit-col { padding: 28px 28px 24px; border-radius: 18px; }
.fit-col h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.fit-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; }
.fit-col li { position: relative; padding: 11px 0 11px 28px; border-top: 1px solid #15161a0f; font-size: 14.5px; line-height: 1.5; color: var(--body); }
.fit-col li::before { content: ""; position: absolute; left: 0; top: 14px; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.fit-col--yes li::before { color: var(--green); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }
.fit-col--no li { color: #15161ab3; }
.fit-col--no li::before { color: #15161a59; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E"); }

@media (max-width: 1099px) {
  .proof-in { grid-template-columns: 1fr 1fr; padding: 0 32px; row-gap: 8px; }
  .proof-in li:nth-child(3) { border-left: 0; padding-left: 0; }
  .sys { grid-template-columns: 1fr; margin-top: 32px; }
  .sys-nav { display: none; }
  .sys-step { min-height: 0; opacity: 1; padding-bottom: 28px; }
  .sys-step + .sys-step { padding-top: 24px; }
  .sys-step h3 { font-size: 26px; }
  .fit { grid-template-columns: 1fr; padding: 0 32px; margin-top: 40px; }
}
@media (max-width: 599px) {
  .proof { padding: 22px 0; }
  .proof::before { inset: 6px 8px; border-radius: 20px; }
  .proof-in { padding: 0 24px; }
  .proof-in li { padding: 12px 14px; }
  .proof-in b { font-size: 30px; }
  .proof-in span { font-size: 12px; }
  .fit { padding: 0 20px; }
  .fit-col { padding: 22px 20px 18px; }
}

/* proof count-up: the word stat rises in while the numbers count */
.hero-stats.is-counting .proof-word { animation: rise 1.1s var(--ease-out) .35s backwards; }

/* Content cards: warm frosted glass to match the section panels (tint only, no live blur) */
.included-item, .fit-col {
  background: linear-gradient(180deg, #ffffffb8, #f5f9fda6);
  border: 1px solid #ffffffb3;
  box-shadow: inset 0 1px #ffffffcc, 0 10px 28px -16px #1a3a5c40;
  transition: background .8s, border-color .8s;
}


/* Funnel on phones: drop the side tiles, stack the inbox over the chart on a 600px artboard */
@media (max-width: 599px) {
  .stage--funnel .src-tile, .stage--funnel .hub-tile, .stage--funnel .spokes { display: none; }
  .stage--funnel .f-table { left: 0 !important; top: 0 !important; width: 600px !important; }
  .stage--funnel .f-x--minor { display: none; }
  .stage--funnel .f-x { font-size: 21px; top: 216px; }
  .stage--funnel .f-chart { left: 0 !important; width: 600px !important; }
  .stage--funnel .f-chart-h b { font-size: 24px; }
  .stage--funnel .f-chart-h span { font-size: 19px; }
  .stage--funnel .f-foot { display: none; }
  .stage--funnel .f-line { width: 600px; }
}

/* step numbers take the bar colour at their position */
.sys-nav li:nth-child(1) .idx { color: #a8702c; }
.sys-nav li:nth-child(2) .idx { color: #b86c2a; }
.sys-nav li:nth-child(3) .idx { color: #c26426; }
.sys-nav li:nth-child(4) .idx { color: #d15b22; }
.sys-nav li:nth-child(5) .idx { color: #e04e1e; }
.sys-nav li:nth-child(6) .idx { color: #e34629; }
.sys-nav li:nth-child(7) .idx { color: #e3484a; }
.sys-nav li:nth-child(8) .idx { color: #d9466a; }
.sys-nav li:nth-child(9) .idx { color: #ad487f; }
.sys-nav li:nth-child(10) .idx { color: #814994; }

/* brand mark (the S logo) as a mask, so it takes the colour of its context */
.brand-mark { display: block; aspect-ratio: 1149 / 625; background: currentColor; -webkit-mask: url("img/logo-mark.png") center / contain no-repeat; mask: url("img/logo-mark.png") center / contain no-repeat; }
.nav-mark { position: absolute; left: 40px; top: 50%; translate: 0 -50%; display: block; padding: 6px; margin-left: -6px; color: var(--ink9); transition: color .6s, opacity .2s; }
.nav-mark .brand-mark { width: 54px; }
.nav-mark:hover { opacity: .75; }
.dash-mark { color: #fff; }
.dash-mark .brand-mark { width: 19px; }
.hub-tile .brand-mark { width: 46px; color: #fff; }
.wc-ico .brand-mark { width: 24px; color: var(--ink9); }
.orb-hub .brand-mark { width: 56px; color: #fff; }
@media (max-width: 1099px) { .nav-mark { left: 32px; } }
@media (max-width: 599px) {
  .nav-mark { position: static; translate: none; margin: 0 10px 0 -6px; }
  .nav-mark .brand-mark { width: 44px; }
}

/* clouds drift slowly side to side; transform-only so it stays on the GPU and costs nothing per frame */
.cloud-drift { position: absolute; inset: 0 -4%; will-change: transform; animation: drift 46s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-1.6%, 0, 0); } to { transform: translate3d(1.6%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .cloud-drift { animation: none; } }

.f-cols::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #ffb347, #ff7a2e 30%, #ff4e1e 50%, #d9466a 75%, #6b4a9e); opacity: .85; }
.f-brand { display: inline-flex; align-items: center; gap: 14px; transition: opacity .2s; }
.f-brand:hover { opacity: .75; }
.f-brand .brand-mark { width: 62px; color: var(--ink9); }
.f-brand .logo:hover { opacity: 1; }
@media (max-width: 599px) {
  .f-watermark { width: 120vw; right: -30%; bottom: -6%; }
  .f-brand .brand-mark { width: 50px; }
}

/* ---------- strategy: vertical stepper (real text, never scaled) ---------- */
.stepper { position: relative; list-style: none; padding: 6px 0 6px 0; display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.stepper::before, .stepper::after { content: ""; position: absolute; left: 19px; top: 34px; bottom: 34px; width: 2px; border-radius: 2px; }
.stepper::before { background: #15161a14; }
/* fill follows scroll both ways (main.js sets --fill, eased) */
.stepper::after { background: linear-gradient(180deg, #ffb347, #ff7a2e 40%, #ff4e1e 70%, #d9466a); transform-origin: top; transform: scaleY(var(--fill, 0)); }
.sp { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 128px; align-items: center; column-gap: 18px; padding: 18px 22px 18px 0; border-radius: 18px; opacity: 0; }
.stepper.is-live .sp { opacity: 1; animation: rise 1s var(--ease-out) var(--d, 0ms) backwards; }
.sp-node { justify-self: center; position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 0 0 5px #fff8f2cc; }
.sp--loop .sp-node { background: var(--orange); }
.sp-body { display: flex; flex-direction: column; gap: 3px; padding: 16px 20px; border-radius: 16px; background: linear-gradient(180deg, #ffffffd9, #f5f9fdc7); border: 1px solid #ffffffb3; box-shadow: inset 0 1px #ffffffcc, 0 10px 28px -18px #1a3a5c40; }
.sp-k { font-size: 12px; font-weight: 700; letter-spacing: .03em; color: #c4501f; }
.sp-body b { font-size: 18px; font-weight: 600; line-height: 1.3; }
.sp-d { font-size: 14.5px; line-height: 1.55; color: var(--sub); }
.sp-tag { justify-self: start; padding: 6px 12px; border-radius: 999px; background: #ffffffb3; border: 1px solid #15161a14; font-size: 12.5px; font-weight: 600; color: #15161ab3; white-space: nowrap; }
.sp-tag--loop { display: inline-flex; align-items: center; gap: 6px; background: var(--ink9); border-color: var(--ink9); color: #fff; }
.sp-tag--loop::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E") center / contain no-repeat; }

@media (max-width: 1099px) {
}
@media (max-width: 599px) {
  .sp { grid-template-columns: 40px minmax(0, 1fr); row-gap: 8px; padding-right: 0; }
  .sp-tag { grid-column: 2; justify-self: start; }
  .stepper::before, .stepper::after { top: 30px; bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) { .stepper::after { transform: none; } .sp { opacity: 1; } }

/* results on phones: number above, the "more results" card below it, on a narrower artboard */
@media (max-width: 599px) {
  .stage--results .rate-big { top: 34px !important; font-size: 150px !important; }
  .stage--results .rate-per { top: 196px !important; font-size: 20px; }
  .stage--results .rate-saved { top: 230px !important; font-size: 18px; }
  .stage--results .payouts { left: 0 !important; top: 278px !important; width: 420px !important; }
}

.f-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.f-top b { font-size: 18px; font-weight: 600; }
.f-top span { font-size: 14px; color: #15161a8c; }
.f-th { padding-bottom: 8px; font-size: 13px; font-weight: 500; color: #15161a80; border-bottom: 0; }
.f-tr b { display: flex; flex-direction: column; gap: 2px; font-weight: 600; line-height: 1.3; }
.f-tr b small { font-size: 13px; font-weight: 400; color: #15161a8c; }
@media (max-width: 599px) {
  .stage--funnel .f-table { font-size: 20px; }
  .stage--funnel .f-th, .stage--funnel .f-tr { grid-template-columns: minmax(0, 1fr) 150px; }
  .stage--funnel .f-th > :nth-child(2), .stage--funnel .f-tr > :nth-child(2) { display: none; }
  .stage--funnel .f-tr b small { font-size: 16px; }
  .stage--funnel .st { font-size: 17px; }
  .stage--funnel .f-top b { font-size: 22px; } .stage--funnel .f-top span { font-size: 17px; }
  .stage--funnel .f-chart { top: 340px !important; }
}

/* hover: no movement, just a firmer edge and a slightly closer shadow */
.fit-col, .sp-body, .card { transition: border-color .25s ease, box-shadow .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .fit-col:hover, .sp-body:hover { border-color: #15161a2e; box-shadow: inset 0 1px #ffffffcc, 0 6px 16px -10px #1a3a5c40; }
  .card.f-table:hover, .card.f-chart:hover, .card.payouts:hover, .card.src-tile:hover { border-color: #15161a33; box-shadow: 0 1px 2px #15161a0f, 0 4px 12px -8px #1a3a5c40; }
}
.orb-card { transition: scale .5s var(--ease-out), translate .35s var(--ease-out), box-shadow .35s var(--ease-out); }

/* what's included: the original five-card row */
.included-h { margin-bottom: 28px; }
.included-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.included-item { padding: 24px 20px; border-radius: 18px; }
.included-n { display: block; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 22px; }
.included-item h3 { font-size: 16px; line-height: 1.4; font-weight: 600; margin-bottom: 10px; }
.included-item p { color: var(--sub); font-size: 14px; line-height: 1.65; }
.included-note { margin-top: 22px; }
.included-item { transition: border-color .25s ease, box-shadow .25s ease; }
@media (hover: hover) and (pointer: fine) { .included-item:hover { border-color: #15161a2e; box-shadow: inset 0 1px #ffffffcc, 0 6px 16px -10px #1a3a5c40; } }
@media (max-width: 1099px) { .included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .included-item:last-child { grid-column: 1 / -1; } }
@media (max-width: 599px) { .included-grid { grid-template-columns: 1fr; gap: 10px; } .included-item { padding: 20px; } .included-n { margin-bottom: 12px; } }

/* big step numbers match the bar colour at their step */
.sys-step:nth-child(1) .sys-n { color: #a8702c; }
.sys-step:nth-child(2) .sys-n { color: #b86c2a; }
.sys-step:nth-child(3) .sys-n { color: #c26426; }
.sys-step:nth-child(4) .sys-n { color: #d15b22; }
.sys-step:nth-child(5) .sys-n { color: #e04e1e; }
.sys-step:nth-child(6) .sys-n { color: #e34629; }
.sys-step:nth-child(7) .sys-n { color: #e3484a; }
.sys-step:nth-child(8) .sys-n { color: #d9466a; }
.sys-step:nth-child(9) .sys-n { color: #ad487f; }
.sys-step:nth-child(10) .sys-n { color: #814994; }

/* 4-part system: numbers sampled at quarter points of the bar */
.sys-nav li:nth-child(1) .idx, .sys-step:nth-child(1) .sys-n { color: #b26c2b; }
.sys-nav li:nth-child(2) .idx, .sys-step:nth-child(2) .sys-n { color: #d15721; }
.sys-nav li:nth-child(3) .idx, .sys-step:nth-child(3) .sys-n { color: #e34741; }
.sys-nav li:nth-child(4) .idx, .sys-step:nth-child(4) .sys-n { color: #a24884; }
.sys-step { min-height: 40vh; }
.sys-step ul { list-style: none; padding: 0; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.sys-step li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.6; color: var(--body); }
.sys-step li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; }
.sys-step li b { font-weight: 600; color: var(--ink); }

/* hero: combined results, the second thing you read */
.hero-stats { list-style: none; padding: 0; margin-top: 30px; display: flex; justify-content: center; }
.hero-stats li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 32px; }
.hero-stats li + li { border-left: 1px solid #15161a26; }
.hero-stats b { font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 1.05; letter-spacing: -.02em; color: var(--ink9); font-variant-numeric: lining-nums tabular-nums; }
.hero-stats span { font-size: 14px; font-weight: 500; color: var(--sub); }

/* individual client results */
.res { grid-template-columns: 420px minmax(0, 1fr); }
.res-grid { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.res-card, .fd { border-radius: 20px; background: linear-gradient(180deg, #ffffffd9, #f5f9fdc7); border: 1px solid #ffffffb3; box-shadow: inset 0 1px #ffffffcc, 0 10px 28px -16px #1a3a5c40; }
.res-card.reveal, .fd.reveal { transition: opacity .9s var(--ease-out) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms), border-color .25s ease, box-shadow .25s ease; }
.res-card { display: flex; flex-direction: column; padding: 30px 28px 28px; }
.res-who { font-size: 14px; font-weight: 600; color: #c4501f; }
.res-num { margin-top: 18px; font-family: var(--serif); font-weight: 400; font-size: 96px; line-height: .95; letter-spacing: -.03em; color: var(--ink9); }
.res-when { margin-top: 10px; font-size: 16px; color: var(--sub); }

/* founders */
.founders { grid-template-columns: 420px minmax(0, 1fr); }
.fd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fd { padding: 28px; }
.fd-photo { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--ink9); color: #fff; font-family: var(--serif); font-size: 40px; margin-bottom: 20px; }
.fd-photo--2 { background: #2563eb; }
.fd h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; }
.fd-role { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: #c4501f; }
.fd p { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--sub); }
@media (hover: hover) and (pointer: fine) { .res-card:hover, .fd:hover { border-color: #15161a2e; box-shadow: inset 0 1px #ffffffcc, 0 6px 16px -10px #1a3a5c40; } }

.sec-in--fit { grid-template-columns: 1fr; }
#fit .fit { margin-top: 32px; }

@media (max-width: 1099px) {
  .res, .founders { grid-template-columns: 1fr; row-gap: 32px; }
  .hero-stats b { font-size: 42px; }
}
@media (max-width: 599px) {
  .hero-stats li { padding: 0 18px; }
  .hero-stats b { font-size: 32px; }
  .hero-stats span { font-size: 12.5px; }
  .res-grid, .fd-grid { grid-template-columns: 1fr; }
  .res-num { font-size: 72px; }
}
.fd-x { color: inherit; text-decoration: underline; text-decoration-color: #c4501f66; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.fd-x:hover { text-decoration-color: currentColor; }

/* headings that now stand alone */
.copy > .h2 + .text-link { margin-top: 28px; }
.panel-head:not(:has(.body)) { grid-template-columns: 1fr; }
/* fade the base of the cloud bank so it melts into the sky instead of ending in a white band */
.hill { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); }
/* the dashboard dissolves into the cloud bank instead of showing its bottom edge under it */
.hero-dash .stage { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 86%); mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 86%); }

/* viral posts: masonry grid of screenshots (CSS columns, like the 21st.dev MasonryGrid) */
.viral { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.shots { list-style: none; padding: 0; margin-top: 36px; column-count: 4; column-gap: 14px; }
.shot { break-inside: avoid; margin-bottom: 14px; }
.shot.reveal { transition: opacity .7s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms); }
.shot figure { margin: 0; border-radius: 16px; overflow: hidden; background: #fffdfa; border: 1px solid #15161a17; box-shadow: 0 1px 2px #15161a0a, 0 8px 24px -12px #1a3a5c2e; transition: border-color .25s ease, box-shadow .25s ease; }
.shot-img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px 12px; font-size: 13.5px; font-weight: 600; color: var(--sub); }
.shot-img--empty { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #15161a08 0 10px, transparent 10px 20px), #f7f3ee; color: #15161a59; font-size: 13px; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .shot figure:hover { border-color: #15161a33; box-shadow: 0 1px 2px #15161a0f, 0 6px 16px -10px #1a3a5c40; } }
@media (max-width: 1279px) { .shots { column-count: 3; } }
@media (max-width: 1023px) { .shots { column-count: 2; } .viral { padding: 0 32px; } }
@media (max-width: 639px) { .shots { column-count: 1; } .viral { padding: 0 20px; } }

/* real screenshots: the frame takes each image's own shape (width/height attributes keep the ratio while loading) */
.shot-img { display: block; width: 100%; height: auto; background: #0a0a0a; }
.shot figure { background: #0a0a0a; border-color: #15161a26; }
.shot figcaption { background: #fffdfa; border-top: 1px solid #15161a14; }
.shot-stats { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; background: #0a0a0a; }
.shot-stats img { display: block; width: 100%; height: auto; }
.res-num { font-variant-numeric: lining-nums; }

/* viral posts: stacking cards. Every card has the same frame, so different-shaped
   screenshots still stack evenly; each image sits inside uncropped (contain) on X's dark background. */
.sc-wrap { --frame-h: min(440px, 62vw); --cap-h: 54px; position: relative; margin-top: 40px; }
.sc { position: sticky; top: calc(108px + var(--i) * 12px); display: flex; justify-content: center; margin-bottom: 22vh; }
.sc:last-child { margin-bottom: 0; }
.sc-card { width: min(680px, 100%); border-radius: 22px; overflow: hidden; background: #0a0a0a; border: 1px solid #15161a33; box-shadow: 0 2px 4px #15161a14, 0 24px 48px -24px #1a3a5c66; transform-origin: 50% 0; transform: scale(var(--s, 1)); will-change: transform; }
.sc-frame { height: var(--frame-h); display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden; }
.sc-frame > img { min-width: 0; min-height: 0; }
.sc-frame > img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sc-strips { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 100%; max-width: 560px; height: 100%; }
.sc-strips img { display: block; width: 100%; height: auto; max-height: calc((100% - 36px) / 10); min-height: 0; flex: 0 1 auto; object-fit: contain; object-position: left center; }
.sc-cap { height: var(--cap-h); line-height: var(--cap-h); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 22px; background: #fffdfa; border-top: 1px solid #15161a14; font-size: 15px; font-weight: 600; color: var(--sub); }
@media (max-width: 599px) {
  .sc-wrap { --frame-h: 300px; --cap-h: 50px; }
  .sc { top: calc(84px + var(--i) * 8px); margin-bottom: 18vh; }
  .sc-frame { padding: 12px; }
  .sc-cap { font-size: 13.5px; padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { .sc-card { transform: none; } }
img.fd-photo { display: block; object-fit: cover; object-position: 50% 50%; box-shadow: 0 0 0 3px #fffdfa, 0 6px 16px -8px #1a3a5c59; }
#viral { padding-bottom: 24px; }
/* give the layer stack more room on laptops: narrower copy column, trimmed canvas (main.js uses 850) */
@media (min-width: 1100px) { #services .sec-in { grid-template-columns: 320px minmax(0, 1fr); column-gap: 24px; } }
/* a short hold at the end so the last card settles onto the stack before the section scrolls away */
.sc-wrap { padding-bottom: 16vh; }
/* spacing between stacked cards is a flex gap, not a margin: a sticky card's margin counts as part
   of it, which pushed earlier cards off-screen ~200px too early and stopped the last card stacking */
.sc-wrap { display: flex; flex-direction: column; row-gap: 22vh; padding-bottom: 0; }
.sc, .sc:last-child { margin-bottom: 0; }
.sc-wrap::after { content: ""; height: 14vh; flex: none; margin-top: -22vh; }
@media (max-width: 599px) { .sc-wrap { row-gap: 18vh; } .sc-wrap::after { margin-top: -18vh; } }
/* "Run by" pill: verified badge beside the names, Yuva's photo in the face stack */
.badge-txt { display: inline-flex; align-items: center; gap: 5px; }
.verified { width: 15px; height: 15px; flex: none; }
.face--img { display: block; object-fit: cover; padding: 0; }
/* "Posts we wrote": thinner panel tint so the clouds behind show through */
#viral::before { background: #fff8f214; border-color: #ffffff59; }
/* stacking cards: the big number leads, the screenshot is the proof under it */
.sc-head { display: flex; align-items: baseline; gap: 14px; padding: 18px 24px 16px; background: #fffdfa; border-bottom: 1px solid #15161a14; }
.sc-big { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -.02em; color: var(--ink9); font-variant-numeric: lining-nums tabular-nums; }
.sc-head span { font-size: 15px; font-weight: 500; color: var(--sub); }
@media (max-width: 599px) { .sc-head { flex-direction: column; gap: 6px; padding: 14px 16px 12px; } .sc-big { font-size: 34px; } .sc-head span { font-size: 13.5px; } }
.sc-big { font-variant-numeric: lining-nums; }

/* Book a call buttons: frosted glass at rest, fades into the solid black button on hover (no movement) */
.btn {
  background: #ffffff59; color: var(--ink9);
  border: 1px solid #ffffffb3;
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px #ffffffcc, 0 8px 24px -12px #1a3a5c40;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.btn:hover, .btn:focus-visible { background: var(--ink9); color: #fff; border-color: var(--ink9); box-shadow: 0 6px 16px #0000002e; transform: none; }
.btn:active { transform: none; }
.f-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #15161a40; }
.f-legal a:hover { text-decoration-color: currentColor; }

/* privacy policy page */
.legal-page { background: linear-gradient(180deg, #cfe2f4 0, #eef6fc 340px, #fbf8f4 100%); min-height: 100vh; }
.legal { max-width: 680px; margin: 0 auto; padding: 140px 24px 72px; }
.legal .h2 { font-size: 48px; }
.legal-date { margin-top: 10px; font-size: 14px; color: #15161a80; }
.legal h2 { margin-top: 40px; font-size: 19px; font-weight: 600; }
.legal p { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--body); }
.legal a { color: var(--ink9); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #15161a4d; }
.legal a:hover { text-decoration-color: currentColor; }
.legal-back { margin-top: 48px !important; }
.legal-foot { padding-top: 28px; background: transparent; }
@media (max-width: 599px) { .legal { padding-top: 112px; } .legal .h2 { font-size: 36px; } }

/* client result cards are links to their case studies */
.res-grid { grid-template-columns: 1fr 1fr; }
.res-card { padding: 0; }
.res-link { display: flex; flex-direction: column; height: 100%; padding: 30px 28px 26px; color: inherit; }
.res-extra { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--ink9); }
.res-more { margin-top: auto; padding-top: 22px; font-size: 14px; font-weight: 600; color: #c4501f; }
.res-more span { display: inline-block; transition: transform .25s ease; }
@media (hover: hover) and (pointer: fine) { .res-link:hover .res-more span { transform: translateX(3px); } }
.res-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 20px; }

/* case study pages */
.cs { max-width: 900px; margin: 0 auto; padding: 128px 24px 40px; }
.cs-back { display: inline-flex; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sub); }
.cs-back:hover { color: var(--ink9); }
.cs-client { margin-top: 36px; font-size: 15px; font-weight: 600; color: #c4501f; }
.cs-h1 { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.06; letter-spacing: -.02em; color: var(--ink9); text-wrap: balance; }
.cs-sub { margin-top: 18px; max-width: 620px; font-size: 18px; line-height: 1.55; color: var(--sub); }
.cs-stats { list-style: none; padding: 0; margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.cs-stats li { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 22px; border-radius: 20px; background: linear-gradient(180deg, #ffffffd9, #f5f9fdc7); border: 1px solid #ffffffb3; box-shadow: inset 0 1px #ffffffcc, 0 10px 28px -16px #1a3a5c40; }
.cs-stats b { font-family: var(--serif); font-weight: 400; font-size: 72px; line-height: 1; letter-spacing: -.03em; color: var(--ink9); font-variant-numeric: lining-nums; }
.cs-stats span { font-size: 15px; color: var(--sub); }
.cs-info { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-radius: 20px; background: #ffffff8c; border: 1px solid #ffffffb3; }
.cs-info div { padding: 18px 22px; }
.cs-info div + div { border-left: 1px solid #15161a14; }
.cs-info dt { font-size: 13px; font-weight: 600; color: #15161a80; }
.cs-info dd { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ink9); }
.cs-info a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #15161a4d; }
.cs-block { margin-top: 56px; padding-top: 28px; border-top: 1px solid #15161a1f; }
.cs-k { display: block; font-size: 13px; font-weight: 700; letter-spacing: .03em; color: #c4501f; }
.cs-h2 { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.15; letter-spacing: -.02em; color: var(--ink9); }
.cs-todo { margin-top: 14px; padding: 16px 18px; border: 1px dashed #15161a33; border-radius: 14px; font-size: 15px; color: #15161a80; }
.cs-cta { margin-top: 72px; padding: 44px 32px; border-radius: 24px; text-align: center; background: #ffffff8c; border: 1px solid #ffffffb3; display: flex; flex-direction: column; align-items: center; }
.cs-cta .body { margin: 14px auto 26px; }
.cs-cta .btn--hero { margin-top: 0; }
.cs-more { margin-top: 56px; }
.cs-more ul { list-style: none; padding: 0; margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cs-other { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; background: #ffffff8c; border: 1px solid #ffffffb3; color: inherit; transition: border-color .25s ease, box-shadow .25s ease; height: 100%; }
.cs-other span { font-size: 13.5px; font-weight: 600; color: #c4501f; }
.cs-other b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--ink9); }
.cs-other em { font-style: normal; font-size: 14px; color: var(--sub); }
@media (hover: hover) and (pointer: fine) { .cs-other:hover { border-color: #15161a2e; box-shadow: 0 6px 16px -10px #1a3a5c40; } }
@media (max-width: 699px) {
  .cs { padding-top: 104px; }
  .cs-stats b { font-size: 56px; }
  .cs-info div + div { border-left: 0; border-top: 1px solid #15161a14; }
  .cs-more ul { grid-template-columns: 1fr; }
  .cs-h2 { font-size: 28px; }
}

/* case study pages: richer sections */
.cs-block p { margin-top: 14px; max-width: 680px; font-size: 16.5px; line-height: 1.7; color: var(--body); }
.cs-result p { font-size: 17px; }
.cs-h3 { margin-top: 26px; font-size: 18px; font-weight: 600; color: var(--ink9); }
.cs-list { list-style: none; padding: 0; margin-top: 14px; display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.cs-list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.6; color: var(--body); }
.cs-list li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: #c4501f; }
.cs-nums { list-style: none; padding: 0; margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.cs-nums li { padding: 18px 18px 16px; border-radius: 16px; background: #ffffff8c; border: 1px solid #ffffffb3; display: flex; flex-direction: column; gap: 6px; }
.cs-nums b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; letter-spacing: -.02em; color: var(--ink9); }
.cs-nums span { font-size: 14px; line-height: 1.45; color: var(--sub); }
.cs-fig { margin: 22px 0 0; border-radius: 18px; overflow: hidden; background: #0a0a0a; border: 1px solid #15161a26; box-shadow: 0 10px 28px -16px #1a3a5c59; }
.cs-fig img { display: block; width: 100%; height: auto; }
.cs-fig figcaption { padding: 11px 16px; background: #fffdfa; border-top: 1px solid #15161a14; font-size: 14px; font-weight: 600; color: var(--sub); }
.cs-fig--hero { margin-top: 40px; max-width: 560px; }
.cs-fig--quote { max-width: 760px; background: #fff; }
.cs-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.cs-figs .cs-fig { margin-top: 18px; }
.cs-strips { margin-top: 18px; padding: 10px; border-radius: 18px; background: #0a0a0a; display: flex; flex-direction: column; gap: 4px; max-width: 640px; }
.cs-strips img { display: block; width: 100%; height: auto; }
@media (max-width: 899px) { .cs-figs { grid-template-columns: 1fr; } }
.fd-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--sub); }
/* results without a case study: smaller, not clickable */
.res-card--sm { padding: 22px 24px 20px; }
.res-card--sm .res-who { font-size: 13px; }
.res-card--sm .res-num { margin-top: 10px; font-size: 52px; }
.res-card--sm .res-when { margin-top: 6px; font-size: 14.5px; }
.res-card--sm .res-extra { font-size: 14px; }
.cs-more-one { grid-template-columns: minmax(0, 320px) !important; }
@media (max-width: 599px) { .res-card--sm .res-num { font-size: 44px; } }

/* ---------- page-to-page transitions ----------
   Cross-document view transitions: the page cross-fades, and elements that share a
   view-transition-name (a result card's number and its case study's headline stat) glide between pages. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
.vt-james-num { view-transition-name: james-num; }
.vt-james-who { view-transition-name: james-who; }
.vt-clear-num { view-transition-name: clear-num; }
.vt-clear-who { view-transition-name: clear-who; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ===================== case study pages (v2): same world as the homepage ===================== */
.case-page { background: var(--bg); }
.cs-hero { --hero-pad: 72px; position: relative; overflow: hidden; isolation: isolate; padding: 112px 0 var(--hero-pad); }
.cs-hero-in { position: relative; z-index: 3; max-width: 980px; margin: 0 auto; padding: 0 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cs-hero .cs-back { align-self: center; padding: 8px 14px; border-radius: 999px; background: #ffffff8c; border: 1px solid #ffffffb3; box-shadow: inset 0 1px #fff; transition: background-color .25s ease; }
.cs-hero .cs-back:hover { background: #fff; color: var(--ink9); }
.cs-hero .cs-client { margin-top: 22px; }
.cs-hero .cs-h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 900px; }
.cs-hero .cs-sub { margin-left: auto; margin-right: auto; }
.cs-hero .cs-stats { justify-content: center; width: 100%; max-width: 900px; }
.glass-stat { flex: 1 1 220px; max-width: 300px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 20px 18px; border-radius: 20px;
  background: #ffffff73; border: 1px solid #ffffffb3; box-shadow: inset 0 1px #ffffffd9, 0 10px 28px -16px #1a3a5c40;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.glass-stat b { font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: 1; letter-spacing: -.02em; color: var(--ink9); font-variant-numeric: lining-nums; }
.glass-stat span { font-size: 14px; color: var(--sub); text-align: center; }
.cs-hero-art { position: relative; z-index: 3; width: min(620px, calc(100% - 32px)); margin: 56px auto 0; }
.cs-profile { margin: 0; border-radius: 20px; overflow: hidden; background: #0a0a0a; border: 1px solid #ffffff59; box-shadow: 0 30px 70px -20px #0d264d66; transform: perspective(1400px) rotateX(8deg); transform-origin: 50% 100%; }
.cs-profile img { display: block; width: 100%; height: auto; }
.cs-hero .hill { height: calc(var(--hero-pad) / .57 + min(620px, 100vw - 32px) * .3); }
.cs-hero-art { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 64%, transparent 92%); mask-image: linear-gradient(180deg, #000 0%, #000 64%, transparent 92%); }

/* before → after */
.cs-ba-sec { padding: 72px 0; }
.cs-ba { max-width: 1100px; margin: 0 auto; padding: 0 40px; text-align: center; }
.cs-ba-row { margin-top: 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.cs-ba-from, .cs-ba-to { display: flex; flex-direction: column; gap: 10px; }
.cs-ba-from { align-items: flex-end; }
.cs-ba-to { align-items: flex-start; }
.cs-ba b { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 10vw, 140px); line-height: .9; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.cs-ba-from b { color: #15161a59; }
.cs-ba-to b { color: var(--ink9); }
.cs-ba span { font-size: 15px; font-weight: 500; color: var(--sub); }
.cs-ba-arrow { width: 72px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #ffb347, #ff4e1e 55%, #d9466a); position: relative; }
.cs-ba-arrow::after { content: ""; position: absolute; right: -2px; top: 50%; width: 12px; height: 12px; border-top: 3px solid #d9466a; border-right: 3px solid #d9466a; transform: translateY(-50%) rotate(45deg); border-radius: 2px; }

/* chapter blocks reuse .sys; content inside */
.case-page .sys-step h3 { font-size: 30px; }
.case-page .sys-step > p { margin-top: 14px; }
.cs-moves { margin-top: 18px; display: grid; gap: 12px; }
.cs-moves > div { position: relative; padding: 18px 20px 18px 62px; border-radius: 16px; background: #ffffff8c; border: 1px solid #ffffffb3; }
.cs-moves b { position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink9); color: #fff; font-size: 14px; }
.cs-moves h4 { font-size: 16.5px; font-weight: 600; }
.cs-moves p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--body); }
.case-page .cs-nums { margin-top: 18px; }

/* proof: post strips + testimonial */
.cs-proof { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.cs-proof-grid { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.cs-proof .cs-strips { margin: 0; max-width: none; box-shadow: 0 20px 44px -22px #0d264d66; }
.cs-quote { margin: 0; padding: 24px; border-radius: 22px; background: #ffffff8c; border: 1px solid #ffffffb3; box-shadow: inset 0 1px #fff, 0 14px 32px -18px #1a3a5c40; }
.cs-quote img { display: block; width: 100%; height: auto; margin-top: 14px; border-radius: 12px; border: 1px solid #15161a14; }
.cs-quote figcaption { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--sub); }
.cs-quote a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #15161a4d; }

/* ending: result, call to action, next case study */
.cs-end { max-width: 1100px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.cs-result { grid-column: 1 / -1; padding: 40px 36px; border-radius: 24px; background: var(--ink9); color: #fff; }
.cs-result .cs-k { color: #ffb37a; }
.cs-result .h2 { margin-top: 12px; color: #fff; max-width: 820px; }
.cs-result .body { color: #ffffffbf; max-width: 760px; }
.case-page .cs-cta { margin: 0; text-align: left; align-items: flex-start; padding: 32px; }
.case-page .cs-cta .body { margin: 12px 0 22px; }
.cs-next { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: 24px; background: #ffffff8c; border: 1px solid #ffffffb3; color: inherit; transition: border-color .25s ease, box-shadow .25s ease; }
.cs-next-who { margin-top: 10px; font-size: 14px; font-weight: 600; color: #c4501f; }
.cs-next b { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1; color: var(--ink9); }
.cs-next em { font-style: normal; font-size: 15px; color: var(--sub); }
.cs-next .res-more { margin-top: auto; padding-top: 18px; }
@media (hover: hover) and (pointer: fine) { .cs-next:hover { border-color: #15161a2e; box-shadow: 0 6px 16px -10px #1a3a5c40; } .cs-next:hover .res-more span { transform: translateX(3px); } }

@media (max-width: 899px) {
  .cs-proof-grid, .cs-end { grid-template-columns: 1fr; }
  .cs-proof, .cs-end, .cs-ba { padding: 0 20px; }
  .cs-ba-row { grid-template-columns: 1fr; gap: 14px; }
  .cs-ba-from, .cs-ba-to { align-items: center; }
  .cs-ba-arrow { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 599px) {
  .cs-hero { --hero-pad: 40px; padding-top: 96px; }
  .glass-stat b { font-size: 42px; }
  .case-page .sys-step h3 { font-size: 24px; }
}

/* case study chapter card: replaces the numbered list on case pages */
.cs-chap { padding: 22px 22px 20px; border-radius: 20px; background: #ffffffa6; border: 1px solid #ffffffd9; box-shadow: inset 0 1px #fff, 0 14px 32px -18px #1a3a5c40; display: flex; flex-direction: column; }
.cs-chap .sys-track { display: none; }
.cs-chap-n { font-size: 13px; font-weight: 600; color: #15161a80; font-variant-numeric: tabular-nums; }
.cs-chap-n b { color: #c4501f; }
.cs-chap-title { margin-top: 8px; min-height: 1.1em; font-family: var(--serif); font-size: 34px; line-height: 1.05; letter-spacing: -.02em; color: var(--ink9); }
.cs-chap-title.swap { animation: chap-in .45s var(--ease-out); }
@keyframes chap-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cs-segs { margin-top: 18px; display: flex; gap: 5px; }
.cs-seg { flex: 1; padding: 8px 0; display: block; }
.cs-seg span { display: block; height: 5px; border-radius: 5px; background: #15161a17; transition: background-color .3s ease; }
.cs-seg.is-done span, .cs-seg.is-active span { background: linear-gradient(90deg, #ffb347, #ff4e1e 60%, #d9466a); }
.cs-seg.is-done span { opacity: .55; }
.cs-seg:hover span { background-color: #15161a33; }
.cs-chap-next { margin-top: 12px; font-size: 13.5px; color: #15161a80; }
.cs-chap-next em { font-style: normal; font-weight: 600; color: var(--sub); }
@media (prefers-reduced-motion: reduce) { .cs-chap-title.swap { animation: none; } }
/* phones and tablets: the chapter box becomes a slim solid bar under the nav, so text never shows through it */
@media (max-width: 1099px) {
  .cs-chap { position: sticky; top: 76px; z-index: 20; margin: 0 -12px 8px; padding: 10px 14px 6px; border-radius: 14px; background: #fff; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; }
  .cs-chap-n { font-size: 12px; }
  .cs-chap-title { margin-top: 0; font-size: 20px; }
  .cs-segs { grid-column: 1 / -1; margin-top: 4px; }
  .cs-seg { padding: 5px 0; }
  .cs-seg span { height: 4px; }
  .cs-chap-next { display: none; }
}
@media (max-width: 599px) { .cs-chap { top: 68px; } }

/* ---------- hero: live post (replaces the dashboard) ---------- */
.live { position: absolute; inset: 0; display: grid; grid-template-columns: 540px 330px; gap: 30px; align-items: start; }
.lp { padding: 22px 24px 18px; border-radius: 20px; background: #0b0c0e; color: #e7e9ea; border: 1px solid #ffffff1f; box-shadow: 0 30px 70px -24px #0d264d80, inset 0 1px #ffffff14; }
.lp-head { display: flex; align-items: center; gap: 12px; }
.lp-av { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink9); display: grid; place-items: center; flex: none; }
.lp-av .brand-mark { width: 26px; }
.lp-id { display: flex; flex-direction: column; line-height: 1.25; }
.lp-id b { font-size: 16px; font-weight: 700; color: #fff; }
.lp-id span { font-size: 14px; color: #71767b; }
.lp-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; background: #16a34a26; color: #4ade80; font-size: 12.5px; font-weight: 600; }
.lp-live i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.lp-text { margin-top: 14px; font-size: 17px; line-height: 1.45; color: #e7e9ea; }
.lp-article { margin-top: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid #2f3336; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(135deg, #1b1d22, #121316); }
.lp-tag { align-self: flex-start; padding: 2px 8px; border-radius: 5px; background: #ffffff1f; font-size: 12px; font-weight: 600; color: #e7e9ea; }
.lp-article b { font-size: 15.5px; line-height: 1.35; color: #fff; }
.lp-metrics { margin-top: 16px; display: flex; justify-content: space-between; color: #71767b; font-size: 14.5px; }
.lp-metrics span { display: inline-flex; align-items: center; gap: 7px; }
.lp-metrics b { font-weight: 500; font-variant-numeric: tabular-nums; min-width: 3.2ch; }
.lp-metrics .ico { width: 17px; height: 17px; }
.lp-like svg { width: 17px; height: 17px; fill: #f91880; }
.lp-like b { color: #f91880; }
.lp-views { color: #e7e9ea; }
.lp-views b { color: #fff; font-weight: 700; font-size: 16px; }
.lp-notes { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ln { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #ffffffd9; border: 1px solid #ffffff; box-shadow: 0 12px 28px -14px #0d264d59;
  opacity: 0; transform: translateX(18px) scale(.97); transition: opacity .45s ease, transform .6s var(--ease-out); }
.ln.on { opacity: 1; transform: none; }
.ln div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ln b { font-size: 14.5px; font-weight: 700; color: var(--ink9); }
.ln span:not(.ln-i) { font-size: 13.5px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln-i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.ln-i .ico { width: 17px; height: 17px; }
.ln-i--follow { background: #1d9bf0; } .ln-i--dm { background: var(--ink9); } .ln-i--ok { background: #7c3aed; } .ln-i--cal { background: #16a34a; }
.ln--booked { background: #f0fdf4; border-color: #bbf7d0; }
.ln--booked b { color: #15803d; }
/* phone: post on top, notifications under it */
@media (max-width: 599px) {
  .live { grid-template-columns: 1fr; gap: 0; }
  .lp-notes { margin-top: 18px; }
  .lp-text { font-size: 20px; }
  .lp-id b { font-size: 19px; } .lp-id span { font-size: 16px; }
  .lp-metrics { font-size: 17px; }
  .ln b { font-size: 18px; } .ln span:not(.ln-i) { font-size: 16.5px; }
  .ln-i { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .ln { opacity: 1; transform: none; } .lp-live i { animation: none; } }
/* the live scene doesn't need the dashboard's fade into the cloud bank as much */
.hero-dash .stage--live { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 96%); mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 96%); }

/* ---------- "Posts we wrote": X-style trends list + phone feed (replaces the card stack) ---------- */
.feed-sec { padding: 0; }
.feed { position: relative; height: calc(var(--n) * 62vh + 100vh); }
.feed-pin { position: sticky; top: 0; height: 100vh; max-width: 1200px; margin: 0 auto; padding: 96px 40px 40px; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: center; }
.feed-side .h2 { margin-bottom: 28px; }
.trends { border-radius: 20px; background: #ffffffa6; border: 1px solid #ffffffd9; box-shadow: inset 0 1px #fff, 0 14px 32px -18px #1a3a5c40; overflow: hidden; }
.trends-h { display: block; padding: 16px 20px 10px; font-size: 18px; font-weight: 700; color: var(--ink9); }
.trends ol { list-style: none; padding: 0; margin: 0; }
.ft { width: 100%; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "k k" "b l"; column-gap: 12px; align-items: baseline; padding: 10px 20px; border-top: 1px solid #15161a0f; text-align: left; transition: background-color .25s ease; }
.ft:hover { background: #ffffff8c; }
.ft-k { grid-area: k; font-size: 12.5px; color: #15161a80; }
.ft b { grid-area: b; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; color: #15161a80; transition: color .3s ease, font-size .3s ease; font-variant-numeric: lining-nums; }
.ft-l { grid-area: l; font-size: 14px; color: #15161a80; transition: color .3s ease; }
.ft.is-active { background: #ffffffd9; }
.ft.is-active b { color: var(--ink9); font-size: 34px; }
.ft.is-active .ft-l { color: var(--body); font-weight: 500; }
.ft.is-active .ft-k { color: #c4501f; font-weight: 600; }

.feed-phone { justify-self: center; width: 400px; padding: 10px; border-radius: 46px; background: #0b0c0e; box-shadow: 0 40px 90px -30px #0d264d99, inset 0 0 0 2px #2f3336; }
.feed-screen { position: relative; height: min(680px, calc(100vh - 160px)); border-radius: 37px; overflow: hidden; background: #000; }
.feed-bar { position: absolute; z-index: 2; inset: 0 0 auto 0; height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; background: #000000d9; border-bottom: 1px solid #2f3336; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 15px; }
.feed-bar .brand-mark { width: 24px; color: #fff; }
.feed-track { position: absolute; left: 0; right: 0; top: 54px; will-change: transform; transform: translate3d(0, var(--fy, 0px), 0); }
.fp { padding: 14px 14px 16px; border-bottom: 1px solid #2f3336; opacity: .45; transition: opacity .35s ease; }
.fp.is-active { opacity: 1; }
.fp-head { display: flex; align-items: center; gap: 10px; }
.fp-av { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; color: var(--ink9); }
.fp-av .brand-mark { width: 20px; }
.fp-id { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.fp-id b { font-size: 14px; color: #fff; }
.fp-id span { font-size: 13px; color: #71767b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-media { margin-top: 10px; border-radius: 14px; overflow: hidden; border: 1px solid #2f3336; }
.fp-media img { display: block; width: 100%; height: auto; }
.fp-strips { display: flex; flex-direction: column; gap: 2px; background: #000; padding: 4px 0; }

@media (max-width: 1099px) {
  .feed-pin { grid-template-columns: 1fr; gap: 20px; padding: 84px 24px 24px; align-content: start; }
  .feed-side .h2 { margin-bottom: 0; }
  .trends { display: none; }
  .feed-phone { width: min(400px, 100%); }
  .feed-screen { height: calc(100vh - 230px); }
}
@media (max-width: 599px) { .feed-pin { padding: 76px 16px 16px; } .feed-phone { border-radius: 36px; padding: 8px; } .feed-screen { border-radius: 29px; height: calc(100vh - 200px); } }
@media (prefers-reduced-motion: reduce) { .feed { height: auto; } .feed-pin { position: static; height: auto; } .feed-screen { height: auto; } .feed-track { position: static; transform: none; } .fp { opacity: 1; } }
/* live post: clouds only lap the base, so the climbing view count stays in view */
.hero:has(.stage--live) .hill { height: calc(var(--hero-pad, 80px) / .57 + min(760px, 100vw - 32px) * .1); }
.hero-dash .stage--live { -webkit-mask-image: none; mask-image: none; }
@media (max-width: 599px) { .hero:has(.stage--live) { --hero-pad: 72px; } .hero:has(.stage--live) .hill { height: calc(var(--hero-pad) / .57); } }
/* views now live in the header chip, so the clouds can swallow the bottom of the post for depth */
.lp-live b { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; min-width: 3.4ch; text-align: right; }
.hero:has(.stage--live) .hill { height: calc(var(--hero-pad, 80px) / .57 + min(760px, 100vw - 32px) * .30); }
.hero-dash .stage--live { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 96%); mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 96%); }
@media (max-width: 599px) { .hero:has(.stage--live) .hill { height: calc(var(--hero-pad) / .57 + 100vw * .42); } }

/* ---------- "Four parts": the signal path (replaces the isometric layer stack) ---------- */
.sp-sec { padding: 0; }
.signal { position: relative; height: 290vh; }
.signal-pin { position: sticky; top: 0; height: 100vh; max-width: 1280px; margin: 0 auto; padding: 90px 40px 40px; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: center; }
.signal-now { margin-top: 26px; display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 16px; border-radius: 999px; background: #ffffffa6; border: 1px solid #ffffffd9; box-shadow: inset 0 1px #fff; }
.signal-now-k { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #c4501f; }
.signal-now b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; color: var(--ink9); }
.signal-now b.swap { animation: chap-in .45s var(--ease-out); }
.signal-copy .text-link { display: flex; width: fit-content; margin-top: 26px; }
.signal-stage { position: relative; width: 100%; max-height: calc(100vh - 140px); aspect-ratio: 760 / 560; justify-self: center; }
.signal-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sig-bg { fill: none; stroke: #15161a1f; stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; }
.sig-fill { fill: none; stroke: url(#sigGrad); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 6px #ff7a2e73); }
.sig-dot { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #ff4e1e, 0 0 24px 6px #ff7a2e8c; will-change: transform; transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0); z-index: 3; }
.sig-dot i { position: absolute; inset: -14px; border-radius: 50%; border: 2px solid #ff7a2e; opacity: 0; animation: sig-ping 1.8s ease-out infinite; }
@keyframes sig-ping { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.stations { list-style: none; padding: 0; margin: 0; position: absolute; inset: 0; }
.st-card { position: absolute; left: var(--x); top: var(--y); width: 40%; padding: 18px 20px 16px; border-radius: 18px; background: #ffffffb3; border: 1px solid #ffffffd9; box-shadow: inset 0 1px #fff, 0 10px 26px -18px #1a3a5c4d;
  opacity: .42; transform: translateY(10px) scale(.97); transition: opacity .5s ease, transform .6s var(--ease-out), box-shadow .5s ease, background-color .5s ease; z-index: 2; }
.st-card.on { opacity: 1; transform: none; background: #fffffff2; box-shadow: inset 0 1px #fff, 0 22px 44px -22px #1a3a5c66; }
.st-card.now { box-shadow: inset 0 1px #fff, 0 0 0 2px #ff7a2e, 0 22px 44px -18px #ff4e1e59; }
.st-n { font-size: 12px; font-weight: 700; color: #c4501f; letter-spacing: .04em; }
.st-card h3 { margin-top: 4px; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05; letter-spacing: -.02em; }
.st-card p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--sub); }
.st-ui { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid #15161a14; }
.st-ui li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #15161a0d; font-size: 13px; }
.st-ui li:last-child { border-bottom: 0; }
.st-ui span { color: #15161a99; }
.st-ui b { font-weight: 600; color: var(--ink9); text-align: right; }
.st-ui b.ok { color: #15803d; } .st-ui b.wait { color: #a35a05; }

/* tablets and phones: no pinning; stations stack with a gradient line that fills as you scroll */
@media (max-width: 1099px) {
  .signal { height: auto; }
  .signal-pin { position: static; height: auto; grid-template-columns: 1fr; gap: 28px; padding: 72px 32px; }
  .signal-stage { aspect-ratio: auto; max-height: none; }
  .signal-svg, .sig-dot { display: none; }
  .stations { position: relative; display: flex; flex-direction: column; gap: 14px; padding-left: 26px; }
  .stations::before, .stations::after { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; }
  .stations::before { background: #15161a1a; }
  .stations::after { background: linear-gradient(180deg, #ffb347, #ff4e1e 60%, #d9466a); transform-origin: top; transform: scaleY(var(--p, 0)); }
  .st-card { position: relative; left: auto; top: auto; width: auto; }
}
@media (max-width: 599px) { .signal-pin { padding: 56px 20px; } .st-card h3 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .st-card { opacity: 1; transform: none; } .sig-dot i { animation: none; } }
/* keep the whole path on screen: width follows the available height */
@media (min-width: 1100px) { .signal-stage { width: min(100%, calc((100vh - 150px) * 760 / 560)); max-height: none; } }
/* the signal travels behind the cards */
.sig-dot { z-index: 1; }
.st-card { z-index: 2; }
/* "Now" pill: label and chapter name share one centre line */
.signal-now { align-items: center; padding: 9px 18px 9px 16px; }
.signal-now-k { line-height: 1; }
.signal-now b { line-height: 1; display: inline-block; transform: translateY(1px); }

/* signal beacon (replaces the plain dot): an S tile sending out waves, with a comet tail on the line */
.sig-tail { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 12px #ff7a2e); opacity: .95; }
.sig-beacon { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 12px; background: none; box-shadow: none; }
.sig-tile { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; background: var(--ink9); color: #fff; box-shadow: 0 0 0 2px #ffffff, 0 0 22px 4px #ff7a2e99, 0 10px 22px -8px #0d264d80; }
.sig-tile .brand-mark { width: 24px; }
.sig-beacon i { position: absolute; inset: -6px; border-radius: 16px; border: 2px solid #ff7a2e; opacity: 0; animation: sig-wave 2.1s cubic-bezier(.2,.7,.3,1) infinite; }
.sig-beacon i:nth-child(2) { animation-delay: .7s; }
.sig-beacon i:nth-child(3) { animation-delay: 1.4s; }
@keyframes sig-wave { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(2.3); opacity: 0; border-radius: 30px; } }
@media (prefers-reduced-motion: reduce) { .sig-beacon i { animation: none; } }
/* cards are solid so nothing behind them shows through; only their contents fade when inactive */
.st-card { opacity: 1; background: #f7fafd; border-color: #ffffff; }
.st-card > * { opacity: .42; transition: opacity .5s ease; }
.st-card.on { background: #ffffff; }
.st-card.on > * { opacity: 1; }
/* beacon fades out while it's passing under a card */
.sig-beacon { transition: opacity .25s ease; }
.sig-beacon.is-hidden { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .st-card > * { opacity: 1; } }

/* station cards: number, name, one line, what you get */
.st-card { width: 270px; padding: 20px 22px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; border-radius: 20px; white-space: normal; transform: none; }
.st-card.on { transform: none; }
.st-n { font-size: 13px; }
.st-card h3 { margin: 6px 0 0; font-size: 34px; }
.st-card p { margin: 8px 0 0; font-size: 15px; line-height: 1.45; color: var(--sub); }
.st-out { margin-top: 14px; padding-top: 12px; border-top: 1px solid #15161a14; width: 100%; font-size: 13px; color: var(--sub); }
.st-out b { color: var(--ink9); font-weight: 600; }
@media (min-width: 1100px) { .st-card { left: var(--sx, 0px); top: var(--sy, 0px); } }
@media (max-width: 1099px) { .st-card { width: auto; max-width: 420px; } }
@media (max-width: 599px) { .st-card h3 { font-size: 30px; } }

/* ---------- hero: screenshot collage (replaces the live post) ---------- */
.collage { position: absolute; inset: 0; }
.cl-card { position: absolute; left: calc(var(--l) * 1px); top: calc(var(--tp) * 1px); width: calc(var(--w) * 1px); transform-origin: var(--o, 50% 50%); margin: 0; border-radius: 16px; overflow: hidden; background: #0a0a0a; border: 1px solid #ffffff33;
  box-shadow: 0 24px 50px -22px #0d264d8c, 0 2px 6px #0d264d26; transform: rotate(var(--r)); animation: cl-float 7s ease-in-out var(--d) infinite alternate;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease; }
@media (hover: hover) {
  .cl-card:hover { z-index: 10; transform: rotate(0deg) scale(1.18); box-shadow: 0 40px 80px -30px #0d264da6, 0 4px 12px #0d264d33; }
}
.cl-card img { display: block; width: 100%; height: auto; }
.cl-card--light { background: #fff; border-color: #ffffff; }
.cl-chip { position: absolute; right: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: #ffffffe6; color: var(--ink9); font-size: 13px; font-weight: 700; box-shadow: 0 6px 14px -6px #0d264d66; }
@keyframes cl-float { from { translate: 0 0; } to { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .cl-card { animation: none; } }

/* ---------- less like the reference: left-aligned top bar ---------- */
@media (min-width: 1100px) {
  .nav-in { justify-content: flex-start; gap: 12px; max-width: 1280px; }
  .nav-mark { position: static; translate: none; margin: 0; }
  .nav .logo { font-size: 24px; }
  .nav-links { margin-left: auto; display: flex; gap: 4px; }
  .nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--sub); transition: background-color .2s ease, color .2s ease; }
  .nav-links a:hover { background: #ffffff8c; color: var(--ink9); }
  .nav-link { position: static; margin-left: 8px; padding: 9px 18px; border-radius: 999px; background: #ffffff8c; border: 1px solid #ffffffd9; box-shadow: inset 0 1px #fff; transition: background-color .25s ease, color .25s ease; }
  .nav-link:hover { background: var(--ink9); color: #fff; }

}
@media (max-width: 1099px) { .nav-links { display: none; } }
@media (min-width: 1100px) { .nav-in > .nav-link { margin-left: auto; } .nav-links + .nav-link { margin-left: 8px; } }
@media (min-width: 1100px) {
  .hero-stats b { font-size: 42px; }
}
/* a mask clips to the stage box, which cut the tilted screenshots off */
.hero-dash .stage--live { -webkit-mask-image: none; mask-image: none; }
@media (max-width: 1099px) {
  .hero:has(.stage--live) .hill { height: calc(var(--hero-pad, 80px) * 2.1); }
}
/* phones: clouds start under the last screenshot so the client message stays readable */
@media (max-width: 599px) { .hero:has(.stage--live) { --hero-pad: 110px; } .hero:has(.stage--live) .hill { height: calc(var(--hero-pad) * 1.3); } }
/* text and button sit in front of the clouds */
@media (min-width: 1100px) { .hero-in { z-index: 5; } }


/* ---------- Nov feedback: bigger hero screenshots, less empty space, no pinned scrolling ---------- */
/* no stacking context around the collage, so a hovered card alone can rise above the clouds: sized with --k instead of a scale transform */
.hero-dash:has(.stage--live) { z-index: auto; }
@media (min-width: 600px) and (max-width: 1099px) { .hero-dash { width: min(660px, calc(100% - 32px)); } }
.stage--live .stage-in { width: 100%; height: 100%; transform: none; }
.cl-card { z-index: 3; left: calc(var(--l) * var(--k, 1) * 1px); top: calc(var(--tp) * var(--k, 1) * 1px); width: calc(var(--w) * var(--k, 1) * 1px); border-radius: calc(16px * var(--k, 1)); }
.cl-chip { right: calc(10px * var(--k, 1)); top: calc(10px * var(--k, 1)); padding: calc(5px * var(--k, 1)) calc(10px * var(--k, 1)); font-size: calc(13px * var(--k, 1)); }
@media (max-width: 599px) {
  .cl-card { left: calc(var(--ls, 0) * var(--k, 1) * 1px); top: calc(var(--ts, 0) * var(--k, 1) * 1px); width: calc(var(--ws, 460) * var(--k, 1) * 1px); }
  .cl-card--wide { display: none; }
  /* phones: straight, evenly spaced stack instead of tilted overlapping cards */
  .cl-card { transform: none; }
}
@media (min-width: 1100px) {
  /* text on top, screenshots below; clouds lap the bottom of the screenshots */
  .hero { --hero-pad: 64px; --cw: min(780px, calc(100vw - 80px)); }
  .hero-dash { width: var(--cw); margin-top: 40px; }
  .hero:has(.stage--live) .hill { height: calc(var(--hero-pad) / .57 + var(--cw) * .12); }
  .signal { height: auto; }
  .signal-pin { position: static; height: auto; padding: 64px 40px; }
  .signal-stage { width: 100%; max-height: none; }
}
.sec:not(.sec--panel) { padding: 72px 0; }
.sec--panel { padding-top: 32px; padding-bottom: 32px; }

.panel { padding: 36px; }
.sys-grid { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sys-grid .sys-step { min-height: 0; opacity: 1; padding: 22px 24px 24px; border: 0; border-radius: 16px; background: #eaf2fa99; }
.sys-grid .sys-step h3 { margin-top: 6px; font-size: 30px; }
.sys-grid .sys-step p { margin-top: 6px; max-width: none; font-weight: 600; color: var(--ink9); }
.sys-grid .sys-step ul { margin-top: 12px; gap: 7px; max-width: none; }
.sys-grid .sys-step li { font-size: 15px; line-height: 1.5; }
@media (max-width: 899px) { .panel { padding: 24px 20px; } .sys-grid { grid-template-columns: 1fr; } }

.res-card--case { overflow: hidden; }
/* 6 tracks: two case studies per row, three small results per row */
.res-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.res-card--case { grid-column: span 3; }
.res-card--sm { grid-column: span 2; }
.res-card--case .res-link { padding: 10px; }
/* screenshot sits in its own inset frame; the bottom fades so the crop reads as intentional */
.res-shot { position: relative; display: block; height: 290px; overflow: hidden; border-radius: 12px; background: #000; box-shadow: 0 0 0 1px #15161a1f; }
.res-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.res-shot::after { content: ""; position: absolute; inset: auto 0 0; height: 16%; background: linear-gradient(#0000, #000000b3); pointer-events: none; }
.res-body { flex: 1; display: flex; flex-direction: column; padding: 20px 16px 6px; }
.res-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 14px 0 22px; }
.res-stat { display: flex; flex-direction: column; }
.res-stat + .res-stat { padding-left: 22px; border-left: 1px solid #15161a1a; }
.res-card--case .res-num { display: block; margin-top: 0; font-size: 60px; }
.res-num2 { display: block; font-family: var(--serif); font-weight: 400; font-size: 60px; line-height: .95; letter-spacing: -.03em; color: var(--ink9); }
.res-card--case .res-when { font-size: 15px; }
/* footer row: label left, round arrow button right */
.res-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid #15161a1a; color: var(--ink9); font-size: 15px; font-weight: 600; }
.res-cta span { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink9); color: #fff; font-size: 17px; transition: background .25s ease; }
@media (hover: hover) and (pointer: fine) { .res-link:hover .res-cta span { background: #c4501f; } }
.res-link:focus-visible { outline: 2px solid #c4501f; outline-offset: 3px; border-radius: 20px; }
/* phones and tablets: case studies full width with the whole screenshot, small results side by side */
@media (max-width: 899px) {
  .res-card--case { grid-column: 1 / -1; }
  .res-shot { height: auto; }
  .res-shot img { height: auto; }
  .res-shot::after { display: none; }
}
@media (max-width: 599px) {
  .res-body { padding: 18px 10px 4px; }
  .res-pair { margin: 12px 0 18px; }
  .res-stat + .res-stat { padding-left: 14px; }
  .res-card--case .res-num, .res-num2 { font-size: clamp(36px, 11.5vw, 46px); }
  .res-cta { align-self: stretch; text-align: center; }
  .res-card--sm { padding: 18px 16px 18px; grid-column: span 3; }
  .res-card--lead { grid-column: 1 / -1; }
  .res-card--sm .res-num { font-size: clamp(34px, 11vw, 44px); }
  .fp-id span { white-space: normal; }
}

/* posts section: normal scrolling, the list drives the phone */
.feed { height: auto; }
.feed-pin { position: static; height: auto; padding: 64px 40px; }
.feed-track { transition: transform .5s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) { .feed-screen { height: 640px; } }
@media (max-width: 1099px) {
  .feed-pin { padding: 48px 24px; }
  .trends { display: block; }
  .feed-side .h2 { margin-bottom: 20px; }
}
@media (max-width: 599px) { .feed-pin { padding: 40px 16px; } }
@media (prefers-reduced-motion: no-preference) and (max-width: 599px) { .feed-screen { height: 560px; } }

@media (min-width: 1100px) { .hero-stats li { flex: none; white-space: nowrap; } }
/* small laptops: give the path more room so the cards never collide */
@media (min-width: 1100px) and (max-width: 1279px) {
  .signal-pin { grid-template-columns: 250px minmax(0, 1fr); gap: 24px; }
  .signal-stage { aspect-ratio: auto; height: 640px; }
}

/* results: heading on top so the cards use the full width instead of leaving the left side empty */
#results .sec-in { grid-template-columns: 1fr; row-gap: 28px; }

/* case pages: the stat tiles sit inside .sys-step and picked up its bullet; the rotated arrow needs room on phones */
.cs-nums li::before { display: none; }
@media (max-width: 899px) { .cs-ba-arrow { margin: 34px 0; } }
