/* =====================================================================
   Jylli Tool — "Live Instrument" design system
   Display: Space Grotesk · Body: Plus Jakarta Sans · Data: JetBrains Mono
   Palette: near-black canvas, neon violet (brand) + electric cyan (live data)
   ===================================================================== */

@property --ang {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  /* Canvas */
  --bg-0: #050507;
  --bg-1: #0a0a10;
  --bg-2: #0f0f17;
  --bg-3: #16161f;
  --surface: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  --surface-solid: #0c0c13;
  --glass: rgba(12, 12, 19, 0.62);

  /* Lines */
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.2);

  /* Text */
  --text-1: #f5f5f7;
  --text-2: #a3a3b2;
  --text-3: #6d6d7c;
  --text-4: #45454f;

  /* Brand */
  --violet: #7c6cff;
  --violet-2: #6c63ff;
  --violet-3: #b4abff;
  --violet-deep: #3b2fd1;
  --violet-soft: rgba(124, 108, 255, 0.1);
  --violet-soft-2: rgba(124, 108, 255, 0.18);
  --violet-glow: rgba(124, 108, 255, 0.45);
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.12);
  --grad: linear-gradient(100deg, #c7c1ff 0%, #7c6cff 38%, #22d3ee 100%);

  /* Semantic */
  --good: #34d399;
  --good-soft: rgba(52, 211, 153, 0.12);
  --bad: #ff5c7a;
  --bad-soft: rgba(255, 92, 122, 0.12);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.12);

  /* Legacy aliases (used by role colours + buy page) */
  --c-accent-fill: var(--violet);
  --c-accent-text: var(--violet-3);
  --c-accent-soft: var(--violet-soft);
  --c-success: var(--good);
  --c-success-soft: var(--good-soft);
  --c-warning: var(--warn);
  --c-warning-soft: var(--warn-soft);
  --c-danger: var(--bad);
  --c-info: #38bdf8;
  --c-border: var(--line-2);
  --c-bg-elev-2: var(--bg-3);
  --c-text-primary: var(--text-1);
  --c-text-secondary: var(--text-2);
  --c-text-tertiary: var(--text-3);

  /* Type */
  --font-display: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Shape + motion */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-full: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 64px;
}

/* ── Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  color-scheme: dark;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg-0);
  color: var(--text-1);
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-sans);
  position: relative;
}

/* Aurora wash at the top of the page */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1400px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% -8%, rgba(124, 108, 255, 0.32) 0%, rgba(124, 108, 255, 0) 70%),
    radial-gradient(30% 30% at 82% 10%, rgba(34, 211, 238, 0.1) 0%, rgba(34, 211, 238, 0) 70%),
    radial-gradient(30% 30% at 14% 18%, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0) 70%);
}

/* Film grain over everything (very subtle) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#root,
.buy-page {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(124, 108, 255, 0.45);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--violet-3);
  outline-offset: 3px;
  border-radius: 6px;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-0);
}
::-webkit-scrollbar-thumb {
  background: #23232e;
  border-radius: 10px;
  border: 2px solid var(--bg-0);
}
::-webkit-scrollbar-thumb:hover {
  background: #34344a;
}

.mono {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Type ──────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-1);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  overflow-wrap: break-word;
  hyphens: auto;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p {
  color: var(--text-2);
  line-height: 1.65;
}

.grad-text {
  background: linear-gradient(100deg, #d4cfff 0%, #8f80ff 25%, #22d3ee 50%, #8f80ff 75%, #d4cfff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border-radius: var(--r-full);
  padding: 12px 22px;
  white-space: nowrap;
  user-select: none;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, border-color 0.25s,
    color 0.25s;
  will-change: transform;
}

.btn svg {
  transition: transform 0.35s var(--ease);
}
.btn:hover svg:last-child {
  transform: translateX(3px);
}

/* light sweep */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn:hover::after {
  transform: translateX(120%);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #8e80ff 0%, #6c5cf5 55%, #5a49e6 100%);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 8px 24px -6px rgba(124, 108, 255, 0.65), 0 0 0 1px rgba(124, 108, 255, 0.3);
}
.btn-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 14px 40px -8px rgba(124, 108, 255, 0.85), 0 0 0 1px rgba(160, 148, 255, 0.55);
}

.btn-secondary {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-3);
}

.btn-ghost {
  color: var(--text-2);
  background: transparent;
  border-color: var(--line);
}
.btn-ghost:hover {
  color: var(--text-1);
  border-color: var(--line-2);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}
.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
  gap: 6px;
}
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Live dot ──────────────────────────────────────────── */
.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--good);
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--good);
  animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping {
  from {
    transform: scale(0.5);
    opacity: 0.9;
  }
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* ── Section scaffolding ───────────────────────────────── */
section {
  position: relative;
  padding: 120px 0;
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  white-space: pre-line;
}

.section-head p {
  font-size: 1.06rem;
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: var(--r-full);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow-n {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--r-full);
  background: var(--violet-soft-2);
  color: var(--violet-3);
  letter-spacing: 0.04em;
}

/* Section divider line with travelling light */
.rule {
  height: 1px;
  max-width: 1240px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
  position: relative;
  overflow: hidden;
}
.rule::after {
  content: "";
  position: absolute;
  top: 0;
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-3), transparent);
  animation: travel 6s linear infinite;
}
@keyframes travel {
  from {
    left: -160px;
  }
  to {
    left: 100%;
  }
}

/* ── Spotlight card ────────────────────────────────────── */
.spot {
  position: relative;
  background: var(--surface), var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  isolation: isolate;
  transition: border-color 0.3s, transform 0.5s var(--ease);
}
.spot::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(180, 171, 255, 0.85), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: 2;
}
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 108, 255, 0.09), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: -1;
}
.spot:hover::before,
.spot:hover::after {
  opacity: 1;
}

/* ── Reveal ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ── Cursor glow ───────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.11) 0%, rgba(124, 108, 255, 0) 65%);
  transition: opacity 0.4s;
  will-change: transform;
}
@media (hover: none) {
  .cursor-glow {
    display: none;
  }
}

/* ── Boot intro ────────────────────────────────────────── */
.boot {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: radial-gradient(60% 50% at 50% 45%, #120f2b 0%, #050507 70%);
  transition: clip-path 0.9s var(--ease-io), opacity 0.6s;
  clip-path: inset(0 0 0 0);
}
.boot.out {
  clip-path: inset(0 0 100% 0);
}
.boot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: min(340px, 80vw);
}
.boot-logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  overflow: hidden;
  animation: ignite 1.1s var(--ease) both;
  box-shadow: 0 0 60px rgba(124, 108, 255, 0.5);
}
@keyframes ignite {
  0% {
    opacity: 0;
    filter: brightness(0.2) blur(6px);
    transform: scale(0.9);
  }
  35% {
    opacity: 1;
    filter: brightness(1.8);
  }
  45% {
    filter: brightness(0.5);
  }
  60% {
    filter: brightness(1.4);
  }
  100% {
    filter: brightness(1);
    transform: none;
  }
}
.boot-lines {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-align: center;
  min-height: 1.2em;
}
.boot-lines b {
  color: var(--violet-3);
  font-weight: 600;
}
.boot-bar {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.boot-bar span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  background: var(--grad);
  box-shadow: 0 0 12px var(--violet);
  animation: bootfill 1s var(--ease-io) both;
}
@keyframes bootfill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ── Nav ───────────────────────────────────────────────── */
.nav-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  position: relative;
  width: 100%;
  max-width: 1160px;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 10px 0 14px;
  border-radius: 20px;
  background: rgba(10, 10, 16, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(8, 8, 13, 0.78);
  border-color: var(--line-2);
}
.nav-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--grad);
  box-shadow: 0 0 10px var(--violet);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(124, 108, 255, 0.35), 0 0 18px rgba(124, 108, 255, 0.35);
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.brand-ver {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
}
.nav-links a {
  position: relative;
  z-index: 1;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--text-2);
  border-radius: 10px;
  transition: color 0.25s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-1);
}
.nav-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease), opacity 0.3s;
  pointer-events: none;
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-discord {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--text-2);
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav-discord:hover {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.05);
}

.lang-toggle {
  position: relative;
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.lang-toggle button {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 26px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-3);
  border-radius: 7px;
  transition: color 0.25s;
}
.lang-toggle button.is-active {
  color: var(--text-1);
}
.lang-toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: 34px;
  border-radius: 7px;
  background: var(--violet-soft-2);
  border: 1px solid rgba(124, 108, 255, 0.4);
  transition: transform 0.4s var(--ease);
}
.lang-toggle[data-lang="en"]::before {
  transform: translateX(34px);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 168px 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-field {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  /* Fixed height so the floor always ends above the app screenshot, on any screen height */
  height: 820px;
  z-index: -1;
  pointer-events: none;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--text-2);
  transition: border-color 0.25s, background 0.25s;
}
.hero-pill:hover {
  border-color: rgba(124, 108, 255, 0.5);
  background: var(--violet-soft);
}
.hero-pill-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: var(--r-full);
  background: var(--violet-soft-2);
  color: var(--violet-3);
}

.hero-title {
  font-size: clamp(2.7rem, 8.2vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 700;
  max-width: 1100px;
}
.hero-title .line {
  display: block;
}
.split-word {
  display: inline-block;
  white-space: nowrap;
}
.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) rotate(4deg);
  filter: blur(10px);
  animation: charIn 1s var(--ease) forwards;
}
@keyframes charIn {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
.line-mask {
  display: block;
  overflow: hidden;
  padding: 0.04em 0 0.14em;
  margin-bottom: -0.1em;
}
.line-mask > span {
  display: inline-block;
  transform: translateY(105%);
  animation: lineUp 1.1s var(--ease) forwards;
}
@keyframes lineUp {
  to {
    transform: none;
  }
}

.hero-sub {
  max-width: 640px;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-2);
}

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 1s var(--ease) forwards;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--text-3);
}
.avatar-stack {
  display: flex;
}
.avatar-stack span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-left: -8px;
  border: 2px solid var(--bg-0);
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
}
.avatar-stack span:first-child {
  margin-left: 0;
}
.hero-meta .stars {
  color: #ffd166;
  letter-spacing: 1px;
}
.hero-meta-sep {
  width: 1px;
  height: 14px;
  background: var(--line-2);
}

/* Stats */
.hero-stats {
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 980px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: rgba(10, 10, 16, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}
.hstat {
  position: relative;
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.hstat + .hstat {
  border-left: 1px solid var(--line);
}
.hstat-v {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hstat-v.accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hstat-l {
  font-size: 0.8rem;
  color: var(--text-3);
  font-weight: 500;
}
.hstat-spark {
  margin-top: 10px;
  width: 100%;
  height: 22px;
}
.hstat-spark path {
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: draw 2.2s 0.9s var(--ease) forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-stage {
  position: relative;
  margin-top: 72px;
  margin-bottom: 72px;
}

/* Frametime strip */
.ftl {
  position: relative;
  margin-top: -1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.4), rgba(5, 5, 7, 0.9));
}
.ftl canvas {
  display: block;
  width: 100%;
  height: 110px;
}
/* Hero version: no box, softer, fades out at both edges so it reads as a divider */
.ftl-hero {
  border: none;
  background: none;
  padding-top: 30px;
}
.ftl-hero canvas {
  opacity: 0.75;
  -webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.ftl-hero .ftl-head {
  top: 0;
}
.ftl-head {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
  pointer-events: none;
}
.ftl-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  border: 1px solid;
  transition: color 0.5s, border-color 0.5s, background 0.5s;
}
.ftl-status.stock {
  color: var(--bad);
  border-color: rgba(255, 92, 122, 0.35);
  background: var(--bad-soft);
}
.ftl-status.locked {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.35);
  background: var(--cyan-soft);
}
.ftl-ms {
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
}

/* ── Marquee ───────────────────────────────────────────── */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee var(--dur, 40s) linear infinite;
}
.marquee.reverse .marquee-track {
  animation-direction: reverse;
}
.marquee.pausable:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  gap: var(--gap, 12px);
  padding-right: var(--gap, 12px);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Games strip */
.games-strip {
  padding: 72px 0 8px;
}
.games-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.games-label b {
  color: var(--violet-3);
  font-weight: 600;
}
.games-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.game-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  color: var(--text-1);
}
.game-chip-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}
.game-chip-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.game-chip-new {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--violet);
  color: #fff;
}

/* ── Benchmark ─────────────────────────────────────────── */
.bench-tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.bench-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 9px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-2);
  transition: all 0.3s var(--ease);
}
.bench-tab:hover {
  color: var(--text-1);
  border-color: var(--line-2);
}
.bench-tab[aria-selected="true"] {
  color: var(--text-1);
  border-color: rgba(124, 108, 255, 0.55);
  background: var(--violet-soft);
  box-shadow: 0 0 24px -6px rgba(124, 108, 255, 0.6);
}
.bench-tab .game-chip-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 0.58rem;
}

.bench {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 0;
}
.bench-graph {
  position: relative;
  min-height: 420px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 100% 25%,
    radial-gradient(80% 80% at 50% 100%, rgba(124, 108, 255, 0.12), transparent 70%);
}
.bench-graph canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.osd {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.7;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  min-width: 168px;
}
.osd-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-3);
}
.osd-row b {
  color: var(--text-1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.osd-row b.hot {
  color: var(--cyan);
}
.osd-mode {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid;
  transition: all 0.5s;
}
.osd-mode.stock {
  color: var(--bad);
  border-color: rgba(255, 92, 122, 0.4);
  background: var(--bad-soft);
}
.osd-mode.jylli {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.4);
  background: var(--cyan-soft);
}
.bench-axis {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-4);
  z-index: 2;
}

.bench-panel {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.bench-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bench-head h3 {
  font-size: 1.45rem;
}
.bench-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-2);
  flex-shrink: 0;
}
.switch-track {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-2);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d6d6e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.45s var(--ease), background 0.4s;
}
.switch[aria-checked="true"] .switch-track {
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-color: transparent;
  box-shadow: 0 0 22px -4px var(--violet);
}
.switch[aria-checked="true"] .switch-track::after {
  transform: translateX(24px);
  background: #fff;
}
.switch[aria-checked="true"] {
  color: var(--text-1);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.metric-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.metric-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-3);
  text-transform: uppercase;
}
.metric-delta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--good);
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--good-soft);
  transition: opacity 0.4s;
}
.bar {
  position: relative;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}
.bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 8px;
  transition: width 1.2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.bar-fill.stock {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.16));
  color: var(--text-2);
}
.bar-fill.jylli {
  background: linear-gradient(90deg, rgba(124, 108, 255, 0.55), var(--violet) 60%, var(--cyan));
  color: #fff;
  box-shadow: 0 0 22px -4px rgba(124, 108, 255, 0.7);
}
.bar-label {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  z-index: 1;
}
.bar-pair {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bench-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.015);
}
.bench-strip > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: var(--text-3);
}
.bench-strip > div + div {
  border-left: 1px solid var(--line);
}
.bench-strip svg {
  color: var(--violet-3);
  flex-shrink: 0;
}
.bench-strip b {
  color: var(--text-1);
  font-weight: 650;
  margin-left: auto;
  white-space: nowrap;
}
.bench-note {
  text-align: center;
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-4);
}

/* ── Bento features ────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 14px;
}
.bcell {
  display: flex;
}
.bcell.wide {
  grid-column: span 2;
}
.bcell.tall {
  grid-row: span 2;
}
.bcard {
  flex: 1;
  min-width: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.bcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.bcard-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--violet-3);
  background: var(--violet-soft);
  border: 1px solid rgba(124, 108, 255, 0.25);
}
.bcard-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.bcard h3 {
  font-size: 1.15rem;
}
.bcard p {
  font-size: 0.9rem;
}
.bcard-visual {
  margin-top: auto;
  padding-top: 16px;
  position: relative;
}
.bcell.tall h3 {
  font-size: 1.6rem;
}
.bcell.tall .bcard-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.bcell.tall .v-pulse {
  flex: 1;
  min-height: 230px;
}
.bcell.tall p {
  font-size: 1rem;
  max-width: 420px;
}

/* paused unless on screen */
.bento .bcard:not(.on) *,
.bento .bcard:not(.on) *::before,
.bento .bcard:not(.on) *::after {
  animation-play-state: paused !important;
}

/* Pulse visual */
.v-pulse {
  position: relative;
  height: 230px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 20%,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 10% 100%,
    rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.v-pulse svg {
  position: absolute;
  inset: 0;
  width: 200%;
  height: 100%;
  animation: pulseScroll 4s linear infinite;
}
.v-pulse path {
  fill: none;
  stroke: url(#pulseGrad);
  stroke-width: 2.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(124, 108, 255, 0.9));
}
@keyframes pulseScroll {
  to {
    transform: translateX(-50%);
  }
}
.v-pulse-hud {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
}
.v-pulse-hud b {
  color: var(--cyan);
}
.v-pulse-badge {
  position: absolute;
  top: 12px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--good);
}

/* Auto visual — scanning checklist */
.v-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-2);
}
.v-list-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}
.v-list-row .chk {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid var(--line-3);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  animation: chk 6s infinite;
  animation-delay: var(--d);
}
.v-list-row .chk::after {
  content: "";
  width: 6px;
  height: 3px;
  border-left: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
  animation: chkMark 6s infinite;
  animation-delay: var(--d);
}
@keyframes chk {
  0%,
  8% {
    background: transparent;
    border-color: var(--line-3);
  }
  14%,
  88% {
    background: var(--violet);
    border-color: var(--violet);
  }
  100% {
    background: transparent;
  }
}
@keyframes chkMark {
  0%,
  10% {
    opacity: 0;
  }
  15%,
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.v-list-row .val {
  margin-left: auto;
  color: var(--good);
  opacity: 0;
  animation: chkMark 6s infinite;
  animation-delay: var(--d);
}

/* Debloat visual */
.v-proc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}
.v-proc-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-2);
  animation: procKill 7s infinite;
  animation-delay: var(--d);
}
.v-proc-row::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 1px;
  background: var(--bad);
  transform: scaleX(0);
  transform-origin: left;
  animation: strike 7s infinite;
  animation-delay: var(--d);
}
@keyframes strike {
  0%,
  12% {
    transform: scaleX(0);
  }
  20%,
  85% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
@keyframes procKill {
  0%,
  18% {
    opacity: 1;
  }
  26%,
  85% {
    opacity: 0.35;
  }
  100% {
    opacity: 1;
  }
}
.v-proc-row span:last-child {
  color: var(--text-3);
}

/* Network visual */
.v-net {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: end;
}
.v-net-big {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.v-net-big small {
  font-size: 1rem;
  color: var(--text-3);
  margin-left: 4px;
  letter-spacing: 0;
}
.v-net-cap {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
  margin-top: 8px;
}
.v-net-cap s {
  color: var(--bad);
}
.v-net svg {
  width: 100%;
  height: 96px;
  overflow: visible;
}
.v-net .area {
  fill: url(#netFill);
}
.v-net .ln {
  fill: none;
  stroke: url(#netGrad);
  stroke-width: 2.2;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(124, 108, 255, 0.8));
}
.v-net .area {
  animation: netBreath 3.2s ease-in-out infinite;
}
@keyframes netBreath {
  50% {
    opacity: 0.55;
  }
}
.v-net-chart {
  position: relative;
}
.v-net-dot {
  position: absolute;
  right: -4px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  z-index: 1;
}
.v-net-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  animation: ping 1.8s var(--ease) infinite;
}

/* Monitor rings */
.v-rings {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.ring {
  position: relative;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
}
.ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 5;
}
.ring .bg {
  stroke: rgba(255, 255, 255, 0.06);
}
.ring .fg {
  stroke-linecap: round;
  transition: stroke-dashoffset 1.1s var(--ease);
  filter: drop-shadow(0 0 4px currentColor);
}
.ring-v {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  line-height: 1.1;
}
.ring-v small {
  display: block;
  font-size: 0.55rem;
  color: var(--text-3);
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* AI typewriter */
.v-ai {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--text-2);
  min-height: 98px;
}
.v-ai-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--violet-3);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.66rem;
  margin-bottom: 6px;
}
.caret {
  display: inline-block;
  width: 7px;
  height: 1em;
  background: var(--violet-3);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Restore timeline */
.v-restore {
  position: relative;
  height: 64px;
}
.v-restore-line {
  position: absolute;
  left: 4px;
  right: 4px;
  top: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), rgba(255, 255, 255, 0.1));
}
.v-restore-dot {
  position: absolute;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--violet);
  background: var(--bg-1);
}
.v-restore-dot.cur {
  background: var(--violet);
  box-shadow: 0 0 14px var(--violet);
  animation: rewind 4.5s var(--ease-io) infinite;
}
@keyframes rewind {
  0%,
  20% {
    left: calc(100% - 18px);
  }
  55%,
  85% {
    left: 4px;
  }
  100% {
    left: calc(100% - 18px);
  }
}
.v-restore-labels {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
}

/* Game ticker */
.v-games {
  height: 46px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  position: relative;
}
.v-games-track {
  animation: gameTick 13s steps(13) infinite;
}
.v-games-track div {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-family: var(--font-display);
  font-weight: 600;
}
.v-games-track span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--good);
  letter-spacing: 0.1em;
}
@keyframes gameTick {
  to {
    transform: translateY(-598px);
  }
}

/* ── How it works ──────────────────────────────────────── */
.steps-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.step-tab {
  position: relative;
  text-align: left;
  padding: 18px 20px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.step-tab:hover {
  border-color: var(--line-2);
}
.step-tab[aria-selected="true"] {
  border-color: rgba(124, 108, 255, 0.45);
  background: linear-gradient(180deg, rgba(124, 108, 255, 0.12), rgba(124, 108, 255, 0.02));
}
.step-tab-n {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--violet-3);
}
.step-tab-t {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  margin-top: 4px;
  color: var(--text-1);
}
.step-tab-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--grad);
}
.step-tab[aria-selected="true"] .step-tab-bar.run {
  animation: stepBar var(--step-dur, 6s) linear forwards;
}
@keyframes stepBar {
  to {
    transform: scaleX(1);
  }
}

.steps-stage {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: var(--r-xl);
}
.steps-copy h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}
.steps-copy p {
  font-size: 1.02rem;
}
.steps-copy-points {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.steps-copy-points div {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-2);
}
.steps-copy-points svg {
  color: var(--good);
  flex-shrink: 0;
}
.swap-in {
  animation: swapIn 0.7s var(--ease) both;
}
@keyframes swapIn {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }
}

.mock {
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: #0b0b12;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(124, 108, 255, 0.08),
    0 0 80px -30px rgba(124, 108, 255, 0.45);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.78rem;
  font-weight: 650;
}
.mock-bar img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}
.mock-bar .dots {
  margin-left: auto;
  display: flex;
  gap: 6px;
}
.mock-bar .dots i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}
.mock-body {
  padding: 22px;
  min-height: 330px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.mock-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 4px;
}
.mock-sub {
  color: var(--text-3);
  font-size: 0.7rem;
  margin-bottom: 18px;
}
.scan-bar {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 18px;
}
.scan-bar span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  background: var(--grad);
  box-shadow: 0 0 12px var(--violet);
  animation: bootfill 4s var(--ease-io) both;
}
.mock-line {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--text-2);
  opacity: 0;
  animation: fadeUp 0.5s var(--ease) forwards;
}
.mock-line b {
  color: var(--good);
  font-weight: 600;
}
.mock-line b.v {
  color: var(--violet-3);
}
.mock-games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mock-game {
  position: relative;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  animation: gamePick 6s infinite;
  animation-delay: var(--d);
}
@keyframes gamePick {
  0%,
  15% {
    border-color: rgba(124, 108, 255, 0.7);
    background: var(--violet-soft-2);
    box-shadow: 0 0 24px -6px var(--violet);
  }
  22%,
  100% {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: none;
  }
}
.mock-toggle {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(124, 108, 255, 0.35);
  background: var(--violet-soft);
  color: var(--text-1);
}
.mock-fps {
  margin-top: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.25);
}
.mock-fps-big {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* ── Safety + compare ──────────────────────────────────── */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.scard {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scard p {
  font-size: 0.92rem;
}
.scard-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}
.scard-badges span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  color: var(--text-2);
}

.compare {
  margin-top: 64px;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.compare-title {
  padding: 26px 28px 8px;
}
.compare-title h3 {
  font-size: 1.5rem;
}
.compare-title p {
  font-size: 0.92rem;
  margin-top: 6px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  padding: 15px 20px;
  text-align: center;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.compare-table th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
  border-top: none;
}
.compare-table td:first-child,
.compare-table th:first-child {
  text-align: left;
  color: var(--text-1);
  font-weight: 550;
}
.compare-table .jy {
  background: linear-gradient(180deg, rgba(124, 108, 255, 0.1), rgba(124, 108, 255, 0.04));
  border-left: 1px solid rgba(124, 108, 255, 0.3);
  border-right: 1px solid rgba(124, 108, 255, 0.3);
}
.compare-table th.jy {
  color: var(--violet-3);
}
.cmark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.cmark.yes {
  background: var(--good-soft);
  color: var(--good);
}
.cmark.no {
  background: var(--bad-soft);
  color: var(--bad);
}
.cmark.mid {
  background: var(--warn-soft);
  color: var(--warn);
}
.compare-table td.txt {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-2);
}
.compare-table td.jy.txt {
  color: var(--text-1);
  font-weight: 700;
}

/* ── Live stats ────────────────────────────────────────── */
section.live-sec {
  padding: 0 0 40px;
}
.live-band {
  max-width: 1020px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  overflow: hidden;
}
.live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
}
.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.live-meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-3);
}
.live-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.lstat {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lstat + .lstat {
  border-left: 1px solid var(--line);
}
.lstat-v {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text-1);
}
.lstat-l {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-1);
}
.lstat-d {
  font-size: 0.78rem;
  color: var(--text-3);
}
.lstat-bar {
  margin-top: 10px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.lstat-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--grad);
  transition: width 1.6s 0.3s var(--ease);
}
.live-band.in .lstat-bar span {
  width: var(--w);
}
@media (max-width: 860px) {
  .live-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lstat:nth-child(3) {
    border-left: none;
  }
  .lstat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  .live-head {
    padding: 12px 16px;
  }
  .lstat {
    padding: 18px 16px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lstat-bar span {
    transition: none;
  }
}

/* ── Reviews ───────────────────────────────────────────── */
.rv-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin: -24px auto 48px;
}
.rv-score {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}
.rv-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rv-stars {
  color: #ffd166;
  font-size: 1.1rem;
  letter-spacing: 2px;
  filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.45));
}
.rv-sub {
  font-size: 0.85rem;
  color: var(--text-3);
}
.rv-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rv-card {
  width: 360px;
  flex-shrink: 0;
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface), var(--surface-solid);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.rv-card:hover {
  border-color: rgba(124, 108, 255, 0.45);
  transform: translateY(-3px);
}
.rv-head {
  display: flex;
  align-items: center;
  gap: 11px;
}
.rv-avatar {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.rv-name {
  font-weight: 650;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.rv-role {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 650;
  padding: 2px 7px;
  border-radius: 6px;
  margin-top: 3px;
}
.rv-date {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-4);
  align-self: flex-start;
}
.rv-quote {
  font-size: 0.92rem;
  color: var(--text-1);
  line-height: 1.55;
}
.rv-card .rv-stars {
  font-size: 0.78rem;
  letter-spacing: 1px;
  filter: none;
}

/* ── Pricing ───────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 18px;
  max-width: 1020px;
  margin: 0 auto;
  align-items: stretch;
}
.pcard {
  position: relative;
  padding: 32px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.pcard--premium {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(124, 108, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #11101c, #0b0b12);
  border-color: transparent;
  box-shadow: 0 40px 100px -40px rgba(124, 108, 255, 0.55);
}
.pcard--premium .ring-border {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--ang), rgba(124, 108, 255, 0.25) 0%, rgba(124, 108, 255, 0.25) 55%,
      #8f80ff 70%, #22d3ee 80%, #fff 84%, rgba(124, 108, 255, 0.25) 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spinAng 5s linear infinite;
  pointer-events: none;
  z-index: 3;
}
@keyframes spinAng {
  to {
    --ang: 360deg;
  }
}
.pcard-badge {
  position: absolute;
  top: -13px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--violet), #9b6cff);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px -6px rgba(124, 108, 255, 0.8);
  z-index: 4;
}
.pcard-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.pcard--premium .pcard-tag {
  color: var(--violet-3);
}
.pcard-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.pcard-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.pcard-os {
  font-size: 0.82rem;
  color: var(--text-3);
  margin-top: 4px;
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.6rem;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.price-free {
  font-size: 2.4rem;
  color: var(--text-2);
}
.price-sub {
  font-size: 0.78rem;
  color: var(--text-3);
  text-align: right;
  margin-top: 6px;
}
.pcard-sys {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-3);
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}
.plist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.plist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-1);
}
.plist li.off {
  color: var(--text-4);
}
.plist .cmark {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pcard .btn {
  width: 100%;
  margin-top: auto;
}
.pcard-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-3);
}
.pcard-foot .priv {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.install-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-2);
}
.install-toggle:hover {
  color: var(--text-1);
}
.install-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  text-align: left;
}
.install-steps li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-2);
}
.install-steps .n {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--violet-soft-2);
  color: var(--violet-3);
  flex-shrink: 0;
}

.matrix {
  max-width: 1020px;
  margin: 56px auto 0;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.matrix-head,
.matrix-row {
  display: grid;
  grid-template-columns: 1fr 120px 120px;
  align-items: center;
}
.matrix-head {
  padding: 18px 24px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.matrix-head span:not(:first-child),
.matrix-row span:not(:first-child) {
  text-align: center;
  justify-self: center;
}
.matrix-head span:last-child {
  color: var(--violet-3);
}
.matrix-row {
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  transition: background 0.25s;
}
.matrix-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* ── FAQ ───────────────────────────────────────────────── */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background 0.3s;
}
.faq-item.open {
  border-color: rgba(124, 108, 255, 0.4);
  background: linear-gradient(180deg, rgba(124, 108, 255, 0.07), rgba(124, 108, 255, 0.015));
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  flex-shrink: 0;
  transition: transform 0.45s var(--ease), background 0.3s, border-color 0.3s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.6px;
  background: currentColor;
  transform: translate(-50%, -50%);
  border-radius: 2px;
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.45s var(--ease);
}
.faq-item.open .faq-icon {
  background: var(--violet);
  border-color: var(--violet);
  transform: rotate(180deg);
}
.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a > div {
  overflow: hidden;
}
.faq-a p {
  padding: 0 22px 22px;
  font-size: 0.95rem;
}

/* ── Final CTA ─────────────────────────────────────────── */
.final {
  padding: 60px 0 0;
}
.final-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: 96px 32px 0;
  text-align: center;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(124, 108, 255, 0.28), transparent 65%),
    linear-gradient(180deg, #0e0d19, #08080d);
  isolation: isolate;
}
.final-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask: radial-gradient(60% 70% at 50% 30%, #000, transparent);
  mask: radial-gradient(60% 70% at 50% 30%, #000, transparent);
}
.final-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 32px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(124, 108, 255, 0.4), 0 0 80px rgba(124, 108, 255, 0.55);
  animation: breathe 4s ease-in-out infinite;
}
.final-logo img {
  width: 100%;
  height: 100%;
  transform: scale(1.25);
}
@keyframes breathe {
  50% {
    box-shadow: 0 0 0 1px rgba(124, 108, 255, 0.6), 0 0 120px rgba(124, 108, 255, 0.8);
  }
}
.final-card h2 {
  font-size: clamp(2.4rem, 6.4vw, 5rem);
  white-space: pre-line;
  letter-spacing: -0.05em;
}
.final-card p {
  max-width: 520px;
  margin: 20px auto 34px;
  font-size: 1.08rem;
}
.final-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.final-card .ftl {
  margin: 72px -32px 0;
  border-bottom: none;
  background: transparent;
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  font-size: 0.9rem;
  max-width: 300px;
  margin: 14px 0 18px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-2);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-2);
  padding: 5px 0;
  transition: color 0.2s, transform 0.3s var(--ease);
}
.footer-col a:hover {
  color: var(--text-1);
  transform: translateX(3px);
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-4);
}
.footer-word {
  margin-top: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 17vw, 15rem);
  letter-spacing: -0.07em;
  line-height: 0.8;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  white-space: nowrap;
}

/* ── Mobile CTA bar ────────────────────────────────────── */
.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  border-radius: 18px;
  background: rgba(10, 10, 16, 0.85);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}
.mobile-cta.visible {
  transform: none;
}
.mobile-cta-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: block;
}
.mobile-cta-sub {
  font-size: 0.72rem;
  color: var(--text-3);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1080px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bcell.tall {
    grid-row: span 1;
    grid-column: span 2;
  }
  .bench {
    grid-template-columns: 1fr;
  }
  .bench-graph {
    border-right: none;
    border-bottom: 1px solid var(--line);
    min-height: 340px;
  }
  .bench-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .bench-strip > div:nth-child(4) {
    border-left: none;
  }
  .bench-strip > div:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  section {
    padding: 104px 0;
  }
  .nav {
    grid-template-columns: 1fr auto;
  }
  .nav-links,
  .nav-discord span {
    display: none;
  }
  .mobile-cta {
    display: flex;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hstat:nth-child(3) {
    border-left: none;
  }
  .hstat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .steps-stage {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .safety-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  section {
    padding: 88px 0;
  }
  .hero {
    padding-top: 128px;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .hero-stage {
    margin-top: 48px;
  }
  .hstat {
    padding: 18px 16px 14px;
  }
  .section-head {
    margin-bottom: 44px;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .bcell.wide,
  .bcell.tall {
    grid-column: span 1;
  }
  .v-pulse {
    height: 170px;
  }
  .v-pulse-hud {
    white-space: nowrap;
  }
  .v-pulse-hud span:nth-child(2) {
    display: none;
  }
  .v-net {
    grid-template-columns: 1fr;
  }
  .bench-panel {
    padding: 20px;
  }
  .bench-graph {
    min-height: 280px;
  }
  .bench-strip {
    grid-template-columns: 1fr 1fr;
  }
  .bench-strip > div {
    border-left: none !important;
    border-top: 1px solid var(--line);
  }
  .bench-strip > div:nth-child(-n + 2) {
    border-top: none;
  }
  .bench-strip > div:nth-child(even) {
    border-left: 1px solid var(--line) !important;
  }
  .bench-strip > div:last-child {
    grid-column: span 2;
    border-left: none !important;
  }
  .steps-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .step-tab {
    padding: 14px 16px 16px;
  }
  .mock-body {
    padding: 16px;
    min-height: 300px;
  }
  .mock-games {
    grid-template-columns: repeat(2, 1fr);
  }
  .compare-table th,
  .compare-table td {
    padding: 12px 8px;
    font-size: 0.8rem;
  }
  .compare-table th {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }
  .rv-card {
    width: 290px;
  }
  .pcard {
    padding: 24px;
  }
  .price {
    font-size: 3rem;
  }
  .matrix-head,
  .matrix-row {
    grid-template-columns: 1fr 64px 64px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 0.82rem;
  }
  .final-card {
    padding: 64px 20px 0;
    border-radius: 24px;
  }
  .final-card .ftl {
    margin: 56px -20px 0;
  }
  .final-ctas .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer {
    padding-bottom: 110px;
  }
}

/* ── Utilities ─────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ftl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: blink 1.2s steps(1) infinite;
}
.ftl-hint {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  animation: hintBob 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hintBob {
  50% {
    transform: translate(-50%, 4px);
  }
}

/* Hold hero entrance animations while the boot intro is on screen */
.is-booting .hero *,
.is-booting .hero *::before,
.is-booting .hero *::after {
  animation-play-state: paused !important;
}

/* ── Reduced motion ────────────────────────────────────── */
/* Windows reports "reduce" whenever OS animation effects are off, which Windows
   optimizers commonly do, so this mode drops the big swooping motion (entrances,
   tilt, floating, scan beams) and keeps the small live-data motion running. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .split-char,
  .line-mask > span,
  .fade-up {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }
  .reveal {
    transform: none;
    filter: none;
    transition: opacity 0.5s ease;
  }
  .hud-chip,
  .lic-wrap,
  .final-logo,
  .ftl-hint,
  .boot-logo {
    animation: none !important;
  }
  .jp-scan,
  .cursor-glow,
  .btn::after {
    display: none;
  }
  .marquee-track {
    animation-duration: calc(var(--dur, 40s) * 1.6);
  }
  .games-rows .marquee:hover .marquee-track {
    animation-play-state: paused;
  }
}
