/* =====================================================================
   SimpleVM — design system v2 · "mission control"
   Dark-only cinematic system. One accent: azure #009FF3 (brand-locked).
   Type: Archivo variable (wdth 62–125 / wght 100–900) + IBM Plex Mono.
   ===================================================================== */

/* ---------- fonts (self-hosted) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/plexmono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/plexmono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #04070b;
  --bg-2: #060b12;
  --panel: rgba(13, 21, 31, 0.55);
  --panel-solid: #0a1119;
  --ink: #e9eff7;
  --ink-dim: #93a3b8;
  --ink-faint: #55667c;
  --line: rgba(147, 163, 184, 0.14);
  --line-strong: rgba(147, 163, 184, 0.26);
  --accent: #009ff3;
  --accent-hot: #3db7ff;
  --accent-ink: #04070b;
  --accent-08: rgba(0, 159, 243, 0.08);
  --accent-15: rgba(0, 159, 243, 0.15);
  --accent-35: rgba(0, 159, 243, 0.35);
  --danger: #ff5d5d;
  --nav-glass: rgba(4, 7, 11, 0.72);
  --menu-glass: rgba(4, 7, 11, 0.9);
  --fade-rgb: 4, 7, 11;
  --mark-stroke: rgba(147, 163, 184, 0.13);
  --input-bg: rgba(255, 255, 255, 0.03);
  --font-d: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-m: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --shell: 1440px;
  --gut: clamp(20px, 4.5vw, 72px);
  --r-card: 18px;
  --r-input: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

/* light theme — same azure accent (brand-locked), inverted surfaces */
:root[data-theme="light"] {
  --bg: #f2f5f9;
  --bg-2: #e9eef5;
  --panel: rgba(255, 255, 255, 0.65);
  --panel-solid: #ffffff;
  --ink: #0c1624;
  --ink-dim: #43556b;
  --ink-faint: #71829a;
  --line: rgba(12, 22, 36, 0.1);
  --line-strong: rgba(12, 22, 36, 0.22);
  --accent-hot: #0086ce;
  --nav-glass: rgba(244, 247, 250, 0.78);
  --menu-glass: rgba(244, 247, 250, 0.92);
  --fade-rgb: 242, 245, 249;
  --mark-stroke: rgba(12, 22, 36, 0.1);
  --input-bg: rgba(12, 22, 36, 0.04);
}

/* logo lockups per theme — both render as block so swapping themes
   never shifts the logo's vertical position */
.logo-l { display: none; }
:root[data-theme="light"] .logo-d { display: none; }
:root[data-theme="light"] .logo-l { display: block; }

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-d);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background 0.45s, color 0.45s;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
p a, .price__note a { color: var(--accent); }
p a:hover, .price__note a:hover { color: var(--accent-hot); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--font-m); font-weight: 400; letter-spacing: 0.02em; }
.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 18px; border-radius: 999px; font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 14px; }

/* reveal primitives — hidden only when JS is present */
html.js .rv { opacity: 0; transform: translateY(26px); }
html.js .rv.is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

/* ---------- boot curtain ---------- */
.boot {
  position: fixed; inset: 0; z-index: 250;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 4vw, 48px);
  gap: 14px;
  transition: transform 0.9s var(--ease), visibility 0s 0.9s;
}
.boot.is-done { transform: translateY(-101%); visibility: hidden; }
.boot__row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-dim); }
.boot__pct { color: var(--accent); }
.boot__bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.boot__bar span { display: block; height: 100%; width: 0; background: var(--accent); }
html:not(.js) .boot { display: none; }

/* ---------- scroll progress + cursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 220; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 240; pointer-events: none;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  transform: translate(-100px, -100px);
  mix-blend-mode: screen;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.25s;
  display: none;
}
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
:root[data-theme="light"] .cursor { mix-blend-mode: normal; opacity: 0.55; }
.cursor.is-link { width: 44px; height: 44px; opacity: 0.35; }
.cursor.is-hidden { opacity: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  padding: 14px 28px;
  position: relative;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn--accent {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(0, 159, 243, 0);
}
.btn--accent:hover { background: var(--accent-hot); box-shadow: 0 10px 40px -8px var(--accent-35); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); background: rgba(128,128,128,0.04); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-hot); }
.btn--lg { padding: 18px 36px; font-size: 16px; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn__meta { font-size: 11px; opacity: 0.75; font-weight: 500; }
.linkbtn { color: var(--accent); font-weight: 600; }
.linkbtn:hover { color: var(--accent-hot); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background 0.4s, border-color 0.4s, transform 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: var(--nav-glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.brand img { width: 127px; height: 28px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-dim);
  padding: 8px 14px; border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover { color: var(--ink); background: rgba(128,128,128,0.09); }
.nav__links a.is-active {
  color: var(--accent);
  background: var(--accent-08);
  text-shadow: 0 0 18px var(--accent-35);
}
.nav__actions { display: flex; align-items: center; gap: 12px; }

/* theme toggle — sun/moon swap, playful rotate on hover */
.theme-toggle {
  position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: border-color 0.3s, color 0.3s;
  flex: 0 0 auto;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg {
  position: absolute; width: 19px; height: 19px;
  transition: transform 0.6s var(--ease), opacity 0.35s;
}
/* the icon shows the CURRENT mode: moon in dark, sun in light */
.theme-toggle__sun { opacity: 0; transform: rotate(-100deg) scale(0.4); }
.theme-toggle:hover .theme-toggle__moon { transform: rotate(-28deg); }
:root[data-theme="light"] .theme-toggle__sun { opacity: 1; transform: none; }
:root[data-theme="light"] .theme-toggle__moon { opacity: 0; transform: rotate(100deg) scale(0.4); }
:root[data-theme="light"] .theme-toggle:hover .theme-toggle__sun { transform: rotate(45deg); }
:root[data-theme="light"] .theme-toggle:hover .theme-toggle__moon { transform: rotate(100deg) scale(0.4); }
.nav__burger {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  transition: border-color 0.3s;
}
.nav__burger span { display: block; width: 18px; height: 1.6px; background: var(--ink); transition: transform 0.35s var(--ease); }
.nav__burger:hover { border-color: var(--accent); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

/* full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 190;
  background: var(--menu-glass);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s 0.45s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease); }
.menu__inner {
  height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 8vh;
  padding-top: var(--nav-h);
}
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px;
  font-size: clamp(34px, 7vh, 60px); font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.02em; line-height: 1.22;
  color: var(--ink-dim);
  opacity: 0; transform: translateY(24px);
  transition: color 0.25s, opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: 0s;
}
.menu.is-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(0.06s + var(--i) * 0.05s), calc(0.06s + var(--i) * 0.05s), 0s; }
.menu__links a:hover { color: var(--accent-hot); }
.menu__num { font-size: 13px; color: var(--accent); }
.menu__foot { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.menu__foot p { color: var(--ink-faint); font-size: 13px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: clip;
  padding-bottom: 40px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* static fallback: a rendered frame of the cluster, shown until WebGL is confirmed (see js/hero.js) */
html.hero-static .hero { background: #04070b url("../assets/hero-static.jpg") center / cover no-repeat; }
html.hero-static[data-theme="light"] .hero { background: #f4f7fb url("../assets/hero-static-light.jpg") center / cover no-repeat; }
html.hero-static .hero__canvas { display: none; }
.hero__fade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(var(--fade-rgb),0.55) 0%, rgba(var(--fade-rgb),0) 30%, rgba(var(--fade-rgb),0.1) 62%, rgba(var(--fade-rgb),0.92) 100%),
    radial-gradient(120% 90% at 70% 30%, rgba(var(--fade-rgb),0) 40%, rgba(var(--fade-rgb),0.55) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--ink-dim); letter-spacing: 0.08em;
  margin-bottom: clamp(18px, 3vh, 34px);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 2px var(--accent-35); animation: pulse 2.4s infinite; flex: 0 0 auto; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero__title {
  font-size: clamp(2.6rem, 7.6vw, 7.2rem);
  font-weight: 800;
  font-stretch: 118%;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-bottom: clamp(24px, 4vh, 44px);
  position: relative;
}
/* dark mode: the phrase is the room's light source — soft bloom behind it
   (the in-scene lamp does the real illumination; this blends text into it) */
.hero__title::before {
  content: ""; position: absolute; inset: -22% -10%; z-index: -1;
  pointer-events: none;
  background: radial-gradient(52% 58% at 40% 52%, var(--accent-15), transparent 72%);
}
:root[data-theme="light"] .hero__title::before { display: none; }
.line { display: block; overflow: hidden; padding-block: 0.04em; }
.line__in { display: inline-block; will-change: transform; }
html.js [data-anim-lines] .line__in, html.js .hero__title .line__in, html.js .final__title .line__in { transform: translateY(115%); }
html.js .lines-in .line__in { transform: none; transition: transform 1.1s var(--ease); }
html.js .lines-in .line:nth-child(2) .line__in { transition-delay: 0.08s; }
html.js .lines-in .line:nth-child(3) .line__in { transition-delay: 0.16s; }
.line__in--accent { color: var(--accent); }

.hero__side { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px clamp(28px, 5vw, 80px); }
.hero__sub { max-width: 520px; color: var(--ink-dim); font-size: clamp(15px, 1.25vw, 17.5px); }
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__hud {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 12px clamp(26px, 4vw, 64px);
  margin: clamp(28px, 5vh, 56px) auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  width: calc(100% - 2 * var(--gut));
  padding-inline: 0;
  font-size: 12px;
}
.hero__hud > div { display: flex; flex-direction: column; gap: 2px; }
.hero__hud dt { color: var(--ink-faint); letter-spacing: 0.12em; text-transform: uppercase; font-size: 10.5px; }
.hero__hud dd { margin: 0; color: var(--ink); font-size: 15px; font-weight: 500; }
.hud--accent dd { color: var(--accent); }

.hero__scroll {
  position: absolute; right: var(--gut); bottom: 42px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: 0.28em; color: var(--ink-faint);
  writing-mode: vertical-rl;
}
.hero__scroll span { width: 1px; height: 44px; background: linear-gradient(180deg, var(--accent), transparent); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.ticker__track { display: flex; width: max-content; padding: 13px 0; }
.ticker__track span { font-size: 12px; letter-spacing: 0.14em; color: var(--ink-faint); white-space: nowrap; }

/* ---------- sections ---------- */
.section { padding-block: clamp(90px, 12vw, 170px); position: relative; }
.eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.section__head { max-width: 880px; margin-bottom: clamp(44px, 6vw, 80px); }
.section__title {
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  font-weight: 750;
  font-stretch: 108%;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.section__lead { color: var(--ink-dim); font-size: clamp(15px, 1.25vw, 17.5px); max-width: 620px; margin-top: 18px; }

/* ---------- 01 manifesto ---------- */
.manifesto { background: var(--bg); }
.manifesto__title {
  font-size: clamp(1.7rem, 4.5vw, 4rem);
  font-weight: 700;
  font-stretch: 106%;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 1180px;
}
.manifesto__title em { font-style: italic; color: var(--accent); font-weight: 750; }
.manifesto__title .w { display: inline-block; }
html.js [data-words] .w { opacity: 0.14; transition: opacity 0.5s linear; }
html.js [data-words] .w.is-lit { opacity: 1; }
.manifesto__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-top: clamp(48px, 7vw, 96px);
}
.stat { background: var(--bg-2); padding: clamp(22px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.stat__num {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 800; font-stretch: 115%;
  letter-spacing: -0.03em; line-height: 1;
  color: var(--ink);
}
.stat__label { font-size: 11.5px; color: var(--ink-faint); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- 02 bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(24px, 2.4vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
  overflow: hidden;
  transition: border-color 0.35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--accent-08), transparent 65%);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover { border-color: var(--accent-35); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; letter-spacing: -0.015em; }
.card p { color: var(--ink-dim); font-size: 14.5px; }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-08); border: 1px solid var(--accent-15);
  color: var(--accent);
}
.card__icon svg { width: 22px; height: 22px; }
.card--feature { grid-column: span 2; grid-row: span 1; }
.card__head { display: flex; align-items: center; gap: 16px; }
.card__head h3 { font-size: clamp(20px, 1.8vw, 26px); }
.card__facts {
  margin-top: auto; padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.card__facts span {
  font-size: 10.5px; letter-spacing: 0.12em; color: var(--accent);
  border: 1px solid var(--accent-15); background: var(--accent-08);
  border-radius: 999px; padding: 6px 13px; white-space: nowrap;
}
.card--wide { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 20px; }
.card--wide h3 { margin-bottom: 8px; }
.card--num .card__big {
  font-size: 64px; line-height: 1; color: var(--accent);
  text-shadow: 0 0 34px var(--accent-35);
}

/* ---------- 03 deploy ---------- */
.deploy { position: relative; background: var(--bg-2); border-block: 1px solid var(--line); }
.deploy__pin { min-height: 100svh; display: flex; align-items: center; padding-block: clamp(70px, 8vw, 110px); width: 100%; }
.deploy__pin > .shell { width: 100%; }
.deploy__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 80px); align-items: center;
}
.deploy__steps { display: flex; flex-direction: column; margin-top: clamp(28px, 3vw, 48px); }
.dstep {
  display: flex; gap: 20px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  opacity: 0.35;
  transition: opacity 0.45s;
}
.dstep:last-child { border-bottom: 1px solid var(--line); }
.dstep.is-on { opacity: 1; }
.dstep__num { color: var(--accent); font-size: 13px; padding-top: 5px; }
.dstep h3 { font-size: 19px; margin-bottom: 6px; }
.dstep p { color: var(--ink-dim); font-size: 14.5px; max-width: 480px; }
.deploy__rail { height: 2px; background: var(--line); border-radius: 2px; margin-top: 30px; overflow: hidden; }
.deploy__rail span { display: block; height: 100%; width: 0%; background: var(--accent); }

.term {
  background: #05090f;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 80px -40px var(--accent-35);
}
.term__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.term__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
/* the terminal stays dark in both themes — fixed colors, not tokens */
.term__bar b { margin-left: 10px; font-weight: 400; font-size: 11.5px; color: #55667c; letter-spacing: 0.05em; }
.term__body {
  margin: 0; padding: 22px 22px 26px;
  font-size: clamp(11.5px, 1vw, 13px); line-height: 1.75;
  color: #93a3b8;
  min-height: 320px;
  white-space: pre-wrap;
}
.term__body .t-acc { color: #009ff3; }
.term__body .t-ok { color: #34d399; }
.term__body .t-dim { color: #55667c; }
:root[data-theme="light"] .term { border-color: rgba(12,22,36,0.3); box-shadow: 0 30px 70px -28px rgba(12, 22, 36, 0.35), 0 0 80px -40px var(--accent-35); }
:root[data-theme="light"] .term__bar span { background: rgba(147,163,184,0.4); }
.term__caret { display: inline-block; width: 7px; height: 14px; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- 04 console gallery ---------- */
.console { background: var(--bg); }
.gallery__strip {
  display: flex; gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  padding: 6px var(--gut) 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.gallery__strip::-webkit-scrollbar { display: none; }
.gallery__strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.gallery__strip.is-drag .shot__zoom { pointer-events: none; }
.shot { flex: 0 0 auto; width: min(78vw, 900px); margin: 0; scroll-snap-align: center; }
.shot__zoom {
  display: block; width: 100%;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: border-color 0.35s, transform 0.5s var(--ease);
}
.shot__zoom:hover { border-color: var(--accent-35); }
.shot img { width: 100%; user-select: none; -webkit-user-drag: none; }
.shot figcaption { margin-top: 12px; font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-faint); text-transform: uppercase; }
.gallery__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.gallery__btns { display: flex; gap: 10px; }
.gallery__arrow {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.gallery__arrow svg { width: 20px; height: 20px; }
.gallery__arrow:hover { border-color: var(--accent); color: var(--accent-hot); background: var(--accent-08); }
.gallery__count { font-size: 12px; color: var(--ink-faint); letter-spacing: 0.1em; }
.gallery__count b { color: var(--accent); font-weight: 500; }

/* ---------- 05 compare ---------- */
.compare { background: var(--bg-2); border-block: 1px solid var(--line); }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs__col { border-radius: var(--r-card); padding: clamp(26px, 3vw, 44px); border: 1px solid var(--line); }
.vs__col--them { background: rgba(255, 93, 93, 0.03); }
.vs__col--us { background: var(--accent-08); border-color: var(--accent-35); box-shadow: 0 0 90px -50px var(--accent-35); }
.vs__head { margin-bottom: 26px; font-size: 12px; letter-spacing: 0.16em; color: var(--ink-faint); display: flex; align-items: center; min-height: 24px; }
.vs__col--us .vs__head img { height: 22px; width: auto; }
.vs__col ul { display: flex; flex-direction: column; gap: 16px; }
.vs__col li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--ink-dim); }
.vs__col li::before {
  content: ""; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px;
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
}
.vs__col--them li::before {
  color: var(--danger);
  -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round"><path d="M6 6l12 12M18 6 6 18"/></svg>');
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round"><path d="M6 6l12 12M18 6 6 18"/></svg>');
}
.vs__col--us li { color: var(--ink); }
.vs__col--us li::before {
  color: var(--accent);
  -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="m5 12 4 4 10-10"/></svg>');
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="m5 12 4 4 10-10"/></svg>');
}

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.speccard { border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(22px, 2.4vw, 34px); background: var(--panel); }
.speccard h3 { font-size: 11.5px; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 18px; font-weight: 500; }
.speccard li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink-dim); font-size: 14px; }
.speccard li:first-child { border-top: 0; padding-top: 0; }

/* ---------- 06 tools ---------- */
.toolgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.toolcard {
  position: relative;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(24px, 2.6vw, 38px);
  display: flex; flex-direction: column; gap: 16px;
  overflow: hidden;
  transition: border-color 0.35s;
}
.toolcard::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--accent-08), transparent 65%);
  opacity: 0; transition: opacity 0.4s;
}
.toolcard:hover { border-color: var(--accent-35); }
.toolcard:hover::before { opacity: 1; }
.toolcard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.toolcard__head h3 { font-size: 19px; font-weight: 500; letter-spacing: 0; }
.toolcard__head h3::before { content: "$ "; color: var(--accent); }
.toolcard__badge {
  font-size: 10px; letter-spacing: 0.14em; color: var(--accent);
  border: 1px solid var(--accent-15); background: var(--accent-08);
  border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.toolcard p { color: var(--ink-dim); font-size: 14.5px; }
.toolcard p strong { color: var(--ink); }
.toolcard__cta { margin-top: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.toolcard__meta { font-size: 10.5px; color: var(--ink-faint); letter-spacing: 0.06em; }
.toolcard__doc { color: var(--accent); font-size: 13.5px; font-weight: 600; }
.toolcard__doc:hover { color: var(--accent-hot); }

/* ---------- 06 pricing ---------- */
.pricing { text-align: center; }
.pricing__was { color: var(--ink-faint); font-size: 13px; margin-bottom: 8px; }
.pricing__was s { color: var(--danger); text-decoration-thickness: 1.5px; }
.pricing__ref { color: var(--accent); text-decoration: none; margin-left: 2px; }
.price__foot { color: var(--ink-faint); font-size: 10.5px; letter-spacing: 0.03em; max-width: 520px; opacity: 0.8; }
.pricing__amount {
  font-size: clamp(5rem, 17vw, 15rem);
  font-weight: 800; font-stretch: 120%;
  letter-spacing: -0.04em; line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 110px var(--accent-35);
  display: flex; align-items: baseline; justify-content: center; gap: 16px;
  margin-block: 6px 34px;
}
.pricing__per { font-size: clamp(13px, 1.6vw, 18px); color: var(--ink-faint); letter-spacing: 0.12em; }
.price { max-width: 560px; margin-inline: auto; display: flex; flex-direction: column; gap: 26px; align-items: center; }
.price__list { display: flex; flex-direction: column; gap: 12px; width: 100%; text-align: left; }
.price__list li {
  display: flex; gap: 14px; align-items: center;
  padding: 13px 18px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel);
  font-size: 15px;
}
.price__list li::before {
  content: ""; flex: 0 0 auto; width: 18px; height: 18px;
  background-color: var(--accent);
  -webkit-mask: center / contain no-repeat url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="m5 12 4 4 10-10"/></svg>');
  mask: center / contain no-repeat url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="m5 12 4 4 10-10"/></svg>');
}
.price__cta { width: 100%; }
.price__note { color: var(--ink-faint); font-size: 13.5px; max-width: 480px; }
.price__note strong { color: var(--ink-dim); }

/* ---------- final ---------- */
.final { padding-block: clamp(110px, 16vw, 220px); text-align: center; position: relative; overflow: clip; }
.final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 62%, var(--accent-08), transparent 70%);
}
.final__inner { position: relative; }
.final__title {
  font-size: clamp(2.8rem, 9vw, 7.6rem);
  font-weight: 800; font-stretch: 118%;
  text-transform: uppercase;
  line-height: 0.94; letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.final__sub { color: var(--ink-dim); max-width: 480px; margin: 0 auto 38px; }
.final__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); position: relative; overflow: clip; }
.footer__top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(56px, 6vw, 90px) clamp(36px, 4vw, 60px);
}
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__brand p { color: var(--ink-dim); font-size: 14px; max-width: 340px; }
.footer__addr { color: var(--ink-faint) !important; font-size: 12px !important; line-height: 1.8; }
.footer__tagline { color: var(--ink-faint) !important; font-size: 12.5px !important; font-style: italic; }
.footer__parent { margin-bottom: 4px; }
.footer__parent img { height: 24px; width: auto; }
.footer__col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__col h4 { font-size: 11px; letter-spacing: 0.18em; color: var(--ink-faint); font-weight: 500; margin-bottom: 6px; }
.footer__col a, .footer__linkbtn { color: var(--ink-dim); font-size: 14.5px; transition: color 0.25s; }
.footer__col a:hover, .footer__linkbtn:hover { color: var(--accent-hot); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 22px 26px;
  border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--ink-faint);
}
.footer__legal a { color: var(--ink-faint); }
.footer__legal a:hover { color: var(--accent-hot); }
.footer__mark {
  font-size: clamp(70px, 14.6vw, 250px);
  font-weight: 800; font-stretch: 112%;
  letter-spacing: -0.03em; line-height: 0.72;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px var(--mark-stroke);
  user-select: none; pointer-events: none;
  transform: translateY(18%);
}

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 260; display: flex; align-items: center; justify-content: center; padding: 4vmin; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(2, 4, 7, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox__img { position: relative; max-width: 94vw; max-height: 90vh; width: auto; border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: 0 60px 140px -40px rgba(0,0,0,0.9); }
.lightbox__close {
  position: absolute; top: 20px; right: 20px;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); transition: border-color 0.3s, color 0.3s;
}
.lightbox__close:hover { border-color: var(--accent); color: var(--accent-hot); }
.lightbox__close svg { width: 20px; height: 20px; }

/* ---------- modal (register.js contract) ---------- */
.modal { position: fixed; inset: 0; z-index: 270; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity 0.35s var(--ease); }
.modal.is-open { opacity: 1; }
.modal.is-open .modal__dialog { transform: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2, 4, 7, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal__dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  background: var(--panel-solid);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 60px 140px -30px rgba(0,0,0,0.9), 0 0 120px -60px var(--accent-35);
  transform: translateY(22px);
  transition: transform 0.45s var(--ease);
}
.modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-dim); transition: border-color 0.3s, color 0.3s;
}
.modal__close:hover { border-color: var(--accent); color: var(--ink); }
.modal__close svg { width: 18px; height: 18px; }
.modal__head { margin-bottom: 26px; }
.modal__head h2 { font-size: clamp(24px, 3vw, 30px); font-stretch: 108%; margin-bottom: 8px; }
.modal__head p { color: var(--ink-dim); font-size: 14.5px; }
.modal__badge {
  display: inline-block; font-size: 10.5px; letter-spacing: 0.2em;
  color: var(--accent);
  border: 1px solid var(--accent-35); border-radius: 999px;
  padding: 5px 12px; margin-bottom: 16px;
  background: var(--accent-08);
}
.reg-form, .code-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink-dim); letter-spacing: 0.03em; }
.field input, .field select {
  background: var(--input-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-input);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit; font-size: 14.5px;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field select { appearance: none; background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2393a3b8" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>'); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.field select option { background: var(--panel-solid); color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-15); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field--consent.has-error span { color: var(--danger); }
.field__err { color: var(--danger); font-size: 12px; min-height: 14px; display: block; }
.field__err--form { text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-dim); cursor: pointer; }
.field--consent input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--accent); flex: 0 0 auto; }
.reg-form__submit { margin-top: 6px; }
.reg-alt { text-align: center; font-size: 13.5px; color: var(--ink-faint); }
.reg-alt__sep { display: inline-block; width: 3px; height: 3px; background: var(--ink-faint); border-radius: 50%; margin: 0 10px; vertical-align: 3px; }
#reg-code { text-align: center; font-family: var(--font-m); font-size: 26px; letter-spacing: 0.5em; padding-left: calc(14px + 0.5em); }
.modal__step--done { text-align: center; }
.modal__success { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-block: 16px; }
.modal__success-icon { width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-08); border: 1px solid var(--accent-35); color: var(--accent); }
.modal__success-icon svg { width: 34px; height: 34px; }
.modal__success h2 { font-size: 26px; }
.modal__success p { color: var(--ink-dim); font-size: 14.5px; max-width: 380px; }

/* body lock when overlay open */
body.is-locked { overflow: hidden; }

/* =====================================================================
   support page
   ===================================================================== */
.subhero { padding: calc(var(--nav-h) + clamp(60px, 9vw, 120px)) 0 clamp(40px, 5vw, 70px); text-align: center; position: relative; overflow: clip; }
.subhero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 65% at 50% 0%, var(--accent-08), transparent 70%); }
.subhero__inner { position: relative; max-width: 780px; margin-inline: auto; }
.subhero .eyebrow { justify-content: center; display: flex; }
.subhero__title { font-size: clamp(2rem, 4.6vw, 3.9rem); font-weight: 800; font-stretch: 114%; letter-spacing: -0.025em; line-height: 0.98; text-transform: uppercase; margin-bottom: 20px; }
.subhero__title .accent { color: var(--accent); }
.subhero__lead { color: var(--ink-dim); font-size: clamp(15px, 1.3vw, 17.5px); max-width: 640px; margin-inline: auto; }

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.tier {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--panel);
  padding: clamp(24px, 2.2vw, 34px);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.35s, transform 0.45s var(--ease);
}
.tier:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.tier--featured { border-color: var(--accent-35); background: var(--accent-08); box-shadow: 0 0 90px -46px var(--accent-35); }
.tier--featured:hover { border-color: var(--accent); }
.tier__badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px; padding: 5px 12px;
}
.tier__name { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); font-weight: 600; }
.tier__price { font-size: clamp(2.2rem, 3vw, 3rem); font-weight: 800; font-stretch: 115%; letter-spacing: -0.03em; line-height: 1; display: flex; flex-direction: column; gap: 6px; }
.tier__price--custom { font-size: clamp(1.6rem, 2.2vw, 2rem); }
.tier__unit { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 400; text-transform: uppercase; }
.tier__desc { color: var(--ink-dim); font-size: 13.5px; }
.tier__from { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-family: var(--font-m); margin-top: 6px; }
.tier__list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tier__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-dim); }
.tier__list li::before {
  content: ""; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px;
  background-color: var(--accent);
  -webkit-mask: center / contain no-repeat url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m5 12 4 4 10-10"/></svg>');
  mask: center / contain no-repeat url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m5 12 4 4 10-10"/></svg>');
}
.tier__cta { width: 100%; margin-top: 8px; }
.tier-note { text-align: center; color: var(--ink-faint); font-size: 13.5px; margin-top: 30px; }
.tier-note strong { color: var(--ink-dim); }

.backup {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 4vw, 70px);
  border: 1px solid var(--accent-35); border-radius: var(--r-card);
  background: var(--accent-08);
  padding: clamp(28px, 4vw, 56px);
  align-items: center;
}
.backup h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-stretch: 108%; letter-spacing: -0.02em; margin-bottom: 16px; }
.backup__lead { color: var(--ink-dim); font-size: 15px; margin-bottom: 20px; }
.backup__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.backup__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.backup__list li::before {
  content: ""; flex: 0 0 auto; width: 17px; height: 17px; margin-top: 3px;
  background-color: var(--accent);
  -webkit-mask: center / contain no-repeat url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m5 12 4 4 10-10"/></svg>');
  mask: center / contain no-repeat url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m5 12 4 4 10-10"/></svg>');
}
.backup__byo { color: var(--ink-faint); font-size: 13.5px; border-top: 1px solid var(--line); padding-top: 18px; }
.backup__byo strong { color: var(--ink-dim); }
.backup__media svg { width: 100%; height: auto; color: var(--accent); }
.backup__media .bk-host { stroke: var(--accent-35); fill: rgba(0,159,243,0.05); }
.backup__media .bk-vm { fill: var(--accent); }
.backup__media .bk-line { stroke: var(--accent-35); stroke-dasharray: 5 6; animation: dash 1.6s linear infinite; }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px;
  font-weight: 650; font-size: 15.5px;
  transition: color 0.25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--font-m); font-size: 18px; color: var(--accent);
  transition: transform 0.35s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--accent-hot); }
.faq__item p { padding: 0 22px 20px; color: var(--ink-dim); font-size: 14px; }

/* =====================================================================
   legal / 404
   ===================================================================== */
.legal { max-width: 760px; margin-inline: auto; padding: calc(var(--nav-h) + 70px) var(--gut) 110px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-stretch: 112%; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.legal__meta { color: var(--ink-faint); font-size: 13px; margin-bottom: 40px; }
.legal h2 { font-size: 21px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-dim); font-size: 15px; }
.legal ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; margin-block: 10px; }
.legal address { font-style: normal; color: var(--ink-dim); margin-top: 8px; line-height: 1.8; }

.nf { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding: var(--gut); }
.nf__code { font-size: clamp(6rem, 22vw, 16rem); font-weight: 800; font-stretch: 122%; line-height: 0.9; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); text-stroke: 1.5px var(--accent); }
.nf h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
.nf p { color: var(--ink-dim); max-width: 420px; }

/* =====================================================================
   responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--feature { grid-column: span 2; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .deploy__grid { grid-template-columns: 1fr; }
  .term__body { min-height: 260px; }
  .vs { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .toolgrid { grid-template-columns: 1fr; }
  .manifesto__stats { grid-template-columns: repeat(2, 1fr); }
  .backup { grid-template-columns: 1fr; }
  .backup__media { max-width: 420px; margin-inline: auto; }
  .faq { grid-template-columns: 1fr; }
  .footer__mark { transform: translateY(12%); }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  /* the logo keeps its proportions: the brand never shrinks, the actions tighten instead */
  .brand { flex: 0 0 auto; }
  .brand img { width: 108px; height: 24px; }
  .nav__inner { gap: 12px; }
  .nav__actions { gap: 8px; }
  .nav__actions .btn__meta { display: none; }
  .hero { padding-bottom: 24px; }
  .hero__title { font-size: clamp(1.5rem, 7.8vw, 2.4rem); letter-spacing: -0.03em; }
  .final__title { font-size: clamp(2rem, 10.4vw, 2.8rem); }
  .hero__eyebrow { font-size: 10px; letter-spacing: 0.04em; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__hud { gap: 14px 22px; }
  .hero__hud > div:nth-child(4) { display: none; }
  .hero__scroll { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card--feature, .card--wide { grid-column: span 1; }
  .card--wide { flex-direction: column; }
  .manifesto__stats { grid-template-columns: 1fr 1fr; }
  .toolgrid { grid-template-columns: 1fr; }
  .shot { width: 86vw; }
  .gallery__arrow { width: 46px; height: 46px; }
  .tiers { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .reg-form { grid-template-columns: 1fr; }
  .menu__links a { font-size: clamp(28px, 6.4vh, 44px); }
}

/* =====================================================================
   reduced motion — everything readable, nothing moves
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  html.js .rv { opacity: 1; transform: none; }
  html.js .hero__title .line__in, html.js .final__title .line__in { transform: none; }
  html.js [data-words] .w { opacity: 1; }
  .hero__canvas { display: none; }
  .boot { display: none; }
  .cursor { display: none; }
  .dstep { opacity: 1; }
}
