/* Public site: the landing page, guides, legal pages, shared matches and
   public profiles. Same look as the app: deep blacks, glass, one electric
   accent, broadcast type for the moments that matter. */

/* ================================================================ fonts
   Self-hosted (the CSP allows no font hosts). Onest has a weight axis;
   Barlow Condensed is the display face. Latin and Latin Extended
   (ğ, ş, İ) are separate files, loaded only when a page uses them. */
@font-face {
  font-family: "Onest Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/onest-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: "Onest Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/onest-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/barlow-condensed-600-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: "Barlow Condensed";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/barlow-condensed-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/barlow-condensed-700-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: "Barlow Condensed";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/barlow-condensed-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ================================================================ tokens */
:root {
  color-scheme: dark;
  --bg: #05060a;
  --surface: #0c0f15;
  --surface-2: #121620;
  --glass: rgba(10, 12, 18, 0.74);
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.2);
  --text: #f2f4f7;
  --text-2: #a2aab7;
  --text-3: #7b8390;

  --volt: #d4ff3a;
  --volt-2: #e4ff79;
  --on-volt: #0b0e04;
  --ai: #a78bfa;
  --ai-2: #7c9cff;
  --t: #f5a524;
  --ct: #4ea8ff;
  --good: #3ee08f;
  --bad: #ff5468;
  --warn: #ffc53d;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 100px -30px rgba(0, 0, 0, 0.8);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font: "Onest Variable", "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Onest Variable", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 64px;
  --gutter: 24px;
}

/* ================================================================ base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Decorations (rings, glows) may reach past the edges; never scroll sideways. */
  overflow-x: clip;
}
::selection {
  background: rgba(212, 255, 58, 0.28);
}
a {
  color: var(--volt);
}
/* Everything that can be pressed shows the hand. :where() keeps this at zero
   specificity, so a component's own cursor still wins. */
:where(
    button:not(:disabled),
    select:not(:disabled),
    summary,
    label:has(> input:is([type="checkbox"], [type="radio"], [type="file"]):not(:disabled)),
    input:is([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="file"]):not(:disabled),
    [role="button"]:not([aria-disabled="true"]),
    [role="tab"],
    [role="menuitem"],
    [role="option"],
    [role="switch"]
  ) {
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 650;
}
p {
  margin: 0;
}
img,
svg,
canvas {
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
  border-radius: 4px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow {
  max-width: 780px;
}
.muted {
  color: var(--text-2);
}
.small {
  font-size: 13px;
}
.good {
  color: var(--good);
}
.bad {
  color: var(--bad);
}
.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.i {
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
.gi {
  display: inline-block;
  flex: none;
  height: 1em;
  vertical-align: -0.12em;
}
.gi-rifle {
  width: 3.2em;
}
.gi-hs {
  width: 1em;
}
.t {
  color: var(--t);
}
.ct {
  color: var(--ct);
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--volt);
  color: var(--on-volt);
  font-weight: 650;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- atmosphere: soft light, a fading grid, film grain ---------- */
.atmos {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(56rem 36rem at 8% -12%, rgba(124, 92, 255, 0.17), transparent 62%),
    radial-gradient(48rem 32rem at 96% -8%, rgba(212, 255, 58, 0.075), transparent 60%),
    radial-gradient(70rem 46rem at 50% 118%, rgba(78, 168, 255, 0.07), transparent 62%),
    var(--bg);
}
.atmos::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
}
.atmos::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ================================================================ buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-3);
}
.btn:active {
  transform: translateY(1px);
}
.btn .i {
  transition: transform 0.25s var(--ease);
}
.btn:hover .i {
  transform: translateX(2px);
}
.btn-primary {
  overflow: hidden;
  border-color: transparent;
  background: var(--volt);
  color: var(--on-volt);
  box-shadow:
    0 0 0 1px rgba(212, 255, 58, 0.35),
    0 10px 30px -10px rgba(212, 255, 58, 0.55);
}
.btn-primary:hover {
  background: var(--volt-2);
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(212, 255, 58, 0.5),
    0 16px 40px -10px rgba(212, 255, 58, 0.7);
}
/* A sheen crosses the button on hover. */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%);
  background-size: 260% 100%;
  background-position: 130% 0;
  pointer-events: none;
}
.btn-primary:hover::after {
  animation: sheen 0.9s var(--ease);
}
@keyframes sheen {
  to {
    background-position: -30% 0;
  }
}
.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--text-2);
}
.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
}
.btn-sm {
  height: 34px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 13.5px;
  gap: 6px;
}
.btn-lg {
  height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 15.5px;
}

/* ================================================================ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  margin: -2px 0;
  color: var(--text);
}
.nav {
  display: flex;
  gap: 2px;
}
.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth-area {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px 0 4px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.user-chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.user-name {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.credit-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(212, 255, 58, 0.14);
  color: var(--volt);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
/* ================================================================ hero */
.hero {
  position: relative;
  padding: clamp(48px, 8vh, 96px) 0 0;
  /* The radar rings are wider than small screens: clip them sideways only,
     so the window's shadow still falls below. */
  overflow-x: clip;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 14px 0 5px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s;
  animation: rise 0.9s var(--ease) both;
}
.hero-pill:hover {
  border-color: var(--line-3);
  color: var(--text);
}
.hero-pill .i {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}
.hero-pill:hover .i {
  transform: translateX(2px);
}
.hero-pill-tag {
  display: inline-grid;
  place-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(212, 255, 58, 0.14);
  color: var(--volt);
  font-size: 12px;
  font-weight: 700;
}
.hero-title {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(46px, 7vw, 100px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
.ht-line {
  display: block;
  animation: rise 1s 0.06s var(--ease) both;
}
.ht-line + .ht-line {
  animation-delay: 0.16s;
}
.ht-accent {
  padding-bottom: 0.04em;
  background: linear-gradient(95deg, var(--volt) 0%, #f3ffc4 46%, var(--volt) 72%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    rise 1s 0.16s var(--ease) both,
    glint 7s 1.6s ease-in-out infinite;
}
@keyframes glint {
  0%,
  70%,
  100% {
    background-position: 100% 0;
  }
  85% {
    background-position: 0% 0;
  }
}
.hero-lead {
  max-width: 640px;
  margin-top: 26px;
  color: var(--text-2);
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.6;
  text-wrap: pretty;
  animation: rise 1s 0.24s var(--ease) both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  animation: rise 1s 0.3s var(--ease) both;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-3);
  font-size: 13.5px;
  animation: rise 1s 0.36s var(--ease) both;
}
.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-proof .i {
  width: 15px;
  height: 15px;
  color: var(--volt);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---------- the product window ---------- */
.hero-stage {
  position: relative;
  margin-top: clamp(48px, 7vh, 76px);
  padding-bottom: 8px;
  perspective: 2000px;
}
/* Radar rings with a sweep, centred on the window. */
.hero-rings {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(1600px, 190vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 88px);
  mask-image: radial-gradient(circle at center, #000 0%, rgba(0, 0, 0, 0.55) 38%, transparent 66%);
  pointer-events: none;
}
/* The sweep: a soft beam with a fading tail, kept close to the window. */
.hero-rings::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 280deg, rgba(212, 255, 58, 0.05) 330deg, rgba(212, 255, 58, 0.13) 352deg, transparent 360deg);
  mask-image: radial-gradient(circle at center, #000 0%, #000 22%, transparent 46%);
  animation: sweep 12s linear infinite;
}
@keyframes sweep {
  to {
    transform: rotate(1turn);
  }
}
.hero-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 12%;
  right: 12%;
  top: 18%;
  bottom: -4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 255, 58, 0.16), rgba(124, 92, 255, 0.1) 55%, transparent);
  filter: blur(50px);
}
.ld {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 22, 31, 0.96), rgba(7, 9, 13, 0.98));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 60px 140px -40px rgba(0, 0, 0, 0.9),
    0 0 160px -60px rgba(212, 255, 58, 0.35);
  transform-origin: 50% 0;
  animation: rise 1.2s 0.42s var(--ease) both;
}
/* A light gradient border. */
.ld::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.04) 70%, rgba(212, 255, 58, 0.3));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* Tilted toward the reader, it settles flat as it scrolls into view. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ld {
      animation: tilt linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 42%;
    }
  }
}
@keyframes tilt {
  from {
    transform: rotateX(18deg) scale(0.93);
  }
  to {
    transform: none;
  }
}
.ld-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 12px 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-2);
  font-size: 13px;
  white-space: nowrap;
}
.ld-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  background: rgba(255, 84, 104, 0.14);
  color: #ff8d9b;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ld-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bad);
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 84, 104, 0.7);
  }
  80%,
  100% {
    box-shadow: 0 0 0 7px rgba(255, 84, 104, 0);
  }
}
.ld-map {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.ld-src {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-3);
}
.ld-ai {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139, 108, 255, 0.24), rgba(91, 140, 255, 0.16));
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.35);
  color: #cdbdff;
  font-size: 12.5px;
  font-weight: 650;
}
.ld-ai .i {
  width: 14px;
  height: 14px;
}
.ld-stage {
  position: relative;
  aspect-ratio: 16 / 9;
}
.ld-view {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(80% 90% at 50% 45%, #0d1119, #06080c);
}
/* Vignette over the map, under the overlays. */
.ld-view::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 58%, rgba(5, 6, 10, 0.6) 100%);
}
.ld-canvas {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.ld.live .ld-canvas {
  opacity: 1;
}
.ld.restart .ld-canvas {
  animation: refade 0.7s var(--ease);
}
@keyframes refade {
  from {
    opacity: 0.25;
  }
}
/* Before the demo loads: the map, dimmed, with a shimmer. */
.ld-still {
  position: absolute;
  left: 50%;
  top: 54%;
  width: auto;
  height: 82%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  transition: opacity 0.6s var(--ease);
}
.ld.live .ld-still {
  opacity: 0;
}
.ld-view::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: shimmer 1.5s linear infinite;
  transition: opacity 0.4s;
}
.ld.live .ld-view::before {
  opacity: 0;
  animation: none;
}
@keyframes shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}

/* Scorebug: broadcast style. */
.ld-bug {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  height: 46px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 14px 34px -10px rgba(0, 0, 0, 0.8);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.ld.live .ld-bug,
.ld.live .ld-meter {
  opacity: 1;
}
.ld-bug-side {
  display: grid;
  place-items: center;
  min-width: 62px;
  padding: 0 13px;
  font-size: 22px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.ld-bug-side.t {
  background: linear-gradient(180deg, #ffb53d, #d9850c);
  color: #1d1205;
}
.ld-bug-side.ct {
  background: linear-gradient(180deg, #62b3ff, #2c7cd4);
  color: #041120;
}
.ld-bug-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  padding: 0 14px;
  background: rgba(8, 10, 15, 0.94);
}
.ld-bug-round {
  color: var(--text-3);
  font-size: 11.5px;
  line-height: 1;
  letter-spacing: 0.14em;
}
.ld-bug-time {
  color: var(--text);
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}
.ld-bug.planted .ld-bug-time {
  color: #ff7a8a;
  animation: pulse 1s ease-in-out infinite;
}
.ld-bug.over .ld-bug-time {
  color: var(--volt);
  font-size: 18px;
}
.ld-bug.defusing .ld-bug-side.ct {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.9);
}
@keyframes pulse {
  50% {
    opacity: 0.55;
  }
}

/* Win chance: bottom left. Amber is T's share, blue the rest. */
.ld-meter {
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 12px;
  width: 236px;
  padding: 12px 14px 14px;
  border-radius: 14px;
  background: rgba(8, 10, 15, 0.74);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 16px 40px -16px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.ld-meter-label {
  color: var(--text-3);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ld-meter-num {
  color: var(--ct);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
.ld-meter.hot .ld-meter-num {
  color: var(--t);
}
.ld-meter-bar {
  position: relative;
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(78, 168, 255, 0.4);
}
.ld-meter-fill {
  position: absolute;
  inset: 0;
  transform-origin: 0 50%;
  transform: scaleX(0.5);
  background: linear-gradient(90deg, #d9850c, var(--t));
  box-shadow: 0 0 12px rgba(245, 165, 36, 0.6);
}

/* Fast forward through calm stretches. */
.ld-ff {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.ld-ff::before {
  content: "";
  width: 14px;
  height: 10px;
  background: var(--volt);
  clip-path: polygon(0 0, 50% 50%, 50% 0, 100% 50%, 50% 100%, 50% 50%, 0 100%);
}
.ld-ff.on {
  opacity: 1;
  transform: none;
}

/* The round's progress along the bottom, with the coach's moments. */
.ld-progress {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}
.ld-progress-fill {
  position: absolute;
  inset: 0;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(212, 255, 58, 0.35), var(--volt));
}
.ld-progress-mark {
  position: absolute;
  top: -3px;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border: 2px solid #07090d;
  border-radius: 50%;
}
.ld-progress-mark.down {
  background: var(--bad);
}
.ld-progress-mark.up {
  background: var(--good);
}

/* Play and pause. Paused on a still frame (less motion), it is a big pill. */
.ld-toggle {
  position: absolute;
  z-index: 5;
  right: 16px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 10, 15, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  opacity: 0;
  transition:
    background 0.2s,
    opacity 0.4s;
}
.ld.live .ld-toggle {
  opacity: 1;
}
.ld-toggle:hover {
  background: rgba(24, 28, 40, 0.92);
}
/* Pause bars; a triangle when paused. */
.ld-toggle::before {
  content: "";
  flex: none;
  width: 12px;
  height: 14px;
  background: linear-gradient(90deg, currentColor 0 34%, transparent 34% 66%, currentColor 66%);
}
.ld.paused .ld-toggle::before {
  width: 13px;
  height: 15px;
  margin-left: 3px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.ld-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ld.still .ld-toggle {
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  width: auto;
  height: 52px;
  padding: 0 24px 0 20px;
  transform: translate(-50%, -50%);
  background: var(--volt);
  color: var(--on-volt);
  box-shadow:
    0 0 0 1px rgba(212, 255, 58, 0.4),
    0 16px 40px -10px rgba(212, 255, 58, 0.6);
  font-size: 15px;
  font-weight: 650;
}
.ld.still .ld-toggle-label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
}

/* The coach's notes: right column. */
.ld-notes {
  position: absolute;
  z-index: 4;
  top: 76px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 284px;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.ld-note {
  padding: 12px 14px 13px;
  border-radius: 14px;
  background: rgba(10, 12, 18, 0.8);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 40px -18px rgba(0, 0, 0, 0.9);
  animation: note-in 0.6s var(--ease) both;
}
.ld-note.down {
  box-shadow:
    inset 2px 0 0 var(--bad),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 40px -18px rgba(0, 0, 0, 0.9);
}
.ld-note.up {
  box-shadow:
    inset 2px 0 0 var(--good),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 40px -18px rgba(0, 0, 0, 0.9);
}
.ld-note.out {
  animation: note-out 0.45s var(--ease) both;
}
@keyframes note-in {
  from {
    opacity: 0;
    transform: translateX(24px) scale(0.98);
    filter: blur(4px);
  }
}
@keyframes note-out {
  to {
    opacity: 0;
    transform: translateX(18px);
  }
}
.ld-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}
.ld-note-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c7b6ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ld-note-badge::before {
  content: "";
  width: 13px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23b9a4ff' d='M12 2.5l1.9 5.6a3 3 0 0 0 1.9 1.9l5.7 2-5.7 2a3 3 0 0 0-1.9 1.9L12 21.5l-1.9-5.6a3 3 0 0 0-1.9-1.9l-5.7-2 5.7-2a3 3 0 0 0 1.9-1.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ld-note-delta {
  padding: 3px 7px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.ld-note.down .ld-note-delta {
  background: rgba(255, 84, 104, 0.15);
  color: var(--bad);
}
.ld-note.up .ld-note-delta {
  background: rgba(62, 224, 143, 0.15);
  color: var(--good);
}
.ld-note strong {
  display: block;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.ld-note p {
  margin-top: 3px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.45;
}
.ld-cap {
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 12.5px;
  text-align: center;
}

/* ================================================================ sections */
.section {
  position: relative;
  padding: clamp(80px, 12vw, 144px) 0 0;
}
.section-head {
  max-width: 760px;
}
.section-head.center {
  margin: 0 auto;
  text-align: center;
}
.section-head.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--volt);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.section h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
  background: linear-gradient(180deg, #fff 35%, rgba(255, 255, 255, 0.62));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}
.section-lead {
  max-width: 620px;
  margin-top: 18px;
  color: var(--text-2);
  font-size: clamp(16px, 1.45vw, 18.5px);
  line-height: 1.6;
  text-wrap: pretty;
}
.card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

/* Scroll reveals (only with JS; without it everything simply shows). */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ================================================================ match flow */
.flow-card {
  margin-top: 44px;
  padding: 22px 24px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
}
.flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.flow-team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 600;
}
.swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.flow-team.a .swatch {
  background: var(--t);
}
.flow-team.b .swatch {
  background: var(--ct);
}
.flow-score {
  font-size: 44px;
  line-height: 1;
}
.flow-score .a {
  color: var(--t);
}
.flow-score .b {
  color: var(--ct);
}
.flow-score .colon {
  margin: 0 8px;
  color: var(--text-3);
}
.mf {
  min-height: 200px;
}
.mf-svg {
  display: block;
  width: 100%;
  height: clamp(150px, 20vw, 230px);
}
.mf-slot {
  fill: rgba(255, 255, 255, 0.025);
}
.mf-slot.here {
  fill: rgba(212, 255, 58, 0.07);
  stroke: rgba(212, 255, 58, 0.45);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.mf-mid {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-dasharray: 4 6;
  vector-effect: non-scaling-stroke;
}
.mf-half {
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.mf-up {
  fill: rgba(245, 165, 36, 0.3);
}
.mf-down {
  fill: rgba(78, 168, 255, 0.28);
}
.mf-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.mf-plot {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 2.4s var(--ease);
}
.mf.in .mf-plot {
  clip-path: inset(0 0 0 0);
}
.mf-rounds {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 4px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.mf-round {
  display: grid;
  place-items: center;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-3);
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.mf.in .mf-round {
  opacity: 1;
  transform: none;
}
.mf-round.a {
  background: rgba(245, 165, 36, 0.16);
  color: var(--t);
}
.mf-round.b {
  background: rgba(78, 168, 255, 0.16);
  color: var(--ct);
}
.mf-round.here {
  outline: 1.5px solid var(--volt);
  outline-offset: 1px;
}
.flow-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 12px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

/* ================================================================ how it works: a sticky story */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  margin-top: 48px;
}
.story-steps {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.story-visual {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: calc(var(--header-h) + 32px);
  align-self: start;
  height: min(560px, calc(100vh - var(--header-h) - 64px));
}
.story-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64vh;
  padding: 28px 0 28px 28px;
  border-left: 2px solid var(--line);
  transition:
    opacity 0.45s var(--ease),
    border-color 0.45s var(--ease);
}
.story-step:first-child {
  min-height: 52vh;
  justify-content: flex-start;
  padding-top: 64px;
}
/* Steps away from the middle of the screen recede (by colour, so their text
   keeps a readable contrast). */
.js .story-step:not(.active) .step-num,
.js .story-step:not(.active) h3,
.js .story-step:not(.active) p {
  color: var(--text-3);
}
.js .story-step.active {
  border-left-color: var(--volt);
}
.story-step .step-num,
.story-step h3,
.story-step p {
  transition: color 0.45s var(--ease);
}
.step-num {
  color: var(--volt);
  font-size: 15px;
  letter-spacing: 0.12em;
}
.story-step h3 {
  margin-top: 10px;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.035em;
}
.story-step p {
  max-width: 440px;
  margin-top: 14px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.6;
}
.sv-frame {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(124, 92, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #0d1018, #07090d);
  box-shadow: var(--shadow-lg);
}
.sv-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(18px, 3vw, 32px);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition:
    opacity 0.5s var(--ease),
    transform 0.6s var(--ease);
  pointer-events: none;
}
.story-visual[data-step="1"] [data-panel="1"],
.story-visual[data-step="2"] [data-panel="2"],
.story-visual[data-step="3"] [data-panel="3"],
.story-visual[data-step="4"] [data-panel="4"] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* 1: upload */
.up-drop {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(24px, 4vw, 40px) 20px;
  border: 1.5px dashed rgba(212, 255, 58, 0.35);
  border-radius: 18px;
  background: rgba(212, 255, 58, 0.03);
  text-align: center;
}
.up-orb {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 255, 58, 0.12);
  box-shadow: 0 0 0 8px rgba(212, 255, 58, 0.05);
  color: var(--volt);
  animation: bob 2.6s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translateY(-5px);
  }
}
.up-drop strong {
  font-size: 17px;
  font-weight: 650;
}
.up-formats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.up-formats span {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 12px;
}
.up-file {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}
.up-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1e2533, #141924);
  color: var(--volt);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.up-info {
  display: grid;
  flex: 1;
  gap: 9px;
  min-width: 0;
}
.up-info strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.up-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}
.up-bar span {
  display: block;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0.62);
  background: linear-gradient(90deg, var(--volt), #f3ffc4);
}
.up-status {
  position: relative;
  flex: none;
  width: 118px;
  height: 22px;
  font-size: 13px;
  font-weight: 650;
}
.up-status span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  opacity: 0;
}
.up-status .s1 {
  opacity: 1;
  color: var(--text-2);
}
.up-status .s2 {
  color: var(--ai);
}
.up-status .s3 {
  color: var(--good);
}
.story-visual[data-step="1"] .up-bar span {
  animation: upload 5s var(--ease) infinite;
}
.story-visual[data-step="1"] .up-status .s1 {
  animation: st1 5s infinite;
}
.story-visual[data-step="1"] .up-status .s2 {
  animation: st2 5s infinite;
}
.story-visual[data-step="1"] .up-status .s3 {
  animation: st3 5s infinite;
}
@keyframes upload {
  0% {
    transform: scaleX(0);
  }
  42%,
  100% {
    transform: scaleX(1);
  }
}
@keyframes st1 {
  0%,
  40% {
    opacity: 1;
  }
  44%,
  100% {
    opacity: 0;
  }
}
@keyframes st2 {
  0%,
  43% {
    opacity: 0;
  }
  47%,
  68% {
    opacity: 1;
  }
  72%,
  100% {
    opacity: 0;
  }
}
@keyframes st3 {
  0%,
  71% {
    opacity: 0;
  }
  75%,
  96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* 2: replay */
.sv-watch {
  padding: 0;
}
.sv-radar,
.tile-radar {
  position: absolute;
  inset: 0;
}
.sv-radar canvas,
.tile-radar canvas,
.moment-map canvas {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
}
.sv-bug,
.tile-bug {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  height: 34px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 10px 24px -8px rgba(0, 0, 0, 0.8);
  font-size: 17px;
  white-space: nowrap;
}
.sv-bug b,
.tile-bug b {
  display: grid;
  place-items: center;
  padding: 0 11px;
  font-weight: 700;
}
.sv-bug b.t,
.tile-bug b.t {
  background: linear-gradient(180deg, #ffb53d, #d9850c);
  color: #1d1205;
}
.sv-bug b.ct,
.tile-bug b.ct {
  background: linear-gradient(180deg, #62b3ff, #2c7cd4);
  color: #041120;
}
.sv-bug span,
.tile-bug span {
  display: grid;
  place-items: center;
  min-width: 64px;
  padding: 0 12px;
  background: rgba(8, 10, 15, 0.94);
}
/* Killfeed rows. */
.sv-feed,
.tile-feed {
  position: absolute;
  z-index: 1;
  top: 64px;
  right: 16px;
  display: grid;
  justify-items: end;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sv-feed li,
.tile-feed li,
.moment-kill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(8, 10, 15, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.sv-feed li,
.tile-feed li.new {
  box-shadow: inset 0 0 0 1px rgba(255, 84, 104, 0.6);
}
.sv-feed .gi,
.tile-feed .gi,
.moment-kill .gi {
  color: var(--text);
}
.sv-timeline {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 52px;
  padding: 20px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 10, 0.92) 60%);
}
.tl-track {
  fill: rgba(255, 255, 255, 0.12);
}
.tl-fill {
  fill: var(--volt);
}
.tl-kill {
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.tl-bomb {
  stroke: var(--bad);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

/* 3: moments */
.sv-moments {
  gap: 12px;
}
.sv-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: #c7b6ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sv-label .i {
  width: 14px;
  height: 14px;
}
.moment {
  position: relative;
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.moment:hover {
  border-color: rgba(255, 84, 104, 0.45);
  background: rgba(255, 84, 104, 0.05);
  transform: translateY(-2px);
}
.moment-map {
  position: relative;
  width: 152px;
  height: 108px;
  overflow: hidden;
  border-radius: 12px;
  background: #07090d;
}
.moment-meta {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
}
.moment-body strong {
  display: block;
  margin: 3px 0 8px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.moment-kill {
  height: 26px;
  font-size: 12.5px;
}
.moment-delta {
  color: var(--bad);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.moment-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 12.5px;
}
.moment-hint .i {
  width: 12px;
  height: 12px;
}

/* 4: progress */
.sv-progress {
  gap: 18px;
}
.pf-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pf-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2b3552, #171c2c);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}
.pf-name {
  display: grid;
}
.pf-name strong {
  font-size: 18px;
}
.pf-name span {
  color: var(--text-3);
  font-size: 13px;
}
.pf-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-left: auto;
}
.pf-ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.ring-track,
.ring-fill {
  fill: none;
  stroke-width: 4;
}
.ring-track {
  stroke: rgba(255, 255, 255, 0.08);
}
.ring-fill {
  stroke: var(--volt);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.4s var(--ease);
}
.story-visual[data-step="4"] .ring-fill {
  stroke-dashoffset: 28;
}
.pf-ring b {
  font-size: 22px;
}
.pf-trend {
  display: block;
  width: 100%;
  height: clamp(100px, 18vh, 150px);
}
.pf-avg {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
}
.pf-area {
  fill: rgba(212, 255, 58, 0.1);
}
.pf-line {
  fill: none;
  stroke: var(--volt);
  stroke-width: 2.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.pf-plot {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.6s var(--ease);
}
.story-visual[data-step="4"] .pf-plot {
  clip-path: inset(0 0 0 0);
}
.pf-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.pf-stats div {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.pf-stats dt {
  color: var(--text-3);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pf-stats dd {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

/* ================================================================ features: bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s var(--ease);
}
.tile:hover {
  border-color: var(--line-2);
}
/* A soft light follows the pointer. */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(212, 255, 58, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.tile:hover::before {
  opacity: 1;
}
.bento .tile:nth-child(2) {
  transition-delay: 0.06s;
}
.bento .tile:nth-child(3) {
  transition-delay: 0.12s;
}
.bento .tile:nth-child(4) {
  transition-delay: 0.04s;
}
.bento .tile:nth-child(5) {
  transition-delay: 0.1s;
}
.bento .tile:nth-child(6) {
  transition-delay: 0.16s;
}
.tile-art {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
  padding: 26px 24px 4px;
}
.tile-copy {
  position: relative;
  padding: 18px 24px 24px;
}
.tile-copy h3 {
  font-size: 19px;
  letter-spacing: -0.025em;
}
.tile-copy p {
  margin-top: 7px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.tile-replay {
  grid-column: span 4;
  grid-row: span 2;
}
.tile-wp,
.tile-coach,
.tile-econ,
.tile-stats,
.tile-share {
  grid-column: span 2;
}
.tile-replay .tile-art {
  min-height: 400px;
  padding: 0;
  background: #07090d;
  border-bottom: 1px solid var(--line);
}
.tile-replay .tile-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(5, 6, 10, 0.55));
}
.tile-replay .tile-copy {
  max-width: 560px;
}
.tile-feed {
  top: 16px;
}
.tile-bug {
  top: 16px;
  left: 20px;
  transform: none;
}

/* Win probability */
.wp-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 300 / 120;
}
.wp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.wp-mid {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-dasharray: 3 5;
}
.wp-up {
  fill: rgba(245, 165, 36, 0.3);
}
.wp-down {
  fill: rgba(78, 168, 255, 0.28);
}
.wp-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.wp-dot {
  stroke: #0b0d13;
  stroke-width: 2;
}
.wp-dot.up {
  fill: var(--good);
}
.wp-dot.down {
  fill: var(--bad);
}
.js .wp-plot {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 2s 0.2s var(--ease);
}
.js .tile.in .wp-plot {
  clip-path: inset(0 0 0 0);
}
.wp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.wp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.wp-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.wp-chip small {
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.85;
}
.wp-chip.up {
  background: rgba(62, 224, 143, 0.14);
  color: var(--good);
}
.wp-chip.down {
  background: rgba(255, 84, 104, 0.14);
  color: var(--bad);
}

/* AI coach */
.coach-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(139, 108, 255, 0.15), rgba(91, 140, 255, 0.07));
  box-shadow: 0 24px 60px -30px rgba(124, 92, 255, 0.7);
}
.coach-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b6cff, #5b8cff);
  color: #fff;
}
.coach-msg p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.coach-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  margin-top: 12px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 650;
}
.coach-jump .i {
  width: 12px;
  height: 12px;
}

/* Economy */
.econ {
  display: grid;
  gap: 6px;
}
.econ-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
}
.econ i,
.econ-legend i {
  display: block;
  border-radius: 5px;
}
.econ i {
  height: 28px;
}
.econ i.p {
  background: rgba(255, 255, 255, 0.28);
}
.econ i.e,
.econ-legend i.e {
  background: rgba(255, 255, 255, 0.09);
}
.econ i.f,
.econ-legend i.f {
  background: rgba(245, 165, 36, 0.6);
}
.econ i.b,
.econ-legend i.b {
  background: rgba(212, 255, 58, 0.85);
}
.econ i.bad,
.econ-legend i.bad {
  box-shadow: 0 0 0 2px var(--bad);
}
.econ-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 16px;
  color: var(--text-3);
  font-size: 12px;
}
.econ-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.econ-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.tile.in .econ i {
  animation: pop 0.5s var(--ease) both;
}
.tile.in .econ-row:nth-child(2) i {
  animation-delay: 0.08s;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scaleY(0.3);
  }
}

/* Stats */
.mini-board {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
.mini-board th,
.mini-board td {
  padding: 9px 6px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}
.mini-board tr:last-child th,
.mini-board tr:last-child td {
  border-bottom: 0;
}
.mini-board th:first-child {
  text-align: left;
}
.mini-board thead th {
  color: var(--text-3);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mini-board tbody th {
  font-weight: 650;
}
.mini-board td {
  color: var(--text-2);
}
.mini-board b {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
}
.mini-board b.hi {
  color: var(--good);
}
.mini-board b.lo {
  color: var(--bad);
}

/* Share */
.share-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1.91;
  margin: 0 auto;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background:
    url("/maps/de_mirage.svg") 60% 40% / 150% no-repeat,
    linear-gradient(135deg, #141a26, #0b0e15);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
  transform: rotate(-2deg);
  transition: transform 0.4s var(--ease);
}
.tile:hover .share-card {
  transform: rotate(0deg) scale(1.02);
}
.share-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.25), rgba(5, 6, 10, 0.88));
}
.share-map {
  font-size: 30px;
  line-height: 1;
}
.share-map span {
  color: var(--volt);
}
.share-url {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 12px;
}
.share-url .i {
  width: 14px;
  height: 14px;
  color: var(--volt);
}

/* ================================================================ pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 48px auto 0;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}
.plans-tiers {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1120px;
  margin-top: 28px;
}
/* Esport: the biggest plan, its badge and edge in violet. */
.plan-esport {
  border-color: rgba(167, 139, 250, 0.35);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(167, 139, 250, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}
.plan-esport .plan-badge {
  background: rgba(167, 139, 250, 0.14);
  color: #c4b5fd;
}
.plan-esport h3 {
  color: #c4b5fd;
}
.plans-tiers .plan-price .display {
  font-size: 52px;
}
/* The two prices line up: Pro+'s badge sits in the corner, its name like Pro's. */
.plans-tiers .plan-credit .plan-badge,
.plans-tiers .plan-esport .plan-badge {
  position: absolute;
  top: 26px;
  right: 26px;
}
.plans-tiers .plan-credit h3 {
  margin-top: 0;
  color: var(--volt);
  font-size: 15px;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.plans-tiers .plan > .btn.is-current {
  border-color: rgba(212, 255, 58, 0.45);
  background: rgba(212, 255, 58, 0.1);
  color: var(--volt);
  box-shadow: none;
}
.plans-tiers .plan > .btn {
  margin-top: auto;
}
.plans-tiers .checklist {
  margin-bottom: 28px;
}
.plan-tier {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.plan-tier:hover {
  transform: translateY(-4px);
}
.plan-tier [data-plan-price] {
  transition: opacity 0.2s ease;
}
/* Monthly / yearly: a pill whose light slides to the chosen side. */
.bill-toggle {
  position: relative;
  display: flex;
  width: max-content;
  margin: 40px auto 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.bill-toggle[hidden] {
  display: none;
}
.bill-toggle button {
  position: relative;
  z-index: 1;
  min-width: 108px;
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: color 0.25s ease;
}
.bill-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--volt);
  box-shadow: 0 10px 28px -12px rgba(212, 255, 58, 0.8);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bill-toggle:has([data-bill="year"].active)::before {
  transform: translateX(100%);
}
.bill-toggle button.active {
  color: var(--on-volt);
}
/* The one free AI analysis: a slim strip under the plans, saying what it is
   (the lightest model, after paid analyses) and what a plan gives instead. */
.trial-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  max-width: 1120px;
  margin: 16px auto 0;
  padding: 22px 26px;
  border: 1px dashed var(--line-3);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.02);
}
.trial-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(212, 255, 58, 0.1);
  color: var(--volt);
}
.trial-icon .i {
  width: 20px;
  height: 20px;
}
.trial-copy h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.trial-copy p {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}
.trial-copy .trial-vs {
  margin-top: 4px;
  color: var(--text-3);
  font-size: 13px;
}
@media (max-width: 720px) {
  .trial-strip {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    padding: 20px;
  }
  .trial-strip .btn {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}
.packs-lead {
  margin: -8px 0 16px;
  font-size: 14px;
  text-align: center;
}
.plan h3 {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
}
.plan-price .display {
  font-size: 60px;
  line-height: 1;
}
.plan-credit {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, #0f1219, #0a0c12) padding-box,
    linear-gradient(140deg, rgba(212, 255, 58, 0.75), rgba(167, 139, 250, 0.55) 55%, rgba(255, 255, 255, 0.08)) border-box;
  box-shadow: 0 40px 90px -50px rgba(212, 255, 58, 0.45);
}
.plan-credit h3 {
  margin-top: 16px;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.plan-sub {
  margin-top: 8px;
  font-size: 14.5px;
}
.plan-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(212, 255, 58, 0.12);
  color: var(--volt);
  font-size: 12.5px;
  font-weight: 650;
}
.plan-badge .i {
  width: 13px;
  height: 13px;
}
.checklist {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
}
.checklist .i {
  margin-top: 3px;
  color: var(--volt);
}
.plan > .btn {
  margin-top: 28px;
}
.packs-title {
  margin: 56px 0 16px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 650;
  text-align: center;
}
.packs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}
.packs > p {
  grid-column: 1 / -1;
  text-align: center;
}
.pack {
  display: grid;
  gap: 4px;
  padding: 20px;
  border-radius: 18px;
}
.pack h4 {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
}
.pack-price {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}
.pack .btn {
  margin-top: 14px;
}
.fineprint {
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
}

/* ================================================================ guides */
.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 56px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  color: var(--text);
  text-decoration: none;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.guide-card:hover {
  border-color: var(--line-3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  transform: translateY(-3px);
}
.guide-card h2,
.guide-card h3 {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  background: none;
  color: var(--text);
}
.guide-card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}
.guide-go {
  position: absolute;
  left: 22px;
  bottom: 20px;
  color: var(--volt);
  transition: transform 0.25s var(--ease);
}
.guide-card:hover .guide-go {
  transform: translateX(4px);
}

/* ================================================================ FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.faq-grid > .section-head {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  transition:
    background 0.25s,
    border-color 0.25s;
}
.faq details[open] {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.045);
}
.faq summary {
  position: relative;
  padding: 18px 56px 18px 20px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--text-2), var(--text-2)) center / 14px 2px no-repeat,
    linear-gradient(var(--text-2), var(--text-2)) center / 2px 14px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 20px 20px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}

/* ================================================================ final call */
.final {
  padding-bottom: clamp(72px, 9vw, 112px);
}
.final-inner {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: clamp(48px, 8vw, 88px) 24px;
  border: 1px solid var(--line-2);
  border-radius: 32px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(212, 255, 58, 0.15), transparent 70%),
    radial-gradient(50% 70% at 50% 100%, rgba(124, 92, 255, 0.18), transparent 70%),
    #080a10;
  text-align: center;
}
.final-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 75%);
}
.final-mark .logo-mark {
  width: 84px;
  height: 84px;
}
.final-mark svg {
  width: 84px;
  height: 84px;
}
/* The closing mark throws its grenade once: the dots fly round, the ring lands. */
.final-mark .lm-arc {
  animation: lm-dots 0.9s 0.25s cubic-bezier(0.45, 0.05, 0.35, 1) both;
}
.final-mark .lm-thrower {
  transform-box: fill-box;
  transform-origin: center;
  animation: lm-pop 0.36s cubic-bezier(0.2, 0.9, 0.3, 1.4) both;
}
.final-mark .lm-ring,
.final-mark .lm-land {
  transform-box: fill-box;
  transform-origin: center;
  animation: lm-land 0.52s 1.05s ease-out both;
}
@keyframes lm-dots {
  from {
    stroke-dasharray: 0.1 140;
  }
  to {
    stroke-dasharray: 0.1 7.4;
  }
}
@keyframes lm-pop {
  from {
    transform: scale(0);
  }
}
@keyframes lm-land {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.4);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .final-mark .lm-arc,
  .final-mark .lm-thrower,
  .final-mark .lm-ring,
  .final-mark .lm-land {
    animation: none;
  }
}
.final h2 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(42px, 6.4vw, 84px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  background: none;
  color: var(--text);
}
.final .section-lead {
  margin-left: auto;
  margin-right: auto;
}
.final .hero-actions {
  animation: none;
}

/* ================================================================ footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.footer-brand p {
  max-width: 300px;
  margin: 14px 0 18px;
  font-size: 14px;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 14px;
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.footer-social:hover {
  border-color: var(--line-2, rgba(255, 255, 255, 0.16));
  color: var(--text);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h2 {
  margin-bottom: 4px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-col a {
  color: var(--text-2);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-note {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}

/* ================================================================ articles: guides and legal */
.article {
  padding-top: 40px;
  padding-bottom: 96px;
}
.breadcrumbs {
  color: var(--text-3);
  font-size: 13.5px;
}
.breadcrumbs a {
  color: var(--text-2);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--text);
}
.article h1,
.page-title {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.article .updated {
  margin: 0 0 36px;
  color: var(--text-3);
}
.article h2 {
  margin: 52px 0 14px;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.03em;
}
.article h3 {
  margin: 32px 0 10px;
  font-size: 19px;
}
.article p,
.article ul,
.article ol {
  margin: 0 0 16px;
  color: #c6ccd5;
  font-size: 16.5px;
  line-height: 1.75;
}
.article .lead {
  color: var(--text-2);
  font-size: 19px;
  line-height: 1.6;
}
.article ul,
.article ol {
  padding-left: 22px;
}
.article li {
  margin: 6px 0;
}
.article li::marker {
  color: var(--text-3);
}
.article a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article strong {
  color: var(--text);
}
.article code,
.article kbd {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.86em;
}
.article kbd {
  border-bottom-width: 2px;
}
.article pre {
  margin: 12px 0 16px;
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0a0d14;
}
.article pre code {
  padding: 0;
  border: 0;
  background: none;
}
.article table {
  width: 100%;
  margin: 18px 0 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  overflow: hidden;
}
.article th,
.article td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.article tr:last-child td {
  border-bottom: 0;
}
.article thead th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 650;
}
.article td {
  color: #c6ccd5;
}
.article .note {
  padding: 14px 16px;
  border: 1px solid rgba(255, 197, 61, 0.25);
  border-radius: 12px;
  background: rgba(255, 197, 61, 0.07);
  color: #f1e2b8;
}
.cta-box {
  margin-top: 56px;
  padding: 30px;
  border: 1px solid transparent;
  border-radius: 22px;
  background:
    linear-gradient(180deg, #0f1219, #0a0c12) padding-box,
    linear-gradient(140deg, rgba(212, 255, 58, 0.6), rgba(167, 139, 250, 0.45) 55%, rgba(255, 255, 255, 0.06)) border-box;
}
.cta-box h2,
.article .cta-box h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.cta-box p,
.article .cta-box p {
  margin: 0 0 20px;
  color: var(--text-2);
  font-size: 15.5px;
}
.related {
  margin-top: 56px;
}
.related h2,
.article .related h2 {
  margin: 0 0 12px;
  font-size: 18px;
}
.related ul,
.article .related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.related li {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

/* ================================================================ shared matches (/m/) */
.match,
.profile {
  padding-top: 40px;
  padding-bottom: 96px;
}
.match-head {
  margin: 14px 0 40px;
}
.match-kicker {
  font-size: 14px;
}
.match-head h1 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}
.match-score {
  margin-left: 10px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.side-t {
  color: var(--t);
}
.side-ct {
  color: var(--ct);
}
.match-head .lead {
  max-width: 720px;
  margin: 12px 0 24px;
  color: var(--text-2);
  font-size: 17px;
}
.match h2,
.profile h2 {
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.match-rounds {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}
svg.story {
  display: block;
  width: 100%;
  height: 96px;
  margin: 0 0 12px;
}
.story-even {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  vector-effect: non-scaling-stroke;
}
.story-line {
  fill: none;
  stroke: url(#storyColor);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.round-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.round {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-3);
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.round.team-0 {
  background: rgba(245, 165, 36, 0.16);
  color: var(--t);
}
.round.team-1 {
  background: rgba(78, 168, 255, 0.16);
  color: var(--ct);
}
.round.thrown {
  box-shadow: inset 0 0 0 2px var(--bad);
}
.key {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px 0 12px;
  border-radius: 3px;
  vertical-align: -1px;
}
.key:first-child {
  margin-left: 0;
}
.key.team-0 {
  background: var(--t);
}
.key.team-1 {
  background: var(--ct);
}
.match-team {
  margin-top: 32px;
}
.match-team h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.match-team.team-0 h2 {
  color: var(--t);
}
.match-team.team-1 h2 {
  color: var(--ct);
}
.team-score {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
}
.won {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(212, 255, 58, 0.14);
  color: var(--volt);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.scoreboard {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.scoreboard th,
.scoreboard td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}
.scoreboard tbody tr:last-child th,
.scoreboard tbody tr:last-child td {
  border-bottom: 0;
}
.scoreboard th:first-child {
  width: 100%;
  text-align: left;
}
.scoreboard thead th {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.scoreboard abbr {
  text-decoration: none;
  cursor: help;
}
.scoreboard tbody th {
  max-width: 260px;
  overflow: hidden;
  font-weight: 650;
  text-overflow: ellipsis;
}
.scoreboard tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}
.scoreboard a {
  text-decoration: none;
}
.match .cta-box,
.profile .cta-box {
  margin-top: 48px;
}

/* ================================================================ public profiles (/p/) */
.profile-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 14px 0 28px;
}
.profile-head h1 {
  margin: 2px 0;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.profile-avatar {
  flex: none;
  border-radius: 18px;
  box-shadow: 0 0 0 1px var(--line-2);
}
.stat-cards {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 36px;
}
.stat {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}
.stat dt {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.profile-section {
  margin-top: 36px;
}
.trend {
  display: block;
  width: 100%;
  height: 160px;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.trend-average {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
  stroke-dasharray: 5 6;
  vector-effect: non-scaling-stroke;
}
.trend-line {
  fill: none;
  stroke: var(--volt);
  stroke-width: 2.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.result-1 {
  color: var(--good);
}
.result--1 {
  color: var(--bad);
}

/* ================================================================ for teams */
.bento-teams .tile-board,
.bento-teams .tile-heat {
  grid-column: span 3;
}
.bento-teams .tile-scout,
.bento-teams .tile-room,
.bento-teams .tile-comms {
  grid-column: span 2;
}

/* Boards: three tokens walk a play while the step strip moves on. */
.tb-map {
  position: relative;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 24px 24px,
    #0a0d13;
}
.tb-tok {
  position: absolute;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--t);
  color: #1a1206;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.18);
}
.tb-tok.a { left: 14%; top: 68%; }
.tb-tok.b { left: 22%; top: 50%; }
.tb-tok.c { left: 30%; top: 72%; }
.tb-smoke {
  position: absolute;
  left: 70%;
  top: 18%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 226, 236, 0.5), rgba(220, 226, 236, 0.08) 70%);
  opacity: 0.85;
}
.tb-arrow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.tb-arrow path {
  fill: none;
  stroke: var(--volt);
  stroke-width: 1.6;
  stroke-dasharray: 0.05 0.04;
  vector-effect: non-scaling-stroke;
}
.tb-steps {
  display: flex;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.tb-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}
.tb-steps li b {
  color: var(--text-3);
  font-size: 12px;
}
.tb-steps li.on {
  border-color: rgba(212, 255, 58, 0.45);
  color: var(--text);
}

/* Rounds across matches: a heatmap over the radar. */
.th-map {
  position: relative;
  width: min(220px, 70%);
  aspect-ratio: 1;
  margin: 0 auto;
}
.th-map img {
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.th-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: blur(6px);
}
.th-blob.b1 { left: 58%; top: 55%; width: 70px; height: 70px; background: radial-gradient(circle, rgba(255, 84, 104, 0.9), rgba(255, 176, 32, 0.4) 45%, transparent 70%); }
.th-blob.b2 { left: 28%; top: 30%; width: 54px; height: 54px; background: radial-gradient(circle, rgba(255, 176, 32, 0.85), rgba(212, 255, 58, 0.3) 50%, transparent 72%); }
.th-blob.b3 { left: 46%; top: 40%; width: 40px; height: 40px; background: radial-gradient(circle, rgba(212, 255, 58, 0.75), transparent 70%); }
.th-blob.b4 { left: 18%; top: 62%; width: 36px; height: 36px; background: radial-gradient(circle, rgba(78, 168, 255, 0.7), transparent 70%); }
.th-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.th-chips span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 12.5px;
}
.th-chips span.on {
  border-color: rgba(212, 255, 58, 0.45);
  color: var(--text);
}

/* Scouting: a veto in progress. */
.ts-veto {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ts-veto li {
  display: grid;
  gap: 2px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.ts-veto small {
  font-size: 11.5px;
  font-weight: 600;
}
.ts-veto b {
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
}
.ts-veto .us small { color: var(--volt); }
.ts-veto .them small { color: #ff6b81; }
.ts-veto .ban b {
  color: var(--text-3);
  text-decoration: line-through;
  text-decoration-color: #ff5468;
}
.ts-veto .pick.us { border-color: rgba(212, 255, 58, 0.4); }
.ts-veto .pick.them { border-color: rgba(255, 107, 129, 0.4); }

/* Review rooms: faces, a live pill, a laser dot. */
.tr-room {
  position: relative;
  height: 130px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0a0d13;
}
.tr-room {
  overflow: hidden;
}
.tr-map {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  max-width: 220px;
  transform: translate(-50%, -50%);
  opacity: 0.35;
}
.tr-live {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 84, 104, 0.16);
  color: #ff7a8a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tr-faces {
  position: absolute;
  right: 12px;
  top: 10px;
  display: flex;
}
.tr-faces i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: -6px;
  border: 2px solid #0a0d13;
  border-radius: 50%;
  background: #1c2230;
  color: var(--text);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.tr-faces i:first-child { background: var(--volt); color: #0b0e04; }
.tr-laser {
  position: absolute;
  left: 30%;
  top: 60%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3b5c;
  box-shadow: 0 0 0 4px rgba(255, 59, 92, 0.25), 0 0 18px rgba(255, 59, 92, 0.8);
}

/* Voice comms: the loudness, with kills. */
.tc-wave {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 90px;
  padding: 0 4px;
}
.tc-wave i {
  flex: 1;
  border-radius: 2px;
  background: var(--text-3);
  opacity: 0.7;
}
.tc-wave i.h1 { height: 10%; }
.tc-wave i.h2 { height: 22%; }
.tc-wave i.h3 { height: 34%; }
.tc-wave i.h5 { height: 72%; background: var(--volt); opacity: 0.85; }
.tc-wave i.h6 { height: 92%; background: var(--volt); opacity: 0.9; }
.tc-wave .k {
  position: absolute;
  top: 0;
  width: 2px;
  height: 10px;
  border-radius: 1px;
  background: var(--t);
}
.tc-wave .k1 { left: 20%; }
.tc-wave .k2 { left: 49%; background: #4ea8ff; }
.tc-wave .k3 { left: 74%; }
.tc-line {
  display: block;
  margin-top: 8px;
  color: var(--text-2);
  font-size: 13px;
  font-style: italic;
  text-align: center;
}

.more-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.more-item {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.more-item h3 {
  font-size: 16px;
  letter-spacing: -0.02em;
}
.more-item p {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}

@media (prefers-reduced-motion: no-preference) {
  .tile-board .tb-tok { animation: tb-walk 6s var(--ease) infinite; }
  .tile-board .tb-tok.b { animation-delay: 0.25s; }
  .tile-board .tb-tok.c { animation-delay: 0.5s; }
  .tile-board .tb-arrow path { animation: tb-dash 6s linear infinite; }
  .tile-board .tb-steps li { animation: tb-step 6s steps(1) infinite; }
  .tile-board .tb-steps li:nth-child(2) { animation-delay: -4s; }
  .tile-board .tb-steps li:nth-child(3) { animation-delay: -2s; }
  .tile-heat .th-blob { animation: th-breathe 5s ease-in-out infinite alternate; }
  .tile-heat .th-blob.b2 { animation-delay: -1.5s; }
  .tile-heat .th-blob.b3 { animation-delay: -3s; }
  .tile-room .tr-laser { animation: tr-laser 7s ease-in-out infinite; }
  .tile-comms .tc-wave i { animation: tc-pulse 1.6s ease-in-out infinite alternate; }
  .tile-comms .tc-wave i:nth-child(3n) { animation-delay: -0.4s; }
  .tile-comms .tc-wave i:nth-child(4n) { animation-delay: -0.9s; }
}
@keyframes tb-walk {
  0%, 20% { transform: translate(0, 0); }
  45%, 60% { transform: translate(70px, -28px); }
  85%, 100% { transform: translate(150px, -62px); }
}
@keyframes tb-dash {
  to { stroke-dashoffset: -1; }
}
@keyframes tb-step {
  0% { border-color: rgba(212, 255, 58, 0.45); color: var(--text); }
  33.3% { border-color: var(--line); color: var(--text-2); }
}
@keyframes th-breathe {
  from { transform: scale(0.85); opacity: 0.7; }
  to { transform: scale(1.12); opacity: 1; }
}
@keyframes tr-laser {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(90px, -30px); }
  60% { transform: translate(160px, 10px); }
}
@keyframes tc-pulse {
  from { transform: scaleY(0.75); }
  to { transform: scaleY(1); }
}
@media (max-width: 1100px) {
  .bento-teams .tile-board,
  .bento-teams .tile-heat {
    grid-column: 1 / -1;
  }
  .bento-teams .tile-scout,
  .bento-teams .tile-room,
  .bento-teams .tile-comms {
    grid-column: auto;
  }
  .more-row {
    grid-template-columns: 1fr;
  }
}

/* ================================================================ responsive */
@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile-replay {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .tile-wp,
  .tile-coach,
  .tile-econ,
  .tile-stats,
  .tile-share {
    grid-column: auto;
  }
  .stat-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ld-notes {
    width: 252px;
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }
  .plans-tiers {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
  .story-grid {
    display: block;
  }
  .story-visual {
    z-index: 2;
    top: calc(var(--header-h) + 8px);
    height: min(340px, 46vh);
  }
  .sv-frame {
    box-shadow:
      0 0 0 6px var(--bg),
      var(--shadow-lg);
  }
  .story-step,
  .story-step:first-child {
    min-height: 52vh;
    justify-content: center;
    padding: 32px 0 32px 20px;
  }
  .story-steps {
    margin-top: 24px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-grid > .section-head {
    position: static;
  }
  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 16px;
    --header-h: 58px;
  }
  .header-inner {
    gap: 12px;
  }
  .hero-title {
    font-size: clamp(40px, 12.4vw, 64px);
    line-height: 0.94;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 420px;
  }
  .hero-proof {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .ld {
    border-radius: 18px;
  }
  .ld-bar {
    gap: 10px;
    padding: 0 10px 0 12px;
  }
  .ld-src {
    display: none;
  }
  /* The map takes a square; the notes sit under it. */
  .ld-stage {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
  }
  .ld-view {
    position: relative;
    inset: auto;
    aspect-ratio: 1 / 1.02;
  }
  .ld-bug {
    top: 10px;
    height: 40px;
  }
  .ld-bug-side {
    min-width: 52px;
    padding: 0 10px;
    font-size: 19px;
  }
  .ld-bug-mid {
    min-width: 96px;
    padding: 0 10px;
  }
  .ld-bug-round {
    font-size: 10px;
  }
  .ld-bug-time {
    font-size: 19px;
  }
  .ld-meter {
    left: 10px;
    bottom: 14px;
    width: 150px;
    padding: 9px 11px 11px;
    gap: 6px 8px;
    border-radius: 12px;
  }
  .ld-meter-label {
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }
  .ld-meter-num {
    font-size: 24px;
  }
  .ld-ff {
    display: none;
  }
  .ld-toggle {
    right: 10px;
    bottom: 16px;
  }
  .ld-notes {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    min-height: 124px;
    padding: 12px;
    border-top: 1px solid var(--line);
  }
  .ld-note {
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* One note at a time on phones: the newest. */
  .ld-note:not(:last-child) {
    display: none;
  }
  .ld-cap {
    padding: 10px 14px;
    text-align: left;
  }
  .flow-card {
    padding: 18px 14px 14px;
    border-radius: 20px;
  }
  .flow-score {
    font-size: 34px;
  }
  .flow-team {
    font-size: 12px;
  }
  .mf {
    min-height: 160px;
  }
  .mf-rounds {
    gap: 2px;
  }
  .mf-round {
    height: 12px;
    border-radius: 3px;
    font-size: 0;
  }
  .moment {
    grid-template-columns: 104px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 8px 12px 8px 8px;
  }
  .moment-map {
    width: 104px;
    height: 84px;
  }
  .moment-body strong {
    font-size: 14.5px;
  }
  .moment-delta {
    font-size: 22px;
  }
  .moment-kill {
    height: 24px;
    padding: 0 8px;
    gap: 5px;
    font-size: 12px;
  }
  .sv-moments .moment-hint {
    display: none;
  }
  .pf-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pf-stats div {
    padding: 9px 12px;
  }
  .pf-stats dd {
    font-size: 20px;
  }
  .pf-ring {
    width: 60px;
    height: 60px;
  }
  .sv-progress {
    gap: 12px;
  }
  .up-file {
    padding: 12px;
    gap: 10px;
  }
  .up-status {
    width: 96px;
  }
  .bento {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tile-replay .tile-art {
    min-height: 300px;
  }
  .tile-feed li:not(.new) {
    display: none;
  }
  .tile-feed {
    top: 60px;
  }
  .tile-art {
    min-height: 0;
    padding: 22px 18px 0;
  }
  .tile-copy {
    padding: 16px 18px 20px;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plan {
    padding: 24px;
  }
  .plan-price .display {
    font-size: 52px;
  }
  .faq summary {
    padding: 16px 48px 16px 16px;
    font-size: 15.5px;
  }
  .faq summary::after {
    right: 16px;
  }
  .faq details p {
    padding: 0 16px 18px;
  }
  .final-inner {
    border-radius: 24px;
  }
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    padding-top: 44px;
  }
  .stat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-head {
    gap: 14px;
  }
  .profile-avatar {
    width: 64px;
    height: 64px;
  }
  .match-rounds {
    padding: 16px;
  }
  .article table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 560px) {
  .hide-sm,
  .user-name {
    display: none;
  }
}

@media (max-width: 350px) {
  .logo > span:not(.logo-mark) {
    display: none;
  }
  .ld-ai {
    display: none;
  }
}

/* Less motion: fades stay; travel, zoom, tilt and endless loops go. */
@media (prefers-reduced-motion: reduce) {
  @keyframes rise {
    from {
      opacity: 0;
    }
  }
  @keyframes note-in {
    from {
      opacity: 0;
    }
  }
  @keyframes note-out {
    to {
      opacity: 0;
    }
  }
  @keyframes pop {
    from {
      opacity: 0;
    }
  }
  .hero-rings::after {
    display: none;
  }
  .ld-dot,
  .up-orb,
  .ld-bug.planted .ld-bug-time {
    animation: none;
  }
  .ht-accent {
    animation: rise 1s 0.16s var(--ease) both;
  }
  .js .reveal,
  .sv-panel,
  .share-card,
  .btn:hover .i,
  .hero-pill:hover .i,
  .guide-card:hover,
  .guide-card:hover .guide-go,
  .moment:hover,
  .tile:hover .share-card,
  .ld-ff,
  .plan-tier:hover {
    transform: none;
  }
  .bill-toggle::before {
    transition: none;
  }
}

/* ================================================================ player card on public profiles */
.profile-head.with-card {
  align-items: center;
  gap: 40px;
}
.scard {
  --shield: path("M24 34 Q66 34 84 10 L216 10 Q234 34 276 34 L292 50 L292 372 Q292 394 270 404 L168 436 Q150 442 132 436 L30 404 Q8 394 8 372 L8 50 Z");
  position: relative;
  flex: none;
  width: 300px;
  height: 440px;
  color: var(--ink);
  font-family: "Barlow Condensed", system-ui, sans-serif;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.55));
}
.scard-base {
  position: absolute;
  inset: 0;
  clip-path: var(--shield);
  background: var(--mat);
}
.scard-base::after {
  content: "";
  position: absolute;
  inset: 9px;
  clip-path: path("M17 26 Q57 26 74 3 L208 3 Q225 26 265 26 L274 35 L274 359 Q274 377 255 386 L159 416 Q141 421 123 416 L27 386 Q8 377 8 359 L8 35 Z");
  border: 1.5px solid var(--edge);
}
.scard.tier-bronze { --mat: linear-gradient(160deg, #e2a478 0%, #a8673f 38%, #c98a5c 62%, #7a4426 100%); --ink: #2a1407; --edge: rgba(60, 26, 8, 0.55); }
.scard.tier-silver { --mat: linear-gradient(160deg, #f4f6f8 0%, #b5bcc4 38%, #dfe3e7 60%, #8a939c 100%); --ink: #1d2329; --edge: rgba(40, 48, 56, 0.45); }
.scard.tier-gold { --mat: linear-gradient(160deg, #fff1b0 0%, #e8c25a 30%, #fbe28e 52%, #c7962c 78%, #f2d477 100%); --ink: #3a2a03; --edge: rgba(92, 64, 6, 0.5); }
.scard.tier-elite { --mat: linear-gradient(160deg, #1b2210 0%, #070906 45%, #10140a 70%, #232c0d 100%); --ink: #d4ff3a; --edge: rgba(212, 255, 58, 0.55); }
.scard.tier-blank { --mat: linear-gradient(160deg, #2a3042 0%, #161a25 55%, #232838 100%); --ink: #a2aab7; --edge: rgba(255, 255, 255, 0.16); }
.scard-ovr {
  position: absolute;
  left: 30px;
  top: 52px;
  width: 64px;
  display: grid;
  justify-items: center;
  gap: 5px;
}
.scard-num {
  font-size: 66px;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.02em;
}
.scard-pos {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
}
.scard-flag {
  width: 34px;
  height: 25px;
  margin-top: 4px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.scard-csr {
  margin-top: 4px;
  padding: 4px 6px 3px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  transform: skewX(-8deg);
}
.scard-csr.band-0 { background: linear-gradient(180deg, #c6d3e2, #8f9fb3); color: #12161d; }
.scard-csr.band-1 { background: linear-gradient(180deg, #a9d6ff, #5fa8ef); color: #0a1624; }
.scard-csr.band-2 { background: linear-gradient(180deg, #8597ff, #4b62f0); }
.scard-csr.band-3 { background: linear-gradient(180deg, #d58bff, #9b3fe0); }
.scard-csr.band-4 { background: linear-gradient(180deg, #ff7bff, #d22fd2); }
.scard-csr.band-5 { background: linear-gradient(180deg, #ff7a7a, #d63434); }
.scard-csr.band-6 { background: linear-gradient(180deg, #ffe680, #e0a800); color: #2a1e00; }
.scard-photo {
  position: absolute;
  right: 24px;
  top: 44px;
  width: 178px;
  height: 178px;
  -webkit-mask: radial-gradient(62% 62% at 50% 44%, #000 62%, transparent 100%);
  mask: radial-gradient(62% 62% at 50% 44%, #000 62%, transparent 100%);
}
.scard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scard-name {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 238px;
  overflow: hidden;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.scard-rule {
  position: absolute;
  left: 50px;
  right: 50px;
  top: 276px;
  height: 1.5px;
  background: var(--edge);
}
.scard-skills {
  position: absolute;
  left: 46px;
  right: 46px;
  top: 288px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
  row-gap: 5px;
}
.scard-skills::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 2px;
  bottom: 2px;
  width: 1.5px;
  background: var(--edge);
}
.scard-skills > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.scard-skills dd {
  margin: 0;
  min-width: 30px;
  text-align: right;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.scard-skills dt {
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
}
.scard-foot {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 388px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 0.85;
}
@media (max-width: 700px) {
  .profile-head.with-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
@media (max-width: 360px) {
  .scard {
    transform: scale(0.9);
    transform-origin: top left;
    margin-bottom: -44px;
  }
}

.profile-compare {
  margin-top: 12px;
}
