/* ar-real — Version C · "Horizon"
   The page is one continuous journey through the palette
   (top → bottom) cool white · blue-lilac · violet B391FF · blue 0056BC · night 000524 · blue · pink FFC7E6
   · FF5519 horizon · red 2B0008/FF3719 · night · blue 006EB1 · violet · lilac · cool white.
   Mostly blue and cool; red and violet only at the transitions. Orange stays the accent.
   Each section continues its neighbour's colour. Reads top → bottom. */

@font-face {
  font-family: "Asta Sans";
  src: url("../assets/fonts/asta-sans-var.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --dough: #fbfaf5; --mist: #e3e7e8; --steel: #c9d1d3; --slate: #5b7579; --coal: #262d2e;
  --night: #000524; --navy: #0e1730; --blue: #006eb1; --deep: #0056bc; --violet: #b391ff; --pink: #ffc7e6; --blood: #2b0008; --red: #ff3719; --horizon: #ff5519;
  --ink-d: #0d0b16; --ink-l: #f7f1ee;
  --pad: clamp(18px, 3.4vw, 56px);
  --hair: .5px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --f-sans: "Asta Sans", system-ui, sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (max-resolution: 1.5dppx) { :root { --hair: 1px; } }

/* theme tokens: light scenes get dark ink, dark scenes light ink */
[data-theme="light"] { --ink: var(--ink-d); --soft: rgba(13, 11, 22, .3); --muted: rgba(13, 11, 22, .62); --line: rgba(13, 11, 22, .16); --glass: rgba(255, 255, 255, .42); }
[data-theme="dark"]  { --ink: var(--ink-l); --soft: rgba(247, 241, 238, .34); --muted: rgba(247, 241, 238, .64); --line: rgba(247, 241, 238, .16); --glass: rgba(0, 5, 36, .3); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: #f3f2f6; color: var(--ink-d); font-family: var(--f-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, figure { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
b { font-weight: 600; }
::selection { background: var(--horizon); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(100% - 2 * var(--pad), 1720px); margin-inline: auto; position: relative; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--horizon); }
.soft { color: var(--soft); }
.mega { font-size: clamp(48px, 7.6vw, 148px); font-weight: 300; letter-spacing: -.05em; line-height: .94; color: var(--ink); }
.title { font-size: clamp(40px, 5.4vw, 104px); font-weight: 300; letter-spacing: -.045em; line-height: .96; color: var(--ink); }
.huge { font-size: clamp(88px, 17vw, 340px); font-weight: 300; letter-spacing: -.065em; line-height: .82; color: var(--ink); }
.spec { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
/* spaced uppercase statement: word groups pushed apart across the line */
.spread { font-size: clamp(22px, 3.1vw, 56px); font-weight: 500; letter-spacing: -.015em; line-height: 1.02; text-transform: uppercase; color: var(--ink); }
.spread--xl { font-size: clamp(28px, 4.4vw, 84px); }
.spread .line__in, .spread:not(.split) { display: flex; justify-content: space-between; align-items: center; gap: 0 .45em; }
.spread .line__in > span { white-space: nowrap; }
.spread .rule { /* connects the word groups so the statement reads as one line */
  flex: 1 1 auto; min-width: .8em; height: max(1px, .03em); background: currentColor; opacity: .45;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease-out) .5s;
}
.split.is-in .rule, .is-calm .spread .rule { transform: none; }

/* line icons: drawn with hairline-ish strokes so they sit with the type */
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico--lg { width: 34px; height: 34px; stroke-width: 1.2; }
.ico--box { width: 48px; height: 48px; padding: 10px; border-radius: 12px; border: var(--hair) solid var(--line); stroke-width: 1.3; color: var(--ink); margin-bottom: 8px; transition: color .35s, border-color .35s, background-color .35s; }
.table__cell:hover .ico--box { color: var(--horizon); border-color: rgba(255, 85, 25, .5); background: rgba(255, 85, 25, .06); }
.spec--ico { display: flex; align-items: center; gap: 8px; }
.spec--ico .ico { width: 15px; height: 15px; color: var(--horizon); }
.point__top, .why__top { display: flex; justify-content: space-between; align-items: center; }
.point__top .ico, .why__top .ico { color: var(--ink); opacity: .85; }

/* line-mask reveal (js splits at <br>) */
.split .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split .line__in { display: block; transform: translateY(108%); transition: transform 1.7s var(--ease-out); transition-delay: calc(var(--l, 0) * 130ms); }
.split.is-in .line__in { transform: none; }
.spread.split .line__in { display: flex; }
.rv { opacity: 0; translate: 0 22px; transition: opacity 1.3s var(--ease-out), translate 1.5s var(--ease-out); transition-delay: var(--rd, 0ms); }
.rv.is-in { opacity: 1; translate: 0 0; }
.is-calm .split .line__in { transform: none; transition: none; }
.is-calm .rv { opacity: 1; translate: 0 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 24px 0 28px; border-radius: 999px;
  background: var(--ink-d); color: var(--ink-l); font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.btn::after { content: ""; position: absolute; inset: -16px; }
.btn svg { width: 16px; height: 16px; transition: translate .35s var(--ease-out); }
.btn:hover { background: var(--horizon); color: #fff; }
.btn:hover svg { translate: 4px 0; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 18px; border-radius: 999px;
  border: var(--hair) solid currentColor; font-size: 13px; font-weight: 500; transition: background-color .3s, color .3s;
}
.pill svg { width: 14px; height: 14px; }
.pill:hover { background: var(--ink-d); color: var(--ink-l); border-color: var(--ink-d); }
.pill--light:hover { background: var(--ink-l); color: var(--ink-d); border-color: var(--ink-l); }

/* ---------- grain + cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -2%); } 100% { transform: translate(0, 0); } }
.cursor { position: fixed; inset: 0; z-index: 95; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255, 255, 255, .55); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background-color .35s, border-color .35s;
}
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: #fff; }
.cursor.is-net .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; border-color: rgba(13, 11, 22, .3); mix-blend-mode: normal; }
.cursor__label { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-d); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-net .cursor__label { opacity: 1; }

/* ---------- intro: the horizon draws, then the page opens along it ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; background: var(--night); color: var(--ink-l);
  clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease-io) .15s, visibility 0s 1.4s;
}
.intro__top { position: absolute; left: var(--pad); top: 28px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.intro__horizon { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--horizon); box-shadow: 0 0 30px 6px rgba(255, 85, 25, .55); transform: scaleX(0); transform-origin: 0 50%; }
.intro__count { position: absolute; right: var(--pad); bottom: 22px; font-size: clamp(64px, 11vw, 180px); font-weight: 300; letter-spacing: -.06em; line-height: .8; font-variant-numeric: tabular-nums; }
html:not(.is-loading) .intro { clip-path: inset(50% 0 50% 0); visibility: hidden; }
html:not(.has-js) .intro { display: none; }

/* ---------- header ---------- */
.bar {
  position: fixed; z-index: 60; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding: 20px var(--pad); color: var(--ink-d); transition: color .5s ease; pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar::before { /* soft frosted strip so content scrolling underneath stays quiet */
  content: ""; position: absolute; inset: 0 0 -24px; z-index: -1; pointer-events: none;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent); mask-image: linear-gradient(180deg, #000 45%, transparent);
}
.bar.on-dark { color: var(--ink-l); }
.bar__logo { justify-self: start; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.bar__logo svg { height: 24px; width: auto; aspect-ratio: 762 / 147; }
.bar__nav { display: flex; gap: 26px; font-size: 13px; }
.bar__nav a { position: relative; opacity: .55; transition: opacity .3s; }
.bar__nav a:hover, .bar__nav a.is-active { opacity: 1; }
.bar__nav a::before { content: ""; position: absolute; left: -10px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--horizon); transform: scale(0); transition: transform .4s var(--ease-out); }
.bar__nav a.is-active::before { transform: scale(1); }
.bar .pill { justify-self: end; }
.bar.on-dark .pill:hover { background: var(--ink-l); color: var(--ink-d); border-color: var(--ink-l); }

/* ---------- scenes: continuous palette ---------- */
.scene { position: relative; padding: clamp(120px, 18vh, 220px) 0; color: var(--ink); }
.scene--finish    { background: linear-gradient(180deg, #d8d6f2 0%, #e6e5f2 45%, #f3f2f6 100%); padding-bottom: 28px; }
.scene--faq       { background: linear-gradient(180deg, #b9b3ee 0%, #d8d6f2 100%); }
.scene--roadmap   { background: linear-gradient(180deg, #0a1f4a 0%, var(--deep) 40%, var(--blue) 70%, #6f8fc8 86%, #b9b3ee 100%); padding-bottom: clamp(200px, 28vh, 320px); }
.scene--proof     { background: linear-gradient(180deg, #3a0610 0%, var(--blood) 9%, #0d0418 24%, var(--night) 48%, #0a1f4a 100%); padding-top: clamp(160px, 22vh, 260px); }
.scene--functions { background: linear-gradient(180deg, var(--night) 0%, #0b2350 40%, var(--deep) 80%, #2f6fc0 89%, #c9a9e6 95%, var(--pink) 100%); }
.scene--brand     { background: linear-gradient(180deg, #cfd5ea 0%, #c6cbe8 58%, #a99cf0 72%, var(--deep) 84%, #0b1a3a 94%, var(--night) 100%); padding-bottom: clamp(220px, 32vh, 340px); }
.scene--problem   { background: linear-gradient(180deg, #e2e3f1 0%, #cfd5ea 100%); padding-top: 0; padding-bottom: 0; }
.scene--hero      { background: linear-gradient(180deg, #f8f8fb 0%, #eeeef6 50%, #e2e3f1 100%); padding: 0; }

.head { display: grid; gap: 22px; margin-bottom: clamp(60px, 8vw, 120px); }
.head--split { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px; }
.head__note { color: var(--muted); max-width: 440px; justify-self: end; }

/* pins: the content holds in place for a while as the page rolls past (slows the read down) */
.pin { width: 100%; }
.pin::after { content: ""; display: block; height: 70vh; }
.pin__in { position: sticky; top: 30vh; display: grid; gap: clamp(28px, 3vw, 48px); }
.pin--card::after { height: 30vh; }
.pin--card .pin__in { top: 11svh; gap: 60px; }

/* ===== HERO ===== */
.scene--hero { min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero { flex: 1; min-height: calc(100svh - clamp(80px, 12vw, 210px)); display: grid; grid-template-rows: auto 1fr auto; padding: 100px 0 28px; pointer-events: none; }
.hero a { pointer-events: auto; }
.hero__top { display: flex; justify-content: space-between; align-items: start; gap: 40px; }
.hero__intro { max-width: 330px; font-size: 14px; color: var(--muted); }
.hero .mega { align-self: end; margin-bottom: clamp(26px, 3.5vw, 52px); max-width: 10em; }
.hero__bottom { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding-top: 22px; border-top: var(--hair) solid var(--line); }
.hud { display: flex; gap: clamp(24px, 4vw, 72px); }
.hud p { display: grid; gap: 2px; }
.hud b { font-size: clamp(28px, 3vw, 52px); font-weight: 300; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.hud__hash { font-family: var(--f-mono); font-size: clamp(16px, 1.4vw, 22px) !important; letter-spacing: 0 !important; padding-top: .35em; }
.hud b.is-human { color: var(--horizon); }
.hud span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__scroll { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero__scroll svg { width: 14px; height: 14px; animation: nudge 2.4s var(--ease-io) infinite; }
.hero__scroll svg { rotate: 180deg; }
@keyframes nudge { 50% { translate: 0 5px; } }
.marquee { position: relative; overflow: hidden; padding: 8px 0 18px; pointer-events: none; }
.marquee__track { display: flex; align-items: center; gap: .35em; width: max-content; will-change: transform; white-space: nowrap; }
.marquee__track { font-size: clamp(72px, 11.5vw, 220px); font-weight: 300; letter-spacing: -.055em; line-height: 1; color: rgba(13, 11, 22, .14); }
.marquee__track i { font-style: normal; color: var(--horizon); opacity: .7; }

/* ===== PROBLEM · dark card ===== */
.card-dark {
  position: relative; border-radius: clamp(14px, 1.6vw, 26px); background: var(--night); color: var(--ink);
  padding: clamp(40px, 6vw, 110px) clamp(22px, 5vw, 90px); min-height: 78svh;
  display: grid; align-content: space-between; gap: 60px; overflow: hidden;
}
.card-dark::after { /* faint horizon glow at the bottom edge of the card */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -1px; height: 1px; background: var(--horizon);
  box-shadow: 0 0 60px 18px rgba(255, 85, 25, .35);
}
.stage__label { text-align: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
/* problem card: eyebrow → headline → supporting text → the turn (strongest after the headline) */
.card-dark__head { display: grid; gap: 26px; }
.card-dark__head .title { max-width: 14em; }
.card-dark__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: end; padding-top: 28px; border-top: var(--hair) solid var(--line); }
.card-dark__text { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--muted); max-width: 32em; }
.card-dark__turn { font-size: clamp(24px, 2.2vw, 36px); font-weight: 300; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); padding-left: 20px; border-left: 2px solid var(--horizon); }

/* ===== BRAND · why + facts ===== */
.why { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.why__cell {
  display: grid; align-content: space-between; gap: 60px; min-height: clamp(280px, 24vw, 420px); padding: clamp(22px, 2vw, 34px);
  border-radius: 18px; background: var(--glass); border: var(--hair) solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.why__cell h3 { font-size: clamp(26px, 2.5vw, 46px); font-weight: 300; letter-spacing: -.04em; line-height: 1.02; }
.why__cell--obj { display: grid; place-items: center; padding: 0; overflow: hidden; background: radial-gradient(70% 60% at 50% 45%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)), var(--glass); isolation: isolate; }
.why__cell--obj img { width: 92%; height: auto; will-change: transform; }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: clamp(60px, 7vw, 110px); border-top: var(--hair) solid var(--line); }
.facts > div { display: grid; gap: 6px; padding: 26px 22px 0 0; border-right: var(--hair) solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts > div + div { padding-left: 22px; }
.facts b { font-size: clamp(44px, 5vw, 96px); font-weight: 300; letter-spacing: -.05em; line-height: .9; }
.facts small { font-size: .45em; vertical-align: top; }
.facts span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ===== FUNCTIONS · objects + table ===== */
.objs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.obj {
  position: relative; display: grid; place-items: center; aspect-ratio: 1 / .9; border-radius: 18px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 55%, rgba(0, 110, 177, .22), rgba(0, 5, 36, 0) 70%), rgba(255, 255, 255, .03);
  border: var(--hair) solid var(--line);
}
.obj img { width: 70%; height: auto; will-change: transform; }
.obj figcaption { position: absolute; left: 22px; bottom: 18px; font-size: 13px; color: var(--ink); }
.obj figcaption span { font-family: var(--f-mono); font-size: 11px; color: var(--horizon); margin-right: 8px; }
.table { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--hair) solid var(--line); border-left: var(--hair) solid var(--line); }
.table__cell { display: grid; align-content: start; gap: 10px; padding: 26px 24px 34px; border-right: var(--hair) solid var(--line); border-bottom: var(--hair) solid var(--line); transition: background-color .4s ease; }
.table__cell:hover { background: rgba(255, 255, 255, .05); }
.table__cell h3 { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.table__cell p:not(.spec) { color: var(--muted); font-size: 14.5px; }
.table__cell--cta { place-items: center; align-content: center; }

/* ===== PROOF · night stage + horizon ===== */
.stage { display: grid; gap: clamp(40px, 5vw, 80px); justify-items: center; text-align: center; }
.stage .spread { width: 100%; text-align: left; }
.stage__obj { width: min(900px, 92vw); height: auto; margin: 0 0 -4vw;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent); mask-image: radial-gradient(closest-side, #000 62%, transparent);
  mix-blend-mode: lighten; will-change: transform; }
.stage__points { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 56px); text-align: left; }
.point { display: grid; align-content: start; gap: 14px; padding-top: 22px; border-top: var(--hair) solid var(--line); }
.point__n { font-family: var(--f-mono); font-size: 11px; color: var(--horizon); }
.point h3 { font-size: clamp(24px, 2.2vw, 38px); font-weight: 300; letter-spacing: -.04em; line-height: 1.05; color: var(--ink); }
.point p:not(.point__n) { font-size: 15px; color: var(--muted); max-width: 34em; }
.horizon { position: absolute; left: 0; right: 0; top: 0; height: 120px; pointer-events: none; }
.horizon::before { /* glow under the line, inside proof */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px;
  background: linear-gradient(0deg, rgba(43, 0, 8, 0), rgba(255, 55, 25, .18) 55%, rgba(255, 55, 25, .4));
}
.horizon span { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--horizon); box-shadow: 0 0 40px 10px rgba(255, 85, 25, .55); transform-origin: 50% 50%; }
.horizon span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 4px; background: linear-gradient(0deg, rgba(255, 199, 230, .95), rgba(255, 199, 230, 0)); }

/* ===== ROADMAP · cases ===== */
.scene--roadmap .huge { margin-bottom: clamp(50px, 6vw, 100px); }
.cases { display: grid; gap: 18px; }
.case {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 3vw, 56px); padding: clamp(16px, 1.4vw, 22px);
  border-radius: 22px; background: var(--glass); border: var(--hair) solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.case:nth-child(2) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.case:nth-child(2) .case__visual { order: 2; }
.case__visual {
  position: relative; border-radius: 14px; min-height: clamp(260px, 26vw, 420px); overflow: hidden;
  background: linear-gradient(160deg, var(--g1), var(--g2));
}
.case__visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 30% 30%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0)); mix-blend-mode: soft-light; }
.case__visual span { position: absolute; right: 18px; bottom: 6px; font-size: clamp(90px, 10vw, 190px); font-weight: 300; letter-spacing: -.07em; line-height: .8; color: rgba(255, 255, 255, .85); }
.case__main { display: grid; align-content: space-between; gap: 40px; padding: clamp(8px, 1.4vw, 24px) clamp(4px, 1vw, 16px); }
.case__main h3 { font-size: clamp(32px, 3.6vw, 66px); font-weight: 300; letter-spacing: -.045em; line-height: .98; margin-top: 16px; }
.case__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case__specs > div { display: grid; align-content: start; gap: 10px; padding-top: 14px; border-top: var(--hair) solid var(--line); }
.case__specs p:not(.spec) { font-size: 14px; color: var(--muted); }

/* ===== FAQ · cards ===== */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; }
.qa__item:last-child:nth-child(odd) { grid-column: 1 / -1; } /* odd count: last question spans the row */
.qa__item {
  border-radius: 18px; background: var(--glass); border: var(--hair) solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background-color .35s ease;
}
.qa__item:hover, .qa__item[open] { background: rgba(255, 255, 255, .62); }
.qa__item summary { display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 12px; padding: clamp(18px, 1.8vw, 26px) clamp(20px, 2vw, 32px); cursor: pointer; list-style: none; }
.qa__item summary::-webkit-details-marker { display: none; }
.qa__n { font-family: var(--f-mono); font-size: 11px; color: var(--horizon); }
.qa__item h3 { font-size: clamp(20px, 1.7vw, 28px); font-weight: 400; letter-spacing: -.03em; line-height: 1.15; }
.qa__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; border: var(--hair) solid var(--line); transition: transform .5s var(--ease-out), background-color .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: var(--ink); transition: transform .5s var(--ease-out); }
.qa__icon::after { transform: rotate(90deg); }
.qa__item[open] .qa__icon { background: var(--ink-d); }
.qa__item[open] .qa__icon::before, .qa__item[open] .qa__icon::after { background: var(--ink-l); }
.qa__item[open] .qa__icon::after { transform: rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 clamp(20px, 2vw, 32px) clamp(20px, 2vw, 30px) calc(clamp(20px, 2vw, 32px) + 56px); max-width: 60em; color: var(--muted); font-size: 16px; }

/* ===== FINISH · sentence form + closing statement ===== */
.marquee--end { padding: 0; margin-top: clamp(90px, 11vw, 170px); }
.marquee--end .marquee__track { color: var(--ink); }
.marquee--end .marquee__track .soft { color: var(--soft); }
.finish { display: grid; gap: 34px; }
/* two phones about to clink: floats gently, tilts towards the pointer */
.finish__art { position: absolute; z-index: 1; right: 0; top: -40px; width: min(420px, 30vw); margin: 0; perspective: 900px; }
.finish__float { animation: drift 6s var(--ease-io) infinite; }
.finish__art img { width: 100%; height: auto; transform-style: preserve-3d; will-change: transform; } /* shadow is part of the image */
@keyframes drift { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -14px; rotate: -1.2deg; } }
.sform { display: grid; gap: 26px; margin-top: 30px; max-width: 1300px; }
.sform__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 18px; font-size: clamp(24px, 2.5vw, 44px); font-weight: 300; letter-spacing: -.035em; line-height: 1.15; }
.sform__field input {
  font: inherit; letter-spacing: inherit; color: var(--ink); background: transparent; border: 0;
  border-bottom: 1px solid var(--line); padding: 0 2px 4px; width: 8.6em; transition: border-color .3s;
}
.sform__field--wide input { width: 9.6em; }
.sform__field input::placeholder { color: var(--soft); }
.sform__field input:focus { outline: none; border-bottom-color: var(--horizon); }
.chips { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span {
  display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 16px; letter-spacing: 0; transition: background-color .3s, color .3s, border-color .3s;
}
.chips input:checked + span { background: var(--ink-d); color: var(--ink-l); border-color: var(--ink-d); }
.chips input:focus-visible + span { outline: 2px solid var(--horizon); outline-offset: 3px; }
.sform__foot { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-top: 22px; border-top: var(--hair) solid var(--line); }
.sform__consent { display: flex; gap: 12px; align-items: flex-start; max-width: 620px; font-size: 13px; color: var(--muted); }
.sform__consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink-d); }
.sform__consent a { text-decoration: underline; }
.sform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sform__status { min-height: 1.4em; font-size: 15px; }
.sform__status.is-error { color: #b4001f; }
.sform.is-done .sform__line, .sform.is-done .sform__foot, .sform.is-done .sform__status { display: none; }
/* double opt-in is unfamiliar to many visitors, so the next step replaces the form */
.sform__notice { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 2vw, 30px); max-width: min(860px, 66%); padding: clamp(24px, 3vw, 44px); border-radius: 22px; border-left: 4px solid var(--horizon); background: var(--night); color: var(--ink); outline: none; animation: notice-in .7s var(--ease-out) both; }
.sform__notice[hidden] { display: none; }
.sform__notice:focus-visible { outline: none; border-radius: 22px; }
.sform__notice > .ico { width: 44px; height: 44px; color: var(--horizon); }
.sform__notice-body { display: grid; gap: 14px; justify-items: start; }
.sform__notice h3 { font-size: clamp(30px, 3.2vw, 52px); font-weight: 300; letter-spacing: -.04em; line-height: 1.04; }
.sform__notice p:not(.eyebrow), .sform__notice li { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: var(--muted); }
.sform__notice b { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.sform__notice ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.sform__notice li::marker { color: var(--horizon); }
.sform__again { margin-top: 6px; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sform__again:hover { color: var(--ink); }
@keyframes notice-in { from { opacity: 0; transform: translateY(16px); } }
.foot { display: flex; gap: 26px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 80px); padding: 22px 0 6px; border-top: var(--hair) solid var(--line); font-size: 12px; color: var(--muted); }
.foot a:hover { color: var(--ink); }

/* ---------- thank-you page (double opt-in confirmed) ---------- */
.thanks-page { min-height: 100svh; background: linear-gradient(180deg, #f8f8fb 0%, #e6e5f2 60%, #d8d6f2 100%); }
.thanks { --ink: var(--ink-d); min-height: 100svh; display: grid; grid-template-rows: auto 1fr; padding: 40px var(--pad) 56px; }
.thanks .legal__back { margin: 0; }
.thanks__body { align-self: center; display: grid; justify-items: start; gap: 26px; max-width: 900px; padding: 60px 0; }
.thanks__text { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: rgba(13, 11, 22, .62); max-width: 34em; }
.thanks .btn svg { width: 16px; height: 16px; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 120px; font-size: 16px; line-height: 1.6; }
.legal__back { display: inline-flex; margin-bottom: 72px; }
.legal__back img { width: 160px; height: auto; }
.legal h1 { font-size: 48px; font-weight: 300; letter-spacing: -.04em; margin-bottom: 40px; }
.legal h2 { font-size: 20px; font-weight: 600; margin: 40px 0 10px; }
.legal p + p { margin-top: 10px; }
.legal a { text-decoration: underline; }
.legal mark { background: rgba(255, 85, 25, .18); padding: 0 3px; border-radius: 3px; }
.legal__note { margin-top: 64px; font-size: 13px; opacity: .6; }

:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--horizon); outline-offset: 4px; border-radius: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bar__nav { gap: 16px; }
  .table { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts > div:nth-child(n+4) { margin-top: 26px; }
  .case, .case:nth-child(2) { grid-template-columns: 1fr; }
  .case:nth-child(2) .case__visual { order: 0; }
}
@media (max-width: 900px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar__nav { display: none; }
}
@media (max-width: 760px) {
  .head--split { grid-template-columns: 1fr; }
  .head__note { justify-self: start; }
  .hero__top { flex-direction: column; gap: 14px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hud { flex-wrap: wrap; gap: 18px 28px; }
  .hero__scroll { display: none; }
  .spread { font-size: 4.1vw; } .spread--xl { font-size: 4.4vw; }
  .spread .rule { min-width: .5em; }
  .card-dark__body { grid-template-columns: 1fr; }
  .pin::after { display: none; }
  .pin__in { position: static; }
  .why { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div { padding-left: 0 !important; border-right: 0; padding-bottom: 18px; }
  .objs { grid-template-columns: 1fr; }
  .table { grid-template-columns: 1fr; }
  .stage__points { grid-template-columns: 1fr; }
  .qa { grid-template-columns: 1fr; }
  .qa__item summary { grid-template-columns: 30px 1fr 28px; }
  .qa__a p { padding-left: clamp(20px, 2vw, 32px); }
  .case__specs { grid-template-columns: 1fr; }
  .sform__field input, .sform__field--wide input { width: 100%; }
  .sform__field { flex: 1 1 100%; }
  .sform__notice { max-width: none; grid-template-columns: 1fr; }
  .finish__art { position: static; width: min(300px, 72vw); justify-self: center; margin: -10px 0 -20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; }
  .grain { animation: none; }
}
