/* =========================================================
   ZEVARIS AI — Obsidian Core
   Design system: spec-sheet maximalism (mono + chrome + volt)
   ========================================================= */

/* Self-hosted fonts (SIL Open Font License 1.1) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-var-latin.woff2") format("woff2"); }
/* ₹ glyph only (Indian rupee pricing) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-rupee.woff2") format("woff2"); unicode-range: U+20B9; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/jetbrains-mono-var-latin.woff2") format("woff2"); }

:root {
  --paper: #F6F6F4;
  --paper-2: #EDEDEA;
  --white: #FFFFFF;
  --ink: #080808;
  --ink-2: #1B1B1B;
  --mute: #626262;
  --line: #E1E1DD;
  --volt: #D6FF3D;
  --volt-2: #C3F000;
  --obs: #08090B;
  --obs-1: #101114;
  --obs-2: #17191D;
  --obs-text: #F5F5F5;
  --obs-mute: #A0A4AA;
  --obs-line: #292C32;
  --ok: #3BD671;
  --warn: #FFB020;
  --err: #FF5A4E;

  --bg: var(--paper);
  --bg-2: var(--paper-2);
  --surface: var(--white);
  --fg: var(--ink);
  --fg-2: var(--mute);
  --bd: var(--line);
  --bd-strong: var(--ink);
  --inverse-bg: var(--ink);
  --inverse-fg: var(--white);

  --chrome: linear-gradient(100deg, #7d7d7d 0%, #f6f6f6 16%, #5d5d5d 33%, #e9e9e9 50%, #8f8f8f 66%, #ffffff 82%, #6f6f6f 100%);
  --chrome-v: linear-gradient(180deg, #fafafa 0%, #9a9a9a 35%, #f0f0f0 55%, #6a6a6a 80%, #d6d6d6 100%);

  --f-display: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-mega: clamp(88px, 21vw, 380px);
  --fs-display: clamp(52px, 8vw, 136px);
  --fs-h1: clamp(42px, 5.8vw, 92px);
  --fs-h2: clamp(32px, 4.2vw, 64px);
  --fs-h3: clamp(21px, 1.9vw, 28px);
  --fs-lead: clamp(17px, 1.45vw, 21px);
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-xs: 12px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);

  --r-xs: 6px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1480px;
  --hdr-h: 76px;
  --shadow-hard: 5px 5px 0 var(--ink);
  --shadow-soft: 0 30px 80px -30px rgba(0, 0, 0, .35);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: var(--obs);
  --bg-2: var(--obs-1);
  --surface: var(--obs-1);
  --fg: var(--obs-text);
  --fg-2: var(--obs-mute);
  --bd: var(--obs-line);
  --bd-strong: #f5f5f5;
  --inverse-bg: #f5f5f5;
  --inverse-fg: var(--ink);
  --shadow-hard: 5px 5px 0 var(--volt);
  color-scheme: dark;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}
img, svg, video, canvas { display: block; max-width: 100%; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--volt); color: var(--ink); }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); border-radius: 4px; }
[hidden] { display: none !important; }

.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; left: 16px; top: -60px; z-index: 1000; background: var(--volt); color: var(--ink); padding: 12px 18px; font-weight: 700; border: 2px solid var(--ink); transition: top .2s; }
.skip:focus { top: 16px; }

#main { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.mono { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; }
.serif-i { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-variation-settings: normal; }
.display { font-family: var(--f-display); font-weight: 900; font-size: var(--fs-display); line-height: .88; letter-spacing: -0.05em; font-variation-settings: "wdth" 96; }
.h1 { font-family: var(--f-display); font-weight: 850; font-size: var(--fs-h1); line-height: .92; letter-spacing: -0.045em; font-variation-settings: "wdth" 98; }
.h2 { font-family: var(--f-display); font-weight: 800; font-size: var(--fs-h2); line-height: .95; letter-spacing: -0.04em; font-variation-settings: "wdth" 100; }
.h3 { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.02em; }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--fg-2); max-width: 36ch; }
.muted { color: var(--fg-2); }
.chrome-text { background: var(--chrome); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: chromeShift 9s linear infinite; }
@keyframes chromeShift { to { background-position: -220% 0; } }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.mark-volt { background: linear-gradient(transparent 12%, var(--volt) 12%, var(--volt) 88%, transparent 88%); color: var(--ink); padding-inline: .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker b { color: var(--fg); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  --bh: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--bh); padding: 0 28px; border-radius: var(--r-pill);
  font-family: var(--f-body); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap;
  border: 1.5px solid transparent; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s, color .3s, border-color .3s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); transition-duration: .08s; }
.btn .ico { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease-out); }
.btn:hover .ico--arrow { transform: translateX(4px); }
.btn:hover .ico--plus { transform: rotate(90deg); }
.btn--sm { --bh: 42px; padding: 0 20px; font-size: 15px; }
.btn--lg { --bh: 62px; padding: 0 34px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--ink { background: var(--inverse-bg); color: var(--inverse-fg); }
.btn--ink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--volt); transform: translateY(102%); transition: transform .45s var(--ease-out); border-radius: inherit; }
.btn--ink:hover { color: var(--ink); }
.btn--ink:hover::before { transform: translateY(0); }
.btn--ink::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; z-index: 1; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); pointer-events: none; }
.btn--ink:hover::after { animation: gloss .8s var(--ease-out); }
@keyframes gloss { to { left: 130%; } }

.btn--line { background: transparent; color: var(--fg); border-color: var(--bd); }
.btn--line:hover { border-color: var(--fg); background: color-mix(in srgb, var(--fg) 5%, transparent); }

.btn--ghost { background: color-mix(in srgb, var(--fg) 6%, transparent); color: var(--fg); }
.btn--ghost:hover { background: color-mix(in srgb, var(--fg) 11%, transparent); }

.btn--volt { background: var(--volt); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); border-radius: 14px; }
.btn--volt:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn--volt:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn.is-loading { pointer-events: none; color: transparent !important; }
.btn.is-loading::before { transform: none !important; }
.btn.is-loading > .spin { opacity: 1; }
.btn > .spin { position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid currentColor; border-color: var(--volt) var(--volt) transparent transparent; animation: spin .7s linear infinite; opacity: 0; z-index: 2; }
.btn--volt > .spin, .btn--ghost > .spin, .btn--line > .spin { border-color: var(--ink) var(--ink) transparent transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

.iconbtn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--fg); transition: background-color .25s, transform .35s var(--ease-out); }
.iconbtn:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.iconbtn svg { width: 20px; height: 20px; }

.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease-out); padding-bottom: 2px; }
.link-u:hover { background-size: 100% 1.5px; }

/* ---------- chips / pills / stickers ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px 0 14px; border-radius: var(--r-pill); border: 1px solid var(--bd); background: var(--surface); font-size: 14px; font-weight: 500; }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fg); position: relative; }
.pill .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--fg); opacity: 0; animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--bd); color: var(--fg-2); white-space: nowrap; }
.chip--ink { background: var(--inverse-bg); color: var(--inverse-fg); border-color: transparent; }
.chip--volt { background: var(--volt); color: var(--ink); border-color: var(--ink); }
.demo-flag { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 6px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: repeating-linear-gradient(-45deg, var(--volt) 0 8px, #e9ff9e 8px 16px); border: 1.5px solid var(--ink); }

.sticker { position: absolute; width: 132px; height: 132px; border-radius: 50%; background: var(--volt); color: var(--ink); display: grid; place-items: center; border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); z-index: 3; }
.sticker svg.ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 18s linear infinite; }
.sticker text { font-family: var(--f-mono); font-size: 10.4px; letter-spacing: .2em; font-weight: 600; text-transform: uppercase; fill: var(--ink); }
.sticker .core { width: 38px; height: 38px; }

.star { position: absolute; width: 110px; height: 110px; display: grid; place-items: center; color: var(--ink); z-index: 3; }
.star svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite reverse; }
.star span { position: relative; font-family: var(--f-display); font-weight: 900; font-size: 15px; line-height: .95; text-align: center; letter-spacing: -0.02em; transform: rotate(-8deg); }

/* ---------- textures ---------- */
.grain { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .11 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); background-size: 240px 240px; }
:root[data-theme="dark"] .grain { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.gridlines { background-image: linear-gradient(var(--bd) 1px, transparent 1px), linear-gradient(90deg, var(--bd) 1px, transparent 1px); background-size: 64px 64px; }
.halftone { background-image: radial-gradient(circle at center, var(--fg) 1.1px, transparent 1.6px); background-size: 9px 9px; }
.hazard { background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--volt) 14px 28px); }

/* corner brackets */
.brackets { position: relative; }
.brackets::before, .brackets::after { content: ""; position: absolute; width: 16px; height: 16px; border: 1.5px solid var(--fg); pointer-events: none; }
.brackets::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.brackets::after { bottom: -8px; right: -8px; border-left: 0; border-top: 0; }

/* ---------- top ticker + header ---------- */
.topbar { background: var(--ink); color: var(--white); height: 34px; display: flex; align-items: center; overflow: hidden; position: relative; z-index: 60; border-bottom: 1px solid #222; }
:root[data-theme="dark"] .topbar { background: var(--volt); color: var(--ink); }
.topbar .marquee__item { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.topbar .marquee__item i { font-style: normal; color: var(--volt); }
:root[data-theme="dark"] .topbar .marquee__item i { color: var(--ink); }

.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr-h); transition: background-color .35s, box-shadow .35s, backdrop-filter .35s; }
.hdr__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; color: var(--fg); }
.brand__mark { width: 38px; height: 38px; transition: transform .6s var(--ease-back); }
.brand:hover .brand__mark { transform: perspective(200px) rotateY(-28deg) rotateZ(-6deg); }
.brand__txt { display: grid; line-height: 1; }
.brand__word { font-family: var(--f-display); font-weight: 800; font-size: 23px; letter-spacing: -0.035em; white-space: nowrap; }
.brand__sub { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .22em; color: var(--fg-2); margin-top: 4px; }
.hdr__nav { display: flex; gap: 6px; }
.navlink { position: relative; padding: 10px 16px; font-size: 15px; font-weight: 500; border-radius: var(--r-pill); transition: background-color .25s; }
.hdr__actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.theme-toggle .sun, .theme-toggle .moon { transition: transform .5s var(--ease-back), opacity .3s; transform-origin: center; }
:root[data-theme="dark"] .theme-toggle .sun { transform: rotate(90deg) scale(.4); opacity: 0; }
:root:not([data-theme="dark"]) .theme-toggle .moon { transform: rotate(-90deg) scale(.4); opacity: 0; }
.theme-toggle svg { overflow: visible; }

.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--inverse-bg); position: relative; }
.menu-btn span:not(.sr-only) { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--inverse-fg); transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mnav { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--white); padding: calc(var(--hdr-h) + 34px + 24px) var(--gutter) 32px; display: flex; flex-direction: column; overflow-y: auto; clip-path: circle(0% at calc(100% - 40px) 70px); transition: clip-path .7s var(--ease-io); }
.mnav.is-open { clip-path: circle(150% at calc(100% - 40px) 70px); }
.mnav__links { display: grid; gap: 4px; }
.mnav__links a { display: flex; align-items: baseline; gap: 16px; font-family: var(--f-display); font-weight: 900; font-size: clamp(44px, 13vw, 92px); line-height: .95; letter-spacing: -0.05em; font-variation-settings: "wdth" 112; opacity: 0; transform: translateY(40px); transition: transform .7s var(--ease-out), opacity .5s, color .25s; }
.mnav__links a small { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--volt); }
.mnav__links a:hover { color: var(--volt); }
.mnav.is-open .mnav__links a { opacity: 1; transform: none; }
.mnav.is-open .mnav__links a:nth-child(2) { transition-delay: .06s; }
.mnav.is-open .mnav__links a:nth-child(3) { transition-delay: .12s; }
.mnav.is-open .mnav__links a:nth-child(4) { transition-delay: .18s; }
.mnav.is-open .mnav__links a:nth-child(5) { transition-delay: .24s; }
.mnav__foot { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mnav__foot .btn--line { color: var(--white); border-color: #444; }
.mnav__foot .btn--ink { background: var(--volt); color: var(--ink); }
.mnav__foot .iconbtn { color: var(--white); border: 1px solid #444; }
body.menu-open { overflow: hidden; }
body.menu-open .hdr { background: transparent; box-shadow: none; backdrop-filter: none; color: var(--white); }
body.menu-open .hdr .brand { color: var(--white); }
body.menu-open .hdr .brand__sub { color: #9a9a9a; }
body.menu-open .menu-btn { background: var(--volt); }
body.menu-open .menu-btn span:not(.sr-only) { background: var(--ink); }

/* ---------- marquee ---------- */
.marquee { display: flex; width: 100%; overflow: hidden; white-space: nowrap; user-select: none; }
.marquee__track { display: flex; flex: none; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; flex: none; }

.band { position: relative; z-index: 2; padding-block: 18px; border-block: 1.5px solid var(--ink); }
.band--volt { background: var(--volt); color: var(--ink); }
.band--ink { background: var(--ink); color: var(--white); }
.band .marquee__item { font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 5.4vw, 84px); letter-spacing: -0.04em; line-height: 1; gap: .4em; padding-right: .4em; text-transform: uppercase; font-variation-settings: "wdth" 72; }
.band .marquee__item .sep { width: .7em; height: .7em; flex: none; }
.band .marquee__item .serif-i { text-transform: none; font-size: 1.05em; letter-spacing: -0.02em; }
.band--ink .marquee__item .ch { background: var(--chrome); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.bands { position: relative; padding-block: 70px; overflow: hidden; }
.bands .band:first-child { transform: rotate(-3deg) scale(1.06); }
.bands .band:last-child { transform: rotate(2.2deg) scale(1.06); margin-top: -26px; }

/* ---------- reveal system ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="clip"] { transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-io), opacity .4s; }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + var(--base, 0ms)); }
.is-in .split-w > span, .split-done .split-w > span { transform: none; }

/* ---------- scroll progress + page transition ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: var(--volt); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ---------- modal + toast ---------- */
.modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(8, 8, 8, .72); backdrop-filter: blur(6px); animation: fadeIn .35s var(--ease-out); }
.modal__panel { position: relative; width: min(1120px, 100%); max-height: calc(100dvh - 40px); overflow: auto; background: var(--surface); color: var(--fg); border-radius: var(--r-lg); border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 var(--volt); animation: popIn .55s var(--ease-out); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--bd); }
.modal__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--bd); transition: transform .4s var(--ease-back), background-color .2s; }
.modal__close:hover { transform: rotate(90deg); background: var(--volt); color: var(--ink); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }

.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 1300; display: grid; gap: 10px; max-width: min(380px, calc(100vw - 40px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: var(--white); border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 var(--volt); font-size: 14px; animation: toastIn .5s var(--ease-out); }
.toast.is-out { animation: toastOut .35s var(--ease-io) forwards; }
.toast b { display: block; font-weight: 700; margin-bottom: 2px; }
.toast .ti { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--volt); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* =========================================================
   HOME
   ========================================================= */
.hero { position: relative; min-height: calc(100svh - var(--hdr-h) - 34px); padding-top: clamp(24px, 4vw, 56px); padding-bottom: 40px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 30%, transparent 75%); opacity: .7; }
.hero__mega { position: absolute; left: -2vw; bottom: -4vw; z-index: -1; font-family: var(--f-display); font-weight: 900; font-size: var(--fs-mega); letter-spacing: -0.06em; line-height: .8; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--fg) 14%, transparent); font-variation-settings: "wdth" 125; pointer-events: none; user-select: none; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 3vw, 48px); align-items: center; }
.hero__copy { position: relative; z-index: 2; padding-top: 8px; }
.hero h1 { margin-top: 26px; font-size: clamp(54px, 7.7vw, 132px); font-variation-settings: "wdth" 80; letter-spacing: -0.045em; }
.hero h1 .serif-i { font-size: 1.08em; letter-spacing: -0.03em; padding-right: .04em; }
.hero h1 .ai { position: relative; display: inline-block; }
.hero .lead { margin-top: 26px; font-size: clamp(18px, 1.55vw, 23px); max-width: 30ch; color: color-mix(in srgb, var(--fg) 72%, transparent); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(36px, 5vw, 64px); max-width: 760px; }
.feat { display: grid; gap: 10px; align-content: start; }
.feat__ico { width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--fg); display: grid; place-items: center; background: var(--surface); transition: transform .5s var(--ease-back), background-color .3s, box-shadow .3s; }
.feat__ico svg { width: 24px; height: 24px; stroke-dasharray: 120; stroke-dashoffset: 0; }
.feat:hover .feat__ico { transform: rotate(-8deg) translateY(-4px); background: var(--volt); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.feat:hover .feat__ico svg { animation: draw 1s var(--ease-out); }
@keyframes draw { from { stroke-dashoffset: 120; } }
.feat h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.feat p { font-size: 14px; color: var(--fg-2); line-height: 1.4; }

.stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 700px; justify-self: center; }
.stage__canvas { position: absolute; inset: 4%; z-index: 2; cursor: grab; touch-action: pan-y; }
.stage__canvas:active { cursor: grabbing; }
.stage__canvas canvas { width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1s var(--ease-out); }
.stage__canvas.is-ready canvas { opacity: 1; }
.stage__fallback { position: absolute; inset: 14%; z-index: 1; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.stage__canvas.is-ready + .stage__fallback { opacity: 0; transform: scale(.94); }
.stage__geo { position: absolute; inset: 0; z-index: 0; pointer-events: none; color: var(--fg); }
.stage__geo .c { fill: none; stroke: color-mix(in srgb, var(--fg) 22%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.stage__geo .l { stroke: color-mix(in srgb, var(--fg) 16%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.stage__geo .dim { stroke: var(--fg); stroke-width: 1; vector-effect: non-scaling-stroke; }
.stage__geo .n { fill: var(--fg); }
.stage__geo .draw { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: drawLine 2.4s var(--ease-io) .4s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.anno { position: absolute; z-index: 3; font-family: var(--f-mono); font-size: 11.5px; line-height: 1.55; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); }
.anno::after { content: ""; display: block; width: 18px; height: 1.5px; background: currentColor; margin-top: 10px; }
.anno--tl { top: 9%; left: 0; }
.anno--tr { top: 4%; right: 0; text-align: left; }
.anno--br { bottom: 34%; right: 0; }
.stage .sticker { right: 0; bottom: 2%; }
.stage__hint { position: absolute; z-index: 4; top: 50%; left: -2px; transform: translateY(-50%) rotate(-90deg); transform-origin: left center; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .3em; color: var(--fg-2); white-space: nowrap; }

/* preview (laptop) */
.preview { position: relative; padding-block: clamp(30px, 6vw, 80px) clamp(80px, 10vw, 150px); overflow: hidden; }
.preview__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 40px; margin-bottom: clamp(28px, 4vw, 52px); }
.preview__head .h1 { max-width: 13ch; }
.preview__tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: var(--r-pill); background: var(--surface); border: 1.5px solid var(--fg); }
.ptab { height: 40px; padding: 0 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--fg-2); transition: background-color .3s, color .3s; }
.ptab:hover { color: var(--fg); }
.ptab[aria-selected="true"] { background: var(--inverse-bg); color: var(--inverse-fg); }
.device-wrap { perspective: 2200px; position: relative; }
.device { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 22deg)) rotateY(var(--ry, 0deg)) scale(var(--ds, .94)); transition: transform .25s linear; transform-origin: 50% 0; }
.device__frame { position: relative; border-radius: 30px; padding: 14px; background: linear-gradient(150deg, #2b2d31, #050505 40%, #1d1e21 70%, #000); border: 1px solid #3a3c41; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 60px 120px -40px rgba(0,0,0,.6), 0 30px 60px -30px rgba(0,0,0,.45); }
.device__frame::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--chrome); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; pointer-events: none; }
.device__screen { border-radius: 18px; overflow: hidden; background: var(--obs); color: var(--obs-text); aspect-ratio: 16 / 9.4; position: relative; }
.device__glare { position: absolute; inset: 0; border-radius: 18px; pointer-events: none; background: radial-gradient(600px circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,.08), transparent 50%); z-index: 5; }
.device .sticker { top: -48px; right: 6%; transform: translateZ(60px) rotate(12deg); }
.device .demo-flag { position: absolute; top: -14px; left: 40px; z-index: 6; transform: translateZ(40px); }
.preview .star { left: -10px; bottom: 18%; z-index: 6; }

/* mini app (used in preview + demo modal) */
.mini { display: grid; grid-template-columns: 22% 1fr 27%; height: 100%; font-size: clamp(7px, .82vw, 12.5px); line-height: 1.45; }
.mini * { min-width: 0; }
.mini__side { border-right: 1px solid var(--obs-line); padding: 1.3em 1em; display: flex; flex-direction: column; gap: .9em; background: #0b0c0f; }
.mini__brand { display: flex; align-items: center; gap: .7em; }
.mini__brand svg { width: 2.2em; height: 2.2em; color: #fff; }
.mini__brand b { display: block; font-size: 1.15em; letter-spacing: -0.02em; }
.mini__brand small { display: block; font-family: var(--f-mono); font-size: .62em; letter-spacing: .2em; color: var(--obs-mute); }
.mini__ws { border: 1px solid var(--obs-line); border-radius: .6em; padding: .55em .8em; display: flex; justify-content: space-between; color: var(--obs-mute); background: var(--obs-1); }
.mini__new { background: #fff; color: #000; border-radius: .6em; padding: .55em .8em; display: flex; justify-content: space-between; font-weight: 600; }
.mini__new kbd { font-family: var(--f-mono); font-size: .8em; background: #111; color: #fff; padding: 0 .4em; border-radius: .3em; }
.mini__search { border: 1px solid var(--obs-line); border-radius: .6em; padding: .5em .8em; color: #6b6f76; }
.mini__nav { display: grid; gap: .15em; }
.mini__nav span { display: flex; justify-content: space-between; align-items: center; padding: .45em .7em; border-radius: .5em; color: #d0d2d6; transition: background-color .3s; }
.mini__nav span.on { background: var(--obs-2); color: #fff; box-shadow: inset 2px 0 0 var(--volt); }
.mini__nav em { font-style: normal; font-family: var(--f-mono); font-size: .78em; color: var(--obs-mute); border: 1px solid var(--obs-line); padding: 0 .45em; border-radius: .35em; }
.mini__label { font-family: var(--f-mono); font-size: .7em; letter-spacing: .14em; color: #6b6f76; margin-top: .4em; }
.mini__main { display: flex; flex-direction: column; min-height: 0; }
.mini__bar { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .9em 1.2em; border-bottom: 1px solid var(--obs-line); }
.mini__crumbs { color: var(--obs-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini__crumbs b { color: #fff; }
.mini__model { border: 1px solid var(--obs-line); border-radius: .6em; padding: .35em .7em; font-family: var(--f-mono); font-size: .85em; white-space: nowrap; }
.mini__view { flex: 1; overflow: hidden; position: relative; }
.mini__pane { position: absolute; inset: 0; padding: 1.1em 1.3em; display: flex; flex-direction: column; gap: .9em; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); pointer-events: none; }
.mini__pane.on { opacity: 1; transform: none; pointer-events: auto; }
.mini__title { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.mini__title b { font-size: 1.1em; }
.mini__btns { display: flex; gap: .5em; }
.mini__btns span { border: 1px solid var(--obs-line); border-radius: .5em; padding: .25em .7em; color: #d0d2d6; }
.msg { display: grid; grid-template-columns: 2.4em 1fr; gap: .8em; }
.msg__av { width: 2.4em; height: 2.4em; border-radius: 50%; background: linear-gradient(135deg, #3a3d44, #121316); display: grid; place-items: center; font-weight: 700; font-size: .9em; border: 1px solid var(--obs-line); }
.msg__av--z { background: var(--volt); color: #000; }
.msg__who { display: flex; align-items: center; gap: .6em; flex-wrap: wrap; }
.msg__who b { color: #fff; }
.msg__who small { color: #6b6f76; font-family: var(--f-mono); font-size: .8em; }
.tagx { font-size: .78em; border: 1px solid var(--obs-line); border-radius: .4em; padding: .05em .5em; color: #d0d2d6; }
.tagx--v { background: var(--volt); color: #000; border-color: transparent; font-weight: 600; }
.msg__body { margin-top: .4em; border: 1px solid var(--obs-line); border-radius: .7em; padding: .8em 1em; background: var(--obs-1); color: #d7d9dd; }
.msg__files { display: flex; gap: .5em; margin-top: .6em; flex-wrap: wrap; }
.msg__files span { border: 1px solid var(--obs-line); border-radius: .5em; padding: .3em .7em; color: #d0d2d6; }
.msg__files small { color: #6b6f76; margin-left: .4em; }
.spool { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; margin-top: .6em; }
.spool div { border: 1px solid var(--obs-line); border-radius: .6em; padding: .6em .8em; background: var(--obs-2); }
.spool b { display: block; color: #fff; }
.spool p { color: var(--obs-mute); }
.code { margin-top: .6em; border: 1px solid var(--obs-line); border-radius: .6em; background: #050506; font-family: var(--f-mono); font-size: .88em; padding: .7em .9em; color: #c8cbd0; white-space: pre; overflow: hidden; }
.code .k { color: var(--volt); }
.code .c { color: #5d6168; }
.code .s { color: #e8e8e8; }
.mini__composer { margin: .4em 1.2em 1em; border: 1px solid var(--obs-line); border-radius: .8em; padding: .7em .9em; display: flex; justify-content: space-between; align-items: center; color: #6b6f76; background: var(--obs-1); }
.mini__composer i { font-style: normal; width: 1.9em; height: 1.9em; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-weight: 700; }
.mini__insp { border-left: 1px solid var(--obs-line); padding: 1em; display: flex; flex-direction: column; gap: .8em; background: #0b0c0f; }
.mini__box { border: 1px solid var(--obs-line); border-radius: .7em; padding: .7em .8em; background: var(--obs-1); display: grid; gap: .55em; }
.mini__box h5 { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .72em; letter-spacing: .12em; color: var(--obs-mute); font-weight: 500; }
.agentrow { display: grid; grid-template-columns: 1fr auto; gap: .2em .6em; align-items: center; }
.agentrow b { color: #fff; font-weight: 600; }
.agentrow small { color: #6b6f76; grid-column: 1; }
.agentrow strong { grid-row: 1 / span 2; grid-column: 2; font-family: var(--f-mono); }
.bar { grid-column: 1 / -1; height: .32em; background: var(--obs-2); border-radius: 9px; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w, 40%); background: #fff; border-radius: inherit; transition: width 1.2s var(--ease-out); }
.bar i.v { background: var(--volt); }
.kv { display: flex; justify-content: space-between; color: var(--obs-mute); }
.kv b { color: #fff; font-family: var(--f-mono); font-weight: 500; }
.pinref { display: flex; justify-content: space-between; color: #d0d2d6; }
.pinref small { font-family: var(--f-mono); color: #6b6f76; }
.mtable { width: 100%; border-collapse: collapse; }
.mtable th { text-align: left; font-weight: 500; color: #6b6f76; font-family: var(--f-mono); font-size: .8em; letter-spacing: .08em; padding: .5em .4em; border-bottom: 1px solid var(--obs-line); }
.mtable td { padding: .55em .4em; border-bottom: 1px solid #1a1c20; color: #d7d9dd; white-space: nowrap; }
.mstat { font-size: .82em; padding: .1em .6em; border-radius: 99px; border: 1px solid #2c4a35; color: #7ee2a0; }
.mstat--p { border-color: #5a3a2a; color: #ffb48a; }
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; }
.mcard { border: 1px solid var(--obs-line); border-radius: .7em; padding: .8em; background: var(--obs-1); display: grid; gap: .4em; }
.mcard b { color: #fff; }
.mcard small { color: #6b6f76; }
.mtoggle { width: 2.6em; height: 1.4em; border-radius: 99px; background: #2a2c31; position: relative; }
.mtoggle::after { content: ""; position: absolute; top: .2em; left: .2em; width: 1em; height: 1em; border-radius: 50%; background: #8a8e95; transition: transform .3s var(--ease-out); }
.mtoggle.on { background: var(--volt); }
.mtoggle.on::after { transform: translateX(1.2em); background: #000; }
.typing::after { content: "▍"; animation: blink 1s steps(2) infinite; color: var(--volt); }
@keyframes blink { 50% { opacity: 0; } }

/* statement — variable width type */
.statement { position: relative; padding-block: clamp(90px, 12vw, 190px); background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.statement::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(255,255,255,.16) 1px, transparent 1.6px); background-size: 12px 12px; mask-image: linear-gradient(115deg, transparent 20%, #000 60%, transparent 95%); -webkit-mask-image: linear-gradient(115deg, transparent 20%, #000 60%, transparent 95%); }
.statement .kicker { color: #9a9a9a; }
.statement .kicker b { color: var(--volt); }
.flex-lines { margin-top: 34px; display: grid; gap: .02em; contain: layout paint; }
.flex-line { font-family: var(--f-display); font-weight: 800; font-size: clamp(46px, 10.4vw, 188px); line-height: .86; letter-spacing: -0.045em; text-transform: uppercase; white-space: nowrap; }
.flex-line .fl { display: inline-block; font-variation-settings: "wdth" var(--w, 100), "wght" var(--g, 800); transition: font-variation-settings .25s linear, color .3s; }
.flex-line--serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.03em; color: var(--volt); }
.flex-line--chrome .fl { background: var(--chrome); background-size: 400% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.flex-line--indent { padding-left: 12vw; }
.statement__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; margin-top: clamp(40px, 6vw, 80px); align-items: end; }
.statement__foot p { max-width: 40ch; color: #b9b9b9; font-size: var(--fs-lead); }

/* workflow */
.section { position: relative; padding-block: clamp(80px, 10vw, 160px); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section__head .lead { justify-self: end; }
.flow { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.flow__svg { position: absolute; left: 0; right: 0; top: 74px; height: 40px; width: 100%; z-index: 0; overflow: visible; pointer-events: none; }
.flow__svg path { fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.flow__svg .flow__prog { stroke: var(--fg); stroke-dasharray: none; stroke-width: 3; }
.step { position: relative; z-index: 1; border: 1.5px solid var(--fg); border-radius: var(--r-lg); background: var(--surface); padding: 28px; min-height: 380px; display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background-color .4s; }
.step:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--fg); }
.step__num { display: flex; align-items: center; justify-content: space-between; }
.step__num b { font-family: var(--f-display); font-weight: 900; font-size: 72px; letter-spacing: -0.06em; line-height: .8; font-variation-settings: "wdth" 70; }
.step__node { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--fg); background: var(--surface); position: relative; transition: background-color .4s, transform .5s var(--ease-back); }
.step.is-lit .step__node { background: var(--volt); transform: scale(1.25); box-shadow: 0 0 0 6px color-mix(in srgb, var(--volt) 35%, transparent); }
.step h3 { margin-top: auto; padding-top: 40px; font-family: var(--f-display); font-weight: 850; font-size: clamp(30px, 3vw, 46px); letter-spacing: -0.04em; line-height: .95; }
.step p { margin-top: 12px; color: var(--fg-2); max-width: 30ch; }
.step__vis { margin-top: 22px; height: 120px; border-radius: 12px; border: 1px dashed var(--bd); position: relative; overflow: hidden; background: var(--bg); }
.step.is-lit { background: color-mix(in srgb, var(--volt) 14%, var(--surface)); }

.orch { margin-top: clamp(40px, 6vw, 80px); border: 1.5px solid var(--fg); border-radius: var(--r-lg); background: var(--obs); color: var(--obs-text); overflow: hidden; position: relative; }
.orch__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--obs-line); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--obs-mute); flex-wrap: wrap; }
.orch__svg { width: 100%; height: auto; display: block; }
.orch__svg .wire { fill: none; stroke: #2e3137; stroke-width: 1.5; }
.orch__svg .wire.hot { stroke: var(--volt); }
.orch__svg .node rect { fill: #101114; stroke: #34373e; stroke-width: 1.2; transition: stroke .3s; }
.orch__svg .node:hover rect, .orch__svg .node.on rect { stroke: var(--volt); }
.orch__svg .node text { fill: #f5f5f5; font-family: var(--f-body); font-size: 15px; font-weight: 600; }
.orch__svg .node .sub { fill: #8b8f96; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; font-weight: 400; }
.orch__svg .hub circle { fill: #0b0c0f; stroke: var(--volt); stroke-width: 1.5; }
.orch__svg .pkt { fill: var(--volt); }
.orch__note { padding: 12px 20px; border-top: 1px solid var(--obs-line); font-size: 13px; color: var(--obs-mute); }

/* agents deck */
.deck { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; perspective: 1400px; }
.acard { position: relative; aspect-ratio: 5 / 7.4; transform-style: preserve-3d; transition: transform .8s var(--ease-out); cursor: pointer; }
.acard:nth-child(odd) { transform: rotate(-2deg); }
.acard:nth-child(even) { transform: rotate(2deg) translateY(16px); }
.acard:hover { transform: translateY(-14px) rotate(0); z-index: 2; }
.acard.is-flipped { transform: rotateY(180deg); }
.acard__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 18px; border: 1.5px solid var(--ink); padding: 18px; display: flex; flex-direction: column; overflow: hidden; }
.acard__front { background: var(--surface); color: var(--fg); }
.acard__front .art { flex: 1; margin: 14px -18px; position: relative; display: grid; place-items: center; overflow: hidden; border-block: 1.5px solid var(--ink); }
.acard__front .art svg { width: 62%; height: auto; color: var(--ink); transition: transform .8s var(--ease-back); }
.acard:hover .art svg { transform: scale(1.1) rotate(-6deg); }
.acard--a .art { background: var(--volt); }
.acard--b .art { background: var(--ink); }
.acard--b .art svg { color: var(--volt); }
.acard--c .art { background: var(--paper-2); }
.acard--c .art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, var(--ink) 1.1px, transparent 1.6px); background-size: 8px 8px; opacity: .35; }
.acard--d .art { background: repeating-linear-gradient(-45deg, var(--ink) 0 10px, var(--volt) 10px 20px); }
.acard--d .art svg { background: var(--volt); border-radius: 50%; padding: 10%; border: 1.5px solid var(--ink); width: 58%; }
.acard--e .art { background: var(--chrome-v); }
.acard__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.acard h3 { font-family: var(--f-display); font-weight: 850; font-size: clamp(20px, 1.9vw, 28px); letter-spacing: -0.035em; line-height: 1; }
.acard__meta { display: flex; justify-content: space-between; align-items: end; margin-top: 8px; font-size: 13px; color: var(--fg-2); }
.acard__back { background: var(--ink); color: var(--white); transform: rotateY(180deg); gap: 12px; }
.acard__back h3 { color: var(--volt); }
.acard__back ul { display: grid; gap: 8px; font-size: 14px; color: #cfcfcf; }
.acard__back li { display: flex; gap: 8px; }
.acard__back li::before { content: "→"; color: var(--volt); }
.acard__back .mono { color: #8a8a8a; margin-top: auto; }
.deck-note { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: var(--fg-2); font-size: 14px; }

/* capabilities index */
.caps { border-top: 1.5px solid var(--fg); }
.cap { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, .9fr) 56px; gap: 20px; align-items: center; padding: 24px 8px; border-bottom: 1.5px solid var(--fg); overflow: hidden; isolation: isolate; }
.cap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--volt); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
.cap:hover::before, .cap:focus-visible::before { transform: scaleY(1); }
.cap:hover, .cap:focus-visible { color: var(--ink); }
.cap__ico { width: 46px; height: 46px; border: 1.5px solid currentColor; border-radius: 50%; display: grid; place-items: center; }
.cap__ico svg { width: 22px; height: 22px; }
.cap h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 54px); letter-spacing: -0.045em; line-height: .95; transition: font-variation-settings .5s var(--ease-out), transform .5s var(--ease-out); font-variation-settings: "wdth" 100; }
.cap:hover h3 { font-variation-settings: "wdth" 120; transform: translateX(10px); }
.cap p { color: var(--fg-2); font-size: 15px; max-width: 42ch; transition: color .3s; }
.cap:hover p { color: var(--ink); }
.cap__go { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: transform .5s var(--ease-back), background-color .3s, color .3s; }
.cap:hover .cap__go { transform: rotate(-45deg); background: var(--ink); color: var(--volt); }
.cap__go svg { width: 20px; height: 20px; }

/* security + dev */
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(16px, 2vw, 28px); }
.panel { border: 1.5px solid var(--fg); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 44px); background: var(--surface); position: relative; overflow: hidden; }
.panel--ink { background: var(--obs); color: var(--obs-text); border-color: var(--obs); }
.panel--volt { background: var(--volt); color: var(--ink); border-color: var(--ink); }
.panel .h2 { margin-top: 18px; }
.checks { display: grid; gap: 2px; margin-top: 28px; }
.checks li { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.checks li svg { width: 22px; height: 22px; margin-top: 2px; }
.checks b { display: block; font-weight: 700; }
.checks span { font-size: 14px; opacity: .78; }
.checks .chip { margin-top: 2px; border-color: currentColor; color: inherit; }
.term { margin-top: 26px; border-radius: 14px; border: 1px solid var(--obs-line); background: #050506; overflow: hidden; }
.term__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--obs-line); gap: 10px; }
.term__tabs { display: flex; gap: 4px; }
.term__tab { height: 30px; padding: 0 12px; border-radius: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--obs-mute); transition: background-color .2s, color .2s; }
.term__tab[aria-selected="true"] { background: var(--obs-2); color: #fff; }
.copybtn { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--obs-line); font-family: var(--f-mono); font-size: 12px; color: #d0d2d6; transition: background-color .2s, color .2s, border-color .2s; }
.copybtn:hover { background: var(--obs-2); }
.copybtn.is-done { background: var(--volt); color: #000; border-color: var(--volt); }
.copybtn svg { width: 14px; height: 14px; }
.term pre { margin: 0; padding: 18px 20px; font-family: var(--f-mono); font-size: 13px; line-height: 1.75; color: #d7d9dd; min-height: 300px; overflow-x: auto; white-space: pre; }
.term .k { color: var(--volt); } .term .s { color: #f0f0f0; } .term .c { color: #5d6168; } .term .p { color: #9aa0a8; }
.dev-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.dev-meta div { border: 1px solid var(--obs-line); border-radius: 12px; padding: 12px 14px; }
.dev-meta b { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.dev-meta span { font-size: 12px; color: var(--obs-mute); }

/* integrations cloud */
.cloud { position: relative; height: 440px; border: 1.5px solid var(--fg); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); touch-action: pan-y; }
.cloud::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--bd) 1px, transparent 1px), linear-gradient(90deg, var(--bd) 1px, transparent 1px); background-size: 40px 40px; opacity: .7; }
.cloud__chip { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 8px; border-radius: 99px; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); font-weight: 700; font-size: 16px; will-change: transform; user-select: none; box-shadow: 3px 3px 0 var(--ink); cursor: grab; }
.cloud__chip i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--volt); font-style: normal; font-family: var(--f-mono); font-size: 13px; font-weight: 600; }
.cloud__chip.v { background: var(--volt); }
.cloud__chip.k { background: var(--ink); color: var(--white); }
.cloud__chip.k i { background: var(--volt); color: var(--ink); }
.cloud__center { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.cloud__center svg { width: 120px; height: 120px; color: color-mix(in srgb, var(--fg) 12%, transparent); }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 80px; }
.acc { border-top: 1.5px solid var(--fg); }
.acc details { border-bottom: 1.5px solid var(--fg); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 4px; font-family: var(--f-display); font-weight: 750; font-size: clamp(19px, 1.8vw, 26px); letter-spacing: -0.025em; line-height: 1.15; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .chev { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--fg); display: grid; place-items: center; transform: rotate(-90deg); transition: transform .55s cubic-bezier(.16, 1, .3, 1), background-color .3s, color .3s, border-color .3s; }
.acc summary .chev svg { width: 18px; height: 18px; }
.acc details[open]:not(.is-closing) summary .chev { transform: rotate(0deg); background: var(--volt); color: var(--ink); border-color: var(--ink); }
.acc summary:hover .chev { background: var(--fg); color: var(--bg); }
.acc .acc__body { padding: 0 4px; color: var(--fg-2); max-width: 62ch; overflow: hidden; }
.acc .acc__body > :last-child { padding-bottom: 26px; }
@keyframes accIn { from { opacity: 0; transform: translateY(-8px); } }

/* final cta */
.cta { position: relative; background: var(--volt); color: var(--ink); overflow: hidden; isolation: isolate; border-top: 1.5px solid var(--ink); }
.cta__in { padding-block: clamp(90px, 12vw, 180px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: center; }
.cta h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(56px, 9vw, 160px); line-height: .85; letter-spacing: -0.055em; font-variation-settings: "wdth" 90; }
.cta h2 .serif-i { font-weight: 400; letter-spacing: -0.03em; }
.cta p { margin-top: 26px; font-size: var(--fs-lead); max-width: 34ch; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cta .btn--ink { background: var(--ink); color: var(--white); }
.cta .btn--ink::before { background: var(--white); }
.cta .btn--line { border-color: var(--ink); color: var(--ink); }
.cta .btn--line:hover { background: rgba(0,0,0,.06); }
.cta__mark { position: relative; justify-self: center; width: min(380px, 100%); aspect-ratio: 1; }
.cta__mark svg { width: 100%; height: 100%; }
.cta__ring { position: absolute; inset: -12%; animation: spin 40s linear infinite; }
.cta__ring text { font-family: var(--f-mono); font-size: 7px; letter-spacing: .32em; fill: var(--ink); font-weight: 600; }
.cta .halftone { position: absolute; inset: 0; z-index: -1; opacity: .12; mask-image: radial-gradient(circle at 80% 50%, #000, transparent 60%); -webkit-mask-image: radial-gradient(circle at 80% 50%, #000, transparent 60%); --fg: var(--ink); }

/* =========================================================
   FOOTER
   ========================================================= */
.ftr { background: var(--obs); color: var(--obs-text); position: relative; overflow: hidden; border-top: 1.5px solid var(--ink); }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(5, minmax(0, 1fr)); gap: 36px 28px; padding-block: 80px 40px; }
.ftr__brand p { margin-top: 18px; color: var(--obs-mute); font-size: 14px; max-width: 32ch; }
.ftr__brand .brand { color: #fff; }
.ftr__brand .brand__sub { color: #8a8e95; }
.ftr__col h4 { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--volt); margin-bottom: 16px; }
.ftr__col ul { display: grid; gap: 10px; }
.ftr__col a { color: #d6d8dc; font-size: 14.5px; }
.ftr__col a:hover { color: #fff; }
.ftr__mega { display: flex; justify-content: space-between; font-family: var(--f-display); font-weight: 900; font-size: clamp(60px, 15vw, 290px); line-height: .78; letter-spacing: -0.06em; font-variation-settings: "wdth" 125; padding-inline: var(--gutter); user-select: none; margin-top: 10px; overflow: hidden; }
.ftr__mega span { display: inline-block; background: var(--chrome); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform .6s var(--ease-back), font-variation-settings .6s var(--ease-out); transform-origin: 50% 100%; font-variation-settings: "wdth" 125; }
.ftr__mega span:hover { transform: translateY(-6%) scaleY(1.06); font-variation-settings: "wdth" 70; }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-block: 26px 30px; border-top: 1px solid var(--obs-line); margin-top: 30px; font-size: 13px; color: var(--obs-mute); }
.ftr__bot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ftr__bot a:hover { color: #fff; }
.totop { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--obs-line); color: #fff; font-size: 13px; transition: background-color .3s, color .3s; }
.totop:hover { background: var(--volt); color: var(--ink); }
.totop svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.totop:hover svg { transform: translateY(-3px); }

/* =========================================================
   INNER PAGES
   ========================================================= */
.phero { position: relative; padding-block: clamp(50px, 8vw, 120px) clamp(40px, 6vw, 80px); overflow: hidden; border-bottom: 1.5px solid var(--fg); isolation: isolate; }
.phero .gridlines { position: absolute; inset: 0; z-index: -1; opacity: .6; mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.phero__mega { position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); z-index: -1; font-family: var(--f-display); font-weight: 900; font-size: clamp(120px, 26vw, 420px); line-height: .8; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--fg) 12%, transparent); font-variation-settings: "wdth" 125; pointer-events: none; white-space: nowrap; }
.phero h1 { margin-top: 22px; max-width: 16ch; }
.phero .lead { margin-top: 24px; max-width: 46ch; }
.phero__row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.crumbs { display: flex; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.crumbs a:hover { color: var(--fg); }

.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { border: 1.5px solid var(--fg); border-radius: var(--r-lg); padding: 28px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s; position: relative; }
a.card:hover, .card--hover:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--fg); }
.card__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--volt); color: var(--ink); border: 1.5px solid var(--ink); }
.card__ico svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; line-height: 1.05; margin-top: 6px; }
.card p { color: var(--fg-2); font-size: 15px; }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.card .more svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.card:hover .more svg { transform: translateX(4px); }
.card--ink { background: var(--obs); color: var(--obs-text); border-color: var(--obs); }
.card--ink p { color: var(--obs-mute); }

.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 70px); align-items: center; padding-block: clamp(50px, 7vw, 100px); border-bottom: 1.5px solid var(--bd); }
.feature-row:nth-child(even) .feature-row__vis { order: -1; }
.feature-row h2 { margin-top: 16px; }
.feature-row p { margin-top: 18px; color: var(--fg-2); font-size: 17px; max-width: 46ch; }
.feature-row ul { margin-top: 22px; display: grid; gap: 10px; }
.feature-row li { display: flex; gap: 12px; align-items: baseline; }
.feature-row li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--volt); border: 1.5px solid var(--ink); transform: rotate(45deg); }
.feature-row__vis { border-radius: var(--r-lg); border: 1.5px solid var(--fg); background: var(--obs); color: var(--obs-text); padding: 20px; min-height: 340px; position: relative; overflow: hidden; }
.feature-row__vis .mini { font-size: 10.5px; grid-template-columns: 32% 1fr; height: 100%; }
.feature-row__vis .mini__insp { display: none; }
.feature-row__vis > .device__screen { height: 100%; }
.tile-ui { display: grid; gap: 10px; font-size: 13px; }
.tile-ui .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--obs-line); border-radius: 10px; padding: 12px 14px; background: var(--obs-1); }
.tile-ui .row b { color: #fff; }
.tile-ui .row small { color: var(--obs-mute); font-family: var(--f-mono); }
.tile-ui .hd { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--obs-mute); text-transform: uppercase; padding: 4px 2px 8px; }

/* pricing */
.bill { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; }
.switch { width: 64px; height: 34px; border-radius: 99px; border: 1.5px solid var(--fg); background: var(--surface); position: relative; transition: background-color .3s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 25px; height: 25px; border-radius: 50%; background: var(--fg); transition: transform .45s var(--ease-back), background-color .3s; }
.switch[aria-checked="true"] { background: var(--volt); }
.switch[aria-checked="true"]::after { transform: translateX(29px); background: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; align-items: stretch; }
.plan { border: 1.5px solid var(--fg); border-radius: var(--r-lg); padding: 30px; background: var(--surface); display: flex; flex-direction: column; gap: 18px; position: relative; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.plan:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--fg); }
.plan--hot { background: var(--ink); color: var(--white); border-color: var(--ink); }
.plan--hot:hover { box-shadow: 8px 8px 0 var(--volt); }
.plan--hot .muted { color: #a9a9a9; }
.plan__name { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan__name h3 { font-family: var(--f-display); font-weight: 850; font-size: 30px; letter-spacing: -0.04em; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-family: var(--f-display); font-weight: 900; font-size: 64px; letter-spacing: -0.06em; line-height: 1; font-variation-settings: "wdth" 80; }
.plan__price small { color: inherit; opacity: .65; }
.plan ul { display: grid; gap: 10px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan--hot .btn--ink { background: var(--volt); color: var(--ink); }
.plan--hot .btn--ink::before { background: var(--white); }
.cfg-note { margin-top: 26px; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1.5px dashed var(--fg); border-radius: 14px; font-size: 14px; color: var(--fg-2); }
.cfg-note b { color: var(--fg); }
.cmp { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--bd); }
.cmp thead th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); font-weight: 500; border-bottom: 1.5px solid var(--fg); }
.cmp tbody th { font-weight: 600; }
.cmp td { color: var(--fg-2); }
.cmp .y { color: var(--fg); font-weight: 700; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* docs */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding-block: 50px 100px; }
.docs__side { position: sticky; top: calc(var(--hdr-h) + 20px); align-self: start; display: grid; gap: 22px; max-height: calc(100vh - var(--hdr-h) - 40px); overflow-y: auto; padding-right: 6px; }
.docs__side h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); font-weight: 500; margin-bottom: 8px; }
.docs__side a { display: block; padding: 7px 12px; border-radius: 8px; font-size: 14.5px; color: var(--fg-2); border-left: 2px solid transparent; transition: background-color .2s, color .2s; }
.docs__side a:hover { color: var(--fg); background: color-mix(in srgb, var(--fg) 5%, transparent); }
.docs__side a.is-active { color: var(--fg); border-left-color: var(--volt); background: color-mix(in srgb, var(--volt) 25%, transparent); font-weight: 600; }
.search { position: relative; }
.search input { width: 100%; height: 50px; border-radius: 12px; border: 1.5px solid var(--fg); background: var(--surface); padding: 0 16px 0 44px; font-size: 15px; transition: box-shadow .3s; }
.search input:focus { outline: none; box-shadow: 4px 4px 0 var(--fg); }
.search svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); transition: transform .3s var(--ease-back); }
.search input:focus + svg, .search:focus-within svg { transform: translateY(-50%) scale(1.15) rotate(-10deg); }
.search kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: 11px; border: 1px solid var(--bd); border-radius: 6px; padding: 2px 6px; color: var(--fg-2); }
.doc-sec { padding-top: 30px; border-top: 1.5px solid var(--fg); margin-top: 50px; }
.doc-sec:first-of-type { margin-top: 30px; }
.doc-sec h2 { font-family: var(--f-display); font-weight: 850; font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.04em; }
.doc-sec h3 { font-family: var(--f-display); font-weight: 750; font-size: 21px; letter-spacing: -0.02em; margin-top: 30px; }
.doc-sec p { margin-top: 14px; color: var(--fg-2); max-width: 70ch; }
.doc-sec ol { list-style: decimal; padding-left: 22px; margin-top: 14px; display: grid; gap: 8px; color: var(--fg-2); }
.doc-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.doc-cats a { border: 1.5px solid var(--fg); border-radius: 16px; padding: 18px; background: var(--surface); display: grid; gap: 6px; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.doc-cats a:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--fg); }
.doc-cats b { font-size: 17px; }
.doc-cats span { font-size: 13.5px; color: var(--fg-2); }
.codeblock { margin-top: 18px; border-radius: 14px; background: #060607; color: #d7d9dd; border: 1px solid var(--obs-line); overflow: hidden; }
.codeblock__bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 8px 16px; border-bottom: 1px solid var(--obs-line); font-family: var(--f-mono); font-size: 11.5px; color: var(--obs-mute); }
.codeblock pre { margin: 0; padding: 16px; font-family: var(--f-mono); font-size: 13px; line-height: 1.7; overflow-x: auto; }
.codeblock .k { color: var(--volt); } .codeblock .c { color: #5d6168; } .codeblock .s { color: #fff; }
.endpoint { display: flex; align-items: center; gap: 12px; margin-top: 14px; border: 1px solid var(--bd); border-radius: 12px; padding: 12px 14px; background: var(--surface); font-family: var(--f-mono); font-size: 13.5px; flex-wrap: wrap; }
.endpoint .verb { background: var(--ink); color: var(--volt); padding: 3px 9px; border-radius: 6px; font-weight: 600; }
:root[data-theme="dark"] .endpoint .verb { background: var(--volt); color: var(--ink); }
.empty-hit { padding: 30px; border: 1.5px dashed var(--fg); border-radius: 16px; margin-top: 30px; }

/* forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field .lbl { font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; gap: 10px; }
.field label a { font-weight: 500; color: var(--fg-2); }
.field label a:hover { color: var(--fg); }
.input { width: 100%; height: 52px; border-radius: 12px; border: 1.5px solid var(--bd); background: var(--surface); padding: 0 16px; font-size: 15.5px; transition: border-color .2s, box-shadow .3s; }
textarea.input { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23626262' stroke-width='1.6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input:hover { border-color: color-mix(in srgb, var(--fg) 40%, transparent); }
.input:focus { outline: none; border-color: var(--fg); box-shadow: 4px 4px 0 var(--fg); }
.field.is-error .input { border-color: var(--err); box-shadow: 4px 4px 0 var(--err); }
.field .err { color: var(--err); font-size: 13px; font-weight: 500; min-height: 0; display: flex; gap: 6px; align-items: center; }
.field .err:empty { display: none; }
.field .hint { color: var(--fg-2); font-size: 13px; }
.pw { position: relative; }
.pw .input { padding-right: 56px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: var(--fg-2); }
.pw button:hover { color: var(--fg); background: color-mix(in srgb, var(--fg) 6%, transparent); }
.pw button svg { width: 20px; height: 20px; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.meter i { height: 5px; border-radius: 9px; background: var(--bd); transition: background-color .3s; }
.meter[data-s="1"] i:nth-child(-n+1) { background: var(--err); }
.meter[data-s="2"] i:nth-child(-n+2) { background: var(--warn); }
.meter[data-s="3"] i:nth-child(-n+3) { background: #9fd400; }
.meter[data-s="4"] i { background: var(--ok); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { appearance: none; flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--fg); background: var(--surface); display: grid; place-items: center; margin: 0; transition: background-color .2s; cursor: pointer; }
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--ink); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .3s var(--ease-back); }
.check input:checked { background: var(--volt); border-color: var(--ink); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { padding: 14px 16px; border-radius: 12px; font-size: 14px; display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--fg); }
.form-status.ok { background: var(--volt); color: var(--ink); border-color: var(--ink); }
.form-status.bad { background: color-mix(in srgb, var(--err) 12%, var(--surface)); border-color: var(--err); }
.divider { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--fg-2); text-transform: uppercase; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--bd); }

/* auth layout */
.auth { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth__form { display: flex; flex-direction: column; padding: 28px clamp(20px, 5vw, 80px) 40px; }
.auth__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.auth__box { width: 100%; max-width: 440px; margin: auto; padding-block: 50px; }
.auth__box h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 4.6vw, 64px); letter-spacing: -0.05em; line-height: .92; margin-top: 18px; }
.auth__box > p { margin-top: 14px; color: var(--fg-2); }
.auth__box .form { margin-top: 30px; }
.auth__alt { margin-top: 24px; font-size: 14.5px; color: var(--fg-2); text-align: center; }
.auth__alt a { color: var(--fg); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.auth__legal { font-size: 12.5px; color: var(--fg-2); text-align: center; margin-top: 16px; }
.auth__legal a { text-decoration: underline; text-underline-offset: 2px; }
.auth__art { position: relative; background: transparent; color: var(--fg); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; isolation: isolate; border-left: 1px solid var(--bd); }
.auth__art::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(color-mix(in srgb, var(--fg) 8%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--fg) 8%, transparent) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%); }
.auth__art .stage { max-width: 520px; margin: auto; width: 86%; }
.auth__quote { font-family: var(--f-display); font-weight: 850; font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -0.045em; line-height: .95; }
.auth__quote .serif-i { font-weight: 400; background: linear-gradient(transparent 60%, var(--volt) 60%); padding: 0 .06em; }
:root[data-theme="dark"] .auth__quote .serif-i { background: none; color: var(--volt); }
.auth__marq { margin-inline: -28px; border-block: 1px solid var(--bd); padding-block: 12px; }
.auth__marq .marquee__item { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; gap: 26px; padding-right: 26px; color: var(--fg-2); text-transform: uppercase; }
.auth__marq i { color: var(--fg); font-style: normal; }
.demo-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--ink); background: repeating-linear-gradient(-45deg, var(--volt) 0 10px, #e6ff8f 10px 20px); color: var(--ink); font-size: 13.5px; margin-top: 22px; }
.demo-banner b { display: block; }
.demo-banner .ico, .review .ico, .form-status .ico { width: 20px; height: 20px; margin-top: 1px; }
.demo-banner code { font-family: var(--f-mono); font-size: 12px; background: rgba(0,0,0,.08); padding: 1px 5px; border-radius: 4px; }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp input { height: 60px; text-align: center; font-family: var(--f-mono); font-size: 24px; font-weight: 600; border-radius: 12px; border: 1.5px solid var(--bd); background: var(--surface); }
.otp input:focus { outline: none; border-color: var(--fg); box-shadow: 3px 3px 0 var(--fg); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); padding-block: 60px 110px; }
.contact__info { display: grid; gap: 14px; align-content: start; }
.contact__info .card { padding: 22px; }

/* status / changelog */
.status-hero { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1.5px solid var(--fg); border-radius: 18px; background: var(--surface); flex-wrap: wrap; }
.status-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--fg-2); position: relative; flex: none; }
.status-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--fg-2); animation: ping 2.4s var(--ease-out) infinite; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--bd); }
.svc b { font-weight: 600; }
.uptime { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(60, 1fr); gap: 2px; height: 30px; }
.uptime i { border-radius: 2px; background: color-mix(in srgb, var(--fg) 14%, transparent); }
.uptime i.ok { background: color-mix(in srgb, var(--fg) 55%, transparent); }
.uptime i.v { background: var(--volt); }
.log { border-left: 1.5px solid var(--fg); margin-left: 8px; }
.log__item { position: relative; padding: 0 0 50px 34px; }
.log__item::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--volt); border: 1.5px solid var(--ink); }
.log__item h3 { font-family: var(--f-display); font-weight: 850; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.035em; margin-top: 8px; }
.log__item ul { margin-top: 14px; display: grid; gap: 8px; color: var(--fg-2); }
.log__item li { display: flex; gap: 10px; }
.log__item li .chip { flex: none; }

/* legal */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 60px; padding-block: 50px 110px; }
.legal__toc { position: sticky; top: calc(var(--hdr-h) + 20px); align-self: start; border: 1.5px solid var(--fg); border-radius: 16px; padding: 18px; background: var(--surface); max-height: calc(100vh - var(--hdr-h) - 40px); overflow-y: auto; }
.legal__toc h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--fg-2); text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.legal__toc ol { display: grid; gap: 2px; counter-reset: t; }
.legal__toc a { display: grid; grid-template-columns: 26px 1fr; padding: 6px 4px; font-size: 14px; color: var(--fg-2); border-radius: 6px; counter-increment: t; }
.legal__toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; padding-top: 2px; }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--fg); background: color-mix(in srgb, var(--volt) 30%, transparent); }
.legal__doc { max-width: 76ch; }
.legal__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.legal__doc section { padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--bd); }
.legal__doc h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; line-height: 1.1; }
.legal__doc p, .legal__doc li { color: color-mix(in srgb, var(--fg) 80%, transparent); margin-top: 12px; }
.legal__doc ul { list-style: disc; padding-left: 22px; }
.legal__doc li { margin-top: 6px; }
.legal__doc a { text-decoration: underline; text-underline-offset: 3px; }
.ph { background: var(--volt); color: var(--ink); font-family: var(--f-mono); font-size: .86em; padding: 1px 6px; border-radius: 4px; border: 1px dashed var(--ink); white-space: normal; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.review { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--ink); background: repeating-linear-gradient(-45deg, var(--volt) 0 10px, #e6ff8f 10px 20px); color: var(--ink); font-size: 14px; }
.review b { display: block; }

/* 404 */
.nf { min-height: calc(100svh - var(--hdr-h) - 34px); display: grid; place-items: center; text-align: center; padding-block: 60px; position: relative; overflow: hidden; }
.nf__num { font-family: var(--f-display); font-weight: 900; font-size: clamp(140px, 32vw, 460px); line-height: .8; letter-spacing: -0.07em; font-variation-settings: "wdth" 125; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .hero__inner { grid-template-columns: 1fr; }
  .stage { max-width: 600px; margin-top: -10px; }
  .hero__feats { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .deck { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .ftr__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr__brand { grid-column: 1 / -1; }
  .cap { grid-template-columns: 56px minmax(0, 1fr) 52px; }
  .cap p { display: none; }
}
@media (max-width: 1000px) {
  :root { --hdr-h: 68px; }
  .hdr__nav, .hdr__actions .btn, .hdr__actions .theme-toggle { display: none; }
  .hdr__in { grid-template-columns: 1fr auto; }
  .menu-btn { display: inline-block; }
  .section__head, .split2, .faq, .cta__in, .feature-row, .contact, .auth { grid-template-columns: minmax(0, 1fr); }
  .section__head .lead { justify-self: start; }
  .feature-row:nth-child(even) .feature-row__vis { order: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow__svg { display: none; }
  .step { min-height: 0; }
  .cards3, .plans, .doc-cats { grid-template-columns: 1fr 1fr; }
  .docs, .legal { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .docs__side, .legal__toc { position: relative; top: 0; max-height: none; }
  .auth__art { min-height: 520px; border-left: 0; border-top: 1px solid var(--bd); order: 2; }
  .mini { grid-template-columns: 1fr; }
  .mini__side, .mini__insp { display: none; }
  .device__screen { aspect-ratio: 4 / 3.4; }
  .cta__mark { width: 240px; }
}
@media (max-width: 680px) {
  .hero h1 { font-size: clamp(46px, 13.4vw, 72px); }
  .hero__feats { gap: 22px 14px; }
  .stage { margin-inline: -8px; }
  .anno { font-size: 9.5px; }
  .anno--tr { top: 0; }
  .stage .sticker { width: 96px; height: 96px; }
  .sticker text { font-size: 8.6px; }
  .preview__tabs { width: 100%; overflow-x: auto; }
  .device .sticker { display: none; }
  .ptab { flex: none; }
  .deck { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; row-gap: 26px; }
  .acard__face { padding: 14px; }
  .cards3, .cards2, .plans, .doc-cats, .dev-meta { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .cap { grid-template-columns: minmax(0, 1fr) 46px; padding: 18px 4px; gap: 12px; }
  .cap__ico { display: none; }
  .cap__go { width: 44px; height: 44px; }
  .cloud { height: 520px; }
  .bands .band:first-child { transform: rotate(-4deg) scale(1.1); }
  .bands .band:last-child { transform: rotate(3deg) scale(1.1); }
  .flex-line--indent { padding-left: 0; }
  .hero__mega { bottom: 30%; }
  .term pre { font-size: 12px; min-height: 260px; }
  .orch__svg { min-width: 760px; }
  .orch__scroll { overflow-x: auto; }
  .step__num b { font-size: 56px; }
  .auth__art { min-height: 440px; }
  .otp input { height: 52px; font-size: 20px; }
  .uptime { grid-template-columns: repeat(30, 1fr); }
  .uptime i:nth-child(n+31) { display: none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .split-w > span { transform: none; }
  .device { transform: none !important; }
}
:root.reduce-motion *, :root.reduce-motion *::before, :root.reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
:root.reduce-motion .js [data-reveal], :root.reduce-motion [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
:root.reduce-motion .split-w > span { transform: none !important; }

@media print {
  .topbar, .hdr, .ftr, .cursor, .progress, .wipe { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- additions: hero marker, step visuals, demo ---------- */
.d-br { display: inline; }
.hero h1 { position: relative; isolation: isolate; }
.hero h1 .ai::before { content: ""; position: absolute; left: -.05em; right: -.02em; bottom: .04em; height: .34em; background: var(--volt); z-index: -1; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--ease-out) .95s; border-radius: 2px; }
.hero h1.is-in .ai::before { transform: scaleX(1); }
:root[data-theme="dark"] .hero h1 .ai { color: var(--ink); }
:root[data-theme="dark"] .hero h1 .ai::before { top: .12em; bottom: -.02em; height: auto; }
.hero__mega { will-change: transform; }

.vis-describe { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; font-size: 13px; }
.vis-describe .typing { font-family: var(--f-mono); font-size: 12px; line-height: 1.5; min-height: 3em; }
.vd-files { display: flex; gap: 6px; flex-wrap: wrap; }
.vd-files span { font-family: var(--f-mono); font-size: 11px; border: 1px solid var(--fg); border-radius: 6px; padding: 3px 8px; background: var(--surface); }
.vis-orch { position: absolute; inset: 0; width: 100%; height: 100%; }
.vis-orch path { stroke: var(--fg); stroke-width: 1.2; stroke-dasharray: 4 5; animation: dash 1.4s linear infinite; fill: none; }
.vis-orch circle { fill: var(--surface); stroke: var(--fg); stroke-width: 1.5; }
.vis-orch circle.hub { fill: var(--volt); stroke: var(--ink); }
.step.is-lit .vis-orch circle:not(.hub) { animation: nodePulse 1.8s var(--ease-io) infinite; }
.step.is-lit .vis-orch circle:nth-of-type(3) { animation-delay: .2s; } .step.is-lit .vis-orch circle:nth-of-type(4) { animation-delay: .4s; } .step.is-lit .vis-orch circle:nth-of-type(5) { animation-delay: .6s; } .step.is-lit .vis-orch circle:nth-of-type(6) { animation-delay: .8s; } .step.is-lit .vis-orch circle:nth-of-type(7) { animation-delay: 1s; }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes nodePulse { 0%, 100% { fill: var(--surface); } 50% { fill: var(--volt); } }
.vis-deliver { position: absolute; inset: 0; padding: 12px 14px; display: grid; gap: 6px; align-content: center; font-size: 13px; }
.vis-deliver li { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--fg); border-radius: 8px; padding: 6px 10px; background: var(--surface); transform: translateX(20px); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s; }
.vis-deliver li b { width: 20px; height: 20px; border-radius: 50%; background: var(--volt); color: var(--ink); display: grid; place-items: center; font-size: 11px; border: 1px solid var(--ink); }
.step.is-lit .vis-deliver li { transform: none; opacity: 1; }
.step.is-lit .vis-deliver li:nth-child(2) { transition-delay: .2s; } .step.is-lit .vis-deliver li:nth-child(3) { transition-delay: .4s; }
.orch__scroll { width: 100%; }

.demo { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 0; }
.demo__steps { padding: 22px; display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--bd); counter-reset: none; }
.demo__steps li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--bd); font-weight: 600; color: var(--fg-2); transition: all .4s var(--ease-out); }
.demo__steps li b { font-family: var(--f-mono); font-size: 11px; }
.demo__steps li.on { border-color: var(--ink); background: var(--volt); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.demo__steps li.done { color: var(--fg); border-color: var(--fg); }
.demo__screen { background: var(--obs); color: var(--obs-text); aspect-ratio: 16 / 9.4; overflow: hidden; position: relative; }
.demo__screen video, .demo__screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.demo__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--bd); flex-wrap: wrap; }
.demo__foot p { font-size: 13.5px; color: var(--fg-2); }
.msg.is-new { animation: msgIn .6s var(--ease-out); }
@keyframes msgIn { from { opacity: 0; transform: translateY(16px); } }
.agentrow.queued strong { color: var(--obs-mute); }

@media (max-width: 1000px) {
  .demo { grid-template-columns: 1fr; }
  .demo__steps { grid-auto-flow: column; border-right: 0; border-bottom: 1px solid var(--bd); padding: 14px; overflow-x: auto; }
  .demo__screen { aspect-ratio: 4 / 4.2; }
}
@media (max-width: 680px) {
  .d-br { display: none; }
  .hide-sm { display: none; }
  .auth__top .btn { padding: 0 14px; }
  .auth__art { min-height: 380px; }
}

/* ---------- v2: reference-faithful hero ---------- */
.hero { min-height: auto; padding-bottom: clamp(30px, 4vw, 60px); }
.hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero h1 { font-size: clamp(52px, 6.6vw, 112px); font-variation-settings: "wdth" 86; }
.hero__copy { position: relative; }
.hero__sticker { width: 112px; height: 112px; right: 2%; top: -6px; transform: rotate(-8deg); }
.stage { max-width: 760px; }
.stage__canvas { inset: 2% 4% 8% 4%; }
.stage__shadow { position: absolute; left: 22%; right: 18%; bottom: 7%; height: 9%; z-index: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.32), rgba(0,0,0,.12) 55%, transparent); filter: blur(6px); transform: scale(calc(1 - var(--float, 0) * .25 + var(--hov, 0) * .08)); transition: transform .2s linear; pointer-events: none; }
:root[data-theme="dark"] .stage__shadow { background: radial-gradient(closest-side, rgba(214,255,61,.18), transparent); }
.stage__canvas.is-ready ~ .stage__shadow, .stage__shadow { opacity: 1; }
.stage__hint { position: absolute; z-index: 4; left: 50%; bottom: 0; top: auto; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--bd); background: var(--surface); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; transition: opacity .4s; }
.stage__hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); border: 1px solid var(--ink); animation: ping2 1.6s var(--ease-out) infinite; }
@keyframes ping2 { 50% { transform: scale(1.5); } }
.stage:hover .stage__hint { opacity: 0; }
.stage__geo .c { transition: stroke .4s; }
.stage:hover .stage__geo .c { stroke: color-mix(in srgb, var(--fg) 40%, transparent); }
.preview { padding-top: 10px; }
.preview .device-wrap { margin-top: 0; }
@media (max-width: 1180px) { .hero__inner { grid-template-columns: minmax(0, 1fr); } .hero__sticker { display: none; } }
@media (max-width: 680px) { .stage__hint { font-size: 9px; } }

/* =========================================================
   v3 — client chrome logo, Apple-style emoji, 3D screen wall
   ========================================================= */
:root { --f-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif; }

/* layered 3D logo built from the client PNG */
.l3d { position: relative; perspective: 1100px; outline-offset: 10px; -webkit-tap-highlight-color: transparent; touch-action: pan-y; cursor: grab; }
.l3d:active { cursor: grabbing; }
.l3d__rig { position: relative; width: 100%; aspect-ratio: 1 / 1; transform-style: preserve-3d; will-change: transform; }
.l3d__face, .l3d__layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.l3d__layer { transform: translateZ(var(--z)); filter: brightness(var(--b)) contrast(1.1); }
.l3d__face { transform: translateZ(0); filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); }
.l3d__glare, .l3d__sweep { position: absolute; inset: 0; transform: translateZ(1px); pointer-events: none; -webkit-mask: url("../img/zevaris-logo-3d-c.webp") center / contain no-repeat; mask: url("../img/zevaris-logo-3d-c.webp") center / contain no-repeat; }
.l3d__glare { background: radial-gradient(circle at var(--gx, 30%) var(--gy, 25%), rgba(255,255,255,.55), rgba(255,255,255,.12) 22%, transparent 45%); mix-blend-mode: screen; opacity: var(--ga, .45); transition: opacity .4s; }
.l3d__sweep { background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.75) 47%, rgba(214,255,61,.35) 50%, transparent 60%); background-size: 250% 100%; background-position: 130% 0; mix-blend-mode: screen; }
.l3d.is-hover .l3d__sweep, .l3d:focus-visible .l3d__sweep { animation: sweep 1.3s var(--ease-out); }
.l3d.is-pop .l3d__sweep { animation: sweep .9s var(--ease-out); }
@keyframes sweep { from { background-position: 130% 0; } to { background-position: -40% 0; } }
.l3d--hero { position: absolute; inset: 10% 9% 13% 11%; z-index: 3; display: grid; align-items: center; transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }
.l3d--cta { position: relative; width: 78%; margin: 11%; z-index: 2; }
.l3d--auth { width: min(420px, 74%); margin: auto; }
.stage__canvas { opacity: 0; pointer-events: none; transition: opacity .6s var(--ease-out); }
.stage.is-live .stage__canvas { opacity: 1; pointer-events: auto; }
.stage.is-live .l3d--hero { opacity: 0; transform: scale(.85) rotateY(40deg); pointer-events: none; }
.stage.is-live .orbit { opacity: .35; }

.live3d { position: absolute; z-index: 6; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 99px; background: var(--inverse-bg); color: var(--inverse-fg); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--volt); transition: transform .3s var(--ease-out), box-shadow .3s; }
.live3d:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--volt); }
.live3d__dot { width: 10px; height: 10px; border-radius: 50%; background: conic-gradient(var(--volt) 0 50%, transparent 0); border: 1.5px solid currentColor; transition: transform .6s var(--ease-back); }
.live3d[aria-pressed="true"] .live3d__dot { transform: rotate(180deg); }
.stage__hint { left: 0; transform: none; }

/* emoji orbit */
.orbit { position: absolute; inset: 0; z-index: 2; pointer-events: none; transition: opacity .5s; }
.orb { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); display: grid; place-items: center; font-family: var(--f-emoji); font-size: calc(var(--s) * .78); line-height: 1; pointer-events: auto; cursor: pointer; filter: drop-shadow(0 calc(var(--d) * 18px) calc(var(--d) * 14px) rgba(0,0,0,.22)) blur(calc((1 - var(--d)) * .6px)); }
.orb--front { z-index: 4; }
.orb > span { display: block; animation: orbFloat calc(4s + var(--i) * .4s) var(--ease-io) infinite alternate; animation-delay: calc(var(--i) * -.7s); transition: transform .45s var(--ease-back); }
.orb:hover > span { transform: scale(1.1) rotate(-4deg); }
.orb.is-pop > span { animation: orbPop .6s var(--ease-back); }
.orb::after { content: attr(data-label); position: absolute; left: 50%; top: 100%; transform: translate(-50%, 4px) scale(.9); opacity: 0; white-space: nowrap; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--inverse-fg); background: var(--inverse-bg); padding: 4px 8px; border-radius: 6px; transition: opacity .25s, transform .35s var(--ease-out); pointer-events: none; }
.orb:hover::after { opacity: 1; transform: translate(-50%, 10px) scale(1); }
@keyframes orbFloat { from { transform: translateY(-6px) rotate(-4deg); } to { transform: translateY(8px) rotate(5deg); } }
@keyframes orbPop { 0% { transform: scale(1); } 40% { transform: scale(1.18) rotate(6deg); } 100% { transform: scale(1); } }
.emo-burst { position: fixed; z-index: 1600; pointer-events: none; font-family: var(--f-emoji); font-size: 26px; line-height: 1; }

/* emoji tiles */
.emo { --s: 50px; width: var(--s); height: var(--s); flex: none; border-radius: calc(var(--s) * .3); display: inline-grid; place-items: center; font-family: var(--f-emoji); font-size: calc(var(--s) * .56); line-height: 1; font-style: normal; background: linear-gradient(160deg, #ffffff 0%, #f1f1ee 55%, #e3e3df 100%); border: 1.5px solid var(--ink); box-shadow: inset 0 1.5px 0 #fff, inset 0 -3px 6px rgba(0,0,0,.06), 3px 3px 0 var(--ink); transform-style: preserve-3d; transition: transform .4s var(--ease-out), box-shadow .4s, background .4s; }
.emo > span { display: block; transform: translateZ(10px); filter: drop-shadow(0 4px 4px rgba(0,0,0,.2)); transition: transform .55s var(--ease-back); }
:root[data-theme="dark"] .emo { background: linear-gradient(160deg, #23252b, #141519); border-color: #3a3d44; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 3px 3px 0 var(--volt); }
.feat .emo, .cap .emo, .step h3 .emo { will-change: transform; }
.feat:hover .emo, .cap:hover .emo, .step:hover .emo { transform: rotate(-3deg) scale(1.04); background: linear-gradient(160deg, #f4ffcf, var(--volt)); box-shadow: inset 0 1.5px 0 #fff, 5px 5px 0 var(--ink); }
.feat:hover .emo > span, .cap:hover .emo > span, .step:hover .emo > span { transform: translateZ(4px) scale(1.06); animation: emoWiggle .6s var(--ease-io); }
@keyframes emoWiggle { 30% { rotate: -5deg; } 65% { rotate: 3deg; } 100% { rotate: 0deg; } }
.emo--feat { --s: 54px; }
.feat { gap: 12px; }
.emo--cap { --s: 54px; }
.cap:hover .emo, .cap:focus-visible .emo { border-color: var(--ink); }
.emo--step { --s: 46px; margin-right: 12px; vertical-align: middle; transform: translateY(-4px); }
.step h3 { display: flex; align-items: center; }

/* agent cards: big emoji art */
.art__emo { font-family: var(--f-emoji); font-size: clamp(64px, 7vw, 108px); line-height: 1; filter: drop-shadow(0 14px 14px rgba(0,0,0,.28)); transition: transform .8s var(--ease-back); display: block; }
.acard:hover .art__emo { transform: scale(1.05) rotate(-3deg); }
.acard--d .art__emo { background: var(--volt); border-radius: 50%; padding: 14px; border: 1.5px solid var(--ink); }
.cloud__chip i { font-family: var(--f-emoji); font-size: 20px; background: #fff; border: 1.5px solid var(--ink); }
.cloud__chip.k i { background: #fff; }
.band .marquee__item > span:not(.serif-i) { font-family: var(--f-display), var(--f-emoji); }

/* CTA emojis */
.cta__mark { display: grid; place-items: center; }
.cta__emo { position: absolute; font-family: var(--f-emoji); font-size: clamp(34px, 4vw, 56px); z-index: 3; filter: drop-shadow(0 10px 10px rgba(0,0,0,.25)); animation: orbFloat 3.6s var(--ease-io) infinite alternate; pointer-events: none; }
.cta__emo--a { right: 2%; top: 6%; }
.cta__emo--b { left: 0; bottom: 18%; animation-delay: -1.2s; }
.cta__emo--c { right: 10%; bottom: 0; animation-delay: -2.1s; }

/* ---------- inside: 3D screen wall ---------- */
.inside { overflow: hidden; background: var(--bg); }
.wall { perspective: 2200px; perspective-origin: 50% 30%; padding: 30px var(--gutter) 10px; margin-top: -10px; }
.wall__plane { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "chat chat agents profile" "library library sched sched" "plug plug keys usage"; gap: 18px; transform-style: preserve-3d; transform: rotateX(26deg) rotateZ(-2deg); transform-origin: 50% 40%; }
.scr { position: relative; display: flex; flex-direction: column; border-radius: 16px; background: var(--obs); color: var(--obs-text); border: 1px solid #2c2f35; box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 40px 60px -30px rgba(0,0,0,.55); overflow: hidden; font-size: 12px; transform: translateZ(var(--tz, 0px)); transition: transform .6s var(--ease-out), box-shadow .5s, border-color .3s, opacity .9s var(--ease-out); min-height: 220px; }
.scr--chat { grid-area: chat; } .scr--agents { grid-area: agents; } .scr--profile { grid-area: profile; } .scr--library { grid-area: library; } .scr--sched { grid-area: sched; } .scr--plug { grid-area: plug; } .scr--keys { grid-area: keys; } .scr--usage { grid-area: usage; }
.js .wall:not(.is-in) .scr { opacity: 0; --tz: -380px; }
.wall.is-in .scr { transition-delay: calc(var(--i) * 70ms); }
.wall.is-in .scr:hover, .scr:focus-visible { --tz: 70px; transition-delay: 0s; border-color: var(--volt); box-shadow: 0 0 0 1px var(--volt), 0 60px 80px -30px rgba(0,0,0,.6), 8px 8px 0 var(--volt); z-index: 2; }
.scr__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--obs-line); color: var(--obs-mute); font-size: 11px; background: #0b0c0f; }
.scr__bar i { width: 8px; height: 8px; border-radius: 50%; background: #2a2c31; }
.scr__bar i:first-child { background: #ff5f57; } .scr__bar i:nth-child(2) { background: #febc2e; } .scr__bar i:nth-child(3) { background: #28c840; }
.scr__bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr__bar b { color: #fff; }
.scr__bar em { margin-left: auto; font-style: normal; font-family: var(--f-emoji); font-size: 15px; }
.scr__body { padding: 14px; display: grid; gap: 10px; align-content: start; flex: 1; }
.scr__h b { display: block; font-family: var(--f-display); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.scr__h small { color: var(--obs-mute); }
.scr__open { position: absolute; right: 12px; bottom: 10px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #000; background: var(--volt); padding: 4px 8px; border-radius: 6px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease-out); }
.scr:hover .scr__open, .scr:focus-visible .scr__open { opacity: 1; transform: none; }
.scr em { font-style: normal; font-family: var(--f-emoji); }
.scr__prompt { border: 1px solid #33363d; border-radius: 10px; padding: 8px 10px; background: var(--obs-1); font-family: var(--f-mono); font-size: 11px; color: #e3e4e7; }
.scr__models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scr__models span { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: center; padding: 8px; border-radius: 10px; border: 1px solid var(--obs-line); background: var(--obs-1); }
.scr__models span.on { border-color: #fff; box-shadow: 3px 3px 0 var(--volt); }
.scr__models em { grid-row: 1 / span 2; font-size: 20px; }
.scr__models b { color: #fff; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr__models small { color: var(--obs-mute); font-size: 10.5px; }
.scr__row { display: flex; gap: 8px; align-items: center; }
.scr__btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 8px; background: #fff; color: #000; font-weight: 700; font-size: 11.5px; justify-self: start; }
.scr__ghost { color: var(--obs-mute); font-size: 11px; border: 1px solid var(--obs-line); border-radius: 8px; padding: 5px 10px; }
.scr__list { display: grid; gap: 7px; }
.scr__agent { display: grid; grid-template-columns: 22px 1fr 70px 30px; gap: 8px; align-items: center; padding: 7px 8px; border: 1px solid var(--obs-line); border-radius: 10px; background: var(--obs-1); }
.scr__agent em { font-size: 16px; }
.scr__agent b { color: #fff; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr__agent b small { color: var(--obs-mute); font-family: var(--f-mono); font-weight: 400; font-size: 10px; }
.scr__bar2 { height: 5px; border-radius: 9px; background: #23252b; overflow: hidden; }
.scr__bar2 i { display: block; height: 100%; width: var(--w); background: var(--volt); border-radius: inherit; animation: barBreath 3.2s var(--ease-io) infinite alternate; animation-delay: calc(var(--j) * -.6s); }
@keyframes barBreath { from { width: calc(var(--w) * .45); } to { width: calc(var(--w) + 18%); } }
.scr__tgl { width: 28px; height: 16px; border-radius: 99px; background: #2a2c31; position: relative; }
.scr__tgl::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #8a8e95; transition: transform .3s var(--ease-back); }
.scr__tgl.on { background: var(--volt); } .scr__tgl.on::after { background: #000; transform: translateX(12px); }
.scr__tgl.flip { animation: tglBg 4s steps(1) infinite; } .scr__tgl.flip::after { animation: tglKnob 4s var(--ease-back) infinite; }
@keyframes tglBg { 0%, 49% { background: #2a2c31; } 50%, 100% { background: var(--volt); } }
@keyframes tglKnob { 0%, 45% { transform: none; background: #8a8e95; } 50%, 95% { transform: translateX(12px); background: #000; } 100% { transform: none; background: #8a8e95; } }
.scr__prof { display: flex; gap: 10px; align-items: center; }
.scr__av { width: 44px; height: 44px; border-radius: 50%; background: var(--volt); color: #000; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.scr__prof b { color: #fff; font-size: 13px; display: flex; gap: 6px; align-items: center; }
.scr__prof small { color: var(--obs-mute); }
.scr__pro { font-family: var(--f-mono) !important; font-size: 9px; background: var(--volt); color: #000; padding: 1px 5px; border-radius: 4px; }
.scr__dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; font-size: 11px; }
.scr__dl dt { color: var(--obs-mute); } .scr__dl dd { color: #fff; text-align: right; }
.scr__tabs { display: flex; gap: 6px; flex-wrap: wrap; font-size: 11px; }
.scr__tabs span { padding: 4px 9px; border-radius: 7px; color: var(--obs-mute); border: 1px solid var(--obs-line); }
.scr__tabs span.on { background: #fff; color: #000; border-color: #fff; font-weight: 700; }
.scr__tabs .scr__up { margin-left: auto; background: var(--volt); color: #000; border-color: var(--volt); font-weight: 700; }
.scr__tbl { display: grid; gap: 2px; }
.scr__tbl > div { display: grid; grid-template-columns: 34px 1fr 60px 50px; gap: 10px; align-items: center; padding: 6px 4px; border-bottom: 1px solid #17191d; }
.scr__tbl b { color: #fff; font-weight: 500; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr__tbl small { color: var(--obs-mute); font-family: var(--f-mono); font-size: 10.5px; }
.scr__tbl--s > div { grid-template-columns: 22px 1fr 96px 62px; }
.scr__tbl--s em { font-size: 15px; }
.ft { font-family: var(--f-mono); font-size: 8.5px; font-weight: 700; border-radius: 6px; padding: 5px 0; text-align: center; }
.ft--pdf { background: #3a1210; color: #ff8a80; } .ft--json { background: #0f2433; color: #9fd6ff; } .ft--md { background: #1a1c22; color: #e3e4e7; } .ft--csv { background: #10261a; color: #7ee2a0; } .ft--nb { background: #2e2310; color: #ffb48a; }
.st { font-size: 10px; padding: 2px 8px; border-radius: 99px; text-align: center; border: 1px solid; }
.st--ok { color: #7ee2a0; border-color: #24452f; background: #0e1a12; animation: stPulse 2.4s var(--ease-io) infinite; }
.st--pa { color: #ffb48a; border-color: #4a3022; background: #1c120c; }
@keyframes stPulse { 50% { box-shadow: 0 0 0 4px rgba(126,226,160,.12); } }
.scr__plugs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.scr__plugs span { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: center; padding: 9px; border: 1px solid var(--obs-line); border-radius: 10px; background: var(--obs-1); transition: transform .3s var(--ease-back); }
.scr:hover .scr__plugs span:hover { transform: translateY(-3px); }
.scr__plugs em { grid-row: 1 / span 2; font-size: 22px; }
.scr__plugs b { color: #fff; font-size: 11.5px; }
.scr__plugs small { color: var(--obs-mute); font-size: 10px; } .scr__plugs small.ok { color: #7ee2a0; }
.scr__key { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--obs-line); background: var(--obs-1); }
.scr__key small { grid-column: 1 / -1; color: var(--obs-mute); font-size: 10.5px; }
.scr__key b { font-family: var(--f-mono); color: #fff; font-weight: 500; font-size: 11.5px; }
.scr__key span { color: var(--volt); }
.scr__chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; height: 100px; }
.scr__chart i { display: block; height: var(--h); background: #2a2c31; border-radius: 4px 4px 1px 1px; transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease-out); transition-delay: calc(400ms + var(--j) * 50ms); }
.wall.is-in .scr__chart i { transform: scaleY(1); }
.scr__chart i:nth-child(10) { background: var(--volt); }
.scr__big { font-family: var(--f-display); font-size: 20px; font-weight: 800; color: #fff; }
.scr__row small { color: var(--obs-mute); }

@media (max-width: 1100px) {
  .wall__plane { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "chat chat" "agents profile" "library library" "sched sched" "plug plug" "keys usage"; }
}
@media (max-width: 900px) {
  .wall { perspective: none; }
  .wall__plane { transform: none !important; }
  .js .wall:not(.is-in) .scr { --tz: 0px; transform: translateY(30px); }
}
@media (max-width: 640px) {
  .wall__plane { grid-template-columns: minmax(0, 1fr); grid-template-areas: "chat" "agents" "library" "sched" "plug" "keys" "usage" "profile"; }
  .scr__models, .scr__plugs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orb { --s: 34px !important; }
  .orb:nth-child(n+6) { display: none; }
  .live3d { font-size: 9.5px; height: 32px; }
  .stage__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .orb > span, .cta__emo, .scr__bar2 i, .scr__tgl.flip, .scr__tgl.flip::after, .st--ok { animation: none !important; }
}
.auth__art .orb::after { background: var(--volt); color: var(--ink); }

/* =========================================================
   v4 — page-name transitions, smooth accordion, peek, alignment
   ========================================================= */

/* page transition: staggered volt stripes sweep right → left, page name glides in from the right */
.wipe { position: fixed; inset: 0; z-index: 1500; pointer-events: none; visibility: hidden; }
.wipe.is-in, .wipe.is-cover, .wipe.is-out { visibility: visible; }
.wipe.is-in, .wipe.is-cover { pointer-events: auto; }
.wipe__layer { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(4, 1fr); }
.wipe__s { display: block; margin-bottom: -1px; transform: scaleX(0); transform-origin: 100% 50%; will-change: transform; }
.wipe__s--ink { background: #080808; }
.wipe__s--volt { background: #D6FF3D; }
.wipe.is-in .wipe__s { transform: scaleX(1); transform-origin: 100% 50%; transition: transform .36s cubic-bezier(.76, 0, .24, 1); }
.wipe.is-in .wipe__s--ink { transition-delay: calc(var(--n) * 28ms); }
.wipe.is-in .wipe__s--volt { transition-delay: calc(var(--n) * 28ms + 40ms); }
.wipe.is-cover .wipe__s { transform: scaleX(1); transition: none; }
.wipe.is-out .wipe__s { transform: scaleX(0); transform-origin: 0% 50%; transition: transform .4s cubic-bezier(.76, 0, .24, 1); }
.wipe.is-out .wipe__s--volt { transition-delay: calc(var(--n) * 28ms); }
.wipe.is-out .wipe__s--ink { transition-delay: calc(var(--n) * 28ms + 36ms); }
.wipe__in { position: absolute; inset: 0; display: grid; place-items: center; color: #000; overflow: hidden; }
.wipe__k { position: absolute; left: var(--gutter); top: 28px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; opacity: 0; transform: translateX(60px); }
.wipe__t { display: block; max-width: 92vw; padding-inline: 16px; text-align: center; font-family: var(--f-display); font-weight: 900; font-size: clamp(54px, 11vw, 196px); line-height: .9; letter-spacing: -0.055em; color: #000; overflow-wrap: anywhere; opacity: 0; transform: translateX(22vw); will-change: transform, opacity; }
.wipe.is-in .wipe__t { opacity: 1; transform: none; transition: transform .5s cubic-bezier(.16, 1, .3, 1) .12s, opacity .3s ease .12s; }
.wipe.is-in .wipe__k { opacity: 1; transform: none; transition: transform .45s cubic-bezier(.16, 1, .3, 1) .16s, opacity .3s .16s; }
.wipe.is-cover .wipe__t, .wipe.is-cover .wipe__k { opacity: 1; transform: none; transition: none; }
.wipe.is-out .wipe__t { opacity: 0; transform: translateX(-22vw); transition: transform .4s cubic-bezier(.7, 0, .84, 0), opacity .25s ease .08s; }
.wipe.is-out .wipe__k { opacity: 0; transform: translateX(-60px); transition: transform .4s cubic-bezier(.7, 0, .84, 0), opacity .3s; }
.wipe__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 30px; height: 3px; border-radius: 3px; background: rgba(0, 0, 0, .14); overflow: hidden; opacity: 0; }
.wipe__bar i { display: block; height: 100%; background: #000; transform: scaleX(0); transform-origin: 100% 50%; }
.wipe.is-in .wipe__bar, .wipe.is-cover .wipe__bar { opacity: 1; transition: opacity .3s .25s; }
.wipe.is-in .wipe__bar i { transform: scaleX(1); transition: transform .4s cubic-bezier(.65, 0, .35, 1) .1s; }
.wipe.is-cover .wipe__bar i { transform: scaleX(1); transition: none; }
.wipe.is-out .wipe__bar { opacity: 0; transition: opacity .2s; }
html.is-entering::after { content: attr(data-nav-label); position: fixed; inset: 0; z-index: 1501; display: grid; place-items: center; padding-inline: 16px; text-align: center; background: #D6FF3D; color: #000; font-family: var(--f-display); font-weight: 900; font-size: clamp(54px, 11vw, 196px); line-height: .9; letter-spacing: -0.055em; }

/* hero top row: pill + rotating sticker on one line */
.hero__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 640px; }
.hero__sticker { position: relative; inset: auto; flex: none; width: 92px; height: 92px; transform: rotate(-8deg); box-shadow: 3px 3px 0 var(--ink); }
.hero__sticker .core { width: 28px; height: 28px; }
.hero h1 { margin-top: 14px; }

/* hero feature row: titles and copy line up across columns */
.hero__feats { align-items: start; }
@supports (grid-template-rows: subgrid) {
  .hero__feats { grid-auto-rows: auto; }
  .feat { grid-row: span 3; grid-template-rows: subgrid; row-gap: 10px; }
}
.feat h3 { line-height: 1.25; }

/* emoji tiles: no resting offset, so hover tilt never jumps */
.emo--step { transform: none; margin-right: 14px; }
.step:hover .emo--step { transform: rotate(-3deg) scale(1.04); }
.emo > span { line-height: 1; height: 1em; width: 1em; display: grid; place-items: center; }
.cloud__chip i { display: grid; place-items: center; line-height: 1; flex: none; }

/* capabilities: destination pill + smooth peek card */
.cap { grid-template-columns: 70px minmax(0, 1fr) minmax(0, .9fr) auto; }
.cap__go { width: auto; min-width: 52px; height: 52px; padding: 0 8px 0 18px; gap: 12px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; transition: background-color .3s, color .3s, border-color .3s; }
.cap:hover .cap__go, .cap:focus-visible .cap__go { transform: none; background: var(--ink); color: var(--volt); border-color: var(--ink); }
.cap__go svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; transition: transform .5s var(--ease-back); }
.cap:hover .cap__go svg, .cap:focus-visible .cap__go svg { transform: rotate(-45deg); }
.cap__dest { font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.peek { position: fixed; left: 0; top: 0; z-index: 40; width: 300px; pointer-events: none; will-change: transform; }
.peek__card { rotate: var(--rot, -3deg); scale: .72; opacity: 0; transform-origin: 0 60%; border: 1.5px solid var(--ink); border-radius: 16px; background: var(--obs); color: var(--obs-text); padding: 16px; box-shadow: 8px 8px 0 var(--ink); font-size: 12px; transition: opacity .28s var(--ease-out), scale .55s cubic-bezier(.16, 1, .3, 1); }
.peek.is-on .peek__card { opacity: 1; scale: 1; }
.peek__card.is-swap > * { animation: peekSwap .42s cubic-bezier(.16, 1, .3, 1) both; }
.peek__card.is-swap > :nth-child(2) { animation-delay: .03s; }
.peek__card.is-swap > :nth-child(3) { animation-delay: .06s; }
.peek__card.is-swap > :nth-child(4) { animation-delay: .09s; }
@keyframes peekSwap { from { opacity: 0; transform: translateY(8px); } }
.peek__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.peek__top .mono { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--volt); }
.peek__emo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #1b1d22; border: 1px solid var(--obs-line); font-family: var(--f-emoji); font-size: 19px; line-height: 1; }
.peek__card > b { display: block; font-family: var(--f-display); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 10px; color: #fff; }
.peek__rows { display: grid; gap: 6px; }
.peek__rows span { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid var(--obs-line); border-radius: 8px; padding: 7px 10px; color: #d8dade; }
.peek__rows span em { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--obs-mute); }
.peek__dest { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--obs-line); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--obs-mute); }
.peek__dest b { color: var(--volt); font-weight: 600; }
@media (max-width: 1000px) { .cap { grid-template-columns: 56px minmax(0, 1fr) auto; } .cap__dest { display: none; } .cap__go { padding: 0 8px; } }
@media (max-width: 680px) { .cap { grid-template-columns: minmax(0, 1fr) auto; } .cap__go { min-width: 44px; height: 44px; padding: 0 4px; } .cap__go svg { width: 34px; height: 34px; } }

/* CTA: logo sits dead-centre inside the text ring */
.cta__mark { position: relative; display: block; width: min(380px, 100%); aspect-ratio: 1; }
.l3d--cta { position: absolute; inset: 14%; width: auto; margin: 0; display: grid; place-items: center; z-index: 2; }
.l3d--cta .l3d__rig { width: 100%; }
.cta__mark .cta__ring { position: absolute; inset: auto; left: -12%; top: -12%; width: 124%; height: 124%; max-width: none; max-height: none; transform-origin: 50% 50%; }
.cta__ring text { letter-spacing: .24em; }
.cta__emo { line-height: 1; }
.cta__emo--a { right: -6%; top: -4%; left: auto; bottom: auto; }
.cta__emo--b { left: -8%; bottom: 2%; top: auto; right: auto; }
.cta__emo--c { right: -2%; bottom: -8%; top: auto; left: auto; }
@media (max-width: 1000px) { .cta__mark { width: 260px; margin-top: 40px; } }

/* footer brand: mark, word and tagline share one left edge and baseline grid */
.ftr__brand { display: grid; align-content: start; justify-items: start; gap: 18px; }
.ftr__brand .brand { align-items: center; gap: 12px; line-height: 1; }
.ftr__brand .brand__mark { display: block; flex: none; width: 40px; height: 40px; }
.ftr__brand .brand__txt { align-content: center; }
.ftr__brand p { margin-top: 0; }
.ftr__col h4 { line-height: 40px; margin-bottom: 8px; }
.ftr__bot > span { white-space: nowrap; }
@media (max-width: 1000px) { .ftr__col h4 { line-height: 1.4; margin-bottom: 14px; } }

/* inside wall: two-model tile */
.scr__models--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* simple content pages */
.ztable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ztable th, .ztable td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--bd); vertical-align: top; }
.ztable th { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.ztable td:first-child { font-weight: 700; }
.mcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.mcard2 { position: relative; border: 1.5px solid var(--fg); border-radius: var(--r-lg); background: var(--surface); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; align-content: start; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.mcard2:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--fg); }
.mcard2--on { background: var(--volt); color: var(--ink); border-color: var(--ink); }
.mcard2--on p, .mcard2--on .kv2 span { color: #2b2b2b; }
.mcard2__h { display: flex; align-items: center; gap: 14px; }
.mcard2 h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -0.05em; line-height: .9; }
.mcard2 p { color: var(--fg-2); max-width: 46ch; }
.kv2 { display: grid; gap: 0; border-top: 1px solid currentColor; }
.kv2 > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: 14.5px; }
.kv2 span { color: var(--fg-2); }
.kv2 b { text-align: right; }
.tbd { display: inline-block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; border: 1px dashed currentColor; border-radius: 6px; padding: 1px 6px; opacity: .8; font-weight: 600; }
.helpgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.helpcard { display: grid; gap: 10px; align-content: start; border: 1.5px solid var(--fg); border-radius: var(--r-lg); padding: 24px; background: var(--surface); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background-color .3s; }
.helpcard:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--fg); background: color-mix(in srgb, var(--volt) 22%, var(--surface)); }
.helpcard h3 { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.helpcard p { color: var(--fg-2); font-size: 15px; }
.endp { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--bd); }
.endp code { font-family: var(--f-mono); font-size: 14px; }
.verb { justify-self: start; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; border: 1.5px solid var(--fg); }
.verb--get { background: var(--surface); } .verb--post { background: var(--volt); color: var(--ink); border-color: var(--ink); } .verb--del { background: var(--fg); color: var(--bg); }
.endp p { color: var(--fg-2); font-size: 14.5px; }
@media (max-width: 1000px) { .mcards, .helpgrid { grid-template-columns: minmax(0, 1fr); } .endp { grid-template-columns: 70px minmax(0, 1fr); } .endp p { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  .wipe, html.is-entering::after { display: none !important; }
  .peek__card, .acc summary .chev { transition: none; }
}
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hsearch { display: flex; align-items: center; gap: 12px; width: min(560px, 100%); height: 60px; padding: 0 20px; border-radius: 99px; border: 1.5px solid var(--fg); background: var(--surface); box-shadow: 4px 4px 0 var(--fg); transition: box-shadow .3s, transform .3s var(--ease-out); }
.hsearch:focus-within { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--volt), 6px 6px 0 1.5px var(--fg); }
.hsearch svg { width: 20px; height: 20px; flex: none; }
.hsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--fg); font-size: 17px; }
[data-filter-item][hidden] { display: none !important; }
.ztable code, .endp code, .helpcard code, .kv2 code { font-family: var(--f-mono); font-size: .9em; }
.ztable tbody th { font-weight: 700; color: var(--fg); font-family: var(--f-body); font-size: 15px; letter-spacing: 0; text-transform: none; text-align: left; }
/* footer wordmark: no negative tracking, so each chrome letter is painted whole */
.ftr__mega { letter-spacing: 0; }
.ftr__mega span { letter-spacing: 0; padding-inline: .01em; }
/* capabilities on tablet / phone: emoji · title · arrow on one row */
@media (max-width: 1000px) {
  .cap { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 16px; }
  .cap__go { width: 52px; min-width: 0; padding: 0; }
  .cap__go svg { padding: 0; width: 20px; height: 20px; }
}
@media (max-width: 680px) {
  .cap { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding: 16px 2px; }
  .emo--cap { --s: 44px; }
  .cap__go { width: 42px; height: 42px; }
  .cap h3 { font-size: clamp(22px, 6.4vw, 30px); }
}
.kv2 span { white-space: nowrap; }
.kv2 b { min-width: 0; }
/* CTA emojis orbit just outside the text ring (never on top of it) */
.cta__emo { width: 1.2em; height: 1.2em; display: grid; place-items: center; }
.cta__emo--a { right: -9%; top: -9%; left: auto; bottom: auto; }
.cta__emo--b { left: -9%; bottom: -9%; top: auto; right: auto; }
.cta__emo--c { left: -24%; top: 18%; right: auto; bottom: auto; }
@media (max-width: 1000px) { .cta__emo--c { left: auto; right: -20%; top: 40%; } }

/* =========================================================
   v5 — frosted glass header that adapts to what is behind it
   ========================================================= */
.hdr { --hdr-fg: var(--fg); --hdr-mute: color-mix(in srgb, var(--fg) 58%, transparent); --hdr-glass: color-mix(in srgb, var(--bg) 58%, transparent); --hdr-line: color-mix(in srgb, var(--fg) 12%, transparent); --nav-accent: var(--ink); --nav-mark: var(--volt); background: transparent; color: var(--hdr-fg); transition: color .4s var(--ease-out); }
.hdr__in { position: relative; transition: height .45s var(--ease-out), padding .45s var(--ease-out), margin .45s var(--ease-out); }
.hdr__in::before { content: ""; position: absolute; inset: 0 max(4px, calc(var(--gutter) - 18px)); z-index: -1; border-radius: 22px; background: var(--hdr-glass); border: 1px solid var(--hdr-line); backdrop-filter: blur(26px) saturate(185%); -webkit-backdrop-filter: blur(26px) saturate(185%); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 18px 40px -22px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(-8px) scale(.985); transition: opacity .45s var(--ease-out), transform .55s var(--ease-out), background-color .45s, border-color .45s; pointer-events: none; }
.hdr.is-scrolled .hdr__in { height: 62px; margin-top: 7px; }
.hdr.is-scrolled .hdr__in::before { opacity: 1; transform: none; }
.hdr .brand, .hdr .brand__word { color: var(--hdr-fg); transition: color .4s; }
.hdr .brand__sub { color: var(--hdr-mute); transition: color .4s; }
.hdr .iconbtn { color: var(--hdr-fg); }
/* surfaces */
.hdr[data-surface="dark"] { --hdr-fg: #f5f5f3; --hdr-mute: rgba(245, 245, 243, .62); --hdr-glass: rgba(14, 15, 18, .62); --hdr-line: rgba(255, 255, 255, .12); --nav-accent: #D6FF3D; --nav-mark: rgba(214, 255, 61, .28); }
.hdr[data-surface="dark"] .hdr__in::before { box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 18px 40px -22px rgba(0, 0, 0, .7); }
.hdr[data-surface="dark"] .btn--line { color: #f5f5f3; border-color: rgba(255, 255, 255, .35); }
.hdr[data-surface="dark"] .btn--ink { background: #fff; color: #080808; }
.hdr[data-surface="dark"] .btn--ink::before { background: #D6FF3D; }
.hdr[data-surface="volt"] { --hdr-fg: #080808; --hdr-mute: rgba(8, 8, 8, .62); --hdr-glass: rgba(214, 255, 61, .55); --hdr-line: rgba(8, 8, 8, .18); --nav-accent: #080808; --nav-mark: rgba(255, 255, 255, .7); }
.hdr[data-surface="volt"] .btn--line { color: #080808; border-color: rgba(8, 8, 8, .4); }
.hdr[data-surface="light"] { --hdr-fg: #080808; --hdr-mute: rgba(8, 8, 8, .55); --hdr-glass: rgba(248, 248, 245, .72); --hdr-line: rgba(8, 8, 8, .1); --nav-accent: #080808; --nav-mark: #D6FF3D; }
.hdr[data-surface="light"] .btn--line { color: #080808; border-color: rgba(8, 8, 8, .25); }
.hdr[data-surface="light"] .btn--ink { background: #080808; color: #fff; }
body.menu-open .hdr { --hdr-fg: #fff; }
body.menu-open .hdr .hdr__in::before { opacity: 0; }

/* nav: muted links, underscore on hover, active link highlighted in its own colour */
.hdr__nav { position: relative; gap: 2px; }
.navlink { padding: 10px 16px; border-radius: 10px; color: var(--hdr-mute); font-weight: 520; transition: color .3s var(--ease-out); }
.navlink:hover, .navlink:focus-visible { color: var(--hdr-fg); }
.navlink__t { position: relative; z-index: 1; display: inline-block; }
.navlink[aria-current="page"] { color: var(--hdr-fg); font-weight: 680; }
.navlink[aria-current="page"] .navlink__t::before { content: ""; position: absolute; left: -4px; right: -4px; bottom: 1px; height: .5em; z-index: -1; border-radius: 3px; background: var(--nav-mark); transform-origin: 0 50%; animation: navMark .6s var(--ease-out) both .15s; }
@keyframes navMark { from { transform: scaleX(0); } }
.hdr__ink { position: absolute; left: 0; bottom: 4px; height: 3px; width: 10px; border-radius: 2px; background: var(--nav-accent); pointer-events: none; opacity: 0; transform: translateX(0); transition: transform .5s cubic-bezier(.16, 1, .3, 1), width .5s cubic-bezier(.16, 1, .3, 1), opacity .3s, background-color .4s; }
.hdr__ink.is-on { opacity: 1; }
.hdr__ink::after { content: ""; position: absolute; right: -9px; top: 0; width: 6px; height: 3px; border-radius: 2px; background: inherit; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hdr__ink, .hdr__in, .hdr__in::before { transition: none; } .hdr__ink::after, .navlink[aria-current="page"] .navlink__t::before { animation: none; } }
@media (max-width: 900px) { .hdr.is-scrolled .hdr__in { height: 58px; margin-top: 6px; } .hdr__in::before { inset: 0 6px; border-radius: 18px; } .hdr.is-scrolled .hdr__in { padding-inline: calc(var(--gutter) + 6px); } }

/* =========================================================
   v5 — showcase images, feature pages, gallery
   ========================================================= */
/* framed showcase image */
.fp-top { padding-block: clamp(30px, 5vw, 60px) 0; }
.fp-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.fp-meta .emo { margin-left: auto; }
.fp-num { font-family: var(--f-display); font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.fp-shot { position: relative; margin: 0; border-radius: clamp(16px, 2vw, 28px); overflow: hidden; border: 1.5px solid var(--fg); background: var(--obs); box-shadow: 10px 10px 0 var(--fg); transition: transform .6s var(--ease-out), box-shadow .5s var(--ease-out); }
.fp-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.fp-shot figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--fg); color: var(--bg); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.fp-shot:hover { box-shadow: 14px 14px 0 var(--volt), 14px 14px 0 1.5px var(--fg); }
/* steps */
.fp-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; counter-reset: none; }
.fp-step { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px; border: 1.5px solid var(--fg); border-radius: var(--r-lg); background: var(--surface); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.fp-step:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--fg); }
.fp-step__n { position: absolute; right: 22px; top: 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--fg-2); }
.fp-step h3 { font-family: var(--f-display); font-weight: 850; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.04em; line-height: 1; margin-top: 14px; }
.fp-step p { color: var(--fg-2); }
/* what you get + live sample */
.fp-demo__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.fp-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.fp-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.fp-list svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--volt); color: var(--ink); border: 1.5px solid var(--ink); margin-top: 1px; }
.fp-demo__vis { position: relative; border-radius: var(--r-lg); border: 1.5px solid var(--fg); background: var(--obs); color: var(--obs-text); padding: 18px; padding-top: 52px; min-height: 360px; }
.fp-live { position: absolute; left: 18px; top: 16px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9a9ea6; }
.fp-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); animation: ping2 1.6s var(--ease-out) infinite; }
.fp-mini { border-radius: 14px; overflow: hidden; height: 400px; }
.fp-mini .mini { font-size: 10.5px; height: 100%; grid-template-columns: 30% 1fr; }
.fp-mini .mini__insp { display: none; }
.fp-doc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; align-items: start; }
.fp-doc__k { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #8b8f96; margin-bottom: 10px; }
.fp-doc__page { background: #fff; color: #080808; border-radius: 10px; padding: 18px; transform: rotate(-2deg); box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .6); }
.fp-doc__page .fp-doc__k { color: #54565b; }
.fp-doc__page b { display: block; font-size: 17px; margin-bottom: 8px; }
.fp-doc__page i { display: block; height: 8px; border-radius: 4px; background: #e4e4df; margin: 9px 0; width: 92%; }
.fp-doc__page i.hl { background: var(--volt); width: 84%; }
.fp-doc__ans { border: 1px solid var(--obs-line); border-left: 3px solid var(--volt); border-radius: 12px; padding: 16px; background: var(--obs-1); font-size: 15px; line-height: 1.6; color: #eef0f3; }
.fp-doc__ans mark { background: var(--volt); color: #000; padding: 0 3px; border-radius: 3px; }
.fp-doc__cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.fp-doc__cites span { font-family: var(--f-mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; border: 1px solid #3a3d44; color: #d6d8dc; }
.fp-plugs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fp-plug { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--obs-line); background: var(--obs-1); color: #fff; text-align: left; transition: border-color .25s, background-color .25s, transform .3s var(--ease-out); }
.fp-plug:hover { border-color: #4a4d55; transform: translateY(-2px); }
.fp-plug__e { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #1b1d22; font-family: var(--f-emoji); font-size: 20px; line-height: 1; }
.fp-plug b { display: block; font-size: 14.5px; }
.fp-plug small { color: var(--obs-mute); font-size: 12px; }
.fp-plug em { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; border: 1px solid #3a3d44; color: #c3c6cb; white-space: nowrap; }
.fp-plug.is-on { border-color: var(--volt); }
.fp-plug.is-on em { background: var(--volt); color: #000; border-color: transparent; }
.fp-note { margin-top: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: #8b8f96; }
/* gallery cards (shared) */
.gcard { position: relative; display: grid; gap: 0; border-radius: 20px; overflow: hidden; border: 1.5px solid var(--fg); background: var(--surface); color: var(--fg); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.gcard img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease-out); }
.gcard:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--fg); }
.gcard:hover img { transform: scale(1.025); }
.gcard__cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1.5px solid var(--fg); background: var(--surface); position: relative; z-index: 1; }
.gcard__cap b { font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.gcard__cap span { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: transform .45s var(--ease-back), background-color .3s, color .3s; }
.gcard__cap svg { width: 16px; height: 16px; }
.gcard:hover .gcard__cap span { transform: rotate(-45deg); background: var(--ink); color: var(--volt); border-color: var(--ink); }
.gcard__n { position: absolute; left: 14px; top: 14px; z-index: 2; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; padding: 4px 8px; border-radius: 7px; background: var(--volt); color: var(--ink); border: 1.5px solid var(--ink); }
/* features index grid */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fgrid__p { display: block; padding: 0 18px 18px; color: var(--fg-2); font-size: 14.5px; background: var(--surface); }
.feature-row__shot { display: block; border-radius: var(--r-lg); overflow: hidden; border: 1.5px solid var(--fg); box-shadow: 10px 10px 0 var(--fg); transition: transform .6s var(--ease-out), box-shadow .5s; }
.feature-row__shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.feature-row__shot:hover { box-shadow: 14px 14px 0 var(--volt), 14px 14px 0 1.5px var(--fg); }
/* related */
.fp-rel__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.fp-rel__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* peek thumbnail */
.peek { width: 320px; }
.peek__img { margin: -16px -16px 14px; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--obs-line); background: #0d0e11; }
.peek__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.peek__card { overflow: hidden; }
/* helpcard link affordance */
.helpcard .more { margin-top: auto; padding-top: 8px; display: inline-flex; gap: 8px; align-items: center; font-weight: 650; }
.helpcard .more svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.helpcard:hover .more svg { transform: translateX(4px); }

/* landing: pinned horizontal gallery */
.gallery { position: relative; background: var(--bg); }
.gallery__pin { padding-block: clamp(70px, 9vw, 120px) 40px; }
.gallery.is-pinned .gallery__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3vh, 36px); padding-block: calc(var(--hdr-h) + 10px) 26px; overflow: hidden; }
.gallery__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); gap: 20px 60px; align-items: end; }
.gallery__head .h1 { font-size: clamp(40px, 5.2vw, 84px); }
.gallery__head .lead { justify-self: end; max-width: 38ch; }
.gallery__viewport { padding-inline: var(--gutter); overflow: visible; }
.gallery__track { display: flex; gap: 24px; width: max-content; will-change: transform; }
.gcard--lg { width: min(54vh * 1.6, 700px); flex: none; }
.gallery:not(.is-pinned) .gallery__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 16px; margin-top: 30px; }
.gallery:not(.is-pinned) .gcard--lg { width: min(86vw, 640px); scroll-snap-align: center; }
.gallery__foot { display: flex; align-items: center; gap: 20px; }
.gallery__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--bd); overflow: hidden; }
.gallery__bar i { display: block; height: 100%; background: var(--fg); transform: scaleX(0); transform-origin: 0 50%; }
.gallery:not(.is-pinned) .gallery__bar { display: none; }
.gallery:not(.is-pinned) .gallery__foot { margin-top: 20px; justify-content: flex-start; }

@media (max-width: 1000px) {
  .fp-steps, .fgrid, .fp-rel__grid { grid-template-columns: minmax(0, 1fr); }
  .fp-demo__in { grid-template-columns: minmax(0, 1fr); }
  .fp-doc { grid-template-columns: minmax(0, 1fr); }
  .gallery__head { grid-template-columns: minmax(0, 1fr); }
  .gallery__head .lead { justify-self: start; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .fp-plugs { grid-template-columns: minmax(0, 1fr); }
  .fp-shot { box-shadow: 6px 6px 0 var(--fg); }
  .fp-shot figcaption { font-size: 9.5px; padding: 10px 12px; }
  .fp-mini { height: 340px; }
  .fp-meta .emo { display: none; }
}
@media (max-width: 680px) {
  .fp-mini .mini { grid-template-columns: minmax(0, 1fr); }
  .fp-mini .mini__side { display: none; }
  .fp-demo__vis { padding: 46px 12px 12px; }
}
@media (max-width: 680px) {
  .fp-mini .mini__main { min-width: 0; }
  .fp-mini .mini__view { overflow-x: auto; }
  .fp-mini .mtable td, .fp-mini .mtable th { white-space: normal; }
  .fp-mini .mini__btns { display: none; }
}

/* =========================================================
   v6 — first-visit loader
   ========================================================= */
.pre { position: fixed; inset: 0; z-index: 1600; display: none; color: #f5f5f3; }
html.is-loading .pre, .pre.is-done { display: block; }
html.is-loading body { overflow: hidden; }
.pre__bg { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(4, 1fr); }
.pre__bg i { display: block; margin-bottom: -1px; background: #08090B; transform-origin: 0 50%; }
.pre::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 80px 80px; transition: opacity .3s; }
.pre::after { content: ""; position: absolute; left: 50%; top: 42%; width: 70vmin; height: 70vmin; z-index: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(214, 255, 61, .16), transparent); pointer-events: none; transition: opacity .3s; }
.pre__in { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: clamp(20px, 3.5vh, 34px); padding-inline: 20px; text-align: center; }
.pre__logo { position: relative; width: clamp(110px, 15vw, 180px); aspect-ratio: 1; perspective: 800px; }
.pre__logo img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .65)); animation: preSpin 1.1s cubic-bezier(.16, 1, .3, 1) both, preFloat 2.2s ease-in-out 1.1s infinite alternate; }
.pre__halo { position: absolute; inset: -16%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 62%, rgba(214, 255, 61, .9) 86%, transparent 100%); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: spin 1s linear infinite; }
@keyframes preSpin { from { transform: rotateY(-110deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes preFloat { to { transform: translateY(-7px) rotateY(8deg); } }
.pre__slogan { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .24em; font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 7.2vw, 108px); line-height: .92; letter-spacing: -0.05em; }
.pre__slogan span { display: inline-block; overflow: hidden; padding: 0 .02em .1em; margin-bottom: -.1em; }
.pre__slogan b { display: inline-block; font-weight: inherit; transform: translateY(108%); animation: preWord .7s cubic-bezier(.16, 1, .3, 1) both; }
.pre__slogan span:nth-child(1) b { animation-delay: .22s; }
.pre__slogan span:nth-child(2) b { animation-delay: .3s; }
.pre__slogan span:nth-child(3) b { animation-delay: .42s; }
.pre__slogan span:nth-child(4) b { animation-delay: .5s; }
.pre__slogan .serif-i { color: #D6FF3D; font-weight: 400; letter-spacing: -0.02em; }
@keyframes preWord { to { transform: none; } }
.pre__foot { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 44px; display: flex; justify-content: space-between; gap: 16px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: #8b8f96; }
.pre__pct b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.pre__bar { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 28px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.pre__bar i { display: block; height: 100%; background: #D6FF3D; transform: scaleX(0); transform-origin: 0 50%; }
.pre.is-done { pointer-events: none; }
.pre.is-done .pre__in, .pre.is-done .pre__foot, .pre.is-done .pre__bar { opacity: 0; transform: translateX(-50px); transition: opacity .28s, transform .4s cubic-bezier(.7, 0, .84, 0); }
.pre.is-done::before, .pre.is-done::after { opacity: 0; }
.pre.is-done .pre__bg i { transform: scaleX(0); transition: transform .48s cubic-bezier(.76, 0, .24, 1); transition-delay: calc(var(--n) * 32ms + .1s); }
@media (max-width: 680px) { .pre__foot span:first-child { display: none; } }
@media (prefers-reduced-motion: reduce) { .pre { display: none !important; } }

/* =========================================================
   v6 — QixArc parent company + footer social icons
   ========================================================= */
.ftr__parent { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 16px; border: 1px solid var(--obs-line); background: rgba(255, 255, 255, .03); color: #fff; transition: border-color .3s, background-color .3s, transform .4s var(--ease-out); }
.ftr__parent img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(60, 110, 255, .45)); }
.ftr__parent small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--obs-mute); }
.ftr__parent b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; line-height: 1.1; }
.ftr__parent:hover { border-color: #4b7bff; background: rgba(75, 123, 255, .08); transform: translateY(-2px); }
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0; }
.social__a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--obs-line); color: #e9eaec; background: rgba(255, 255, 255, .03); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease-out); }
.social__a svg { width: 18px; height: 18px; }
.social__a img { width: 26px; height: 26px; object-fit: contain; }
.social__a:hover, .social__a:focus-visible { background: var(--volt); color: var(--ink); border-color: var(--volt); transform: translateY(-3px); }
.social__a--qixarc:hover, .social__a--qixarc:focus-visible { background: #0d1a4a; border-color: #4b7bff; }
.ftr__bot a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255, 255, 255, .25); }
.ftr__bot nav a { text-decoration: none; }

.parent__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.parent__logo { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 32px; background: radial-gradient(circle at 50% 45%, #0d1636, #05070d 70%); border: 1.5px solid var(--fg); box-shadow: 10px 10px 0 var(--fg); overflow: hidden; isolation: isolate; transition: transform .6s var(--ease-out), box-shadow .5s; }
.parent__logo img { position: relative; z-index: 1; width: 72%; height: auto; filter: drop-shadow(0 24px 40px rgba(40, 90, 255, .45)); animation: parentFloat 4s ease-in-out infinite alternate; }
.parent__glow { position: absolute; inset: 10%; z-index: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(64, 120, 255, 0), rgba(64, 120, 255, .55), rgba(150, 90, 255, .5), rgba(64, 120, 255, 0)); filter: blur(30px); animation: spin 12s linear infinite; }
.parent__logo::after { content: ""; position: absolute; inset: 0; z-index: 2; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.parent__logo:hover { box-shadow: 14px 14px 0 #4b7bff, 14px 14px 0 1.5px var(--fg); }
@keyframes parentFloat { to { transform: translateY(-10px) rotate(-2deg); } }
.parent__p { margin-top: 16px; color: var(--fg-2); font-size: 17px; max-width: 56ch; }
.parent__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 30px 0; border-top: 1.5px solid var(--fg); border-bottom: 1.5px solid var(--fg); }
.parent__facts > div { padding: 18px 16px 18px 0; }
.parent__facts > div + div { border-left: 1px solid var(--bd); padding-left: 18px; }
.parent__facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-2); }
.parent__facts dd { margin: 8px 0 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.02em; }
@media (max-width: 900px) { .parent__in { grid-template-columns: minmax(0, 1fr); } .parent__logo { max-width: 360px; } }
@media (max-width: 560px) { .parent__facts { grid-template-columns: minmax(0, 1fr); } .parent__facts > div + div { border-left: 0; border-top: 1px solid var(--bd); padding-left: 0; } }
@media (prefers-reduced-motion: reduce) { .parent__logo img, .parent__glow { animation: none; } }

/* =========================================================
   v7 — tools solar system
   ========================================================= */
.sol { position: relative; height: clamp(520px, 46vw, 640px); border: 1.5px solid var(--fg); border-radius: var(--r-lg); overflow: hidden; isolation: isolate; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--volt) 16%, var(--surface)) 0%, var(--surface) 46%); }
.sol::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--bd) 1px, transparent 1px), linear-gradient(90deg, var(--bd) 1px, transparent 1px); background-size: 40px 40px; opacity: .55; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%); }
.sol__orbits, .sol__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.sol__orbits ellipse { fill: none; stroke: color-mix(in srgb, var(--fg) 22%, transparent); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 6; }
.sol__orbits ellipse:nth-child(2) { stroke-dasharray: none; stroke: color-mix(in srgb, var(--fg) 14%, transparent); }
.sol__line { stroke: color-mix(in srgb, var(--fg) 30%, transparent); stroke-width: 1.2; stroke-dasharray: 3 6; animation: solFlow 1.1s linear infinite; transition: stroke .3s, stroke-width .3s, opacity .3s; }
.sol__line.is-on { stroke: var(--fg); stroke-width: 2.4; stroke-dasharray: none; }
.sol.is-focus .sol__line:not(.is-on) { opacity: .25; }
.sol__pulse { fill: var(--volt); stroke: var(--ink); stroke-width: 1; }
:root[data-theme="dark"] .sol__pulse { stroke: none; }
@keyframes solFlow { to { stroke-dashoffset: -18; } }
.sol__sun { position: absolute; left: 50%; top: 50%; z-index: 3; width: clamp(110px, 12vw, 160px); aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; }
.sol__sun img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .35)); animation: solSun 5s ease-in-out infinite alternate; transition: transform .5s var(--ease-out); }
.sol__sun:hover img { transform: scale(1.05); }
.sol__pulse-ring { position: absolute; inset: 6%; border-radius: 50%; border: 1.5px solid var(--volt); opacity: 0; animation: solRing 2.8s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes solRing { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes solSun { from { transform: rotate(-4deg) translateY(2px); } to { transform: rotate(4deg) translateY(-4px); } }
.sol__chip { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px 0 8px; border-radius: 99px; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; will-change: transform; transition: box-shadow .3s, background-color .3s; }
.sol__chip i { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--f-emoji); font-size: 20px; line-height: 1; background: #fff; border: 1.5px solid var(--ink); }
.sol__chip b { display: block; font-size: 15.5px; font-weight: 750; line-height: 1.1; }
.sol__chip small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-top: 2px; }
.sol__chip.v { background: var(--volt); }
.sol__chip.k { background: var(--ink); color: var(--white); }
.sol__chip.is-on { box-shadow: 6px 6px 0 var(--ink); opacity: 1 !important; z-index: 6 !important; }
.sol__chip.is-on i { animation: solWiggle .5s var(--ease-io); }
@keyframes solWiggle { 40% { rotate: -6deg; } 80% { rotate: 4deg; } }
:root[data-theme="dark"] .sol__chip { border-color: #3a3d44; box-shadow: 3px 3px 0 var(--volt); }
:root[data-theme="dark"] .sol__chip.k { background: #1b1d22; }
@media (max-width: 700px) {
  .sol { height: 600px; }
  .sol__chip { flex-direction: column; height: auto; padding: 5px 7px 6px; gap: 3px; border-radius: 14px; text-align: center; box-shadow: 2px 2px 0 var(--ink); }
  .sol__chip i { width: 30px; height: 30px; font-size: 16px; }
  .sol__chip b { font-size: 10.5px; }
  .sol__chip small { display: none; }
  .sol__sun { width: 88px; }
}
@media (prefers-reduced-motion: reduce) { .sol__line, .sol__pulse-ring, .sol__sun img { animation: none; } }
/* mobile/tablet hero: logo first, then the words */
@media (max-width: 1180px) {
  .hero__inner .stage { order: -1; width: min(100%, 560px); margin: 0 auto 6px; }
  .hero__inner .hero__copy { order: 0; }
}
@media (max-width: 680px) { .hero__inner .stage { width: min(100%, 400px); } .hero { padding-top: 6px; } }

/* =========================================================
   v7 — dark mode buttons: white → green, outline white → solid white with black text
   ========================================================= */
:root[data-theme="dark"] .btn--ink { background: #fff; color: #080808; }
:root[data-theme="dark"] .btn--ink::before { background: var(--volt); }
:root[data-theme="dark"] .btn--ink:hover { color: #080808; }
:root[data-theme="dark"] .btn--line, :root[data-theme="dark"] .btn--ghost { background: transparent; color: #f5f5f3; border-color: rgba(255, 255, 255, .38); }
:root[data-theme="dark"] .btn--line::before, :root[data-theme="dark"] .btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #fff; transform: translateY(102%); transition: transform .45s var(--ease-out); }
:root[data-theme="dark"] .btn--line:hover, :root[data-theme="dark"] .btn--ghost:hover { color: #080808; border-color: #fff; background: transparent; }
:root[data-theme="dark"] .btn--line:hover::before, :root[data-theme="dark"] .btn--ghost:hover::before { transform: none; }
:root[data-theme="dark"] .cta .btn--ink { background: #080808; color: #fff; }
:root[data-theme="dark"] .cta .btn--ink::before { background: #fff; }
:root[data-theme="dark"] .cta .btn--ink:hover { color: #080808; }
:root[data-theme="dark"] .cta .btn--line { color: #080808; border-color: #080808; }
:root[data-theme="dark"] .cta .btn--line::before { background: #080808; }
:root[data-theme="dark"] .cta .btn--line:hover { color: #fff; border-color: #080808; }
:root[data-theme="dark"] .hdr[data-surface="volt"] .btn--ink { background: #080808; color: #fff; }
:root[data-theme="dark"] .hdr[data-surface="volt"] .btn--ink::before { background: #fff; }
:root[data-theme="dark"] .hdr[data-surface="volt"] .btn--line { color: #080808; border-color: rgba(8, 8, 8, .4); }
:root[data-theme="dark"] .hdr[data-surface="volt"] .btn--line::before { background: #080808; }
:root[data-theme="dark"] .hdr[data-surface="volt"] .btn--line:hover { color: #fff; }
/* =========================================================
   v7 — FAQ: arrow swings down with a spring and a small pop
   ========================================================= */
.acc summary .chev { transform: none; rotate: -90deg; transition: rotate .6s cubic-bezier(.34, 1.56, .64, 1), translate .3s var(--ease-out), background-color .35s, color .35s, border-color .35s; }
.acc details[open]:not(.is-closing) summary .chev { transform: none; rotate: 0deg; }
.acc details.is-slow summary .chev { transition-duration: 1.1s, .3s, .8s, .8s, .8s; }
.acc summary .chev.is-pop { animation: chevPop .55s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes chevPop { 0% { scale: 1; } 35% { scale: .8; } 70% { scale: 1.14; } 100% { scale: 1; } }
.acc summary:hover .chev { translate: 0 2px; }
.acc summary { transition: color .3s; }
.acc details:not([open]) summary:hover { color: color-mix(in srgb, var(--fg) 75%, transparent); }
.acc .acc__body { will-change: height; }
@media (prefers-reduced-motion: reduce) { .acc summary .chev { transition: none; } .acc summary .chev.is-pop { animation: none; } }

/* =========================================================
   v7 — four INR plans
   ========================================================= */
.plans-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plans--4 .plan { padding: 26px 22px; }
.plans--4 .plan__name h3 { font-size: clamp(24px, 2vw, 30px); }
.plans--4 .plan__price b { font-size: clamp(40px, 3.6vw, 56px); }
.plan__blurb { min-height: 3em; }
.plan__note { font-size: 13px; margin-top: -10px; }
.plan ul { flex: 1; }
.plan .btn--block { margin-top: auto; }
.cmp--4 th.hot, .cmp--4 td.hot { background: color-mix(in srgb, var(--volt) 14%, transparent); }
.cmp--4 thead th.hot { color: var(--fg); }
.cmp--4 tbody tr:first-child td { color: var(--fg); font-weight: 700; font-family: var(--f-display); font-size: 17px; }
@media (max-width: 1180px) { .plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans--4 { grid-template-columns: minmax(0, 1fr); } .plan__blurb { min-height: 0; } .cmp--4 { min-width: 620px; } }
.cmp--4 { table-layout: fixed; }
.cmp--4 thead th:first-child { width: 22%; }
