/* TICK site: strict black and white (BRAND.md), Manrope.
   Only colours: green #15803d in the stock chart, blue #0066cc for the app's checkboxes.
   Motion lives in site.js (GSAP); hidden start states apply only under html.motion,
   so the page is complete without JavaScript or with reduced motion. */
@font-face { font-family: Manrope; font-weight: 400; src: url(/assets/Manrope_400Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: Manrope; font-weight: 700; src: url(/assets/Manrope_700Bold.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: Manrope; font-weight: 800; src: url(/assets/Manrope_800ExtraBold.ttf) format("truetype"); font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --ink-2: #6b6b6b;
  --ink-3: #9a9a9a;
  --line: #e2e2e2;
  --soft: #f5f5f7;
  --green: #15803d;
  --blue: #0066cc;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Manrope, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h2 { font-weight: 800; font-size: clamp(34px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.035em; }
h2 em, h1 em { font-style: normal; color: var(--ink-3); }
.light h2 em, .on-light h2 em { color: var(--ink-2); }
::selection { background: var(--white); color: var(--black); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }


/* ---------- Brand mark: never inverted; a thin white/15 ring on dark ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }

/* ---------- Tags, buttons ---------- */
.tag {
  display: inline-block; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); padding: 7px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
}
.tag-dark { color: var(--ink-2); border-color: var(--line); }

.cta {
  display: inline-flex; align-items: center; gap: 14px; padding: 7px 7px 7px 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.cta i {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-style: normal; font-size: 16px;
  transition: transform .5s var(--ease-out);
}
.cta:hover { transform: translateY(-2px); }
.motion .cta { transition: box-shadow .5s var(--ease-out); }
.cta:hover i { transform: translate(2px, -2px) scale(1.06); }
.cta:active { transform: scale(.97); }
.cta-light { background: var(--white); color: var(--black); }
.cta-light i { background: var(--black); color: var(--white); }
.cta-dark { background: var(--black); color: var(--white); }
.cta-dark i { background: var(--white); color: var(--black); }
.cta-sm { font-size: 14px; padding: 4px 4px 4px 16px; gap: 10px; }
.cta-sm i { width: 30px; height: 30px; font-size: 13px; }

.ghost { font-weight: 700; font-size: 16px; text-decoration: none; color: var(--white); position: relative; padding: 4px 0; }
.ghost::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transform: scaleX(.3); opacity: .5; transition: transform .6s var(--ease-out), opacity .6s; }
.ghost:hover::after { transform-origin: left; transform: scaleX(1); opacity: 1; }
.ghost-dark { color: var(--black); }

/* ---------- Floating island nav (blur allowed here only) ---------- */
.island {
  position: fixed; top: 14px; left: 50%; z-index: 80;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 760px);
  display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 16px;
  border-radius: 999px; color: var(--white);
  background: rgba(22,22,23,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 10px 40px rgba(0,0,0,.25);
  transition: transform .7s var(--ease-out), width .7s var(--ease-out);
}
.nav-light .island { background: rgba(255,255,255,.72); color: var(--black); box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 10px 40px rgba(0,0,0,.08); }
.nav-light .island-links a { color: rgba(0,0,0,.62); }
.nav-light .island-links a:hover, .nav-light .island-links a[aria-current] { color: var(--black); background: rgba(0,0,0,.05); }
.nav-light .burger { background: rgba(0,0,0,.06); color: var(--black); }
.nav-light .island .cta-light { background: var(--black); color: var(--white); }
.nav-light .island .cta-light i { background: var(--white); color: var(--black); }
.island { transition: background-color .5s var(--ease-out), color .5s var(--ease-out), box-shadow .5s var(--ease-out), transform .7s var(--ease-out); }
.island-links a, .burger, .island .cta, .island .cta i { transition: background-color .5s var(--ease-out), color .5s var(--ease-out); }
.island.is-hidden { transform: translate(-50%, calc(-100% - 24px)); }
.island-links { display: flex; gap: 4px; margin-left: auto; }
.island-links a { font-size: 14px; font-weight: 700; text-decoration: none; color: rgba(255,255,255,.72); padding: 8px 12px; border-radius: 999px; transition: color .3s, background .3s; }
.island-links a:hover, .island-links a[aria-current] { color: var(--white); background: rgba(255,255,255,.08); }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); cursor: pointer; position: relative; color: var(--white); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .6s var(--ease-out); }
.burger span:first-child { transform: translateY(-3.5px); }
.burger span:last-child { transform: translateY(3.5px); }
.menu-open .burger span:first-child { transform: rotate(45deg); }
.menu-open .burger span:last-child { transform: rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 70; display: flex; align-items: center;
  padding: 100px var(--gutter) 40px;
  background: rgba(0,0,0,.82);
  -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out), visibility 0s .5s;
}
.menu-open .sheet { opacity: 1; visibility: visible; transition: opacity .5s var(--ease-out); }
.sheet nav { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.sheet a {
  font-weight: 800; font-size: clamp(34px, 9vw, 56px); letter-spacing: -.03em; line-height: 1.15; text-decoration: none; color: var(--white);
  opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.sheet a:last-child { font-size: 20px; letter-spacing: 0; margin-top: 24px; color: var(--ink-3); }
.menu-open .sheet a { opacity: 1; transform: none; }
.menu-open .sheet a:nth-child(2) { transition-delay: .05s; }
.menu-open .sheet a:nth-child(3) { transition-delay: .1s; }
.menu-open .sheet a:nth-child(4) { transition-delay: .15s; }
.menu-open .sheet a:nth-child(5) { transition-delay: .2s; }
.menu-open .sheet a:nth-child(6) { transition-delay: .25s; }
.menu-open { overflow: hidden; }

@media (max-width: 820px) {
  .island-links { display: none; }
  .burger { display: block; }
  .island-cta { margin-left: auto; }
  .island-cta + .burger { margin-left: 0; }
}
@media (max-width: 460px) { .island-cta { display: none; } .burger { margin-left: auto !important; } }

/* ---------- Device ---------- */
.device {
  --w: 300px;
  width: var(--w); padding: calc(var(--w) * .035);
  border-radius: calc(var(--w) * .17);
  background: #0b0b0b;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.06), 0 50px 120px -30px rgba(0,0,0,.6);
}
.device-screen {
  position: relative; overflow: hidden; aspect-ratio: 550 / 1190;
  border-radius: calc(var(--w) * .135); background: var(--white);
}
.device-screen > img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative; overflow: clip; min-height: 100dvh;
  padding: 130px var(--gutter) 0; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.glow {
  position: absolute; left: 50%; top: 52%; width: 1100px; height: 1100px; max-width: 220vw; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(255,255,255,.12), rgba(255,255,255,.04) 45%, transparent 70%);
  pointer-events: none;
}
.hero-title {
  font-weight: 800; font-size: clamp(96px, 24vw, 300px); line-height: .9; letter-spacing: -.06em;
  margin: 26px 0 0; position: relative;
}
.chars { display: inline-block; }
.chars .ch-mask { display: inline-block; overflow: hidden; padding: 0 .015em .06em; margin-bottom: -.06em; vertical-align: top; }
.chars .ch { display: inline-block; }
.hero-sub { font-weight: 800; font-size: clamp(22px, 3.4vw, 36px); letter-spacing: -.025em; margin-top: 18px; }
.hero-lede { max-width: 34ch; color: var(--ink-3); font-size: clamp(17px, 1.6vw, 20px); margin-top: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 28px; margin-top: 34px; }

.stage { position: relative; z-index: 1; width: min(100%, 1000px); margin-top: 70px; display: flex; justify-content: center; }
.hero-device { --w: min(330px, 72vw); margin-bottom: -18%; }
.float {
  position: absolute; z-index: 2; text-align: left; padding: 14px 18px; border-radius: 18px;
  background: rgba(28,28,30,.9); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 20px 50px rgba(0,0,0,.45);
  display: flex; flex-direction: column; gap: 2px; white-space: nowrap;
}
.float b { font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.float span { font-size: 13px; color: var(--ink-3); }
.f1 { left: 2%; top: 10%; }
.f2 { right: 3%; top: 22%; }
.f3 { left: 6%; top: 52%; }
.f4 { right: 0; top: 64%; }
@media (max-width: 760px) {
  .stage { margin-top: 54px; }
  .float { display: none; }
}

/* ---------- 2. Statement ---------- */
.statement { padding: clamp(140px, 22vh, 240px) var(--gutter); background: var(--black); position: relative; z-index: 1; }
.lit {
  max-width: 980px; margin: 0 auto; font-weight: 800; font-size: clamp(28px, 4.6vw, 58px);
  line-height: 1.12; letter-spacing: -.03em;
}
.lit strong { font-weight: 800; }
.lit .w { display: inline-block; white-space: pre; }

/* ---------- 3. Alert scene (light) ---------- */
.alert-scene { background: var(--white); color: var(--black); }
.alert-pin {
  min-height: 100dvh; max-width: var(--max); margin: 0 auto; padding: 110px var(--gutter) 40px;
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; align-items: center; gap: 24px 60px;
}
.alert-copy h2 { margin-top: 22px; font-size: clamp(34px, 5vw, 64px); }
.alert-label { grid-column: 1 / -1; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.lock { --w: min(340px, calc((100dvh - 230px) * .43)); }
.lock-screen {
  background: radial-gradient(120% 70% at 50% 0%, #4a4a4a 0%, #1c1c1c 55%, #050505 100%);
  color: var(--white); text-align: center; padding: 14% 5% 0;
}
.lock-date { font-weight: 700; font-size: calc(var(--w) * .05); opacity: .85; }
.lock-time { font-weight: 800; font-size: calc(var(--w) * .27); line-height: 1; letter-spacing: -.04em; margin-top: 2%; }
.notif {
  display: flex; gap: 3.5%; text-align: left; margin-top: 7%; padding: 4% 4.5%;
  border-radius: calc(var(--w) * .065); background: rgba(245,245,247,.94); color: var(--black);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.notif + .notif { margin-top: 3%; opacity: .92; }
.notif img { width: calc(var(--w) * .11); height: calc(var(--w) * .11); border-radius: 22%; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.notif p { font-size: calc(var(--w) * .041); line-height: 1.3; }
.n-top { display: flex; justify-content: space-between; margin-bottom: 1px; }
.n-top b { font-weight: 800; }
.n-top span { color: var(--ink-2); }
@media (max-width: 820px) {
  .alert-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; justify-items: center; text-align: center; padding-top: 96px; gap: 22px; }
  .alert-copy h2 { font-size: clamp(28px, 8vw, 44px); margin-top: 14px; }
  .lock { --w: min(300px, calc((100dvh - 330px) * .46), 78vw); }
}

/* ---------- 4. Feature showcase (light) ---------- */
.showcase { background: var(--white); color: var(--black); padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(60px, 10vh, 120px); }
.showcase-head { max-width: var(--max); margin: 0 auto; }
.showcase-head h2 { margin-top: 22px; }
.showcase-grid { max-width: var(--max); margin: 40px auto 0; display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 60px; }
.steps { padding: 10vh 0 20vh; }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; max-width: 470px; transition: opacity .6s var(--ease-out); }
.step-n { font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--ink-2); }
.step h3 { font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.03em; margin: 12px 0 16px; }
.step p { color: var(--ink-2); font-size: 18px; }
.motion .step { opacity: .22; }
.motion .step.is-active { opacity: 1; }
.sticky-device { position: sticky; top: 0; height: 100dvh; perspective: 1400px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.show-device { --w: min(340px, calc((100dvh - 160px) * .44)); background: #0b0b0b; }
.screen {
  position: absolute; inset: 0; background: var(--white); opacity: 0; transform: scale(1.04);
  transition: opacity .7s var(--ease-out), transform 1s var(--ease-out);
}
.screen.is-on { opacity: 1; transform: none; }
.screen > img { width: 100%; height: 100%; object-fit: cover; }
.dots { display: flex; gap: 8px; }
.show-cap { display: none; text-align: center; max-width: 340px; padding: 0 4px; min-height: 140px; transition: opacity .35s var(--ease-out), transform .5s var(--ease-out); }
.show-cap.out { opacity: 0; transform: translateY(10px); }
.show-cap h3 { font-weight: 800; font-size: clamp(22px, 6.4vw, 28px); line-height: 1.1; letter-spacing: -.03em; margin: 6px 0 8px; }
.show-cap p { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line); transition: width .6s var(--ease-out), background .4s; }
.dots i.on { width: 22px; background: var(--black); }

/* In-phone app screens (HTML, scaled by --w) */
.app { padding: 17% 7% 0; font-size: calc(var(--w) * .043); line-height: 1.35; }
.app-ticker { font-weight: 800; font-size: 2.1em; letter-spacing: -.03em; line-height: 1; }
.app-name { font-weight: 700; font-size: .72em; letter-spacing: .14em; color: var(--ink-2); margin-top: .4em; }
.app-price { font-weight: 800; font-size: 2.5em; letter-spacing: -.035em; margin-top: .55em; line-height: 1; }
.app-change { font-size: .85em; color: var(--ink-2); margin-top: .5em; }
.app-change b { color: var(--green); font-weight: 700; }
.chart { width: 100%; height: 42%; margin-top: 1.2em; overflow: visible; }
.motion .chart { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease-io) .25s; }
.motion .screen.is-on .chart { clip-path: inset(0 0 0 0); }
.chart-line { fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-base { stroke: #c9c9c9; stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.ranges { display: flex; justify-content: space-between; margin-top: 1.2em; font-weight: 700; font-size: .8em; color: var(--ink-2); }
.ranges span { padding: .35em .8em; border-radius: 99px; }
.ranges .on { background: var(--black); color: var(--white); }
.xcard, .dialcard, .list { border: 1px solid var(--line); border-radius: 1.1em; padding: .95em 1em; margin-top: 1.1em; }
.xcard p, .dialcard p { margin-top: .45em; font-size: .86em; }
.xhead { display: flex; justify-content: space-between; gap: .5em; font-weight: 700; font-size: .62em; letter-spacing: .12em; color: var(--ink-2); }
.xhead b { color: var(--black); }
.xbold { font-weight: 800; font-size: 1em !important; }
.xmuted { color: var(--ink-2); }
.xcap { font-weight: 700; font-size: .62em !important; letter-spacing: .12em; color: var(--ink-2); margin-top: 1.2em !important; }
.xrow { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: .45em; }
.xrow span:first-child { flex: 1; }
.xrow span:nth-child(2) { color: var(--ink-2); margin-right: .8em; }
.xrow b { font-weight: 800; }
.app-section { font-weight: 700; font-size: .66em; letter-spacing: .14em; color: var(--ink-2); margin-top: 1.4em; }
.app-section:first-child { margin-top: 0; }
.dial-value { font-weight: 800; font-size: 3.2em !important; letter-spacing: -.04em; line-height: 1; margin-top: .1em !important; }
.dial-value small { font-size: .38em; color: var(--ink-2); letter-spacing: 0; margin-left: .1em; }
.bars { display: flex; gap: 3%; align-items: flex-end; height: 3.2em; margin-top: .9em; }
.bars i { flex: 1; height: 100%; border-radius: .2em; background: var(--line); transform-origin: bottom; transition: background .3s; }
.bars i.lit { background: var(--black); }
.bars-scale { display: flex; justify-content: space-between; font-weight: 700; font-size: .55em; letter-spacing: .12em; color: var(--ink-2); margin-top: .6em; }
.list { padding: 0 1em; margin-top: .6em; }
.list p { display: flex; justify-content: space-between; align-items: center; padding: .72em 0; font-size: .9em; font-weight: 700; }
.list p + p { border-top: 1px solid var(--line); }
.ck { width: 1.3em; height: 1.3em; border-radius: 50%; border: 1.5px solid #c7c7cc; flex: none; position: relative; transition: background .35s var(--ease-out), border-color .35s; }
.ck.on { background: var(--blue); border-color: var(--blue); }
.ck::after { content: ""; position: absolute; left: 34%; top: 18%; width: 26%; height: 46%; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .35s var(--ease-out); }
.ck.on::after { transform: rotate(45deg) scale(1); }

@media (max-width: 860px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 0; margin-top: 10px; }
  .step { min-height: auto; padding: 36px 0; text-align: center; margin: 0 auto; }
  .step p { font-size: 16px; }
  .step h3 { font-size: clamp(24px, 7vw, 32px); margin: 8px 0 10px; }
  .sticky-device { position: static; height: auto; padding: 20px 0; order: -1; }
  .show-device { --w: min(250px, 64vw); }
  /* With JS: the phone and a caption stay pinned; the steps only give the scroll distance */
  .js .sticky-device {
    order: -1; position: sticky; top: 0; height: 100dvh; z-index: 2; background: var(--white);
    padding: 84px 0 calc(18px + env(safe-area-inset-bottom)); justify-content: flex-start; gap: 14px;
  }
  .js .show-device { --w: min(250px, calc((100dvh - 330px) * .45), 64vw); }
  .js .steps { padding: 0; }
  .js .step { min-height: 62dvh; padding: 0; opacity: 0 !important; }
  .js .show-cap { display: block; }

}

/* ---------- 4b. Ink flood (white to black) ---------- */
.ink { background: var(--black); }
.ink-pin { position: relative; height: 100dvh; overflow: hidden; display: grid; place-items: center; padding: 0 var(--gutter); }
.ink-svg { display: none; }
.motion .ink { background: var(--white); }
.motion .ink-svg { display: block; position: absolute; left: 50%; top: 50%; width: 150vmax; height: 150vmax; max-width: none; margin: -75vmax 0 0 -75vmax; overflow: visible; }
.ink-svg path, .ink-svg circle { fill: var(--black); }
.ink-pre, .ink-line { grid-area: 1 / 1; }
.ink-pre { display: none; color: var(--black); font-weight: 800; font-size: clamp(30px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -.035em; text-align: center; max-width: 22ch; }
.motion .ink-pre { display: block; }
.ink-line { position: relative; font-weight: 800; font-size: clamp(30px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -.035em; text-align: center; max-width: 18ch; }
.ink-line em { font-style: normal; color: var(--ink-3); }

/* ---------- 5. Speed (dark, pinned) ---------- */
.speed { background: var(--black); }
.speed-pin { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px var(--gutter); text-align: center; }
.speed-big { display: grid; overflow: hidden; padding: .04em .06em .1em; font-weight: 800; font-size: clamp(88px, 22vw, 280px); line-height: 1; letter-spacing: -.06em; margin-top: 30px; }
.speed-big > span { grid-area: 1 / 1; }
.speed-b { opacity: 0; }
.speed-bar { width: min(640px, 86vw); height: 6px; border-radius: 99px; background: rgba(255,255,255,.12); margin-top: 40px; overflow: hidden; }
.speed-bar span { display: block; height: 100%; background: var(--white); border-radius: 99px; transform-origin: left; }
.speed-cap { display: grid; margin-top: 26px; color: var(--ink-3); font-size: clamp(16px, 1.8vw, 20px); max-width: 32ch; }
.speed-cap > span { grid-area: 1 / 1; }
.cap-b { opacity: 0; }
html:not(.motion) .speed-big, html:not(.motion) .speed-cap { display: flex; flex-direction: column; gap: 10px; }
html:not(.motion) .speed-b, html:not(.motion) .cap-b { opacity: 1; }
html:not(.motion) .speed-a::after { content: " →"; color: var(--ink-3); }
html:not(.motion) .speed-big { font-size: clamp(64px, 14vw, 180px); }

/* ---------- 6. Bento (light, double-bezel cards) ---------- */
.bento-wrap { background: var(--soft); color: var(--black); padding: clamp(100px, 16vh, 180px) var(--gutter); }
.bento-title { max-width: var(--max); margin: 0 auto; }
.bento-title em { color: var(--ink-2); }
.bento {
  max-width: var(--max); margin: 56px auto 0; display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas: "a a d" "b c d" "e e e";
}
.bento > :nth-child(1) { grid-area: a; }
.bento > :nth-child(2) { grid-area: b; }
.bento > :nth-child(3) { grid-area: c; }
.bento > :nth-child(4) { grid-area: d; }
.bento > :nth-child(5) { grid-area: e; }
.shell { padding: 6px; border-radius: 32px; background: rgba(0,0,0,.035); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.core {
  height: 100%; border-radius: 26px; background: var(--white); padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 2px rgba(0,0,0,.04), 0 12px 40px -20px rgba(0,0,0,.12);
  display: flex; flex-direction: column; gap: 14px;
}
.core > p:last-child { color: var(--ink-2); margin-top: auto; }
.core-dark-shell { background: rgba(0,0,0,.9); box-shadow: none; }
.core-dark { background: var(--black); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.core-dark > p:last-child { color: var(--ink-3); }
.kicker { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.core-dark .kicker { color: var(--ink-3); }
.giant { font-weight: 800; font-size: clamp(80px, 11vw, 150px); line-height: .9; letter-spacing: -.06em; }
.ring { width: 120px; height: 120px; transform: rotate(-90deg); margin: 6px 0 -4px; }
.ring circle { fill: none; stroke-width: 9; }
.ring-bg { stroke: var(--line); }
.ring-fg { stroke: var(--black); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 8.82; }
.ring-num { font-weight: 800; font-size: 44px; letter-spacing: -.04em; line-height: 1; }
.etf { font-weight: 700; font-size: 20px; letter-spacing: -.01em; margin-top: 6px; }
.etf b { font-weight: 800; display: block; font-size: 52px; letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; }
.statement-sm { font-weight: 800; font-size: clamp(44px, 5.4vw, 72px); line-height: .98; letter-spacing: -.045em; margin-top: 6px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 6px; }
.stats p { display: flex; flex-direction: column; }
.stats b { font-weight: 800; font-size: clamp(36px, 5vw, 64px); letter-spacing: -.045em; line-height: 1; }
.stats small { font-size: 15px; color: var(--ink-2); margin-top: 8px; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b c" "d d" "e e"; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e"; gap: 12px; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .stats p { flex-direction: row; align-items: baseline; gap: 12px; }
  .stats small { margin: 0; }
  .shell { border-radius: 28px; }
  .core { border-radius: 22px; }
}

/* ---------- 7. Sources (dark marquee) ---------- */
.sources { background: var(--black); padding: clamp(110px, 18vh, 200px) 0; text-align: center; overflow: clip; }
.sources h2 { padding: 0 var(--gutter); max-width: 900px; margin: 0 auto; }
.marquee {
  margin-top: 60px; display: flex; flex-direction: column; gap: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.row { display: flex; width: max-content; }
.track { display: flex; gap: 14px; padding-right: 14px; animation: marquee 48s linear infinite; }
.rev .track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .track { animation-play-state: paused; }
.track span {
  font-weight: 700; font-size: clamp(17px, 2vw, 24px); white-space: nowrap; padding: 16px 28px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.86);
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- 8. Film ---------- */
.film { background: var(--black); padding: clamp(60px, 10vh, 120px) var(--gutter) clamp(120px, 18vh, 200px); text-align: center; }
.film h2 { margin: 22px auto 0; }
.film-shell { max-width: 1040px; margin: 54px auto 0; padding: 8px; border-radius: 34px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.film-core { border-radius: 27px; overflow: hidden; background: #111; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.film-core video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
@media (max-width: 600px) { .film-shell { padding: 5px; border-radius: 24px; } .film-core { border-radius: 19px; } }

/* ---------- 9. Closing (light) ---------- */
.closing { background: var(--white); color: var(--black); min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px var(--gutter); }
.closing-title { font-size: clamp(56px, 12vw, 170px); line-height: .96; letter-spacing: -.055em; }
.closing-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.closing-title .line > span { display: inline-block; }
.closing-title em { color: var(--ink-2); }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 28px; margin-top: 54px; }

/* ---------- Footer ---------- */
.foot { background: var(--black); color: var(--ink-3); font-size: 14px; padding: 64px var(--gutter) 48px; }
.foot-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 22px; }
.brand-foot { color: var(--white); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot nav a { color: var(--white); text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; transition: opacity .3s; }
.foot nav a:hover { opacity: 1; }
.foot p { max-width: 70ch; }
.foot .fine { font-size: 13px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }

/* ---------- Support page ---------- */
.page-head { max-width: 860px; margin: 0 auto; padding: 160px var(--gutter) 60px; }
.page-head h1 { font-weight: 800; font-size: clamp(56px, 11vw, 120px); line-height: .95; letter-spacing: -.055em; margin-top: 24px; }
.page-head .lede { color: var(--ink-3); font-size: clamp(18px, 2vw, 22px); max-width: 40ch; margin-top: 22px; }
.page-head .lede a { color: var(--white); font-weight: 700; }
.faq-wrap { background: var(--white); color: var(--black); padding: clamp(60px, 10vh, 110px) var(--gutter); }
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq .core h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.025em; line-height: 1.15; }
.faq .core p { color: var(--ink-2); margin-top: 0; }
.faq .core a { color: var(--black); font-weight: 700; }
.contact-shell { max-width: 860px; margin: 0 auto 56px; scroll-margin-top: 90px; }
.contact-shell h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.03em; }
.contact { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.field small { font-size: inherit; letter-spacing: inherit; font-weight: 400; text-transform: none; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--black); background: var(--soft); width: 100%;
  border: 1px solid transparent; border-radius: 14px; padding: 14px 16px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--black); background-color: var(--white); }
.field [aria-invalid="true"] { border-color: var(--black); background-color: var(--white); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
button.cta { border: 0; cursor: pointer; font-family: inherit; }
button.cta:disabled { opacity: .5; cursor: default; }
.contact-status { font-weight: 700; font-size: 15px; }
.contact-done { display: grid; justify-items: start; gap: 10px; padding: 8px 0 4px; animation: done-in .8s var(--ease-out) both; }
.contact-done[hidden], .contact[hidden] { display: none; }
.contact-done h3 { font-weight: 800; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.035em; line-height: 1.05; margin-top: 8px; }
.contact-done p { color: var(--ink-2); }
.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--black); position: relative; animation: done-pop .7s var(--ease-out) both; }
.done-mark::after { content: ""; position: absolute; left: 21px; top: 14px; width: 12px; height: 22px; border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.again { background: none; border: 0; cursor: pointer; font-family: inherit; margin-top: 10px; }
@keyframes done-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes done-pop { from { transform: scale(.4); opacity: 0; } }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.faq-actions { max-width: 860px; margin: 48px auto 0; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }

/* ---------- Motion start states (only when site.js runs with motion) ---------- */
/* The hero waits, hidden, for site.js to start its intro: no flash of the full
   title before the letters rise. If the script never runs it shows up anyway. */
@media (prefers-reduced-motion: no-preference) {
  html:not(.hero-ready) .hero > .tag, html:not(.hero-ready) .hero-title, html:not(.hero-ready) .hero-sub,
  html:not(.hero-ready) .hero-lede, html:not(.hero-ready) .hero-actions, html:not(.hero-ready) .stage {
    opacity: 0; animation: hero-fallback .6s 3s forwards;
  }
}
@keyframes hero-fallback { to { opacity: 1; } }
.motion [data-in], .motion .float, .motion .hero-device, .motion .shell, .motion .film-shell { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .track { animation: none !important; }
  .row { flex-wrap: wrap; width: auto; justify-content: center; gap: 12px; padding: 0 var(--gutter); }
  .track { flex-wrap: wrap; justify-content: center; padding: 0; }
  .track[aria-hidden] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
