/* ==========================================================================
   BOOSTLAYER — landing page
   One stylesheet. No frameworks. No build step.
   ========================================================================== */

/* --------------------------------- fonts --------------------------------- */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-300700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-300700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/inter-300700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/inter-300700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------- tokens -------------------------------- */

:root {
  --font-display: "Space Grotesk", "DejaVu Sans", system-ui, sans-serif;
  --font-body: "Inter", "DejaVu Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "DejaVu Sans Mono", ui-monospace, monospace;

  --container: 1280px;
  --gutter: 28px;
  --nav-h: 78px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --speed: 0.55s;

  --bg: #07080b;
  --bg-soft: #0a0b10;
  --surface: #0e1016;
  --surface-2: #13161f;
  --surface-3: #191d28;
  --line: rgba(244, 242, 236, 0.09);
  --line-strong: rgba(244, 242, 236, 0.18);
  --text: #f4f2ec;
  --muted: #a4a2ad;
  --dim: #8a8894;
  --accent: #4c9fff;
  --accent-rgb: 76, 159, 255;
  --accent-2: #a26bf7;
  --accent-soft: rgba(76, 159, 255, 0.14);
  --accent-softer: rgba(76, 159, 255, 0.06);
  --accent-glow: rgba(76, 159, 255, 0.38);
  --accent-ink: #05101c;
  --ok: #54e39a;
  --danger: #ff6b6e;
  --warning: #ffb454;
  --hud-bg: rgba(7, 9, 13, 0.86);
}

html[data-theme="violet"] {
  --bg: #08070c;
  --bg-soft: #0b0910;
  --surface: #100e17;
  --surface-2: #16121f;
  --surface-3: #1d1829;
  --accent: #a26bf7;
  --accent-rgb: 162, 107, 247;
  --accent-2: #ff7a9c;
  --accent-soft: rgba(162, 107, 247, 0.15);
  --accent-softer: rgba(162, 107, 247, 0.06);
  --accent-glow: rgba(162, 107, 247, 0.4);
  --accent-ink: #150a26;
}

html[data-theme="ember"] {
  --bg: #0a0807;
  --bg-soft: #0e0b09;
  --surface: #14100d;
  --surface-2: #1b1612;
  --surface-3: #241d18;
  --accent: #ff8451;
  --accent-rgb: 255, 132, 81;
  --accent-2: #ffc45c;
  --accent-soft: rgba(255, 132, 81, 0.14);
  --accent-softer: rgba(255, 132, 81, 0.06);
  --accent-glow: rgba(255, 132, 81, 0.38);
  --accent-ink: #1c0c04;
}

/* ---------------------------------- base --------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 26px);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.45s var(--ease);
}
body.menu-open { overflow: hidden; }

::selection { background: var(--accent); color: var(--accent-ink); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
pre, code, kbd { font-family: var(--font-mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 400;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.grain {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 130;
  height: 2px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent));
  box-shadow: 0 0 16px var(--accent-glow);
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

/* ---------------------------------- nav ---------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom-color: var(--line);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #000;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.08em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.theme-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.theme-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--dot);
  opacity: 0.42;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.theme-dot:hover { opacity: 0.85; transform: scale(1.12); }
.theme-dot.is-active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--dot);
}

.lang-switch {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.lang-switch button {
  padding: 4px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--dim);
  transition: color 0.2s, background 0.2s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.is-active { background: var(--surface-3); color: var(--text); }

.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 15px;
  height: 1.5px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 21px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 18px; transform: translateX(-50%) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 18px; transform: translateX(-50%) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px var(--gutter) 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
body.menu-open .site-header {
  background: var(--bg);
  border-bottom-color: var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.mobile-menu:not([hidden]) {
  position: fixed;
  inset: var(--nav-h) 0 0;
  display: flex;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 119;
}
.mobile-theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.mobile-menu a:not(.btn) {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.02em;
}
.mobile-theme .theme-dot {
  width: 24px;
  height: 24px;
  padding: 6px;
  background-clip: content-box;
  border-radius: 50%;
}
.mobile-menu .btn { margin-top: 16px; justify-content: center; }

/* --------------------------------- buttons -------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.3) 48%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(130%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 30px -10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 86%, white);
  box-shadow: 0 14px 44px -12px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: var(--accent-softer); }
.btn-sm { padding: 9px 17px; font-size: 12px; }
.btn-lg { padding: 16px 28px; font-size: 14.5px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s, gap 0.2s;
}
.text-link:hover { gap: 12px; border-color: var(--accent); }

/* ---------------------------------- hero --------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 58px) 0 26px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 85% 70% at 66% 42%, black 5%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 66% 42%, black 5%, transparent 72%);
  opacity: 0.62;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.23;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-a {
  width: min(46vw, 640px);
  height: min(46vw, 640px);
  top: 4%;
  right: -8vw;
  background: radial-gradient(circle, var(--accent) 0%, transparent 68%);
}
.orb-b {
  width: min(34vw, 460px);
  height: min(34vw, 460px);
  bottom: -8%;
  left: -10vw;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 68%);
  opacity: 0.12;
  animation-delay: -7s;
}
.hero-beam {
  position: absolute;
  top: -24vw;
  right: -12vw;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: conic-gradient(from 180deg, transparent 0%, var(--accent-soft) 22%, transparent 38%);
  filter: blur(30px);
  animation: spin 40s linear infinite;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  flex: 1;
  position: relative;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-eyebrow { margin-bottom: 26px; animation: fadeUp 0.9s var(--ease-out) 0.05s both; }
.eyebrow-sep { color: var(--dim); }
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 13%, transparent);
  animation: livePulse 2.4s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 7.2vw, 106px);
  line-height: 0.94;
  font-weight: 500;
  letter-spacing: -0.055em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.035em; }
.hero-title .line > span {
  display: block;
  white-space: nowrap;
  animation: lineUp 0.68s var(--ease-out) both;
}
.hero-title .line:nth-child(1) > span { animation-delay: 0.04s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.16s; }
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.2px color-mix(in srgb, var(--text) 56%, transparent);
  text-stroke: 1.2px color-mix(in srgb, var(--text) 56%, transparent);
}

.hero-lead {
  max-width: 53ch;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  animation: fadeUp 0.9s var(--ease-out) 0.36s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  animation: fadeUp 0.9s var(--ease-out) 0.46s both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeUp 0.9s var(--ease-out) 0.54s both;
}
.hero-meta span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-left: 14px;
  border-radius: 50%;
  background: var(--line-strong);
  vertical-align: middle;
}
.hero-meta-muted { opacity: 0.9; }

.hero-visual {
  position: relative;
  perspective: 1400px;
  animation: heroVisual 1.2s var(--ease-out) 0.3s both;
}
.hero-visual .glow-ring {
  position: absolute;
  inset: -16% -12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 45%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 58%);
  filter: blur(24px);
}

.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: #080a0f;
  box-shadow:
    0 50px 110px -30px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: rotateY(calc(-7deg + var(--ry, 0deg))) rotateX(calc(2deg + var(--rx, 0deg))) rotateZ(0.5deg);
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease);
}

.window-bar {
  height: 37px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.window-dots i:first-child { background: #ff5f57; }
.window-dots i:nth-child(2) { background: #febc2e; }
.window-dots i:nth-child(3) { background: #28c840; }
.window-title { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: var(--dim); }
.window-search {
  min-width: 108px;
  margin-left: auto;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 8.5px;
  color: var(--dim);
  text-align: center;
}

.window-body {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 330px;
}
.mini-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.rail-logo {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #000;
  color: #fff;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: -0.06em;
}
.rail-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--dim);
}
.rail-icon svg { width: 13px; height: 13px; }
.rail-icon.is-active { background: var(--accent-soft); color: var(--accent); }
.rail-spacer { flex: 1; }
.rail-avatar,
.ui-avatar {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
}

.mini-content { min-width: 0; padding: 11px; }
.mini-hero {
  position: relative;
  height: 150px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 11px;
}
.mini-badge {
  align-self: flex-start;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mini-hero-copy { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 2px; }
.mini-hero-copy small { font-size: 7.5px; color: rgba(255, 255, 255, 0.62); letter-spacing: 0.04em; }
.mini-hero-copy strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.045em; line-height: 1.1; }
.mini-play {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff;
  color: #05070a;
  font-size: 7.5px;
  font-weight: 700;
}
.mini-play i { font-style: normal; font-size: 6px; }

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 13px 1px 7px;
  font-size: 8.5px;
  font-weight: 600;
}
.mini-head-muted { color: var(--dim); font-size: 7.5px; font-weight: 400; }
.mini-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.mini-card { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mini-card .cover { aspect-ratio: 3 / 4; border-radius: 7px; }
.mini-card > span {
  overflow: hidden;
  color: var(--muted);
  font-size: 7px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, 0.85);
  font-family: var(--font-mono);
  animation: float 5.5s ease-in-out infinite;
}
.float-chip small { display: block; color: var(--dim); font-size: 7px; letter-spacing: 0.13em; line-height: 1.4; }
.float-chip strong { display: block; font-size: 10.5px; font-weight: 500; line-height: 1.3; }
.chip-label { color: var(--dim); font-size: 8px; letter-spacing: 0.1em; }
.chip-fps { top: 8%; right: -4%; gap: 8px; padding: 11px 15px; animation-delay: -1.2s; }
.chip-fps strong { color: var(--accent); font-size: 21px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.chip-spark { height: 16px; display: flex; align-items: flex-end; gap: 2px; }
.chip-spark i { width: 2.5px; border-radius: 1px; background: var(--accent); opacity: 0.65; animation: spark 1.4s ease-in-out infinite alternate; }
.chip-spark i:nth-child(1) { height: 40%; }
.chip-spark i:nth-child(2) { height: 65%; animation-delay: -0.2s; }
.chip-spark i:nth-child(3) { height: 50%; animation-delay: -0.5s; }
.chip-spark i:nth-child(4) { height: 90%; animation-delay: -0.35s; }
.chip-spark i:nth-child(5) { height: 70%; animation-delay: -0.7s; }
.chip-runner { bottom: 13%; left: -5%; animation-delay: -2.7s; }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px rgba(84, 227, 154, 0.7); }
.chip-scale { right: 4%; bottom: -3%; animation-delay: -4s; }
.chip-badge {
  width: 32px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeUp 0.9s var(--ease-out) 0.68s both;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 11px; color: var(--muted); }
.scroll-cue:hover { color: var(--text); }
.scroll-line { position: relative; display: block; width: 54px; height: 1px; overflow: hidden; background: var(--line-strong); }
.scroll-line i { position: absolute; inset: 0 auto 0 0; width: 40%; background: var(--accent); animation: scrollLine 2.4s var(--ease) infinite; }
.hero-foot-note { color: var(--dim); }
.hero-foot-right { opacity: 0.6; }

/* --------------------------------- covers -------------------------------- */

.cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  background-color: #10141d;
}
.cover::before {
  content: attr(data-glyph);
  position: absolute;
  right: -8%;
  bottom: -22%;
  z-index: 1;
  color: rgba(255, 255, 255, 0.14);
  font-family: var(--font-display);
  font-size: clamp(50px, 9vw, 130px);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 1;
  transform: rotate(-6deg);
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 38%, rgba(2, 4, 8, 0.82) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.console-cover > span {
  position: absolute;
  left: 11px;
  bottom: 9px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
.cover-neon {
  background:
    radial-gradient(circle at 76% 18%, rgba(126, 238, 255, 0.5), transparent 34%),
    linear-gradient(148deg, #06142b 0%, #0a3f78 38%, #0f8bff 68%, #67e8ff 100%);
}
.cover-ashen {
  background:
    radial-gradient(circle at 24% 16%, rgba(255, 209, 148, 0.45), transparent 33%),
    linear-gradient(150deg, #170b08 0%, #5b2111 32%, #d65a28 68%, #ffb37a 100%);
}
.cover-echo {
  background:
    radial-gradient(circle at 74% 22%, rgba(255, 170, 255, 0.4), transparent 34%),
    linear-gradient(150deg, #0e081c 0%, #351568 34%, #7c3fe0 66%, #c9a4ff 100%);
}
.cover-solar {
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 214, 0.55), transparent 32%),
    linear-gradient(150deg, #04140f 0%, #0b5740 36%, #45b87d 68%, #d7ff9b 100%);
}
.cover-hollow {
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 189, 216, 0.45), transparent 34%),
    linear-gradient(150deg, #190611 0%, #5c0f34 35%, #d92a68 68%, #ff9ec4 100%);
}
.cover-midnight {
  background:
    radial-gradient(circle at 70% 18%, rgba(170, 188, 255, 0.45), transparent 34%),
    linear-gradient(150deg, #070818 0%, #161d4f 38%, #3d4fd6 68%, #9daaff 100%);
}

/* --------------------------------- ticker -------------------------------- */

.ticker {
  overflow: hidden;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.ticker-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
.ticker-group i { color: var(--accent); font-style: normal; font-size: 9px; opacity: 0.8; }

/* -------------------------------- sections ------------------------------- */

.section { position: relative; padding: clamp(90px, 11vw, 150px) 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head { margin-bottom: clamp(48px, 6vw, 76px); }
.split-head {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.head-copy { max-width: 900px; }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.kicker span:first-child { color: var(--accent); }
.kicker span:first-child::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-left: 10px;
  background: color-mix(in srgb, var(--accent) 40%, transparent);
  vertical-align: middle;
}

h1, h2, h3, h4 { font-family: var(--font-display); }
h2 {
  font-size: clamp(2.25rem, 4.45vw, 4.15rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.048em;
  text-wrap: balance;
}
.lead {
  max-width: 64ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.72;
}
.lead.narrow { max-width: 57ch; }

.statement {
  max-width: 19ch;
  font-size: clamp(2.35rem, 4.7vw, 4.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.statement .hl { position: relative; color: var(--accent); white-space: nowrap; }
.statement .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.08em;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.35;
}
.statement em { color: var(--muted); font-style: normal; }

/* -------------------------------- manifest ------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(20px, 4vw, 40px);
}
.pillar { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.pillar-num { color: var(--accent); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; }
.pillar h3 { margin: 24px 0 12px; font-size: 22px; font-weight: 500; letter-spacing: -0.035em; }
.pillar p { max-width: 38ch; color: var(--muted); font-size: 14px; line-height: 1.66; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 7vw, 90px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 30px 26px 30px 0; }
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--line); }
.stat-value {
  display: flex;
  align-items: baseline;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 4.15rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}
.stat-value span { font-variant-numeric: tabular-nums; }
.stat-label {
  display: block;
  max-width: 22ch;
  margin-top: 12px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* --------------------------------- chain --------------------------------- */

.chain {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3.4vw, 44px) clamp(20px, 3vw, 40px) clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 70% 120% at 50% -20%, var(--accent-softer), transparent 65%),
    var(--surface);
}
.chain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 20%, black, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 20%, black, transparent 85%);
  pointer-events: none;
}
.chain-nodes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.chain-line {
  position: absolute;
  top: 56px;
  left: 6.2%;
  right: 6.2%;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
}
.chain-pulse {
  position: absolute;
  top: -1px;
  left: 0;
  width: 72px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent));
  filter: drop-shadow(0 0 8px var(--accent-glow));
  animation: chainPulse 5s var(--ease) infinite;
}
.chain-node { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.node-index { margin-bottom: 22px; color: var(--dim); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; }
.node-dot {
  width: 10px;
  height: 10px;
  margin-bottom: 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.chain-node:first-child .node-dot,
.chain-node:last-child .node-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 16px var(--accent-glow);
}
.chain-node:hover .node-dot { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.chain-node strong {
  font-family: var(--font-display);
  font-size: clamp(11px, 1vw, 13.5px);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.chain-node small { margin-top: 7px; padding-right: 10px; color: var(--dim); font-size: 10.5px; line-height: 1.45; }

.chain-terminal {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #07090d;
}
.terminal-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.terminal-dots { display: flex; gap: 5px; }
.terminal-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.terminal-ok { margin-left: auto; color: var(--ok); font-size: 9px; letter-spacing: 0.12em; }
.terminal-ok::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--ok);
  vertical-align: middle;
}
.chain-terminal pre {
  margin: 0;
  padding: 22px 24px 26px;
  overflow-x: auto;
  color: var(--text);
  font-size: 12px;
  line-height: 1.85;
  tab-size: 2;
}
.chain-terminal code { white-space: pre; }
.t-muted { color: var(--dim); }
.t-dim { color: var(--muted); }
.t-accent { color: var(--accent); }
.t-ok { color: var(--ok); }

/* --------------------------------- bento --------------------------------- */

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }

.card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  grid-column: span 4;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(22px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.028), transparent 55%), var(--surface);
  transition: border-color 0.35s, transform 0.35s var(--ease), background 0.35s;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 32%, transparent); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card-wide { grid-column: span 8; }
.card-runner,
.card-stores { grid-column: span 4; }

.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.card-tag { color: var(--muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; }
.card-index { color: var(--dim); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; }
.card h3 {
  max-width: 20ch;
  font-size: clamp(1.3rem, 1.85vw, 1.72rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.card p { max-width: 52ch; margin-top: 12px; color: var(--muted); font-size: 13.5px; line-height: 1.62; }

.tree {
  margin-top: auto;
  padding-top: 24px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.9;
}
.tree-root { color: var(--text); }
.tree-branch { color: var(--dim); }
.tree-folder { color: var(--accent); }
.tree-meta { color: var(--dim); font-size: 10px; }

.version-list { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 22px; }
.version-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  font-size: 11px;
}
.version-row strong { color: var(--text); font-weight: 500; }
.version-row.is-current { border-color: color-mix(in srgb, var(--accent) 35%, transparent); background: var(--accent-softer); }
.version-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--dim); }
.is-current .version-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.version-badge {
  margin-left: auto;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.version-badge.ghost { color: var(--dim); }

.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 22px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.018);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}
.chip svg { width: 14px; height: 14px; }

.fps-visual { display: flex; align-items: flex-end; gap: 6px; margin-top: auto; padding-top: 22px; }
.fps-number {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 4.6vw, 4.4rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.065em;
  font-variant-numeric: tabular-nums;
}
.fps-unit { margin-bottom: 5px; color: var(--dim); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; }
.fps-bars { display: flex; align-items: flex-end; gap: 3px; height: 42px; margin-left: auto; }
.fps-bars i { width: 5px; height: var(--h); border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 18%, transparent)); }

.hud {
  margin-top: auto;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--hud-bg);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}
.hud-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; padding: 2px 0; }
.hud-row strong { color: var(--text); font-weight: 500; }
.hud-accent { color: var(--accent); }
.hud-bar { height: 3px; margin: 5px 0 4px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, 0.08); }
.hud-bar i { display: block; height: 100%; border-radius: 2px; background: var(--accent); }
.hud-custom { color: var(--dim); font-size: 8.5px; letter-spacing: 0.08em; }

.console-card-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
}
.controller-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.console-mini {
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  transform: rotate(1.5deg);
}
.console-mini-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ok-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.console-mini-copy { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 2px; }
.console-mini-copy small { color: rgba(255, 255, 255, 0.6); font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; }
.console-mini-copy strong { font-family: var(--font-display); font-size: 25px; font-weight: 600; line-height: 1.1; letter-spacing: -0.045em; }
.console-mini-btn {
  align-self: flex-start;
  margin-top: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  color: #08090c;
  font-size: 8.5px;
  font-weight: 700;
}

.store-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 24px; }
.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 10.5px;
}
.store-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }

.keycaps { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 26px; color: var(--dim); font-size: 11px; }
.keycaps kbd {
  min-width: 38px;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 11px;
  text-align: center;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}

.theme-swatches { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 24px; }
.swatch {
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--s) 45%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, var(--s) 16%, transparent);
  color: var(--s);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}
.swatch-lang { --s: #9aa1ad; color: var(--muted); }

/* ------------------------------- interface ------------------------------- */

.ui-tabs { margin-top: 8px; }
.tab-list {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.tab-list button {
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.tab-list button:hover { color: var(--text); }
.tab-list button[aria-selected="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 4px 16px -6px var(--accent-glow);
}
.tab-panel { margin-top: 22px; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-active { animation: panelIn 0.5s var(--ease-out); }

.ui-window {
  position: relative;
  height: clamp(500px, 56vw, 700px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #080a0e;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.ui-topbar {
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.ui-logo {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #000;
  color: #fff;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: -0.06em;
}
.ui-search {
  width: min(300px, 38%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.018);
  color: var(--dim);
  font-size: 9px;
}
.ui-search svg { width: 11px; height: 11px; }
.ui-top-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.ui-pill {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 8.5px;
  white-space: nowrap;
}
.ui-pill.ghost { color: var(--dim); }
.ui-avatar.small { width: 18px; height: 18px; font-size: 7px; }

.ui-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
}
.ui-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 9px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.ui-rail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--dim);
  font-size: 9.5px;
}
.ui-rail-item svg { width: 13px; height: 13px; flex-shrink: 0; }
.ui-rail-item.is-active { background: var(--accent-soft); color: var(--accent); }
.ui-rail-spacer { flex: 1; }
.ui-rail-muted { opacity: 0.6; }

.ui-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 13px;
  overflow: hidden;
}
.ui-feature {
  position: relative;
  flex-shrink: 0;
  height: 30%;
  min-height: 160px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 16px;
  border-radius: 12px;
}
.ui-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  bottom: auto;
  z-index: 3;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ui-feature-copy { position: relative; z-index: 3; }
.ui-feature-copy small { color: rgba(255, 255, 255, 0.65); font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.05em; }
.ui-feature-copy h3 { margin-top: 2px; font-size: clamp(22px, 3vw, 34px); font-weight: 600; line-height: 1.05; letter-spacing: -0.045em; }
.ui-feature-copy p { margin-top: 2px; color: rgba(255, 255, 255, 0.65); font-size: 8.5px; }
.ui-btns { display: flex; gap: 6px; margin-top: 8px; }
.ui-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  color: #fff;
  font-size: 8px;
  font-weight: 600;
}
.ui-btn.accent { background: #fff; border-color: #fff; color: #08090d; }
.ui-btn.large { padding: 8px 17px; font-size: 10px; }
.ui-btn.small { padding: 4px 10px; font-size: 8px; }

.ui-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 600;
}
.ui-link { color: var(--dim); font-family: var(--font-body); font-size: 8px; font-weight: 400; }
.ui-cover-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ui-cover-row .ui-cover .cover { aspect-ratio: 16 / 9; }
.ui-cover-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.ui-cover { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ui-cover .cover { aspect-ratio: 3 / 4; border-radius: 8px; }
.ui-cover > span { overflow: hidden; font-size: 8.5px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.ui-cover > small { color: var(--dim); font-size: 7px; }
.ui-cover:hover .cover { outline: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 1px; }

.ui-library::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  height: 86px;
  background: linear-gradient(180deg, transparent, #080a0e 88%);
  pointer-events: none;
}
.ui-caption { margin-top: 14px; color: var(--dim); font-size: 12px; text-align: center; }

/* console preview */
.console-ui { justify-content: flex-end; color: #fff; }
.console-bg {
  position: absolute;
  inset: -10%;
  z-index: 0;
  border-radius: 0;
  filter: blur(38px) saturate(1.25);
  opacity: 0.55;
  transform: scale(1.15);
}
.console-ui::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 6, 9, 0.55) 0%, rgba(5, 6, 9, 0.1) 38%, rgba(5, 6, 9, 0.92) 100%);
}
.console-topbar,
.console-hero,
.console-carousel { position: relative; z-index: 3; }
.console-topbar {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.console-top-title { color: rgba(255, 255, 255, 0.65); font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.console-pad {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.75);
  font-size: 7.5px;
}
.console-pad i { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 7px var(--ok); }
.console-hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 24px;
  padding: clamp(50px, 6vw, 72px) clamp(22px, 4vw, 56px) 12px;
}
.console-copy small { color: rgba(255, 255, 255, 0.55); font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.console-copy h3 {
  margin: 9px 0 14px;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.console-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 13px; }
.console-chips span {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}
.console-copy p { max-width: 44ch; color: rgba(255, 255, 255, 0.6); font-size: 10px; }
.console-cover {
  width: min(72%, 260px);
  aspect-ratio: 3 / 4;
  justify-self: center;
  border-radius: 14px;
  transform: rotate(2deg);
  box-shadow: 0 30px 70px -18px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.console-cover::before { font-size: 90px; }
.console-cover > span { font-size: 13px; }
.console-carousel {
  display: flex;
  gap: 8px;
  padding: 10px 20px 18px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
}
.carousel-item { flex: 0 0 clamp(70px, 10vw, 108px); opacity: 0.45; transition: transform 0.3s, opacity 0.3s; }
.carousel-item .cover { aspect-ratio: 3 / 4; border-radius: 7px; }
.carousel-item > span { display: block; margin-top: 3px; color: rgba(255, 255, 255, 0.6); font-size: 7.5px; }
.carousel-item.is-active { opacity: 1; transform: translateY(-6px) scale(1.04); }
.carousel-item.is-active .cover { outline: 1.5px solid #fff; outline-offset: 2px; }

/* stores preview */
.stores-ui { height: clamp(500px, 54vw, 650px); }
.store-tabs {
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
}
.store-tabs span { position: relative; padding: 13px 0; }
.store-tabs .is-active { color: var(--text); }
.store-tabs .is-active::after { content: ""; position: absolute; inset: auto 0 -1px; height: 1.5px; background: var(--accent); }
.store-content { flex: 1; padding: clamp(14px, 2.4vw, 24px); overflow: hidden; }
.store-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.store-head small { color: var(--dim); font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.store-head h3 { margin-top: 3px; font-size: clamp(22px, 3vw, 30px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.store-head-right { display: flex; gap: 6px; }
.store-list { display: flex; flex-direction: column; gap: 6px; }
.store-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.014);
}
.store-row:hover { border-color: color-mix(in srgb, var(--accent) 25%, transparent); }
.small-cover { width: 38px; aspect-ratio: 3 / 4; border-radius: 5px; }
.small-cover::before { right: -12%; bottom: -10%; font-size: 26px; }
.small-cover > span { display: none; }
.store-row-copy { min-width: 0; }
.store-row-copy strong { display: block; font-family: var(--font-display); font-size: 10.5px; font-weight: 500; }
.store-row-copy small { display: block; margin-top: 1px; color: var(--dim); font-size: 7.5px; }
.dot-sep { margin: 0 4px; }
.store-size { color: var(--dim); font-family: var(--font-mono); font-size: 8px; }
.store-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--dim); font-size: 8.5px; }

/* --------------------------------- stores -------------------------------- */

.store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.store-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.026), transparent 55%), var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.store-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 32%, transparent); }
.store-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.store-num { color: var(--accent); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; }
.store-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.store-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 7px rgba(84, 227, 154, 0.6); }
.store-card h3 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.store-card p { max-width: 52ch; margin-top: 14px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.store-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.store-tech span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
}
.stores-note {
  max-width: 78ch;
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: var(--accent-softer);
  color: var(--muted);
  font-size: 12.5px;
}

/* --------------------------------- install ------------------------------- */

.install-grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr); gap: 20px; align-items: start; }
.download-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.download-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
}
.download-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: var(--surface-2); }
.download-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.download-icon svg { width: 17px; height: 17px; }
.download-copy { display: flex; flex-direction: column; gap: 1px; }
.download-copy strong { font-family: var(--font-display); font-size: 13.5px; font-weight: 500; }
.download-copy small { color: var(--dim); font-family: var(--font-mono); font-size: 9px; }
.download-arrow { margin-left: auto; color: var(--dim); font-size: 14px; transition: transform 0.2s, color 0.2s; }
.download-card:hover .download-arrow { color: var(--accent); transform: translate(2px, -2px); }

.code-tabs { margin-top: 20px; }
.code-tab-list { width: 100%; justify-content: flex-start; overflow-x: auto; }
.code-block {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0 14px 14px 14px;
  background: #07090d;
}
.code-block pre { margin: 0; padding: 22px 22px 24px; overflow-x: auto; color: var(--text); font-size: 12.5px; line-height: 1.9; }
.code-block code { white-space: pre; }
.code-file { color: var(--accent); }
.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 9.5px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.copy-btn svg { width: 12px; height: 12px; }
.copy-btn:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.07); }
.copy-btn.is-copied { color: var(--ok); border-color: rgba(84, 227, 154, 0.4); }
.code-note { margin-top: 10px; color: var(--dim); font-size: 11.5px; }

.requirements {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, var(--accent-softer), transparent 70%),
    var(--surface);
}
.requirements h3 { margin-bottom: 12px; font-size: 19px; font-weight: 500; letter-spacing: -0.03em; }
.requirements ul { margin-top: 8px; }
.requirements li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.requirements li:last-child { border-bottom: 0; }
.req-ok { color: var(--ok); font-size: 11px; }
.req-muted { color: var(--dim); font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.req-strong { color: var(--text); }
.req-note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.req-note p { color: var(--dim); font-size: 11.5px; line-height: 1.65; }
.req-note a {
  display: inline-flex;
  gap: 6px;
  margin-top: 12px;
  padding-bottom: 2px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
}

/* ----------------------------------- faq --------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(32px, 6vw, 90px);
}
.faq-intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq-intro .kicker { margin-bottom: 22px; }
.faq-intro h2 { font-size: clamp(2rem, 3.4vw, 3.3rem); }
.faq-intro .lead { margin-top: 18px; }
.faq-intro .text-link { margin-top: 26px; }

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.2vw, 16.5px);
  font-weight: 500;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-plus { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1px;
  background: var(--muted);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.faq-plus::after { transform: rotate(90deg); }
details[open] .faq-plus::after { transform: rotate(0deg); }
details[open] .faq-plus::before,
details[open] .faq-plus::after { background: var(--accent); }
.faq-list details > p {
  max-width: 66ch;
  padding: 0 40px 22px 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  animation: fadeUp 0.35s var(--ease-out);
}

/* --------------------------------- outro --------------------------------- */

.outro {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 160px) 0 clamp(70px, 9vw, 120px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.outro::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -55%;
  width: min(90vw, 1000px);
  height: min(90vw, 1000px);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 15%, transparent), transparent 62%);
  filter: blur(50px);
  pointer-events: none;
}
.outro .kicker { justify-content: center; margin-bottom: 26px; }
.outro h2 {
  font-size: clamp(3rem, 7.6vw, 7.4rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.outro h2 .outline { color: transparent; -webkit-text-stroke: 1.3px color-mix(in srgb, var(--text) 55%, transparent); }
.outro-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }

/* --------------------------------- footer -------------------------------- */

.site-footer { padding: 56px 0 26px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.footer-brand { max-width: 380px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { color: var(--dim); font-size: 12.5px; line-height: 1.65; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links > div { display: flex; flex-direction: column; gap: 9px; }
.footer-title {
  margin-bottom: 3px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-links a { width: fit-content; color: var(--muted); font-size: 12px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

.footer-word {
  margin: 64px 0 36px;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 13.2vw, 11rem);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.065em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-top-link { margin-left: auto; color: var(--muted); transition: color 0.2s; }
.footer-top-link:hover { color: var(--accent); }

/* --------------------------------- toast --------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  padding: 11px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------ scroll reveal ---------------------------- */

.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.js-anim [data-reveal].is-visible { opacity: 1; transform: none; }
.js-anim [data-reveal].is-visible:nth-child(2) { transition-delay: 0.06s; }
.js-anim [data-reveal].is-visible:nth-child(3) { transition-delay: 0.12s; }
.js-anim [data-reveal].is-visible:nth-child(4) { transition-delay: 0.18s; }
.js-anim [data-reveal].is-visible:nth-child(5) { transition-delay: 0.24s; }

/* -------------------------------- keyframes ------------------------------ */

@keyframes lineUp { from { transform: translateY(112%); } to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroVisual { from { opacity: 0; transform: translateY(34px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-3%, 5%, 0) scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 13%, transparent); } 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 4%, transparent); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes spark { from { transform: scaleY(0.5); opacity: 0.4; } to { transform: scaleY(1); opacity: 1; } }
@keyframes scrollLine { 0% { left: -40%; } 100% { left: 100%; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes chainPulse { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* -------------------------------- responsive ----------------------------- */

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-actions { margin-left: auto; }
  .nav-actions .theme-switch { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 64px); }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; padding-top: 20px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { width: min(100%, 700px); margin-inline: auto; }
  .hero-foot { margin-top: 60px; }
  .card-wide,
  .card-runner,
  .card-stores {
    grid-column: span 6;
  }
  .card-console { grid-column: span 12; }
}

@media (max-width: 1024px) {
  .split-head { grid-template-columns: 1fr; gap: 18px; }
  .kicker { padding-top: 0; }
  .head-copy { max-width: none; }
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { padding: 26px 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .pillar p { max-width: 620px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 20px 24px 0; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { padding-top: 24px; border-top: 1px solid var(--line); }
  .card { grid-column: span 6; }
  .store-grid { grid-template-columns: 1fr; }
  .install-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-intro { position: static; }
  .ui-body { grid-template-columns: 52px minmax(0, 1fr); }
  .ui-rail { align-items: center; }
  .ui-rail-item { justify-content: center; padding: 8px; }
  .ui-rail-item span:not(.ui-avatar) { display: none; }
  .ui-rail-muted { display: none; }
}

@media (max-width: 860px) {
  :root { --gutter: 22px; }
  .hero-title { font-size: clamp(50px, 10.5vw, 86px); }
  .chain-line { display: none; }
  .chain-pulse { display: none; }
  .chain { padding: 26px 22px 30px; }
  .chain-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
  .chain-node {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
  }
  .chain-node:nth-child(-n+2) { border-top: 0; }
  .node-index,
  .chain-node small { display: none; }
  .node-dot { margin: 0; flex-shrink: 0; }
  .chain-node strong { white-space: normal; }
  .console-card-grid { grid-template-columns: 1fr; }
  .console-mini { max-width: 420px; }
  .ui-window { height: clamp(460px, 80vw, 620px); }
  .ui-main { padding: 10px; }
  .ui-cover-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ui-cover-grid .ui-cover:nth-child(n+5) { display: none; }
  .ui-feature { height: 30%; min-height: 150px; }
  .console-hero { grid-template-columns: 1fr; gap: 12px; padding-top: 80px; }
  .console-cover { position: absolute; top: 24%; right: 8%; width: 34%; opacity: 0.55; }
  .console-copy { position: relative; z-index: 4; }
  .console-copy h3 { font-size: clamp(38px, 9vw, 62px); }
  .store-head-right .ui-pill.ghost { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { max-width: 520px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 30px, var(--container)); }
  .nav { gap: 12px; }
  .brand-name { display: none; }
  .nav-cta { display: none; }
  .icon-btn { width: 34px; height: 34px; }
  .hero { padding-top: calc(var(--nav-h) + 34px); }
  .hero-title { font-size: clamp(48px, 13.6vw, 76px); }
  .hero-lead { margin-top: 24px; font-size: 15px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { margin-top: 22px; gap: 10px; font-size: 8.5px; }
  .hero-meta span:not(:last-child)::after { margin-left: 10px; }
  .hero-meta span:nth-last-child(2)::after { display: none; }
  .hero-meta-muted { display: none; }
  .float-chip { display: none; }
  .app-window { transform: none; }
  .window-body { grid-template-columns: 38px minmax(0, 1fr); min-height: 280px; }
  .mini-hero { height: 120px; }
  .mini-hero-copy strong { font-size: 18px; }
  .mini-row { grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .mini-card:nth-child(n+4) { display: none; }
  .hero-foot { flex-wrap: wrap; gap: 10px; margin-top: 44px; }
  .hero-foot-right { display: none; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 38px; }
  h2 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .statement { font-size: clamp(2rem, 8.4vw, 2.8rem); }
  .lead { margin-top: 18px; font-size: 14px; }
  .stats { margin-top: 40px; }
  .stat-value { font-size: clamp(2.2rem, 9vw, 3rem); }
  .stat-label { font-size: 8.5px; }
  .chain-terminal pre { padding: 18px 16px 20px; font-size: 10.5px; }
  .card { grid-column: span 12; min-height: 0; padding: 22px; }
  .card h3 { font-size: 1.4rem; }
  .card p { font-size: 13px; }
  .tree { overflow-x: auto; font-size: 10px; white-space: nowrap; }
  .tree-meta { display: none; }
  .fps-number { font-size: 3.4rem; }
  .console-mini { display: none; }
  .tab-list { width: 100%; overflow-x: auto; justify-content: flex-start; }
  .tab-list button { flex: 1; padding: 9px 12px; font-size: 11px; }
  .ui-window { height: 470px; }
  .ui-topbar { padding: 0 10px; }
  .ui-search { width: 45%; }
  .ui-top-actions .ui-pill { display: none; }
  .ui-rail { display: none; }
  .ui-body { grid-template-columns: 1fr; }
  .ui-main { padding: 9px; }
  .ui-feature { min-height: 145px; padding: 12px; }
  .ui-feature-copy h3 { font-size: 22px; }
  .ui-feature-copy p { display: none; }
  .ui-feature-copy small { font-size: 6.5px; }
  .ui-cover-row,
  .ui-cover-grid { gap: 6px; }
  .ui-cover-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ui-cover-row .ui-cover:nth-child(n+3) { display: none; }
  .ui-cover-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ui-cover-grid .ui-cover:nth-child(n+4) { display: none; }
  .ui-cover > span { font-size: 7.5px; }
  .ui-cover > small { display: none; }
  .ui-caption { font-size: 11px; }
  .console-ui { height: 430px; }
  .console-topbar { padding: 12px 14px; }
  .console-hero { padding: 68px 16px 6px; }
  .console-copy h3 { font-size: 38px; }
  .console-chips span:nth-child(n+3) { display: none; }
  .console-cover { display: none; }
  .console-carousel { padding: 8px 12px 14px; }
  .carousel-item { flex-basis: 62px; }
  .store-tabs { gap: 16px; padding: 0 14px; font-size: 7.5px; }
  .store-content { padding: 12px; }
  .store-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 9px; padding: 6px 9px; }
  .small-cover { width: 32px; }
  .store-size { display: none; }
  .store-row-copy strong { font-size: 9.5px; }
  .store-list .store-row:nth-child(n+4) { display: none; }
  .store-head h3 { font-size: 22px; }
  .download-row { grid-template-columns: 1fr; }
  .code-block pre { font-size: 10.5px; }
  .copy-btn span { display: none; }
  .outro h2 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .outro-actions .btn { width: 100%; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .footer-word { margin-top: 48px; font-size: 15vw; }
  .footer-bottom { gap: 12px; font-size: 8.5px; }
  .footer-top-link { margin-left: 0; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 2.8rem; }
  .lang-switch button { padding: 4px 7px; }
  .window-search { display: none; }
  .icon-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js-anim [data-reveal] { opacity: 1; transform: none; }
  .scroll-line i,
  .chain-pulse,
  .ticker-track { display: none; }
}
