/* Velmora Space, alternative site.
   One family, Recursive, drives everything: MONO for labels, CASL and slnt for "temperature".
   Dark by default. Shapes: controls are pills, large containers 32px, medium 24px, fields 12px. */

/* ---------- Fonts ---------- */
@font-face { font-family: "Recursive"; src: url("../fonts/recursive-latin.woff2") format("woff2"); font-weight: 300 1000; font-style: oblique 0deg 15deg; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Recursive"; src: url("../fonts/recursive-latin-ext.woff2") format("woff2"); font-weight: 300 1000; font-style: oblique 0deg 15deg; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
@property --t { syntax: "<number>"; inherits: true; initial-value: .5; }

:root {
  color-scheme: dark;
  --bg: #0B0B0C;
  --bg-2: #141416;
  --bg-3: #1E1E21;
  --text: #F2F1EE;
  --text-2: #BCBBB6;
  --mute: #8F8E89;
  --line: rgba(242, 241, 238, .1);
  --line-2: rgba(242, 241, 238, .18);
  --heat: #FF5B1F;
  --heat-2: #FF7A45;
  --on-heat: #170A04;
  --cool: #8FA6C4;
  --danger: #FF8A6B;
  --glass-bg: rgba(26, 26, 29, .6);
  --glass-edge: rgba(255, 255, 255, .13);
  --glass-hi: rgba(255, 255, 255, .16);
  --blob: rgba(255, 255, 255, .13);
  --shadow: 0 34px 70px -36px rgba(0, 0, 0, .75);
  --heatnow: color-mix(in oklab, var(--cool), var(--heat) calc(var(--t) * 100%));

  --font: "Recursive", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "SF Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif;
  --gutter: clamp(16px, 4.4vw, 60px);
  --maxw: 1320px;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --ax-mono: 0;
  --ax-casl: 0;
  --ax-slnt: 0;
  --ax-crsv: .5;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F2F2F0;
  --bg-2: #FBFBFA;
  --bg-3: #E6E6E3;
  --text: #0E0E0F;
  --text-2: #3B3B3E;
  --mute: #616164;
  --line: rgba(14, 14, 15, .1);
  --line-2: rgba(14, 14, 15, .18);
  --heat-2: #C23A0B;
  --cool: #6C84A2;
  --danger: #C4320A;
  --glass-bg: rgba(252, 252, 251, .66);
  --glass-edge: rgba(0, 0, 0, .09);
  --glass-hi: rgba(255, 255, 255, .95);
  --blob: rgba(14, 14, 15, .08);
  --shadow: 0 34px 70px -40px rgba(20, 20, 32, .38);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; font-variation-settings: "MONO" var(--ax-mono), "CASL" var(--ax-casl), "slnt" var(--ax-slnt), "CRSV" var(--ax-crsv); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: clamp(16px, .22vw + 15.2px, 18px); line-height: 1.55; font-weight: 400; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
::selection { background: var(--heat); color: var(--on-heat); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--heat-2); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1em; height: 1em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 200; left: 12px; top: 12px; padding: 10px 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 650; transform: translateY(-180%); transition: transform .2s; }
.skip:focus { transform: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(96px, 12vw, 176px); }
.m { --ax-mono: 1; }

/* ---------- Type ---------- */
.h1 { font-size: clamp(46px, 7.4vw, 116px); line-height: .98; letter-spacing: -.045em; font-weight: 780; text-wrap: balance; }
.h2 { font-size: clamp(34px, 5vw, 76px); line-height: 1.02; letter-spacing: -.04em; font-weight: 780; text-wrap: balance; }
.h3 { font-size: clamp(20px, 1.6vw, 26px); line-height: 1.2; letter-spacing: -.02em; font-weight: 720; }
.lead { font-size: clamp(18px, 1.35vw, 22px); line-height: 1.5; color: var(--text-2); max-width: 46ch; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 54px; padding: 0 26px; border: 0; border-radius: 999px;
  font-size: 16.5px; font-weight: 680; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .25s var(--ease-out), background-color .25s, color .25s, box-shadow .25s, font-variation-settings .45s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .35s var(--ease-out); }
.btn--heat { background: var(--heat); color: var(--on-heat); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.link { display: inline-flex; align-items: center; gap: .45em; font-weight: 680; color: var(--heat-2); }
.link .icon { transition: transform .35s var(--ease-out); }
@media (hover: hover) {
  .btn:hover { --ax-casl: 1; }
  .btn:hover .icon, .link:hover .icon { transform: translateX(3px); }
  .btn--heat:hover { background: #FF6E38; }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
}

/* ---------- Top bar ---------- */
.top { position: absolute; z-index: 20; top: 0; left: 0; right: 0; }
.top__row { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 740; letter-spacing: -.015em; }
.brand .logo { width: 30px; height: 30px; }
.theme { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--bg-2); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, background-color .2s; }
.theme .icon { width: 19px; height: 19px; }
.ico-moon { display: none; }
:root[data-theme="light"] .ico-sun { display: none; }
:root[data-theme="light"] .ico-moon { display: block; }
@media (hover: hover) { .theme:hover { color: var(--text); } }

/* ---------- Dock (floating tab bar, a web approximation of iOS glass) ---------- */
.dock {
  position: fixed; z-index: 100; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom));
  display: flex; gap: 2px; padding: 6px; border-radius: 999px; transform: translateX(-50%);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--glass-edge), inset 0 1px 0 var(--glass-hi), 0 20px 44px -18px rgba(0, 0, 0, .6);
}
.dock__item { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px; color: var(--text-2); font-size: 15px; font-weight: 640; white-space: nowrap; transition: color .25s, font-variation-settings .45s var(--ease-out); }
.dock__item .icon { width: 20px; height: 20px; }
.dock__item.is-active { color: var(--text); }
.dock__blob { position: absolute; z-index: 0; top: 6px; left: 0; width: var(--bw, 0px); height: 46px; border-radius: 999px; background: var(--blob); transform: translateX(var(--bx, 0px)); opacity: var(--bo, 0); transition: transform .55s var(--ease-spring), width .55s var(--ease-spring), opacity .3s; }
.dock:focus-within { outline: none; }
@media (hover: hover) { .dock__item:hover { color: var(--text); --ax-casl: 1; } }
@media (max-width: 599px) {
  .dock { width: min(100% - 20px, 420px); justify-content: space-between; }
  .dock__item { flex: 1; flex-direction: column; justify-content: center; gap: 3px; height: 56px; padding: 0 6px; font-size: 11.5px; font-weight: 620; }
  .dock__item .icon { width: 22px; height: 22px; }
  .dock__blob { height: 56px; }
}
@media (prefers-reduced-transparency: reduce) { .dock { background: var(--bg-2); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- Hero with temperature ---------- */
.hero { position: relative; overflow: clip; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(100svh, 1000px); padding: 124px 0 clamp(80px, 11vh, 128px); }
.hero__heat { position: absolute; z-index: -1; right: -18%; bottom: -34%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--heatnow), transparent); opacity: calc(.1 + var(--t) * .42); pointer-events: none; }
.hero__title {
  display: flex; align-items: flex-end; min-height: calc(3 * .98em); max-width: 13em;
  font-size: clamp(46px, 8.2vw, 134px); line-height: .98; letter-spacing: -.045em;
  font-weight: var(--hw, 640);
  --ax-mono: var(--tm, 0); --ax-casl: var(--tc, 0); --ax-slnt: var(--ts, 0); --ax-crsv: var(--tcr, .5);
}
.hero__text { display: block; transition: opacity .16s ease, filter .16s ease; }
.hero__text.is-swap { opacity: 0; filter: blur(8px); }
.hero__text .wd { display: inline-block; white-space: nowrap; }
.hero__text .ch { display: inline-block; transform: translate(var(--jx, 0), var(--jy, 0)) rotate(var(--jr, 0deg)); transition: transform .35s var(--ease-out); }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); align-items: end; gap: 40px; margin-top: clamp(32px, 5vh, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.hero__sub { max-width: 32ch; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.temp { padding: 20px 22px 18px; border-radius: var(--r-lg); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.temp__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.temp__head label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); --ax-mono: 1; }
.temp__head output { font-size: 30px; line-height: 1; font-weight: 760; font-variant-numeric: tabular-nums; color: var(--heatnow); --ax-mono: 1; }
.temp__range { display: block; width: 100%; height: 38px; margin: 12px 0 4px; background: transparent; cursor: grab; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.temp__range:active { cursor: grabbing; }
.temp__range:focus-visible { outline: none; }
.temp__range::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--cool), var(--heat)); }
.temp__range::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--cool), var(--heat)); }
.temp__range::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -10px; border: 0; border-radius: 50%; background: #FFFFFF; -webkit-appearance: none; box-shadow: 0 0 0 6px color-mix(in srgb, var(--heatnow) 42%, transparent), 0 6px 18px rgba(0, 0, 0, .45); }
.temp__range::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 6px color-mix(in srgb, var(--heatnow) 42%, transparent), 0 6px 18px rgba(0, 0, 0, .45); }
.temp__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 6px var(--heat-2); }
.temp__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 6px var(--heat-2); }
.temp__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--mute); --ax-mono: 1; }
.temp__note { margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--mute); }

@media (max-width: 899px) {
  .hero { min-height: 0; padding-top: 112px; }
  .hero__title { font-size: clamp(42px, 12.4vw, 88px); min-height: calc(4 * .98em); }
  .hero__row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- Five kinds of intelligence ---------- */
.intel .lead { margin-top: 22px; }
.modes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(28px, 5vw, 80px); margin-top: clamp(40px, 5vw, 64px); }
.modes__stage { display: grid; gap: 18px; min-width: 0; }
.vf {
  position: relative; overflow: hidden; container-type: inline-size; aspect-ratio: 4 / 3; border-radius: var(--r-xl);
  font-size: 16px; font-size: 2.5cqw; color: #F2F1EE; user-select: none; -webkit-user-select: none; touch-action: pan-y;
  background: radial-gradient(120% 90% at 28% 18%, #29292F 0%, #131316 58%, #0C0C0E 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), var(--shadow);
}
.vf__corner { position: absolute; z-index: 5; width: 6.5%; aspect-ratio: 1; border: 0 solid rgba(255, 255, 255, .55); pointer-events: none; }
.vf__corner--tl { top: 5%; left: 4%; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: .7em; }
.vf__corner--tr { top: 5%; right: 4%; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: .7em; }
.vf__corner--bl { bottom: 5%; left: 4%; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: .7em; }
.vf__corner--br { bottom: 5%; right: 4%; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: .7em; }
.vf__mode { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.03); transition: opacity .45s ease, transform .6s var(--ease-out), visibility 0s linear .45s; }
.vf__mode.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .6s var(--ease-out), visibility 0s; }
.vf .typed { white-space: pre-wrap; }
.vf .typed.is-typing::after { content: ""; display: inline-block; width: .08em; height: 1em; margin-left: .06em; vertical-align: -.12em; background: var(--heat); animation: blink 1s steps(2, jump-none) infinite; }

/* see */
.obj { position: absolute; display: block; }
.obj--page { left: 10%; top: 20%; width: 28%; aspect-ratio: .74; display: flex; flex-direction: column; gap: .55em; padding: 1.1em .95em; border-radius: .45em; background: #F4F2EE; transform: rotate(-7deg); box-shadow: 0 1.4em 2.2em -1.1em rgba(0, 0, 0, .75); }
.obj--page i { display: block; width: var(--w); height: .38em; border-radius: 99px; background: #CFCDC8; }
.obj--page i:first-child { width: 58%; height: .62em; background: #2A2A2E; }
.obj--leaf { left: 47%; top: 21%; width: 19%; aspect-ratio: .62; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: linear-gradient(160deg, #86D86B 0%, #3C923E 100%); transform: rotate(26deg); box-shadow: 0 1.4em 2.2em -1.1em rgba(0, 0, 0, .75); }
.obj--leaf::after { content: ""; position: absolute; left: 50%; top: 9%; bottom: 7%; width: .16em; border-radius: 99px; background: rgba(255, 255, 255, .38); transform: translateX(-50%); }
.obj--cup { left: 73%; top: 50%; width: 14%; aspect-ratio: .95; border-radius: .45em .45em 1.5em 1.5em; background: linear-gradient(180deg, #FF8C58 0%, #E0501C 100%); box-shadow: 0 1.4em 2.2em -1.1em rgba(0, 0, 0, .75); }
.obj--cup i { position: absolute; right: -34%; top: 20%; width: 44%; aspect-ratio: 1; border: .5em solid #E0501C; border-radius: 50%; }
.box { position: absolute; border: .16em solid #FFFFFF; border-radius: .7em; opacity: 0; }
.box b { position: absolute; left: -.16em; top: -2.15em; padding: .32em .65em; border-radius: .5em; background: #FFFFFF; color: #121214; font-size: .78em; font-weight: 700; white-space: nowrap; --ax-mono: 1; }
.box--page { left: 7%; top: 14%; width: 34%; height: 54%; --k: 0; }
.box--leaf { left: 43%; top: 15%; width: 27%; height: 45%; border-color: var(--heat); --k: 1; }
.box--leaf b { background: var(--heat); color: var(--on-heat); }
.box--cup { left: 70%; top: 44%; width: 25%; height: 34%; --k: 2; }
.vf__mode--see::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26%; opacity: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .07)); border-bottom: 1px solid rgba(255, 255, 255, .3); }

/* hear */
.vf__mode--hear { display: grid; align-content: center; gap: 1.1em; padding: 0 11%; }
.wave { display: flex; align-items: center; gap: .28em; }
.wave i { flex: 1; height: var(--h); border-radius: 99px; background: currentColor; transform: scaleY(.4); }
.hear__wave { height: 3.8em; color: var(--heat); }
.hear__text { min-height: 2.5em; font-size: 1.6em; line-height: 1.25; font-weight: 620; letter-spacing: -.02em; }
.hear__intent { display: flex; flex-wrap: wrap; gap: .5em; opacity: 0; }
.hear__intent span { display: inline-flex; align-items: center; gap: .45em; padding: .45em .85em; border-radius: 99px; background: rgba(255, 255, 255, .1); font-size: .82em; --ax-mono: 1; }
.hear__intent .icon { width: 1.1em; height: 1.1em; color: var(--heat); }

/* read */
.vf__mode--read { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 7%; padding: 0 9%; }
.read__doc { position: relative; display: grid; gap: .62em; padding: 1.3em 1.25em; border-radius: .9em; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.read__doc i { display: block; width: var(--w); height: .45em; border-radius: 99px; background: rgba(255, 255, 255, .24); }
.read__scan { position: absolute; left: .8em; right: .8em; top: 1.2em; height: 1.1em; border-radius: .35em; background: rgba(255, 91, 31, .28); opacity: 0; }
.read__sum { display: grid; gap: .85em; padding: 1.5em 1.4em; border-radius: .9em; background: var(--heat); color: var(--on-heat); opacity: 0; }
.read__sum b { font-size: .78em; letter-spacing: .1em; text-transform: uppercase; --ax-mono: 1; }
.read__sum i { display: block; height: .5em; border-radius: 99px; background: rgba(23, 10, 4, .55); }
.read__sum i:nth-of-type(1) { width: 92%; } .read__sum i:nth-of-type(2) { width: 76%; } .read__sum i:nth-of-type(3) { width: 58%; }

/* write */
.vf__mode--write { display: grid; align-content: center; gap: .95em; padding: 0 11%; }
.write__before { justify-self: start; font-size: 1.1em; color: rgba(242, 241, 238, .55); --ax-mono: 1; }
.write__before span { position: relative; }
.write__before span::after { content: ""; position: absolute; left: -.1em; right: -.1em; top: 54%; height: .11em; border-radius: 99px; background: var(--heat); transform: scaleX(0); transform-origin: left center; }
.write__after { min-height: 2.5em; font-size: 1.5em; line-height: 1.24; font-weight: 640; letter-spacing: -.02em; --ax-casl: .3; }
.write__tones { display: flex; flex-wrap: wrap; gap: .5em; }
.write__tones span { padding: .42em .9em; border-radius: 99px; background: rgba(255, 255, 255, .08); color: rgba(242, 241, 238, .72); font-size: .82em; }
.write__tones .is-on { background: #F2F1EE; color: #121214; }

/* create */
.vf__mode--create { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: .9em; padding: 9% 9% 9%; }
.create__prompt { display: inline-flex; align-items: center; gap: .6em; justify-self: start; max-width: 100%; padding: .55em 1.1em; border-radius: 99px; background: rgba(255, 255, 255, .1); font-size: .95em; white-space: nowrap; }
.create__prompt .icon { width: 1.2em; height: 1.2em; color: var(--heat); }
.create__canvas { position: relative; overflow: hidden; border-radius: 1em; }
.create__noise { position: absolute; inset: 0; opacity: 0; background-image: radial-gradient(rgba(255, 255, 255, .5) .07em, transparent .09em); background-size: .5em .5em; }
.dunes {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 68% 40%, #FFF4DE 0 5.5%, rgba(255, 214, 170, .45) 6%, transparent 16%),
    radial-gradient(160% 58% at 8% 108%, #2B1647 0 48.6%, #FF8A5C 49.1%, transparent 50%),
    radial-gradient(150% 54% at 96% 106%, #4A2159 0 48.6%, #FFA37A 49.1%, transparent 50%),
    radial-gradient(190% 68% at 48% 114%, #7A3050 0 48.8%, #FFC2A0 49.2%, transparent 50%),
    linear-gradient(180deg, #141035 0%, #3B2A7A 30%, #C4577A 58%, #FF9E6E 80%, #FFD59C 100%);
}

/* live animations: only for the visible viewfinder and the active mode */
.vf.is-live .vf__mode--see.is-on .box { animation: box-in .7s var(--ease-out) both; animation-delay: calc(.35s + var(--k) * .5s); }
.vf.is-live .vf__mode--see.is-on::after { animation: sweep 3.2s var(--ease-io) .2s infinite; }
.vf.is-live .vf__mode--hear.is-on .wave i { animation: wave 1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -63ms); }
.vf.is-live .vf__mode--hear.is-on .hear__intent { animation: rise-in .6s var(--ease-out) 2.9s both; }
.vf.is-live .vf__mode--read.is-on .read__scan { animation: read-scan 2.4s var(--ease-io) .3s both; }
.vf.is-live .vf__mode--read.is-on .read__sum { animation: rise-in .7s var(--ease-out) 2.6s both; }
.vf.is-live .vf__mode--write.is-on .write__before span::after { animation: strike .5s var(--ease-out) .5s both; }
.vf.is-live .vf__mode--write.is-on .write__before { animation: dim .5s ease 1s both; }
.vf.is-live .vf__mode--create.is-on .dunes { animation: resolve 2.6s var(--ease-out) 1.4s both; }
.vf.is-live .vf__mode--create.is-on .create__noise { animation: noise-out 2.6s ease-out 1.4s both; }

.strip { position: relative; overflow: hidden; padding: 4px 0 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
.strip__track { position: relative; left: 50%; display: inline-flex; gap: 4px; transform: translateX(calc(var(--sx, 0px) * -1)); transition: transform .55s var(--ease-spring); }
.strip__btn { padding: 10px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--mute); font-size: 14px; font-weight: 680; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; --ax-mono: 1; transition: color .25s; }
.strip__btn[aria-selected="true"] { color: var(--heat-2); }
.strip::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--heat-2); transform: translateX(-50%); }
@media (hover: hover) { .strip__btn:hover { color: var(--text); } }
.mtext { animation: rise-in .5s var(--ease-out); }
.mtext__h { font-size: clamp(30px, 3.4vw, 54px); line-height: 1.02; letter-spacing: -.035em; font-weight: 780; }
.mtext > p { max-width: 40ch; margin-top: 16px; font-size: clamp(17px, 1.25vw, 19px); color: var(--text-2); }
.mtext__list { display: grid; gap: 10px; margin-top: 24px; }
.mtext__list li { display: flex; align-items: baseline; gap: 12px; }
.mtext__list li::before { content: "+"; flex: none; font-weight: 800; color: var(--heat-2); --ax-mono: 1; }
@media (max-width: 959px) { .modes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .vf { aspect-ratio: 5 / 4; font-size: 3.15cqw; border-radius: var(--r-lg); } }

/* ---------- Four rules (sticky stack) ---------- */
.stack { margin-top: clamp(40px, 5vw, 64px); }
.pc {
  position: sticky; top: calc(24px + var(--i) * 18px);
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ico h" "ico p";
  align-content: center; column-gap: clamp(20px, 3vw, 48px);
  min-height: min(60svh, 500px); margin-bottom: 16vh; padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-xl); box-shadow: 0 -26px 50px -34px rgba(0, 0, 0, .65);
}
.pc:last-child { margin-bottom: 0; }
.pc__ico { grid-area: ico; display: grid; place-items: center; align-self: start; width: clamp(56px, 7vw, 96px); aspect-ratio: 1; border-radius: 28%; }
.pc__ico .icon { width: 48%; height: 48%; }
.pc__h { grid-area: h; align-self: end; font-size: clamp(32px, 4.8vw, 76px); line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.pc__p { grid-area: p; max-width: 44ch; margin-top: 18px; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.5; }
.pc--1 { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line), 0 -26px 50px -34px rgba(0, 0, 0, .65); }
.pc--1 .pc__ico { background: var(--bg-3); color: var(--heat-2); }
.pc--1 .pc__p { color: var(--text-2); }
.pc--2 { background: var(--heat); color: var(--on-heat); }
.pc--2 .pc__ico { background: rgba(23, 10, 4, .13); }
.pc--3 { background-color: #1A1D24; background-image: radial-gradient(rgba(143, 166, 196, .22) 1px, transparent 1.4px); background-size: 18px 18px; color: #EEF1F5; }
.pc--3 .pc__ico { background: rgba(143, 166, 196, .18); color: #BCD0EA; }
.pc--3 .pc__p { color: #C3CAD4; }
.pc--4 { background: #F2F1EE; color: #0E0E0F; }
.pc--4 .pc__ico { background: #0E0E0F; color: #FF5B1F; }
.pc--4 .pc__p { color: #3B3B3E; }
:root[data-theme="light"] .pc--3 { background-color: #DCE3EC; background-image: radial-gradient(rgba(60, 80, 110, .2) 1px, transparent 1.4px); color: #111620; }
:root[data-theme="light"] .pc--3 .pc__ico { background: rgba(60, 80, 110, .14); color: #34506F; }
:root[data-theme="light"] .pc--3 .pc__p { color: #3A4452; }
:root[data-theme="light"] .pc--4 { background: #0E0E0F; color: #F2F1EE; }
:root[data-theme="light"] .pc--4 .pc__ico { background: #F2F1EE; color: #C23A0B; }
:root[data-theme="light"] .pc--4 .pc__p { color: #BCBBB6; }
@media (max-width: 719px) {
  .pc { position: relative; top: 0; grid-template-columns: minmax(0, 1fr); grid-template-areas: "ico" "h" "p"; min-height: 0; margin-bottom: 12px; row-gap: 22px; }
  .pc__p { margin-top: 0; }
}

/* ---------- Company ---------- */
.company__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 96px); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin-top: 36px; }
.facts dt { font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); --ax-mono: 1; }
.facts dd { margin-top: 6px; font-size: 17px; line-height: 1.45; }
.facts a { color: var(--heat-2); font-weight: 650; overflow-wrap: anywhere; }
.bcard-wrap { display: grid; justify-items: center; gap: 16px; perspective: 1600px; }
.bcard { position: relative; width: min(100%, 540px); aspect-ratio: 1.586; font-size: clamp(10px, 1.1vw, 15px); cursor: pointer; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--flip, 0deg))); transition: transform .9s var(--ease-spring); }
.bcard.is-flipped { --flip: 180deg; }
.bcard.is-tracking { transition: transform .12s linear; }
.bcard__face { position: absolute; inset: 0; overflow: hidden; padding: 7% 7.5%; border-radius: 22px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.bcard__front { display: grid; grid-template-rows: auto 1fr auto auto; color: #F2F1EE; background: radial-gradient(120% 140% at 0% 0%, #2B2B31 0%, #131316 60%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 90px -44px rgba(0, 0, 0, .85); }
.bcard__front::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; background: linear-gradient(115deg, transparent 30%, rgba(255, 140, 90, .2) 45%, rgba(143, 166, 196, .18) 55%, transparent 70%); background-size: 260% 100%; background-position: calc(var(--mx, .5) * 100%) 0; }
.bcard__logo .logo { width: 3.4em; height: 3.4em; }
.bcard__name { align-self: end; font-size: 2.6em; line-height: 1; letter-spacing: -.02em; font-weight: 820; }
.bcard__tag { margin-top: .6em; font-size: 1.25em; color: rgba(242, 241, 238, .72); }
.bcard__place { margin-top: 1.6em; font-size: 1em; letter-spacing: .12em; text-transform: uppercase; color: rgba(242, 241, 238, .55); --ax-mono: 1; }
.bcard__back { display: grid; align-content: space-between; color: var(--on-heat); background: var(--heat); transform: rotateY(180deg); box-shadow: 0 50px 90px -44px rgba(0, 0, 0, .85); }
.bcard__label { font-size: 1em; letter-spacing: .12em; text-transform: uppercase; opacity: .72; --ax-mono: 1; }
.bcard__addr { font-size: 1.75em; line-height: 1.28; font-weight: 740; letter-spacing: -.01em; }
.bcard__mail { font-size: 1.3em; --ax-mono: 1; }
.bcard__hint { font-size: 13px; color: var(--mute); --ax-mono: 1; }
@media (max-width: 859px) { .company__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 479px) { .facts { grid-template-columns: minmax(0, 1fr); } .bcard { font-size: 2.6vw; } }

/* ---------- Contact block ---------- */
.hello { padding: clamp(96px, 12vw, 176px) 0 clamp(96px, 12vw, 160px); border-top: 1px solid var(--line); }
.hello__small { font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); --ax-mono: 1; }
.hello__mail { display: inline-block; margin-top: 18px; max-width: 100%; font-size: clamp(32px, 7.6vw, 118px); line-height: 1.02; letter-spacing: -.045em; font-weight: 780; overflow-wrap: anywhere; transition: color .4s ease, font-variation-settings .7s var(--ease-out); }
.hello__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
@media (hover: hover) { .hello__mail:hover { color: var(--heat-2); --ax-casl: 1; --ax-slnt: -10; } }

/* ---------- Footer ---------- */
.foot { padding: 56px 0 calc(128px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot__links a { color: var(--text-2); transition: color .2s; }
@media (hover: hover) { .foot__links a:hover { color: var(--text); } }
.foot__legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.6; color: var(--mute); }
@media (max-width: 719px) { .foot__legal { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inner pages ---------- */
.page-head { padding: clamp(132px, 17vh, 176px) 0 clamp(40px, 6vw, 80px); }
.page-head .h1 { max-width: 14ch; }
.page-head .lead { margin-top: 22px; }
.page-head--tight { padding-bottom: 32px; }

/* support */
.search { max-width: 640px; margin-top: 36px; }
.search__label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 680; }
.search__field { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px; border-radius: 999px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s; }
.search__field:focus-within { box-shadow: inset 0 0 0 2px var(--heat-2); }
.search__field > .icon { width: 20px; height: 20px; color: var(--mute); }
.search__field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 17px; }
.search__field input::placeholder { color: var(--mute); opacity: 1; }
.search__count { font-size: 12.5px; white-space: nowrap; color: var(--mute); --ax-mono: 1; }
.quick__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.qtile { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 164px; padding: 22px; border-radius: var(--r-lg); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease-out), box-shadow .3s; }
.qtile > .icon:first-child { width: 28px; height: 28px; margin-bottom: auto; color: var(--heat-2); }
.qtile__t { margin-top: 26px; font-size: 17px; line-height: 1.25; font-weight: 700; }
.qtile__s { font-size: 14.5px; color: var(--mute); }
.qtile__go { position: absolute; top: 22px; right: 22px; width: 18px; height: 18px; color: var(--mute); }
@media (hover: hover) { .qtile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); } }
@media (max-width: 959px) { .quick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quick + .faq { padding-top: clamp(56px, 8vw, 120px); }
.faq__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: clamp(32px, 6vw, 96px); }
.faq__nav { position: sticky; top: 28px; display: grid; gap: 4px; }
.faq__nav a { padding: 10px 14px; border-radius: 12px; color: var(--text-2); font-weight: 600; transition: background-color .2s, color .2s; }
.faq__nav a.is-active { background: var(--bg-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) { .faq__nav a:hover { color: var(--text); } }
.faq__group { scroll-margin-top: 24px; }
.faq__group + .faq__group { margin-top: 56px; }
.faq__h { margin-bottom: 14px; }
.qa { border-radius: var(--r-md); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: 40px; }
.qa + .qa { margin-top: 8px; }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: var(--r-md); cursor: pointer; list-style: none; font-size: 17px; line-height: 1.35; font-weight: 680; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon { width: 18px; height: 18px; color: var(--mute); transition: transform .4s var(--ease-out); }
.qa[open] summary .icon { transform: rotate(45deg); color: var(--heat-2); }
.qa__a { max-width: 68ch; padding: 0 22px 22px; color: var(--text-2); }
.qa__a p + p { margin-top: 10px; }
.qa__a a { color: var(--heat-2); text-decoration: underline; text-underline-offset: 3px; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .45s var(--ease-out), content-visibility .45s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}
.faq__empty { padding: 28px; border-radius: var(--r-md); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); }
@media (max-width: 859px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq__nav { position: relative; top: 0; display: flex; gap: 6px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .faq__nav::-webkit-scrollbar { display: none; }
  .faq__nav a { flex: none; border-radius: 999px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; white-space: nowrap; }
  .qa summary { padding: 18px; font-size: 16.5px; }
  .qa__a { padding: 0 18px 18px; }
}
.ticket { padding-bottom: clamp(88px, 10vw, 150px); }
.ticket__card { padding: clamp(28px, 5vw, 72px); border-radius: var(--r-xl); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.ticket__card .lead { margin-top: 18px; }
.ticket__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; align-items: end; gap: 16px; margin-top: 32px; }
.ticket__alt { margin-top: 22px; font-size: 15px; color: var(--mute); }
.ticket__alt a { color: var(--heat-2); font-weight: 650; }
@media (max-width: 859px) { .ticket__form { grid-template-columns: minmax(0, 1fr); } .ticket__form .btn { width: 100%; } }

/* fields */
.field { display: grid; gap: 8px; min-width: 0; }
.field > label { font-size: 15px; font-weight: 680; }
.field > input, .select select { width: 100%; height: 54px; padding: 0 16px; border: 0; border-radius: var(--r-sm); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 16.5px; color: var(--text); }
.field > input::placeholder { color: var(--mute); opacity: 1; }
.field > input:focus-visible, .select select:focus-visible { outline: 2px solid var(--heat-2); outline-offset: 2px; }
.field > input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--danger); }
.select { position: relative; }
.select select { padding-right: 44px; appearance: none; -webkit-appearance: none; }
.select > .icon { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; color: var(--mute); pointer-events: none; transform: translateY(-50%); }
.field__err { font-size: 14.5px; font-weight: 640; color: var(--danger); }
.field__err:empty { display: none; }

/* contact */
.contact { padding-bottom: clamp(88px, 10vw, 150px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; gap: clamp(24px, 4vw, 64px); }
.compose { display: grid; gap: 26px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.compose__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.topics { min-width: 0; margin: 0; padding: 0; border: 0; }
.topics legend { margin-bottom: 10px; padding: 0; font-size: 15px; font-weight: 680; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 42px; padding: 0 17px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 15px; font-weight: 640; transition: background-color .2s, color .2s, box-shadow .2s; }
.chip input:checked + span { background: var(--text); color: var(--bg); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--heat-2); outline-offset: 2px; }
.promptbox { position: relative; border-radius: 22px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s; }
.promptbox:focus-within { box-shadow: inset 0 0 0 2px var(--heat-2); }
.promptbox textarea { display: block; width: 100%; min-height: 176px; padding: 18px 76px 18px 18px; border: 0; outline: 0; background: transparent; font-size: 17px; line-height: 1.5; resize: vertical; }
.promptbox textarea::placeholder { color: var(--mute); opacity: 1; }
.promptbox textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--danger); border-radius: 22px; }
.promptbox__send { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--heat); color: var(--on-heat); transition: transform .2s var(--ease-out); }
.promptbox__send .icon { width: 20px; height: 20px; }
.promptbox__send:active { transform: scale(.94); }
.compose__note { font-size: 14px; color: var(--mute); }
.compose__done { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: color-mix(in srgb, var(--heat) 14%, transparent); }
.compose__done .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--heat-2); }
.contact__side { display: grid; gap: 12px; }
.side { padding: 22px 24px; border-radius: var(--r-lg); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.side__h { font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); --ax-mono: 1; }
.side__big { margin-top: 8px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -.02em; font-weight: 720; overflow-wrap: anywhere; }
.side address { margin-top: 8px; line-height: 1.6; color: var(--text-2); }
.side p + p { margin-top: 6px; }
.copy { display: inline-flex; align-items: center; gap: 8px; height: 38px; margin-top: 14px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--bg-3); font-size: 14px; font-weight: 650; transition: background-color .2s, color .2s, transform .2s var(--ease-out); }
.copy .icon { width: 16px; height: 16px; }
.copy:active { transform: scale(.96); }
.copy.is-done { background: color-mix(in srgb, var(--heat) 18%, transparent); color: var(--heat-2); }
@media (max-width: 959px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .compose__row { grid-template-columns: minmax(0, 1fr); } .compose { border-radius: var(--r-lg); } }

/* legal */
.legal-meta { margin-top: 18px; font-size: 13px; color: var(--mute); --ax-mono: 1; }
.tldr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.tldr--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tldr li { padding: 20px 22px; border-radius: var(--r-md); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.tldr .icon { width: 24px; height: 24px; color: var(--heat-2); }
.tldr h2 { margin-top: 14px; font-size: 17px; line-height: 1.3; font-weight: 720; }
.tldr p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
@media (max-width: 959px) { .tldr, .tldr--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .tldr, .tldr--four { grid-template-columns: minmax(0, 1fr); } }
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: 48px clamp(88px, 10vw, 150px); }
.toc { position: sticky; top: 28px; align-self: start; max-height: calc(100svh - 140px); overflow: auto; scrollbar-width: thin; }
.toc summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); list-style: none; cursor: pointer; --ax-mono: 1; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .icon { display: none; width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.toc ol { display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 12px; border-radius: 10px; font-size: 14.5px; line-height: 1.35; color: var(--text-2); transition: background-color .2s, color .2s; }
.toc a.is-active { background: var(--bg-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) { .toc a:hover { color: var(--text); } }
@media (min-width: 960px) { .toc summary { pointer-events: none; } }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 56px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.025em; font-weight: 740; scroll-margin-top: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; font-size: 18px; font-weight: 720; }
.prose p, .prose ul { margin-top: 14px; color: var(--text-2); }
.prose ul { padding-left: 1.3em; list-style: disc; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--mute); }
.prose a { color: var(--heat-2); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose strong { font-weight: 720; color: var(--text); }
@media (max-width: 959px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 24px; }
  .toc { position: relative; top: 0; max-height: none; padding: 16px 18px; border-radius: var(--r-md); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
  .toc summary { margin-bottom: 0; }
  .toc[open] summary { margin-bottom: 12px; }
  .toc summary .icon { display: block; }
  .toc[open] summary .icon { transform: rotate(180deg); }
}

/* 404 */
.nf { display: flex; align-items: center; min-height: 100svh; padding: 132px 0 140px; }
.nf__inner { display: grid; justify-items: start; gap: 22px; }
.nf__code { font-size: 13px; color: var(--mute); --ax-mono: 1; }
.nf__title { max-width: 15ch; }
.nf__hot { display: inline-block; color: var(--heat-2); font-weight: 860; --ax-casl: 1; --ax-slnt: -12; --ax-crsv: 1; }
.nf__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ---------- Motion ---------- */
@keyframes blink { 50% { opacity: 0; } }
@keyframes wave { to { transform: scaleY(1); } }
@keyframes box-in { from { opacity: 0; transform: scale(1.18); } to { opacity: 1; transform: none; } }
@keyframes sweep { 0% { opacity: 0; transform: translateY(-30%); } 15%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(330%); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(.6em); } to { opacity: 1; transform: none; } }
@keyframes read-scan { 0% { opacity: 0; top: 1.2em; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; top: calc(100% - 2em); } }
@keyframes strike { to { transform: scaleX(1); } }
@keyframes dim { to { opacity: .55; } }
@keyframes resolve { from { filter: blur(1.2em) saturate(.4) brightness(.8); transform: scale(1.12); } }
@keyframes noise-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes wobble { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg) translateY(-.03em); } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .nf__hot { animation: wobble 3s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
  .dock, .skip, .theme, .toc { display: none !important; }
  body { background: #fff; color: #000; }
  .legal { display: block; padding: 0; }
}
