/* =====================================================================
   TennisMate · 网球伴侣 — landing site
   Aesthetic: editorial × athletic × telemetry. Dark base, Volt accent.
   ===================================================================== */

/* -------- 1. design tokens -------- */
:root {
  --bg: #0B0B0B;
  --bg-1: #111;
  --bg-2: #161616;
  --bg-3: #1d1d1d;
  --line: #232323;
  --line-2: #2c2c2c;

  --ink: #F4F4F1;
  --ink-2: #b9b9b3;
  --ink-3: #7c7c75;
  --ink-4: #4a4a45;

  --volt: #CCFF00;
  --volt-2: #9EFF00;
  --volt-warm: #E8FF6E;
  --volt-soft: rgba(204, 255, 0, 0.12);

  --warn: #FF6B57;
  --clay: #C75A3F;
  --chalk: #E8E2D4;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --pad: clamp(20px, 4vw, 64px);
  --max: 1280px;

  --display: "Fraunces", "PingFang SC", "Source Han Serif SC",
    "Songti SC", "Microsoft YaHei UI", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei UI",
    "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(.2,.7,.2,1);
  --ease-in: cubic-bezier(.7,0,.8,.3);
}

/* -------- 2. reset -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  font-feature-settings: "kern", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { user-select: none; -webkit-user-drag: none; }

/* -------- 3. global background layers -------- */
#court-telemetry {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0.85;
}
.grain {
  position: fixed; inset: -20%;
  z-index: 1; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.95  0 0 0 0 0.85  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  animation: grainShift 7s steps(4) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-2%, 1%); }
  50%  { transform: translate(1%, -2%); }
  75%  { transform: translate(-1%, 2%); }
  100% { transform: translate(0,0); }
}
.scanlines {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.012) 0,
    rgba(255,255,255,0.012) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: screen;
}

/* relative content above all bg layers */
.nav, main, .footer { position: relative; z-index: 5; }

/* -------- 4. cursor follower (tennis ball) -------- */
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 16px; height: 16px;
  pointer-events: none; z-index: 99;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), opacity 0.25s;
  opacity: 0;
  filter: drop-shadow(0 0 12px rgba(204,255,0,0.8)) drop-shadow(0 0 24px rgba(204,255,0,0.45));
}
.cursor-dot__ball {
  width: 100%; height: 100%;
  display: block;
  animation: ballSpin 6s linear infinite;
}
@keyframes ballSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (hover: hover) and (pointer: fine) {
  body:hover .cursor-dot { opacity: 0.85; }
}
.cursor-dot.is-active { width: 30px; height: 30px; opacity: 1; }

/* -------- 5. typography -------- */
.italic { font-family: var(--display); font-style: italic; font-weight: 400; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: 0.01em; }

/* -------- 6. layout primitives -------- */
.section {
  position: relative;
  padding: clamp(80px, 10vw, 160px) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.section__head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section__head--right { margin-left: auto; text-align: right; }
.section__head--right .section__lede { margin-left: auto; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--center .section__lede { margin-left: auto; margin-right: auto; }

.section__index {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--volt);
  padding: 6px 12px;
  border: 1px solid var(--volt);
  border-radius: 999px;
  margin-bottom: 24px;
  background: rgba(204,255,0,0.05);
}
.section__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.section__title .italic { font-weight: 400; font-style: italic; color: var(--volt); }
.section__lede {
  margin-top: 24px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 640px;
}

/* divider line under each section head when scrolled into view */
.section::before {
  content: "";
  position: absolute;
  top: clamp(60px, 8vw, 130px);
  left: var(--pad);
  right: var(--pad);
  height: 1px;
  background: var(--volt);
  transform-origin: left;
  transform: scaleX(0);
  opacity: 0.6;
  transition: transform 1.2s var(--ease-out);
}
.section.is-in::before { transform: scaleX(1); }
.section--linecall::before, .section--aicoach::before { display: none; }

/* -------- 7. nav -------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: clamp(20px, 3vw, 48px);
  padding: 18px var(--pad);
  background: rgba(11,11,11,0.65);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: opacity 0.25s;
}
.nav__brand:hover { opacity: 0.85; }
.brand-mark {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(204,255,0,0.25));
  transition: transform 0.4s var(--ease-out), filter 0.4s;
}
.nav__brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.05);
  filter: drop-shadow(0 4px 14px rgba(204,255,0,0.5));
}
.brand-wordmark__cn { color: var(--ink-3); font-family: var(--sans); font-weight: 400; font-size: 13px; }
.nav__links {
  display: flex; gap: clamp(14px, 2vw, 28px);
  margin-left: auto;
  font-size: 14px; color: var(--ink-2);
}
.nav__links a {
  position: relative; padding: 6px 2px;
  transition: color 0.2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--volt);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* -------- 8. CTA buttons -------- */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: all 0.25s var(--ease-out);
  position: relative; overflow: hidden;
}
.cta--small { padding: 10px 18px; font-size: 13px; }
.cta--full { width: 100%; padding-left: 0; padding-right: 0; }
.cta--primary {
  background: var(--volt); color: #0B0B0B;
  box-shadow: 0 0 0 0 rgba(204,255,0,0.6), 0 6px 24px -8px rgba(204,255,0,0.5);
}
.cta--primary::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255,255,255,0.5), transparent 60%);
  opacity: 0; transition: opacity 0.25s;
}
.cta--primary:hover {
  background: var(--volt-warm);
  transform: translateY(-1px);
  box-shadow: 0 0 0 8px rgba(204,255,0,0.12), 0 12px 32px -10px rgba(204,255,0,0.6);
}
.cta--primary:hover::before { opacity: 1; }
.cta--primary { animation: ctaBreathe 4.5s ease-in-out infinite; }
@keyframes ctaBreathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204,255,0,0.5), 0 6px 24px -8px rgba(204,255,0,0.4); }
  50%      { box-shadow: 0 0 0 14px rgba(204,255,0,0), 0 6px 24px -8px rgba(204,255,0,0.7); }
}
.cta--ghost {
  border: 1px solid var(--line-2); color: var(--ink);
  background: rgba(255,255,255,0.02);
}
.cta--ghost:hover {
  border-color: var(--volt); color: var(--volt);
  background: rgba(204,255,0,0.04);
}
.cta__arrow { display: inline-block; transition: transform 0.3s var(--ease-out); }
.cta:hover .cta__arrow { transform: translateX(4px); }

/* -------- 9. Hero (右出血 → 屏幕右沿) -------- */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  padding-block: clamp(60px, 8vw, 120px) clamp(80px, 8vw, 140px);
  padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  padding-right: 0;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 580px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: center;
  overflow: visible;
}
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-right: var(--pad);
  }
}
.hero__copy { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--volt);
  padding: 6px 12px;
  border: 1px solid rgba(204,255,0,0.3);
  border-radius: 999px;
  margin-bottom: 28px;
  background: rgba(204,255,0,0.04);
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--volt);
  animation: dotPulse 1.6s ease-in-out infinite;
}
.eyebrow--soon {
  background: linear-gradient(90deg, rgba(199,90,63,0.12), rgba(204,255,0,0.06));
  border-color: rgba(199,90,63,0.5);
  color: var(--clay);
}
.eyebrow--soon .eyebrow__dot {
  background: var(--clay);
  box-shadow: 0 0 0 0 rgba(199,90,63,0.6);
  animation: soonPulse 1.6s ease-in-out infinite;
}
@keyframes soonPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(199,90,63,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(199,90,63,0); }
}
@keyframes dotPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px, 7.4vw, 110px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hero__sep {
  color: var(--volt);
  margin-left: 0.06em;
  letter-spacing: 0;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; white-space: nowrap; }
.hero__title .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}
.hero__title .word--lat { margin: 0 0.05em 0 0.04em; letter-spacing: -0.02em; }
.hero__title .word.italic { color: var(--volt); font-weight: 400; }
.hero__title .line--accent { display: flex; align-items: baseline; gap: 0.01em; }
.hero__period { color: var(--volt); margin-left: -0.05em; }
.is-loaded .hero__title .word {
  animation: wordRise 0.95s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}
@keyframes wordRise {
  0% { transform: translateY(110%); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

.hero__sub {
  margin-top: 32px;
  max-width: 540px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--ink-2);
}
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__sub em { font-family: var(--display); font-style: italic; color: var(--volt); font-weight: 400; }

.hero__slogan {
  margin-top: 18px;
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: 0.06em;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 10px;
  position: relative; padding-left: 16px;
}
.hero__slogan::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 8px; height: 1px; background: var(--volt);
}
.hero__slogan .italic {
  color: var(--volt); font-size: 1.1em;
  font-style: italic; font-weight: 500;
}

.hero__cta-row {
  margin-top: 36px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.hero__chips {
  margin-top: 36px;
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-3);
}
.hero__chips li { display: flex; align-items: center; gap: 8px; }
.chip-icon {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-size: 10px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

/* hero court frame — bleeds to viewport right edge */
.hero__court {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: none;
  justify-self: stretch;
  align-self: center;
}
@media (min-width: 1700px) { .hero__court { max-width: 760px; justify-self: end; } }
@media (max-width: 920px) {
  .hero__court { justify-self: center; max-width: 420px; padding-right: 0; }
}
.court-frame {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  background: linear-gradient(180deg, #131313, #0a0a0a);
  border: 1px solid var(--line);
  border-right: none;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.04);
}
@media (max-width: 920px) {
  .court-frame { border-radius: var(--r-lg); border-right: 1px solid var(--line); }
}
.court-frame__shadow {
  position: absolute; inset: -20px;
  background: radial-gradient(60% 50% at 50% 60%, rgba(204,255,0,0.18), transparent 70%);
  filter: blur(40px); z-index: -1;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }

.court-frame__hud {
  position: absolute; top: 14px; left: 14px; right: 14px;
  display: flex; gap: 8px; align-items: center;
  z-index: 2;
}
.hud-tag {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em;
  padding: 4px 10px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
}
.hud-tag--live {
  display: inline-flex; align-items: center; gap: 6px;
  border-color: rgba(255,107,87,0.4); color: var(--warn);
}
.hud-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--warn); animation: dotPulse 1.2s infinite; }
.hud-tag.mono { color: var(--volt); border-color: rgba(204,255,0,0.3); }

.court-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.ball-arc {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  filter: drop-shadow(0 0 6px var(--volt));
}
#ball { filter: drop-shadow(0 0 8px rgba(255,255,255,0.7)); }
.landing-mark { opacity: 0; transform-origin: center; }
.landing-mark.is-on { animation: markPop 0.8s var(--ease-out) forwards; }
@keyframes markPop {
  0% { opacity: 0; transform: translate(var(--mx, 250px), var(--my, 410px)) scale(0.4); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translate(var(--mx, 250px), var(--my, 410px)) scale(1); }
}

.court-frame__readout {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.readout-row { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.readout-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.15em; color: var(--ink-3);
}
.readout-value {
  font-size: 14px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.readout-value--in { color: var(--volt); }
.readout-value--out { color: var(--clay); text-shadow: 0 0 8px rgba(199,90,63,0.4); }

.scroll-hint {
  position: absolute; bottom: clamp(16px, 3vw, 40px); left: var(--pad);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em;
  color: var(--ink-3);
  z-index: 3;
}
.scroll-hint__bar {
  width: 60px; height: 1px; background: var(--ink-4);
  position: relative; overflow: hidden;
}
.scroll-hint__bar::after {
  content: ""; position: absolute; inset: 0; width: 30%;
  background: var(--volt);
  animation: scrollBar 2.4s ease-in-out infinite;
}
@keyframes scrollBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(330%); } }

/* -------- 10. stats band -------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.stats__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 70px) var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 60px);
}
@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
}
.stat {}
.stat__num {
  font-family: var(--mono);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--volt);
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 6px;
  font-variant-numeric: tabular-nums;
}
.stat__unit {
  font-size: 0.4em;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.stat__label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

/* -------- 11. line-call section -------- */
.section--linecall {
  padding-top: clamp(100px, 12vw, 200px);
}
.linecall-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 50px);
}
.mode-switch {
  display: inline-flex;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  align-self: start;
  max-width: 100%;
  overflow: hidden;
}
.mode-switch__btn {
  padding: 10px 22px;
  border-radius: 999px;
  text-align: left;
  display: flex; flex-direction: column; gap: 2px;
  transition: all 0.3s var(--ease-out);
  color: var(--ink-2);
  position: relative;
}
.mode-switch__btn.is-active {
  background: var(--volt);
  color: #0B0B0B;
  box-shadow: 0 4px 16px -4px rgba(204,255,0,0.5);
}
.mode-switch__title { font-size: 14px; font-weight: 600; }
.mode-switch__desc { font-size: 11px; opacity: 0.7; font-family: var(--mono); }

.court-stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #0e0e0e, #060606);
  overflow: hidden;
  aspect-ratio: 800 / 480;
}
.court-stage__svg { width: 100%; height: 100%; }
.court-stage::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 100%, rgba(204,255,0,0.08), transparent 70%);
  pointer-events: none;
}
.cam-switch {
  position: absolute; top: 16px; right: 16px;
  display: flex; gap: 6px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px;
}
.cam-switch__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 8px;
  color: var(--ink-3);
  transition: all 0.25s;
}
.cam-switch__btn.is-active {
  background: var(--volt);
  color: #0B0B0B;
}
.cam-switch__btn:not(.is-active):hover { color: var(--volt); }
.cam-switch__tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 9px;
  letter-spacing: 0.18em;
  background: #0B0B0B;
  border: 1px solid #0B0B0B;
  border-radius: 999px;
  color: var(--volt);
  font-weight: 700;
}
.cam-switch__btn:not(.is-active) .cam-switch__tag {
  background: rgba(204,255,0,0.12);
  border-color: rgba(204,255,0,0.3);
  color: var(--volt);
  font-weight: 600;
}

.court-stage__hud {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.hud-stat { display: flex; flex-direction: column; gap: 2px; }
.hud-stat__label { font-size: 10px; color: var(--ink-3); letter-spacing: 0.15em; text-transform: uppercase; }
.hud-stat__val { font-size: 16px; font-weight: 600; color: var(--ink); }

.feature-bullets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 920px) { .feature-bullets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feature-bullets { grid-template-columns: 1fr; } }
.feature-bullets li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.015);
  transition: border-color 0.3s, background 0.3s;
}
.feature-bullets li:hover { border-color: var(--volt); background: rgba(204,255,0,0.02); }
.bullet-num {
  display: inline-block;
  font-size: 11px; color: var(--volt);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.feature-bullets h3 { font-family: var(--display); font-weight: 500; font-size: 22px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-bullets p { font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* -------- 12. AI Coach section -------- */
.aicoach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 920px) { .aicoach-grid { grid-template-columns: 1fr; } }

.phone-mockup {
  position: relative;
  width: 100%; max-width: 320px;
  aspect-ratio: 9 / 19;
  border-radius: 38px;
  background: linear-gradient(180deg, #1a1a1a, #0c0c0c);
  border: 1px solid var(--line-2);
  padding: 14px;
  margin: 0 auto;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8), inset 0 0 0 6px #000;
}
.phone-mockup::before {
  content: ""; position: absolute; inset: -30px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(204,255,0,0.15), transparent 70%);
  filter: blur(40px); z-index: -1;
}
.phone-mockup__notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 24px;
  background: #000; border-radius: 999px;
  z-index: 2;
}
.phone-mockup__screen {
  width: 100%; height: 100%;
  background: #0B0B0B;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  padding: 50px 18px 24px;
}
.screen-card {
  display: flex; flex-direction: column; gap: 16px;
}
.screen-card__head {
  display: flex; justify-content: space-between; align-items: baseline;
}
.screen-card__title { font-size: 12px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; }
.screen-card__date { font-size: 11px; color: var(--ink-3); }
.screen-card__score {
  display: flex; align-items: baseline; gap: 4px;
}
.big-score {
  font-size: 56px; font-weight: 700; color: var(--volt);
  letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.big-score__unit { font-size: 16px; color: var(--ink-3); font-family: var(--mono); }
.radar { width: 100%; height: auto; max-width: 220px; margin: 8px auto; display: block; }
.radar__data {
  transform-origin: center;
  animation: radarDraw 1.4s var(--ease-out);
}
@keyframes radarDraw {
  0% { transform: scale(0.1); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.screen-card__notes { display: flex; flex-direction: column; gap: 10px; }
.note {
  font-size: 12px; color: var(--ink-2);
  display: flex; gap: 8px; align-items: flex-start;
  padding: 10px 12px;
  background: var(--bg-2);
  border-radius: var(--r-sm);
  border-left: 2px solid var(--volt);
}
.note__tag {
  display: inline-block;
  flex-shrink: 0;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--volt);
  color: #0B0B0B;
  font-weight: 600;
}
.note__tag--warn { background: var(--warn); color: #fff; }

.aicoach-side { display: flex; flex-direction: column; gap: 28px; }
.volty-card {
  display: flex; align-items: center; gap: 20px;
  padding: 20px;
  border: 1px solid var(--volt);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(204,255,0,0.06), rgba(204,255,0,0));
  position: relative; overflow: hidden;
}
.volty-card::before {
  content: ""; position: absolute; top: -50%; right: -30%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, var(--volt-soft), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
}
.volty {
  width: 80px; height: 80px; flex-shrink: 0;
  animation: voltyBob 4s ease-in-out infinite;
}
@keyframes voltyBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.volty__eye { animation: voltyBlink 5s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes voltyBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
.volty-bubble { flex: 1; }
.volty-bubble__name {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  font-size: 14px; color: var(--volt); margin-bottom: 6px;
}
.volty-bubble p { font-size: 14px; color: var(--ink); line-height: 1.6; }

.aicoach-list { display: grid; gap: 16px; }
.aicoach-list li {
  display: flex; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.aicoach-list li:last-child { border-bottom: none; }
.aicoach-list h3 { font-family: var(--display); font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.aicoach-list p { font-size: 13px; color: var(--ink-2); }

/* -------- 13. training plan / notebook (3D fold) -------- */
.notebook {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: linear-gradient(180deg, #ECEAE0, #DDD8C4);
  color: #1a1a1a;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.6),
              inset 0 1px 0 rgba(255,255,255,0.6);
  position: relative;
  perspective: 2200px;
  transform-style: preserve-3d;
  transform: rotateX(2deg);
  transition: transform 0.8s var(--ease-out);
}
.notebook:hover { transform: rotateX(0deg); }
@media (max-width: 720px) { .notebook { grid-template-columns: 1fr; perspective: none; transform: none; } }

/* clay book spine */
.notebook::before {
  content: ""; position: absolute;
  top: 0; bottom: 0; left: 50%; width: 4px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(199,90,63,0.45) 12%,
    rgba(199,90,63,0.55) 50%,
    rgba(199,90,63,0.45) 88%,
    transparent 100%);
  transform: translateX(-2px);
  z-index: 4;
  box-shadow: 0 0 12px rgba(199,90,63,0.35), inset 0 0 0 1px rgba(0,0,0,0.15);
}
@media (max-width: 720px) { .notebook::before { display: none; } }

.notebook__page {
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 27px,
    rgba(0,0,0,0.06) 27px,
    rgba(0,0,0,0.06) 28px
  );
  transform-origin: right center;
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}
.notebook__page--left {
  transform: rotateY(-2deg);
  box-shadow: 6px 0 24px -8px rgba(0,0,0,0.18);
}
.notebook:hover .notebook__page--left {
  transform: rotateY(-9deg);
  box-shadow: 16px 0 36px -8px rgba(0,0,0,0.28);
}
.notebook__page--right {
  background-color: #E5E1D2;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 27px,
    rgba(0,0,0,0.06) 27px,
    rgba(0,0,0,0.06) 28px
  );
  transform-origin: left center;
}

/* peeling top-right corner of right page */
.notebook__page--right::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 28px; height: 28px;
  background:
    linear-gradient(225deg,
      #DDD8C4 46%,
      rgba(0,0,0,0.18) 49%,
      transparent 52%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  filter: drop-shadow(-2px 2px 3px rgba(0,0,0,0.18));
  transition: width 0.5s var(--ease-out), height 0.5s var(--ease-out);
  pointer-events: none;
}
.notebook:hover .notebook__page--right::after {
  width: 60px; height: 60px;
}
.notebook__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
  font-size: 11px;
  color: rgba(26,26,26,0.55);
  letter-spacing: 0.1em;
}
.notebook__chip {
  padding: 4px 10px;
  border: 1px solid rgba(26,26,26,0.2);
  border-radius: 999px;
  font-size: 11px;
}
.notebook__chip--volt {
  background: var(--volt); color: #0B0B0B; border-color: var(--volt);
  font-weight: 600;
}
.notebook__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.notebook__title .italic { color: #2a4d12; }
.notebook__sub { font-size: 14px; color: rgba(26,26,26,0.7); margin-bottom: 24px; }
.task-list { display: flex; flex-direction: column; gap: 14px; }
.task {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px;
}
.task__check {
  width: 18px; height: 18px; border-radius: 4px;
  border: 1.5px solid rgba(26,26,26,0.4);
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s var(--ease-out);
}
.task--done .task__check {
  background: var(--volt);
  border-color: var(--volt);
}
.task--done .task__check::after {
  content: ""; position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 10px;
  border-right: 2px solid #0B0B0B;
  border-bottom: 2px solid #0B0B0B;
  transform: rotate(45deg);
}
.task--done span:last-child {
  position: relative;
  color: rgba(26,26,26,0.5);
}
.task--done span:last-child::after {
  content: ""; position: absolute; top: 50%; left: 0; right: 0;
  height: 1.5px; background: #2a4d12;
}
.notebook__metric {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 18px 0 12px;
  font-size: 18px;
}
.notebook__metric .volt { color: #2a4d12; font-weight: 700; }
.notebook__bar {
  height: 6px; background: rgba(26,26,26,0.1); border-radius: 999px; overflow: hidden;
}
.notebook__bar-fill {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--volt-2), var(--volt));
  width: var(--w, 0%);
  transition: width 1.2s var(--ease-out);
}
.notebook__hint { font-size: 12px; color: rgba(26,26,26,0.6); margin-top: 10px; }

/* -------- 13.5. playmate section -------- */
.section--playmate {
  padding-top: clamp(100px, 12vw, 200px);
}
.section__title--playmate {
  font-size: clamp(48px, 8vw, 110px);
}
.playmate-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(40px, 5vw, 70px);
  min-height: 480px;
}
.playmate-stage > .pin-map {
  border-radius: var(--r-lg);
  height: 100%;
}
@media (max-width: 920px) {
  .playmate-stage {
    grid-template-columns: 1fr;
  }
}

/* city map */
.pin-map {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #0e0e0e, #060606);
  overflow: hidden;
  min-height: 480px;
}
.pin-map__grid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.pin-map__line {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  animation: matchLineDraw 2.4s ease-out forwards;
}
@keyframes matchLineDraw {
  from { stroke-dashoffset: 200; opacity: 0; }
  to   { stroke-dashoffset: 0; opacity: 1; }
}
.pin-map::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 40% at 50% 55%, rgba(204,255,0,0.12), transparent 70%);
  pointer-events: none;
}

/* court icon pins (打卡过的球场) */
.court-pin {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  display: inline-grid; place-items: center;
  width: 26px; height: 26px;
  border: 1px solid rgba(204,255,0,0.4);
  border-radius: 6px;
  color: var(--volt);
  background: rgba(11,11,11,0.7);
  z-index: 2;
  opacity: 0.7;
}

/* player pins */
.pin {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: pinAppear 0.7s var(--ease-out) backwards;
}
.pin:nth-child(7)  { animation-delay: 0.1s; }
.pin:nth-child(8)  { animation-delay: 0.25s; }
.pin:nth-child(9)  { animation-delay: 0.4s; }
.pin:nth-child(10) { animation-delay: 0.55s; }
.pin:nth-child(11) { animation-delay: 0.7s; }
.pin:nth-child(12) { animation-delay: 0.85s; }
@keyframes pinAppear {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.pin__avatar {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  background: #2a2a2a;
  color: var(--ink);
  border: 1.5px solid var(--line-2);
  position: relative;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.6);
}
.pin__avatar[data-tone="a"] { background: linear-gradient(135deg, #2d3a1a, #4a5b22); border-color: #6b8a30; color: #d8f088; }
.pin__avatar[data-tone="b"] { background: linear-gradient(135deg, #1a2c3a, #224a5b); border-color: #3070a0; color: #88d8f0; }
.pin__avatar[data-tone="c"] { background: linear-gradient(135deg, #3a2c1a, #5b4a22); border-color: #a07030; color: #f0c888; }
.pin__avatar[data-tone="d"] { background: linear-gradient(135deg, #2a1a3a, #4a225b); border-color: #8030a0; color: #d088f0; }
.pin__avatar[data-tone="e"] {
  background: var(--volt); color: #0B0B0B;
  border: 2px solid #0B0B0B;
  box-shadow: 0 0 0 3px var(--volt), 0 8px 20px -6px rgba(204,255,0,0.6);
}
.pin__avatar--me {
  background: #fff; color: #0B0B0B;
  border: 2px solid #0B0B0B;
  box-shadow: 0 0 0 3px #fff, 0 8px 20px -6px rgba(255,255,255,0.4);
}
.pin__pulse {
  position: absolute; top: 0; left: 50%;
  width: 38px; height: 38px;
  border: 1.5px solid rgba(204,255,0,0.5);
  border-radius: 50%;
  transform: translate(-50%, 0) scale(1);
  animation: pinPulse 2.4s ease-out infinite;
  z-index: -1;
}
.pin__pulse--match {
  border-color: rgba(204,255,0,0.9);
  border-width: 2px;
  animation-duration: 1.6s;
}
@keyframes pinPulse {
  0%   { transform: translate(-50%, 0) scale(1);   opacity: 0.8; }
  100% { transform: translate(-50%, 0) scale(2.4); opacity: 0; }
}
.pin--me .pin__pulse { border-color: rgba(255,255,255,0.5); }
.pin__label {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  background: rgba(11,11,11,0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.pin__label--match {
  color: #0B0B0B;
  background: var(--volt);
  border-color: var(--volt);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* match card (right) */
.match-card {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #161616, #0a0a0a);
  padding: clamp(20px, 3vw, 28px);
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
  position: relative; overflow: hidden;
}
.match-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 100% 0%, rgba(204,255,0,0.1), transparent 60%);
  pointer-events: none;
}
.match-card > * { position: relative; }
.match-card__head {
  display: flex; justify-content: space-between; align-items: center;
}
.match-card__tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: 0.18em;
  padding: 4px 10px;
  border: 1px solid var(--volt);
  color: var(--volt);
  border-radius: 999px;
  background: rgba(204,255,0,0.05);
}
.match-card__tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--volt);
  animation: dotPulse 1.4s ease-in-out infinite;
}
.match-card__dist {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}
.match-card__profile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}
.match-card__avatar {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  font-family: var(--display); font-weight: 600; font-size: 22px;
  background: var(--volt); color: #0B0B0B;
  border: 2px solid #0B0B0B;
  box-shadow: 0 0 0 3px var(--volt);
}
.match-card__profile h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.match-card__profile h3 .italic { color: var(--volt); font-style: italic; }
.match-card__meta {
  font-size: 12px;
  color: var(--ink-3);
}
.match-card__match-chip {
  align-self: start;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--volt); color: #0B0B0B;
  border-radius: 999px;
  white-space: nowrap;
}
.match-card__rows {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.match-card__rows li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.match-card__rows li:last-child { border-bottom: none; }
.mr-key { color: var(--ink-3); letter-spacing: 0.04em; }
.mr-val { color: var(--ink); text-align: right; }
.mr-val strong { color: var(--volt); font-weight: 600; }
.match-card__actions {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
}
.match-card__hint {
  font-size: 11px;
  color: var(--ink-4);
  text-align: center;
  letter-spacing: 0.08em;
}

/* feature bullets — playmate variant */
.feature-bullets--playmate { margin-top: 0; }

/* duo / quad-feature layouts */
.duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.quad-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(160px, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.quad-feature__hero {
  grid-row: 1 / span 3;
  grid-column: 1;
  padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column;
  position: relative;
  background: linear-gradient(155deg, rgba(204,255,0,0.07), var(--bg-1) 60%);
  border: 1px solid var(--volt);
}
.quad-feature__hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 40% at 80% 20%, rgba(204,255,0,0.15), transparent 70%);
  pointer-events: none;
}
.quad-feature__hero h3 {
  font-family: var(--display);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.quad-feature__hero p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.quad-feature__hero .quad-mock {
  margin-top: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 18px;
  background: var(--bg-2);
  display: grid; gap: 10px;
}
.quad-feature__hero .quad-mock__row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.quad-feature__hero .quad-mock__row:last-child { border-bottom: none; }
.quad-feature__hero .quad-mock__key { color: var(--ink-3); letter-spacing: 0.06em; }
.quad-feature__hero .quad-mock__val { font-family: var(--mono); color: var(--volt); font-weight: 600; }

.quad-feature .quad-mini {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 8px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.quad-feature .quad-mini:hover {
  border-color: var(--volt);
  transform: translateY(-2px);
}
.quad-feature .quad-mini h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 6px 0 6px;
}
.quad-feature .quad-mini p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}
.quad-feature .quad-mini .bullet-num {
  margin: 0;
  font-size: 11px;
}
@media (max-width: 920px) {
  .quad-feature {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 14px;
  }
  .quad-feature__hero { grid-row: auto; grid-column: auto; }
}
@media (max-width: 720px) {
  .duo { grid-template-columns: 1fr; }
}

/* -------- section kickers (ALL CAPS mono accents) -------- */
.section__kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 18px 0 10px;
}
.section__kicker__bar {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--volt);
  flex-shrink: 0;
}
.section__head--right .section__kicker { justify-content: flex-end; }
.section__head--right .section__kicker__bar { order: 2; }
.section__head--center .section__kicker { justify-content: center; }

/* -------- section background motifs -------- */
/* training: chalk grid */
.section--training {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(199,90,63,0.05), transparent 60%),
    repeating-linear-gradient(
      to right,
      transparent 0 48px,
      rgba(232,226,212,0.025) 48px 49px
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0 48px,
      rgba(232,226,212,0.025) 48px 49px
    );
  position: relative;
}
.section--training::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199,90,63,0.4), transparent);
}

/* match (网球生活): huge watermark */
.section--match {
  position: relative;
  overflow: hidden;
}
.section--match::before {
  content: "TENNIS";
  position: absolute;
  bottom: -0.18em; left: -0.05em;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(180px, 26vw, 460px);
  line-height: 0.85;
  color: rgba(204,255,0,0.04);
  letter-spacing: -0.05em;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  font-feature-settings: "kern", "ss01";
}
.section--match > * { position: relative; z-index: 1; }

/* tech: blueprint grid */
.section--tech {
  background-image:
    linear-gradient(rgba(204,255,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,255,0,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: -1px -1px;
  position: relative;
}
.section--tech::before {
  content: "+";
  position: absolute;
  top: 80px; right: 80px;
  font-family: var(--mono);
  font-size: 18px;
  color: rgba(204,255,0,0.15);
  letter-spacing: 0;
}
.section--tech::after {
  content: "+";
  position: absolute;
  bottom: 80px; left: 80px;
  font-family: var(--mono);
  font-size: 18px;
  color: rgba(204,255,0,0.15);
}

/* -------- 14. trio cards (match / circles / coach) -------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 920px) { .trio { grid-template-columns: 1fr; } }
.trio-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
  transform-style: preserve-3d;
}
.trio-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(135deg, transparent 40%, var(--volt) 50%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff,#fff) content-box, linear-gradient(#fff,#fff);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}
.trio-card:hover { border-color: transparent; }
.trio-card:hover::before { opacity: 0.7; }
.trio-card__icon {
  color: var(--volt);
  margin-bottom: 28px;
  transition: transform 0.5s var(--ease-out);
}
.trio-card:hover .trio-card__icon { transform: rotate(8deg) scale(1.05); }
.trio-card h3 { font-family: var(--display); font-size: 28px; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.01em; }
.trio-card p { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 24px; }
.trio-card__cta {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.15em; color: var(--volt);
  transition: letter-spacing 0.3s;
}
.trio-card:hover .trio-card__cta { letter-spacing: 0.25em; }

/* -------- 15. plans -------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; } }
.plan {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  display: flex; flex-direction: column; gap: 20px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--ink-4); }
.plan--featured {
  background: linear-gradient(180deg, rgba(204,255,0,0.05), var(--bg-1));
  border-color: var(--volt);
  box-shadow: 0 20px 50px -20px rgba(204,255,0,0.3);
}
.plan__ribbon {
  position: absolute; top: -12px; left: 24px;
  padding: 4px 12px;
  background: var(--volt); color: #0B0B0B;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  border-radius: 999px;
}
.plan__head { display: flex; justify-content: space-between; align-items: baseline; }
.plan__name { font-family: var(--display); font-style: italic; font-size: 24px; }
.plan--featured .plan__name { color: var(--volt); }
.plan__price { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.plan__price-unit { font-size: 13px; color: var(--ink-3); font-family: var(--mono); margin-left: 2px; }
.plan__list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan__list li {
  font-size: 14px; color: var(--ink-2);
  padding-left: 20px; position: relative;
}
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--volt); opacity: 0.6;
}
.plan__list strong { color: var(--volt); font-weight: 600; }
.plans__foot {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--mono);
}

/* -------- 16. tech section -------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: 60px;
}
@media (max-width: 920px) { .tech-grid { grid-template-columns: 1fr; } }
.tech-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  position: relative;
  overflow: hidden;
}
.tech-card::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0;
  width: 120px;
  background: radial-gradient(60% 60% at 100% 50%, rgba(204,255,0,0.08), transparent 70%);
  pointer-events: none;
}
.tech-card h3 {
  font-size: 28px;
  color: var(--volt);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.tech-card__sub {
  font-size: 13px; color: var(--ink-3); margin-bottom: 18px;
  letter-spacing: 0.08em;
}
.tech-card p { font-size: 14px; color: var(--ink-2); line-height: 1.7; }

.privacy-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
@media (max-width: 920px) { .privacy-row { grid-template-columns: 1fr; } }
.privacy-row li {}
.privacy-row__num {
  display: block;
  font-size: 12px; color: var(--volt);
  letter-spacing: 0.15em; margin-bottom: 10px;
}
.privacy-row strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.privacy-row p { font-size: 13px; color: var(--ink-2); }

/* -------- 17. download -------- */
.section--download {
  padding-bottom: clamp(120px, 14vw, 200px);
}
.download-title { font-size: clamp(40px, 7vw, 96px); }
.download-title > span { display: inline-block; white-space: nowrap; }
.download-stage {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
  margin-top: 40px;
}
.download-stage--duo {
  grid-template-columns: 1fr 1fr;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) { .download-stage, .download-stage--duo { grid-template-columns: 1fr; } }
.download-foot {
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}

/* coming soon banner above dl-cards */
.coming-soon-banner {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 24px;
  margin: 12px auto 28px;
  max-width: 720px;
  border: 1px solid var(--clay);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(199,90,63,0.10), rgba(11,11,11,0.5));
  position: relative; overflow: hidden;
  flex-wrap: wrap;
}
.coming-soon-banner__pulse {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 0 rgba(199,90,63,0.6);
  animation: soonPulse 1.6s ease-in-out infinite;
}
.coming-soon-banner__copy {
  flex: 1; min-width: 200px;
  display: flex; flex-direction: column; gap: 2px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.coming-soon-banner__copy strong {
  color: var(--clay);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 14px;
}
.coming-soon-banner .cta { flex-shrink: 0; }
@media (max-width: 720px) {
  .coming-soon-banner { border-radius: var(--r-md); }
}

/* dl-card coming-soon variant */
.dl-card--coming { opacity: 0.85; }
.dl-card--coming .dl-card__qr {
  position: relative;
}
.dl-card__veil {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(11,11,11,0.7);
  border-radius: inherit;
  color: var(--volt);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  backdrop-filter: blur(2px);
}
.dl-card--coming button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  border-style: dashed;
}
.dl-card--coming button[disabled]:hover {
  border-color: var(--line-2);
  color: var(--ink-3);
  background: rgba(255,255,255,0.02);
}
.dl-card {
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.dl-card:hover { border-color: var(--volt); transform: translateY(-4px); }
.dl-card--featured {
  background: linear-gradient(180deg, rgba(204,255,0,0.05), var(--bg-1));
  border-color: var(--volt);
}
.dl-card__plat { font-size: 12px; letter-spacing: 0.18em; color: var(--volt); }
.dl-card__qr {
  padding: 12px;
  background: #fff; border-radius: var(--r-md);
  display: inline-block;
}
.dl-card__qr img { display: block; width: 160px; height: 160px; }
.dl-card__hint { font-size: 13px; color: var(--ink-3); }
.dl-meta { padding: 30px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.dl-meta p { font-size: 14px; color: var(--ink-2); }
.email-row { display: flex; gap: 8px; flex-wrap: wrap; }
.email-row input {
  flex: 1; min-width: 180px;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink); font-size: 14px;
  transition: border-color 0.25s;
}
.email-row input:focus { outline: none; border-color: var(--volt); }
.email-row input::placeholder { color: var(--ink-4); }
.dl-meta__small { font-size: 11px; color: var(--ink-4); font-family: var(--mono); }

.download-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
  margin: 12px auto 28px;
  max-width: 840px;
  border: 1px solid rgba(204,255,0,0.34);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(204,255,0,0.10), rgba(11,11,11,0.56)),
    rgba(17,17,17,0.86);
  box-shadow: 0 22px 60px rgba(0,0,0,0.26);
}
.download-banner__pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 0 rgba(204,255,0,0.6);
  animation: soonPulse 1.6s ease-in-out infinite;
}
.download-banner__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: 13px;
  color: var(--ink-2);
}
.download-banner__copy strong {
  color: var(--volt);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.channel-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px auto 0;
  max-width: 860px;
}
.channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  color: var(--ink-2);
  font-size: 12px;
}
.channel-pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-4);
}
.channel-pill[data-status="available"] {
  border-color: rgba(204,255,0,0.42);
  color: var(--ink);
}
.channel-pill[data-status="available"]::before {
  background: var(--volt);
  box-shadow: 0 0 16px rgba(204,255,0,0.5);
}
.channel-pill[data-status="reviewing"] {
  border-color: rgba(199,90,63,0.44);
}
.channel-pill[data-status="reviewing"]::before { background: var(--clay); }
.dl-card--active {
  background: linear-gradient(180deg, rgba(204,255,0,0.06), rgba(17,17,17,0.95));
  border-color: rgba(204,255,0,0.52);
}
.dl-card--active .dl-card__qr { box-shadow: 0 0 0 1px rgba(204,255,0,0.16), 0 20px 48px rgba(204,255,0,0.10); }
.dl-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(204,255,0,0.11);
  border: 1px solid rgba(204,255,0,0.32);
  color: var(--volt);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.download-unified {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  max-width: 980px;
  margin: 42px auto 0;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(204,255,0,0.38);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 14% 20%, rgba(204,255,0,0.13), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(17,17,17,0.90));
  box-shadow: 0 34px 90px rgba(0,0,0,0.34);
}
.download-unified__signal {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(204,255,0,0.34);
  border-radius: 50%;
  position: relative;
}
.download-unified__pulse {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 0 rgba(204,255,0,0.62);
  animation: soonPulse 1.6s ease-in-out infinite;
}
.download-unified__line {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(204,255,0,0.24);
  animation: ballSpin 14s linear infinite;
}
.download-unified__copy {
  display: grid;
  gap: 12px;
}
.download-unified__copy h3 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 540;
  letter-spacing: 0;
}
.download-unified__copy p {
  color: var(--ink-2);
  font-size: 14px;
}
.download-unified__action {
  display: grid;
  justify-items: center;
  gap: 12px;
}
.cta--download {
  min-width: 180px;
  justify-content: center;
  font-weight: 800;
}
.channel-strip--compact {
  justify-content: flex-start;
  margin: 6px 0 0;
}

/* download fallback page */
.download-error-shell {
  min-height: calc(100vh - 100px);
  display: grid;
  align-items: center;
}
.download-error {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-width: 0;
}
.download-error__copy {
  display: grid;
  gap: 22px;
  min-width: 0;
}
.download-error__panel {
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(199,90,63,0.42);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 80% 10%, rgba(199,90,63,0.18), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(17,17,17,0.92));
  box-shadow: 0 34px 90px rgba(0,0,0,0.38);
}
.error-channel-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.error-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.035);
}
.error-channel span {
  color: var(--ink-2);
  font-size: 13px;
}
.error-channel strong {
  color: var(--ink);
  font-size: 13px;
}
.error-channel[data-status="available"] {
  border-color: rgba(204,255,0,0.34);
}
.error-channel[data-status="available"] strong {
  color: var(--volt);
}
.error-channel[data-status="reviewing"] {
  border-color: rgba(199,90,63,0.34);
}
.error-channel[data-status="reviewing"] strong {
  color: var(--chalk);
}

/* -------- 17b. download routing pages -------- */
.download-page .download-nav,
.download-page .download-shell {
  position: relative;
  z-index: 5;
}
.download-page {
  min-height: 100vh;
}
.download-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: min(var(--max), calc(100vw - var(--pad) * 2));
  margin: 0 auto;
  padding: 26px 0;
}
.download-shell {
  width: min(var(--max), calc(100vw - var(--pad) * 2));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 96px) 0 clamp(80px, 10vw, 140px);
}
.download-route-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 180px);
}
.download-route-hero--single {
  max-width: 980px;
  margin: 0 auto;
}
.download-route-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.download-route-title {
  font-size: clamp(50px, 8vw, 112px);
  line-height: 0.95;
}
.download-route-card {
  border: 1px solid rgba(204,255,0,0.28);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 20% 0%, rgba(204,255,0,0.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(17,17,17,0.92));
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 34px 90px rgba(0,0,0,0.42);
}
.route-card__topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.route-card__eyebrow {
  color: var(--volt);
  font-size: 12px;
  letter-spacing: 0.18em;
}
.route-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(204,255,0,0.11);
  border: 1px solid rgba(204,255,0,0.28);
  color: var(--volt);
  font-size: 12px;
  white-space: nowrap;
}
.download-route-card[data-state="reviewing"] .route-card__status,
.download-route-card[data-state="coming"] .route-card__status {
  background: rgba(199,90,63,0.12);
  border-color: rgba(199,90,63,0.36);
  color: var(--chalk);
}
.download-route-card h2 {
  font-family: var(--display);
  font-weight: 520;
  line-height: 1.05;
  letter-spacing: 0;
  font-size: clamp(32px, 4.8vw, 60px);
  margin-bottom: 18px;
}
.download-route-card p {
  color: var(--ink-2);
  font-size: clamp(15px, 1.6vw, 18px);
}

.download-open-shell {
  min-height: calc(100vh - 92px);
  display: grid;
  align-items: center;
  padding-top: clamp(28px, 5vw, 74px);
}
.wechat-download-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: clamp(540px, 70vh, 680px);
  overflow: hidden;
  padding: clamp(28px, 6vw, 76px);
  border: 1px solid rgba(204,255,0,0.42);
  border-radius: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(112deg, rgba(204,255,0,0.12), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(13,13,13,0.94));
  box-shadow: 0 34px 100px rgba(0,0,0,0.48), inset 0 0 0 1px rgba(255,255,255,0.03);
}
.wechat-download-card::before {
  content: "";
  position: absolute;
  inset: 18px 28px auto 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,255,0,0.62), transparent);
}
.wechat-download-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(204,255,0,0.025) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, rgba(204,255,0,0.08), transparent 28%, transparent 70%, rgba(204,255,0,0.05));
  opacity: 0.8;
}
.wechat-download-card__court,
.wechat-download-card__copy,
.wechat-download-action {
  position: relative;
  z-index: 2;
}
.wechat-download-card__court {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.62;
}
.wechat-court-line {
  position: absolute;
  height: 1px;
  width: 88%;
  left: 7%;
  background: rgba(204,255,0,0.24);
  transform-origin: center;
}
.wechat-court-line--a {
  top: 21%;
  transform: rotate(-1deg);
}
.wechat-court-line--b {
  top: 58%;
  left: -10%;
  width: 124%;
  transform: rotate(-17deg);
}
.wechat-court-line--c {
  top: 48%;
  left: 36%;
  width: 82%;
  transform: rotate(78deg);
}
.wechat-court-ball {
  position: absolute;
  left: clamp(22px, 4vw, 54px);
  top: clamp(24px, 5vw, 64px);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 22px rgba(204,255,0,0.62);
}
.wechat-court-ball::before,
.wechat-court-ball::after {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  width: 9px;
  border: 1px solid rgba(255,255,255,0.82);
  border-top: 0;
  border-bottom: 0;
}
.wechat-court-ball::before {
  left: 1px;
  border-radius: 100% 0 0 100%;
  transform: rotate(-28deg);
}
.wechat-court-ball::after {
  right: 1px;
  border-radius: 0 100% 100% 0;
  transform: rotate(-28deg);
}
.wechat-download-card__copy {
  display: grid;
  gap: 18px;
  max-width: 780px;
}
.wechat-download-card__eyebrow {
  color: var(--volt);
  font-size: 12px;
  letter-spacing: 0.22em;
}
.wechat-download-card__title {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(50px, 8vw, 104px);
  font-weight: 560;
  line-height: 0.96;
  letter-spacing: 0;
}
.wechat-download-card__lede {
  max-width: 720px;
  color: var(--ink-2);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.75;
}
.wechat-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
  list-style: none;
  counter-reset: none;
}
.wechat-step-list li {
  display: grid;
  gap: 6px;
  min-height: 126px;
  padding: 16px;
  border: 1px solid rgba(204,255,0,0.22);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.035);
  backdrop-filter: blur(8px);
}
.wechat-step-list__num {
  color: var(--volt);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.wechat-step-list strong {
  color: var(--ink);
  font-size: 15px;
}
.wechat-step-list span:last-child {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.5;
}
.wechat-download-action {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-width: 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(204,255,0,0.30);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(204,255,0,0.14), transparent 42%),
    rgba(12,12,12,0.66);
  box-shadow: 0 24px 72px rgba(0,0,0,0.34);
  text-align: center;
}
.wechat-menu-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 74px;
  height: 42px;
  border: 1px solid rgba(204,255,0,0.36);
  border-radius: 999px;
  background: rgba(204,255,0,0.08);
}
.wechat-menu-hint span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 12px rgba(204,255,0,0.48);
}
.wechat-download-action p {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.7;
}
.wechat-download-action .download-foot {
  margin-top: 0;
}
.route-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}
.route-card__meta div {
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.035);
}
.route-card__meta dt {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 3px;
}
.route-card__meta dd {
  color: var(--ink);
  font-size: 14px;
}
.route-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.download-store-section {
  padding-top: clamp(40px, 7vw, 90px);
}
.download-store-section__head {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-bottom: 24px;
}
.download-store-section__head h2 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 520;
  letter-spacing: 0;
}
.download-store-section__head p {
  color: var(--ink-2);
  font-size: 14px;
}
.store-status-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.store-status-card {
  position: relative;
  min-height: 164px;
  padding: 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: rgba(17,17,17,0.88);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
}
.store-status-card:hover {
  transform: translateY(-3px);
  border-color: rgba(204,255,0,0.4);
  background: rgba(22,22,22,0.94);
}
.store-status-card[data-active="true"] {
  border-color: var(--volt);
  box-shadow: 0 0 0 1px rgba(204,255,0,0.12);
}
.store-status-card__brand {
  color: var(--ink-3);
  font-size: 12px;
}
.store-status-card strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 540;
  letter-spacing: 0;
  line-height: 1.16;
}
.store-status-card__meta {
  margin-top: auto;
  color: var(--ink-3);
  font-size: 12px;
}
.store-status-card__pill {
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.store-status-card[data-status="available"] .store-status-card__pill {
  background: rgba(204,255,0,0.12);
  color: var(--volt);
}
.store-status-card[data-status="reviewing"] .store-status-card__pill {
  background: rgba(199,90,63,0.13);
  color: var(--chalk);
}

@media (max-width: 980px) {
  .download-route-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .download-unified,
  .download-error,
  .wechat-download-card {
    grid-template-columns: 1fr;
  }
  .wechat-download-card {
    min-height: auto;
  }
  .wechat-download-action {
    justify-items: stretch;
  }
  .download-unified__signal {
    width: 66px;
    height: 66px;
  }
  .download-unified__action {
    justify-items: stretch;
  }
  .store-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .download-banner {
    grid-template-columns: auto 1fr;
    border-radius: var(--r-lg);
  }
  .download-banner .cta {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
  .download-nav {
    width: min(var(--max), calc(100vw - 40px));
  }
  .download-shell {
    width: min(var(--max), calc(100vw - 40px));
    padding-top: 36px;
  }
  .route-card__meta {
    grid-template-columns: 1fr;
  }
  .store-status-grid {
    grid-template-columns: 1fr;
  }
  .wechat-download-card {
    padding: 24px 18px;
    border-radius: 24px;
  }
  .wechat-download-card__title {
    font-size: clamp(42px, 13vw, 64px);
  }
  .wechat-download-card__lede {
    font-size: 15px;
  }
  .wechat-step-list {
    grid-template-columns: 1fr;
  }
  .wechat-step-list li {
    min-height: 0;
  }
  .wechat-download-action {
    padding: 22px 16px;
  }
  .download-error .section__index {
    max-width: 100%;
    font-size: 10px;
    letter-spacing: 0.12em;
    overflow-wrap: anywhere;
  }
  .download-error__panel {
    padding: 22px 16px;
  }
  .error-channel {
    padding: 12px 14px;
  }
}

/* -------- 18. footer -------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: clamp(40px, 5vw, 80px) var(--pad);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 720px) { .footer { grid-template-columns: 1fr 1fr; } }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 20px; font-weight: 600;
  color: var(--volt);
}
.footer__brand-mark { display: block; flex-shrink: 0; }
.footer__tag { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.footer__col h4 { font-size: 12px; letter-spacing: 0.12em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 6px; }
.footer__col a { font-size: 13px; color: var(--ink-2); transition: color 0.2s; }
.footer__col a:hover { color: var(--volt); }
.footer__col--meta { text-align: right; }
.footer__col--meta p { font-size: 11px; color: var(--ink-4); }
@media (max-width: 720px) { .footer__col--meta { text-align: left; } }

/* -------- 19. reveal animations -------- */
[data-reveal] { opacity: 0; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); will-change: opacity, transform; }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="fade"] { transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* -------- 20. reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__title .word { transform: none !important; opacity: 1 !important; animation: none !important; }
  .grain, .scanlines, #court-telemetry { display: none !important; }
}

/* -------- 21. small/responsive tweaks -------- */
@media (max-width: 720px) {
  .nav__links { display: none; }
  .hero__title { font-size: clamp(48px, 12vw, 80px); }
  .court-frame__readout { grid-template-columns: repeat(2, 1fr); }
  .court-stage__hud { grid-template-columns: repeat(2, 1fr); }
  .scroll-hint { display: none; }
  .mode-switch__btn { padding: 9px 16px; }
  .mode-switch__title { font-size: 13px; }
  .mode-switch__desc { display: none; }
}

/* utility */
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
