/* Splash (light, beam pointing east), glass nav + menu card, one-fold hero, trust strip */

/* ---------- Splash: the mark draws itself, fills, the wordmark settles. ~1.7 s, skippable ---------- */
.splash { position: fixed; inset: 0; z-index: var(--z-splash); display: grid; place-items: center; background: var(--c-bg); animation: sp-out 650ms var(--ease-io) 1650ms forwards; }
.splash.is-skipped { animation-delay: 0ms; animation-duration: 320ms; }
.sp1 { display: grid; justify-items: center; gap: 18px; }
.sp1__mark { width: clamp(84px, 11vw, 116px); height: auto; overflow: visible; }
/* strokes take the brand gradient (stroke="url(#lg-g)" in the markup), then the gradient fill fades in */
.sp1__stroke path { fill: none; stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: sp-draw 900ms var(--ease-io) forwards; animation-delay: calc(var(--i) * 70ms); }
.sp1__fill { opacity: 0; animation: sp-fill 500ms var(--ease-out) 820ms forwards; }
.sp1__stroke { animation: sp-fadeout 400ms var(--ease-out) 1000ms forwards; }
.sp1__word { width: clamp(150px, 16vw, 210px); height: auto; color: var(--c-electric); opacity: 0; transform: translateY(10px); animation: sp-up 700ms var(--ease-expo) 900ms forwards; }
.sp1__line { width: 120px; height: 1px; background: var(--c-line-2); transform: scaleX(0); animation: sp-line 900ms var(--ease-expo) 1050ms forwards; }
.sp1__line::after { content: ""; display: block; height: 100%; background: var(--g-brand); transform-origin: 0 50%; transform: scaleX(0); animation: sp-line 600ms linear 1150ms forwards; }
@keyframes sp-draw { to { stroke-dashoffset: 0; } }
@keyframes sp-fill { to { opacity: 1; } }
@keyframes sp-fadeout { to { opacity: 0; } }
@keyframes sp-up { to { opacity: 1; transform: none; } }
@keyframes sp-line { to { transform: scaleX(1); } }
@keyframes sp-out { 0% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* ---------- Nav: separate floating objects (same nav on every page, see nav() in build.py) ---------- */
.xs-hide { display: inline; }
@media (max-width: 400px) { .xs-hide { display: none; } }
/* Back links (sign-in, application, legal): same glass as the nav */
.backlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px 10px 14px; border-radius: 14px; background: color-mix(in oklab, var(--c-white) 74%, transparent); box-shadow: var(--sh-glass); backdrop-filter: blur(10px) saturate(1.5); -webkit-backdrop-filter: blur(10px) saturate(1.5); font-size: var(--fs-14); font-weight: var(--w-med); color: var(--c-ink); transition: background 250ms, transform 500ms var(--ease-liquid); }
.backlink svg { width: 14px; height: 14px; transition: transform 500ms var(--ease-expo); }
.backlink:hover { background: var(--c-white); }
.backlink:hover svg { transform: translateX(-3px); }
.glass-bar { background: color-mix(in oklab, var(--c-white) 74%, transparent); box-shadow: var(--sh-glass); backdrop-filter: blur(10px) saturate(1.5); -webkit-backdrop-filter: blur(10px) saturate(1.5); }
.nav { position: fixed; left: 0; right: 0; top: 14px; z-index: var(--z-nav); pointer-events: none; }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav__left { pointer-events: auto; position: relative; display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 64px); min-height: 58px; padding: 6px 8px 6px 14px; border-radius: 14px; transition: background 400ms; }
.nav.is-scrolled .nav__left { background: color-mix(in oklab, var(--c-white) 86%, transparent); }
/* Logo: inline sprite (no image request). Primary lockup = gradient mark + Electric Blue wordmark (manual 3.3/3.5).
   Min width 80px for the horizontal lockup (manual 3.4): never set .logo below height 27px. */
.logo { display: block; height: 34px; width: auto; aspect-ratio: 422 / 141; color: var(--c-electric); overflow: visible; }
.logo--white { color: var(--c-white); fill: var(--c-white); }
.mark { display: block; height: 28px; width: auto; aspect-ratio: 128 / 141; }
.nav__brand { display: block; padding: 4px 4px; }
.burger { position: relative; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; transition: background 220ms; }
.burger:hover { background: var(--c-brand-08); }
.burger i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--c-ink); border-radius: 2px; transition: transform 480ms var(--ease-expo); }
.burger i:first-child { transform: translateY(-4px); }
.burger i:last-child { transform: translateY(4px); }
.burger[aria-expanded="true"] i:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: rotate(-45deg); }
.nav__right { pointer-events: auto; display: flex; align-items: center; gap: 8px; }
/* Sign in: plain text in the same type as the Apply button. Over a dark section (data-nav-dark) the nav gets
   .on-dark from the scroll engine and the text turns white, so it is always readable. */
.nav__signin { display: inline-flex; align-items: center; min-height: 58px; padding: 0 18px; font-size: var(--fs-14); font-weight: var(--w-med); letter-spacing: -0.005em; color: var(--c-ink); transition: color 300ms var(--ease-out); }
.nav__signin:hover { color: var(--c-brand-ink); }
.nav.on-dark .nav__signin { color: var(--c-white); }
.nav.on-dark .nav__signin:hover { color: var(--c-lav-2); }
.btn--nav { --bg: color-mix(in oklab, var(--c-white) 82%, transparent); --fg: var(--c-ink); --fill: var(--c-ink); --fg-h: var(--c-white); --ic-bg: var(--c-electric); --ic-fg: var(--c-white); --ic-bg-h: var(--c-white); --ic-fg-h: var(--c-ink); min-height: 58px; padding: 8px 8px 8px 20px; border-radius: 14px; box-shadow: var(--sh-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--nav .btn__i { width: 42px; height: 42px; border-radius: 50%; }
.btn--nav { font-size: var(--fs-14); font-weight: var(--w-med); letter-spacing: -0.005em; }
@media (max-width: 599px) {
  .nav__left { min-height: 52px; padding-left: 12px; gap: 16px; }
  .nav__brand .logo { height: 30px; }
  .nav__signin { display: none; }
  .btn--nav { min-height: 52px; padding-left: 14px; }
  .btn--nav .btn__i { width: 36px; height: 36px; }
}

.menu { position: absolute; left: 0; top: calc(100% + 12px); width: min(380px, calc(100vw - 2 * var(--gutter))); padding: 10px; border-radius: 18px; background: var(--c-white); box-shadow: var(--sh-3), inset 0 0 0 1px var(--c-line); transform-origin: 24px -8px; transform: scale(0.94) translateY(-8px); opacity: 0; visibility: hidden; transition: transform 420ms var(--ease-expo), opacity 220ms, visibility 0s 420ms; }
.menu.is-open { transform: none; opacity: 1; visibility: visible; transition: transform 520ms var(--ease-expo), opacity 260ms; }
.menu__links { display: grid; }
.menu__links a { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: var(--r-16); font-size: var(--fs-18); font-weight: var(--w-light); letter-spacing: -0.02em; transition: background 220ms, padding 400ms var(--ease-expo); opacity: 0; transform: translateY(8px); }
.menu.is-open .menu__links a { opacity: 1; transform: none; transition: background 220ms, padding 400ms var(--ease-expo), opacity 400ms calc(var(--i) * 35ms + 80ms), transform 500ms var(--ease-expo) calc(var(--i) * 35ms + 80ms); }
.menu__links a small { font-size: var(--fs-11); color: var(--c-ink-3); letter-spacing: 0.08em; }
.menu__links a:hover { background: var(--c-brand-08); padding-left: 20px; }
.menu__foot { display: grid; gap: 6px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--c-line); }
.menu__signin { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-16); font-weight: var(--w-med); }
.menu__apply { color: var(--c-brand-ink); }
.menu__signin:hover { background: var(--c-brand-08); }
@media (min-width: 600px) { .menu__signin:not(.menu__always) { display: none; } }
.menu__note { display: flex; align-items: center; gap: 8px; padding: 6px 6px 2px; font-size: var(--fs-12); color: var(--c-ink-3); }

/* ---------- Hero: centred, everything above the fold ---------- */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: stretch; padding: 100px 0 24px; }
.hero__grid { display: grid; gap: clamp(28px, 5.4vh, 64px); align-content: start; width: min(100% - 2 * var(--gutter), var(--container)); }
.hero__copy { display: grid; justify-items: center; text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 0.9rem + 4.7vw, 5.6rem); font-weight: var(--w-thin); letter-spacing: var(--ls-display); line-height: 1; }
.hero h1 .ln { padding-bottom: 0.08em; }
.hero__sub { margin-top: clamp(14px, 2vh, 22px); font-size: clamp(var(--fs-15), 0.88rem + 0.3vw, var(--fs-18)); font-weight: var(--w-light); color: var(--c-ink-2); max-width: 46ch; }
/* Two headline words follow the hero slide. The slot animates to each word's measured width (--rw). */
.rot { display: inline-grid; width: var(--rw, auto); overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; color: var(--c-electric); text-align: left; transition: width 760ms var(--ease-expo); }
.rot__w { grid-area: 1 / 1; justify-self: start; white-space: nowrap; transform: translateY(108%); opacity: 0; transition: transform 820ms var(--ease-expo), opacity 380ms var(--ease-out); }
.rot__w.is-on { transform: none; opacity: 1; }
.rot__w.is-out { transform: translateY(-108%); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .rot { transition: none; } }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: clamp(18px, 2.6vh, 28px); }

.hstage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hcol { display: contents; }
.stage { grid-column: 1 / -1; order: -1; position: relative; height: clamp(300px, 42vh, 460px); }
.stage__halo { position: absolute; left: 50%; top: 46%; width: min(92%, 440px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, var(--c-white) 0%, color-mix(in oklab, var(--c-tint) 32%, var(--c-white)) 50%, transparent 100%); }
.stage__float { position: absolute; inset: 0 0 6%; animation: float 7s var(--ease-io) infinite alternate; }
.dev { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; object-fit: contain; transform: translate(-50%, -50%) scale(0.96); opacity: 0; transition: opacity 260ms linear, transform 700ms var(--ease-expo); }
.dev[data-dev="vials"] { width: 94%; }
.dev[data-dev="kit"] { width: 94%; }
.dev[data-dev="ring"] { height: 82%; }
.dev.is-on { opacity: 1; transform: translate(-50%, -50%); filter: drop-shadow(0 22px 26px color-mix(in oklab, var(--c-ink) 10%, transparent)); }
.dev.is-on.jit { animation: jit 460ms steps(2) both; }
@keyframes jit { 0% { transform: translate(calc(-50% - 10px), -50%) skewX(-6deg); } 25% { transform: translate(calc(-50% + 8px), -50%) skewX(4deg); } 50% { transform: translate(calc(-50% - 4px), -50%); } 75% { transform: translate(calc(-50% + 2px), -50%); } 100% { transform: translate(-50%, -50%); } }
/* glitch: three slices of the incoming device tear sideways, one with a shifted tint */
.glitch { position: absolute; inset: 0; pointer-events: none; visibility: hidden; }
.glitch img { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; object-fit: contain; transform: translate(-50%, -50%); opacity: 0; }
.glitch[data-dev="vials"] img { width: 94%; } .glitch[data-dev="kit"] img { width: 94%; } .glitch[data-dev="ring"] img { height: 82%; }
.glitch.on { visibility: visible; }
.glitch.on img:nth-child(1) { animation: g1 460ms steps(1) both; filter: hue-rotate(40deg) saturate(1.8); mix-blend-mode: multiply; }
.glitch.on img:nth-child(2) { animation: g2 460ms steps(1) both; filter: brightness(1.35) contrast(1.2); }
.glitch.on img:nth-child(3) { animation: g3 460ms steps(1) both; filter: grayscale(1) brightness(1.6); mix-blend-mode: screen; }
@keyframes g1 { 0% { opacity: .9; clip-path: inset(12% 0 70% 0); transform: translate(calc(-50% - 22px), -50%); } 20% { clip-path: inset(46% 0 30% 0); transform: translate(calc(-50% + 16px), -50%); } 40% { clip-path: inset(70% 0 8% 0); transform: translate(calc(-50% - 10px), -50%); } 60% { clip-path: inset(30% 0 52% 0); transform: translate(calc(-50% + 6px), -50%); } 80%, 100% { opacity: 0; } }
@keyframes g2 { 0% { opacity: 1; clip-path: inset(58% 0 22% 0); transform: translate(calc(-50% + 26px), -50%); } 25% { clip-path: inset(8% 0 80% 0); transform: translate(calc(-50% - 18px), -50%); } 50% { clip-path: inset(36% 0 44% 0); transform: translate(calc(-50% + 12px), -50%); } 75%, 100% { opacity: 0; } }
@keyframes g3 { 0% { opacity: .8; clip-path: inset(80% 0 4% 0); transform: translate(calc(-50% - 30px), -50%); } 30% { clip-path: inset(22% 0 66% 0); transform: translate(calc(-50% + 24px), -50%); } 60%, 100% { opacity: 0; } }
.stage__shadow { position: absolute; left: 50%; bottom: 10%; width: 40%; height: 16px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--c-ink) 14%, transparent), transparent); animation: shadow 7s var(--ease-io) infinite alternate; }
@keyframes float { from { transform: translateY(-8px) rotate(-1deg); } to { transform: translateY(10px) rotate(1deg); } }
@keyframes shadow { from { transform: translateX(-50%) scaleX(0.82); opacity: 0.7; } to { transform: translateX(-50%) scaleX(1.04); opacity: 1; } }
.stage { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.stage:focus-visible { box-shadow: none; outline: none; }
.stage:focus-visible .stage__halo { box-shadow: 0 0 0 3px var(--c-brand-30); }
.stage__float.boing { animation: boing 900ms var(--ease-liquid), float 7s var(--ease-io) infinite alternate 900ms; }
@keyframes boing { 0% { transform: scale(1); } 18% { transform: scale(0.9, 0.86) translateY(8px); } 42% { transform: scale(1.06, 1.08) translateY(-14px); } 64% { transform: scale(0.98) translateY(3px); } 82% { transform: scale(1.01) translateY(-2px); } 100% { transform: none; } }
.stage.is-paused @keyframes pager { to { transform: scaleX(1); } }

/* Glass cards: frosted with a specular rim (no SVG filters, cheap to composite) */
.glassy { position: relative; isolation: isolate; border-radius: var(--r-24); background: linear-gradient(160deg, color-mix(in oklab, var(--c-white) 82%, transparent), color-mix(in oklab, var(--c-white) 50%, transparent)); box-shadow: var(--sh-glass); backdrop-filter: blur(12px) saturate(1.5); -webkit-backdrop-filter: blur(12px) saturate(1.5); text-align: left; }
.glassy::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; background: var(--g-spec); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.hc { display: grid; align-content: space-between; gap: 10px; padding: 14px; min-height: 128px; overflow: hidden; transition: transform 700ms var(--ease-liquid); }
.hc:hover { transform: translateY(-4px); }
.hc--body { padding: 0; grid-template-rows: 1fr auto; align-content: stretch; }
.hc__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hc__k { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-12); color: var(--c-ink-2); white-space: nowrap; }
.hc__k svg { width: 14px; height: 14px; color: var(--c-brand); transition: transform 500ms var(--ease-liquid); }
.hc:hover .hc__k svg { transform: scale(1.2) rotate(-8deg); }
.hc__t { font-size: var(--fs-11); color: var(--c-ink-3); white-space: nowrap; }
@media (max-width: 560px) { .hc__t { display: none; } }
.hc__v { display: flex; align-items: baseline; gap: 4px; font-size: clamp(1.6rem, 1.1rem + 1.1vw, 2.3rem); font-weight: var(--w-thin); letter-spacing: -0.04em; line-height: 1; color: var(--c-ink); }
.hc__v small { font-size: var(--fs-12); font-weight: var(--w-reg); letter-spacing: 0; color: var(--c-ink-3); }
.hc__s { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-11); color: var(--c-ink-3); }
.hc__v.swap, .hc__k.swap { animation: vswap 700ms var(--ease-expo); }
@keyframes vswap { 0% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }
.hc__body { position: relative; overflow: hidden; min-height: 130px; border-radius: var(--r-24) var(--r-24) 0 0; background: linear-gradient(180deg, color-mix(in oklab, var(--c-tint) 24%, transparent), transparent); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.hc__body img { position: absolute; left: 50%; top: 8px; width: 62%; transform: translateX(-50%); }
.hc__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--c-white); box-shadow: 0 0 12px 3px color-mix(in oklab, var(--c-tint) 80%, transparent); animation: hscan 3.4s var(--ease-io) infinite; }
@keyframes hscan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(160px); opacity: 0; } }
.hc__pulse { position: absolute; left: calc(50% + 4%); top: 52%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: var(--c-white); box-shadow: 0 0 0 3px var(--c-brand-30); animation: beat 1.1s var(--ease-out) infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.5); } 28% { transform: scale(1); } 42% { transform: scale(1.3); } }
.hc__meta { display: grid; gap: 6px; padding: 0 14px 14px; }
/* body card: the reading is the hero of the card */
.hc--body .hc__v { font-size: clamp(2.4rem, 1.5rem + 1.9vw, 3.4rem); }
.hc--body .hc__v small { font-size: var(--fs-14); }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px 4px; }
.dots i:nth-child(n+21) { display: none; }
.dots i { width: 100%; max-width: 11px; aspect-ratio: 1; justify-self: center; border-radius: 50%; background: color-mix(in oklab, var(--c-ink) 9%, transparent); transition: background 500ms, transform 500ms var(--ease-expo); }
.dots i.on { background: var(--c-brand); }
.dots i.pop { transform: scale(1.35); background: var(--c-tint-2); }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 34px; }
.bars i { flex: 1; height: var(--h); border-radius: 4px; background: color-mix(in oklab, var(--c-ink) 10%, transparent); transition: height 900ms var(--ease-liquid), background 400ms; }
.bars i.hi { background: var(--c-brand); }
.badge.pulse { animation: bpulse 900ms var(--ease-expo); }
@keyframes bpulse { 30% { transform: scale(1.12); } }

@media (max-width: 1023px) { .hc--ok { grid-column: 1 / -1; order: 5; } }
/* Short laptop screens (768 px and less): everything still sits above the fold */
@media (min-width: 1800px) {
  .stage { height: clamp(420px, 50vh, 640px); }
  .hcol { height: clamp(340px, 38vh, 400px); }
  .hstage { max-width: 1320px; grid-template-columns: minmax(0, 360px) minmax(0, 1fr) minmax(0, 360px); }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .hero h1 { font-size: min(clamp(2.6rem, 0.9rem + 4.7vw, 5.6rem), 9vh); }
  .hero__grid { gap: clamp(22px, 4vh, 40px); }
  .hero .stage { height: max(300px, 42vh); }
  .hero .hcol { height: 280px; }
  .dots { gap: 4px; } .dots i { max-width: 9px; }
}
@media (min-width: 640px) { .hero__sub { max-width: 62ch; } }
@media (min-width: 1024px) {
  .hero { padding-top: clamp(84px, 12vh, 116px); }
  /* cards a little narrower and pulled in towards the product */
  .hstage { grid-template-columns: minmax(0, clamp(250px, 23vw, 320px)) minmax(0, 1fr) minmax(0, clamp(250px, 23vw, 320px)); width: 100%; max-width: 1160px; margin-inline: auto; align-items: center; gap: clamp(12px, 1.6vw, 24px); }
  /* both card columns share one height and the same gap, so their top and bottom edges line up exactly */
  .hcol { display: grid; gap: 12px; height: clamp(290px, 35vh, 330px); grid-template-rows: minmax(0, 1.22fr) minmax(0, 1fr); }
  .hcol--r { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
  .hcol .hc { min-height: 0; }
  .stage { grid-column: auto; order: 0; height: clamp(320px, 48vh, 500px); }
  .hc--body { grid-template-columns: 0.8fr 1fr; grid-template-rows: none; }
  .hc--body .hc__body { border-radius: var(--r-24) 0 0 var(--r-24); -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 70%, transparent); }
  .hc--body .hc__body img { width: 88%; }
  .hc--body .hc__meta { align-content: end; padding: 14px 14px 14px 4px; }
}

/* ---------- Trust strip ---------- */
.trust { padding-block: 8px clamp(56px, 6vw, 88px); }
.trust__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
@media (min-width: 560px) { .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.trust__list li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-20); background: var(--c-surface); box-shadow: var(--sh-1), inset 0 0 0 1px var(--c-line); transition: transform 500ms var(--ease-expo), box-shadow 400ms; }
.trust__list li:hover { transform: translateY(-3px); box-shadow: var(--sh-2), inset 0 0 0 1px var(--c-line); }
.trust__ic { display: grid; place-items: center; width: 28px; flex: none; color: var(--c-brand); }
.trust__ic svg { width: 22px; height: 22px; transition: transform 600ms var(--ease-liquid); }
.trust__ic .flag { width: 26px; height: 14px; }
.trust__list li:hover .trust__ic svg { transform: translateY(-3px) rotate(-8deg) scale(1.08); }
.trust__list b { display: block; font-size: var(--fs-14); font-weight: var(--w-reg); line-height: 1.3; }
.trust__list small { font-size: var(--fs-12); color: var(--c-ink-3); }
@media (min-width: 1024px) { .trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 404 ---------- */
.nf { position: relative; min-height: 100svh; display: grid; justify-items: center; align-content: center; gap: 32px; padding: 120px var(--gutter) 48px; text-align: center; overflow: hidden; }
.nf__num { font-size: clamp(7rem, 3rem + 16vw, 17rem); font-weight: var(--w-thin); letter-spacing: -0.07em; line-height: 0.8; color: var(--c-ink); -webkit-user-select: none; user-select: none; background: linear-gradient(180deg, var(--c-ink) 30%, var(--c-brand)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nf::before { content: ""; position: absolute; left: 50%; top: 38%; width: min(900px, 120vw); aspect-ratio: 1.6; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--c-tint) 55%, transparent), transparent 70%); z-index: -1; }
.nf__ecg { width: min(560px, 80vw); height: 46px; margin-top: -8px; overflow: visible; }
.nf__ecg path { fill: none; stroke: var(--c-brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: ecg 3.2s linear infinite; }
.nf__ecg .bg { stroke: var(--c-line-2); stroke-dasharray: none; animation: none; }
@keyframes ecg { to { stroke-dashoffset: -1; } }
.nf__tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--c-surface); box-shadow: var(--sh-1), inset 0 0 0 1px var(--c-line); font-size: var(--fs-13); color: var(--c-ink-2); }
.nf__copy { position: relative; display: grid; justify-items: center; gap: 16px; }
.nf h1 { font-size: clamp(2.6rem, 1rem + 4.4vw, 5rem); font-weight: var(--w-thin); letter-spacing: var(--ls-display); line-height: 1; }
.nf p { max-width: 42ch; color: var(--c-ink-2); font-weight: var(--w-light); }
.nf__ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: 8px; }
.nf__links { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.nf__links a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--r-pill); background: color-mix(in oklab, var(--c-white) 78%, transparent); box-shadow: var(--sh-1), inset 0 0 0 1px var(--c-line); font-size: var(--fs-14); transition: transform 600ms var(--ease-liquid), color 250ms, box-shadow 400ms; }
.nf__links svg { width: 16px; height: 16px; color: var(--c-brand); transition: transform 600ms var(--ease-liquid); }
.nf__links a:hover { transform: translateY(-3px); color: var(--c-brand-ink); box-shadow: var(--sh-2), inset 0 0 0 1px var(--c-brand-14); }
.nf__links a:hover svg { transform: rotate(-10deg) scale(1.15); }

/* Request card: status icon (spinner that turns into a check) + four-part progress */
.okst { display: flex; align-items: center; gap: 12px; }
.okst__ic { width: 30px; height: 30px; flex: none; }
.okst__ic svg { width: 100%; height: 100%; overflow: visible; }
.okst__ic circle, .okst__ic path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.okst__ic .t { stroke: color-mix(in oklab, var(--c-ink) 10%, transparent); }
.okst__ic .r { stroke: var(--c-brand); stroke-dasharray: 0.28 1; transform-origin: 12px 12px; animation: spin 1s linear infinite; }
.okst__ic .c { stroke: var(--c-white); stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.okst__ic.done circle.t { fill: var(--c-brand); stroke: var(--c-brand); transition: fill 300ms; }
.okst__ic.done .r { opacity: 0; }
.okst__ic.done .c { transition: stroke-dashoffset 600ms var(--ease-expo) 150ms; stroke-dashoffset: 0; }
.okst__t { display: grid; }
.okst__t b { font-size: var(--fs-16); font-weight: var(--w-reg); letter-spacing: -0.01em; }
.okst__t small { font-size: var(--fs-12); color: var(--c-ink-3); }
.okst__t.swap > * { animation: vswap 600ms var(--ease-expo) both; }
.okst__t.swap small { animation-delay: 60ms; }
.okseg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.okseg i { position: relative; height: 4px; border-radius: 5px; background: color-mix(in oklab, var(--c-ink) 8%, transparent); overflow: hidden; }
.okseg i::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c-brand); transform-origin: 0 50%; transform: scaleX(0); transition: transform 900ms var(--ease-expo); }
.okseg i.d::before { transform: scaleX(1); }
.okseg i.n::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--c-white) 80%, transparent), transparent); transform: translateX(-100%); animation: shimmer 1.2s var(--ease-io) infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* ---------- Legal pages ---------- */
.lg { padding: 108px 0 40px; }
.lg__back { margin-bottom: clamp(24px, 3vw, 40px); }
.lg__head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 72px); }
.lg__head h1 { font-size: clamp(2.6rem, 1rem + 4vw, 5rem); font-weight: var(--w-thin); letter-spacing: var(--ls-display); line-height: 1; }
.lg__head p { font-size: var(--fs-18); font-weight: var(--w-light); color: var(--c-ink-2); }
.lg__head .lg__meta { font-size: var(--fs-13); color: var(--c-ink-3); }
.lg__grid { display: grid; gap: 32px; }
.lg__toc ol { display: grid; gap: 2px; }
.lg__toc a { display: flex; gap: 12px; padding: 8px 0; font-size: var(--fs-14); color: var(--c-ink-2); transition: color 250ms, padding 400ms var(--ease-expo); }
.lg__toc a .num { color: var(--c-ink-3); font-size: var(--fs-12); padding-top: 2px; }
.lg__toc a:hover { color: var(--c-brand-ink); padding-left: 6px; }
.lg__others { display: grid; gap: 6px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.lg__others a { font-size: var(--fs-13); color: var(--c-ink-3); }
.lg__others a[aria-current] { color: var(--c-ink); }
.lg__others a:hover { color: var(--c-brand-ink); }
.lg__body { max-width: 720px; }
.lg__sec { padding: 28px 0; border-top: 1px solid var(--c-line); scroll-margin-top: 110px; }
.lg__sec h2 { display: flex; gap: 14px; align-items: baseline; font-size: var(--fs-24); font-weight: var(--w-light); letter-spacing: -0.02em; margin-bottom: 12px; }
.lg__sec h2 .num { font-size: var(--fs-13); color: var(--c-brand-ink); }
.lg__sec p { font-size: var(--fs-16); line-height: 1.7; color: var(--c-ink-2); }
.lg__sec p + p { margin-top: 10px; }
.lg__end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--c-line); }
@media (min-width: 1024px) { .lg__grid { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; } .lg__toc { position: sticky; top: 120px; align-self: start; } }
