/* DeltaPlay landing — Amicro chrome (G3 tokens cited, not cloned wholesale). Local only. */
:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #12141A;
  --bg-deep: #0C0E12;
  --bg-wash: #0D0D0D;
  --surface: #1C1F28;
  --card: #181818;
  --card-2: #20242E;
  --card-hover: #202020;
  --stage: #131313;
  --hero-well: #1C1F28;
  --ink: #EDEDED;
  --muted: #767676;
  --kicker: #A3A3A3;
  --lede: #C4C4C4;
  --faint: #3A3A3A;
  --line: rgba(255, 255, 255, 0.06);
  --inset: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --pill: rgba(255, 255, 255, 0.07);
  --pill-on: #2A2A2A;
  --pill-border: rgba(255, 255, 255, 0.1);
  --pill-fg: #D4D4D4;
  --pill-hover: rgba(255, 255, 255, 0.1);
  --catbar: #181818;
  --catbar-border: rgba(255, 255, 255, 0.05);
  --catbar-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  --teal: #7EB8B0;
  --teal-ink: #10201E;
  --teal-dim: rgba(126, 184, 176, 0.22);
  --magenta: #C4789A;
  --magenta-dim: rgba(196, 120, 154, 0.2);
  --sage: #A8B8B0;
  --warn: #C4892A;
  --warn-ink: #E0B56A;
  --ok: #3B7A58;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-card: none;
  --font: "Outfit", "Geist", "Inter", "Segoe UI", system-ui, sans-serif;
  --serif: "Outfit", "Geist", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", ui-monospace, Consolas, monospace;
  --light-bg: #F3F2EE;
  --light-card: #FBFBFA;
  --light-ink: #171717;
  --light-muted: #5C5C5C;
  --light-teal: #3D8A82;
  --light-line: rgba(23, 23, 23, 0.08);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #F3F5F6;
  --bg-deep: #EAEEEF;
  --bg-wash: #EAEEEF;
  --surface: #FFFFFF;
  --card: #FFFFFF;
  --card-2: #F7FAFA;
  --card-hover: #FFFFFF;
  --stage: #EEF2F3;
  --hero-well: #FFFFFF;
  --ink: #1E2428;
  --muted: #6B7378;
  --kicker: #E07A2A;
  --lede: #4A5258;
  --faint: #E2E6E8;
  --line: rgba(20, 28, 32, 0.08);
  --inset: none;
  --pill: #FFFFFF;
  --pill-on: #1E2428;
  --pill-border: rgba(20, 28, 32, 0.08);
  --pill-fg: #3A4248;
  --pill-hover: #F7FAFA;
  --catbar: #FFFFFF;
  --catbar-border: rgba(20, 28, 32, 0.08);
  --catbar-shadow: 0 8px 28px -16px rgba(20, 28, 32, 0.2);
  --teal: #2F9E94;
  --teal-ink: #F4FFFC;
  --teal-dim: rgba(47, 158, 148, 0.14);
  --magenta: #D4548A;
  --magenta-dim: rgba(212, 84, 138, 0.16);
  --warn: #E07A2A;
  --warn-ink: #C45E14;
  --shadow: 0 14px 36px -22px rgba(20, 28, 32, 0.22);
  --shadow-card: 0 1px 0 rgba(20, 28, 32, 0.04), 0 14px 36px -22px rgba(20, 28, 32, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 8% -10%, color-mix(in srgb, var(--teal) 8%, transparent), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s, color 0.25s;
}

html[data-theme="light"] body {
  background:
    radial-gradient(900px 480px at 6% -8%, color-mix(in srgb, var(--teal) 16%, transparent), transparent 62%),
    radial-gradient(720px 400px at 96% 0%, color-mix(in srgb, var(--magenta) 10%, transparent), transparent 58%),
    var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kicker);
  margin: 0 0 12px;
}

h1,
h2,
.serif {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.lede {
  color: var(--lede);
  max-width: 42rem;
}

.demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warn-ink);
  border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent);
  background: color-mix(in srgb, var(--warn) 12%, transparent);
  border-radius: 999px;
  padding: 4px 9px;
  vertical-align: middle;
}

/* —— Amicro toprow —— */
.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 8px;
}

.toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.toprow-brand {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.toprow-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-catbar {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: var(--catbar);
  border: 1px solid var(--catbar-border);
  box-shadow: var(--catbar-shadow);
}

.nav-catbar a,
.nav-catbar span {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.nav-catbar a:hover { color: var(--ink); }

.nav-catbar .on {
  background: var(--pill-on);
  color: #fff;
}

html[data-theme="light"] .nav-catbar .on { color: #FBFBFA; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--pill-border);
  background: var(--pill);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s;
}

.theme-toggle:hover { background: var(--pill-hover); }
.theme-toggle svg { display: block; flex-shrink: 0; }
.theme-toggle .ico-sun { display: none; }
html[data-theme="light"] .theme-toggle .ico-moon { display: none; }
html[data-theme="light"] .theme-toggle .ico-sun { display: block; }
html[data-theme="dark"] .theme-toggle .lab-light { display: none; }
html[data-theme="light"] .theme-toggle .lab-dark { display: none; }
html[data-theme="light"] .theme-toggle {
  background: #fff;
  border-color: color-mix(in srgb, var(--warn) 42%, var(--pill-border));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pill-on);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover { background: #333; color: #fff; }
html[data-theme="light"] .btn { color: #FBFBFA; }
html[data-theme="light"] .btn:hover { background: #2A3238; }

.btn-on {
  background: #fff;
  color: #12141A;
}

.btn-on:hover {
  background: #EDEDED;
  color: #12141A;
}

html[data-theme="light"] .btn-on {
  background: #1E2428;
  color: #FBFBFA;
}

html[data-theme="light"] .btn-on:hover {
  background: #2A3238;
  color: #FBFBFA;
}

.btn-ghost {
  background: var(--pill);
  color: var(--pill-fg);
  border-color: var(--pill-border);
}

.btn-ghost:hover {
  background: var(--pill-hover);
  color: var(--ink);
}

.btn-teal {
  background: var(--teal);
  color: var(--teal-ink);
  border-color: transparent;
}

.btn-teal:hover {
  filter: brightness(1.06);
  color: var(--teal-ink);
}

/* —— Hero card (static B&W court, no motion) —— */
.hero {
  position: relative;
}

.hero-card {
  position: relative;
  min-height: min(78vh, 720px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--inset), var(--shadow-card);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  filter: grayscale(1) contrast(1.08) brightness(0.92);
}

html[data-theme="light"] .hero-media img {
  filter: grayscale(1) contrast(1.04) brightness(0.78);
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 13, 16, 0.88) 0%, rgba(12, 13, 16, 0.55) 38%, rgba(12, 13, 16, 0.12) 68%, transparent 100%),
    linear-gradient(180deg, rgba(12, 13, 16, 0.18) 0%, transparent 28%, rgba(12, 13, 16, 0.42) 100%);
}

html[data-theme="light"] .hero-wash {
  background:
    linear-gradient(90deg, rgba(18, 20, 26, 0.78) 0%, rgba(18, 20, 26, 0.42) 40%, rgba(18, 20, 26, 0.08) 70%, transparent 100%),
    linear-gradient(180deg, rgba(18, 20, 26, 0.1) 0%, transparent 30%, rgba(18, 20, 26, 0.28) 100%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: min(8vh, 72px) min(5vw, 48px) 56px;
  max-width: 38rem;
}

.hero h1 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0 0 18px;
  max-width: 14ch;
  color: #fff;
}

.hero .lede {
  font-size: 1.08rem;
  line-height: 1.5;
  margin: 0 0 28px;
  color: #C4C4C4;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.hero-honesty {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hero-legend {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  gap: 14px;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237, 237, 237, 0.55);
}

.hero-legend .swatch {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 0;
}

.hero-legend .swatch.near { background: var(--teal); }
.hero-legend .swatch.far { background: var(--magenta); }

/* —— How it Works (vertical Amicro cards) —— */
.how {
  padding: 36px 0 16px;
}

.how-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.how h2 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}

.how-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.how-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--inset), var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.how-copy {
  padding: 22px 24px 14px;
}

.how-media {
  width: 100%;
  background: #0E1016;
  display: flex;
  justify-content: center;
}

.how-copy .demo-pill {
  margin-top: 10px;
}

.how-media img,
.how-media video {
  width: 70%;
  max-width: 70%;
  height: auto;
  display: block;
  object-fit: contain;
}

.how-lede {
  margin: 0;
  padding: 16px 24px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* How 02 — tape card; step title sits above, not on the tape */
.how-card-02 {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  border-radius: 0;
}

.how-card-02 .how-copy {
  padding: 6px 8px 16px;
}

.how-02-media {
  justify-content: stretch;
  padding: 0;
  background: transparent;
}

.how-02-stage {
  width: 100%;
}

.how-02-player {
  --how-02-shetty: #3EE0C4;
  --how-02-shi: #EC60B0;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0A0C10;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.how-card-02 .how-lede {
  padding: 16px 8px 0;
}

/* How 03 — title outside the card, 2×2 charts fill the well */
.how-card-03 {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  border-radius: 0;
}

.how-card-03 .how-copy {
  padding: 6px 8px 16px;
}

.how-card-03 .how-lede {
  padding: 16px 8px 0;
}

.how-03-media {
  justify-content: stretch;
  padding: 0;
  background: transparent;
}

.how-03-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  padding: 16px 18px 18px;
  background: #0E1016;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-sizing: border-box;
}

html[data-theme="light"] .how-03-stage {
  background: var(--hero-well);
  border-color: rgba(20, 28, 32, 0.12);
}

.how-03-cell {
  min-width: 0;
  background: #16181F;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px 14px 10px;
  display: flex;
  flex-direction: column;
}

html[data-theme="light"] .how-03-cell {
  background: var(--card-2);
  border-color: var(--line);
}

.how-03-title {
  font-family: var(--font);
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}

.how-03-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.how-03-title-row .how-03-title { margin: 0; }

.how-03-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.how-03-chart {
  width: 100%;
  height: auto;
  display: block;
  flex: 1 1 auto;
  min-height: 180px;
}

.how-03-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 4px 0 2px;
  font-size: 12px;
  color: var(--muted);
}

.how-03-legend .sw {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.how-03-legend .sw.shetty { background: var(--teal); }
.how-03-legend .sw.shi { background: var(--magenta); }

.how-03-donuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: center;
}

.how-03-donut {
  position: relative;
  min-width: 0;
}

.how-03-donut .how-03-chart { min-height: 0; }

.how-03-donut-lab {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}

.how-03-donut-lab strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.how-03-donut-lab small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  max-width: 9em;
  margin: 2px auto 0;
}

.how-03-donut-lab.is-shot strong { font-size: 18px; }

.how-03-donut-seg.is-dim { opacity: 0.38; }
.how-03-donut-seg.is-hot { opacity: 1; }

.how-03-shot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}

.how-03-shot-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}

.how-03-shot-legend i.s0 { background: #E8A838; }
.how-03-shot-legend i.s1 { background: #3EC3E8; }
.how-03-shot-legend i.s2 { background: #9BD44A; }
.how-03-shot-legend i.s3 { background: #B794F6; }

.how-03-foot {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}

.how-03-heats {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px 10px;
  flex: 1 1 auto;
  min-height: 220px;
  align-items: stretch;
}

.how-03-heat-court {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.how-03-media .how-03-heat img,
.how-03-heat-court img {
  width: 100%;
  max-width: 100%;
  height: 280px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.how-03-heat-lab {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

.how-03-heat-lab .sw {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.how-03-heat-lab .sw.shetty { background: var(--teal); }
.how-03-heat-lab .sw.shi { background: var(--magenta); }

.how-03-heat-legend {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 28px;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.how-03-heat-bar {
  width: 10px;
  flex: 1 1 auto;
  min-height: 140px;
  border-radius: 999px;
  /* G3 m2 turbo (heatmap_shetty_m2.png) — low sky-blue → red core */
  background: linear-gradient(
    180deg,
    #d32a1f 0%,
    #db7922 20%,
    #d2be38 40%,
    #7bbc76 54%,
    #2bb1ab 66%,
    #0ba8c0 78%,
    #1a7fb2 90%,
    #2466a5 100%
  );
}

@media (max-width: 800px) {
  .page,
  .wrap {
    width: calc(100% - 24px);
  }

  .how-03-stage {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 10px;
  }

  .how-03-cell {
    padding: 10px 12px 8px;
  }

  .how-03-cell > .how-03-chart {
    flex: 0 0 auto;
    min-height: 0;
    width: 100%;
    height: auto;
    max-height: 200px;
    aspect-ratio: 2 / 1;
  }

  .how-03-donuts {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
  }

  .how-03-donut {
    width: min(100%, 240px);
  }

  .how-03-donut .how-03-chart {
    min-height: 0;
    max-height: 220px;
  }

  .how-03-donut-lab strong { font-size: 15px; }
  .how-03-donut-lab small { font-size: 11px; max-width: none; }

  .how-03-heats {
    grid-template-columns: 1fr 1fr auto;
    min-height: 0;
    flex: 0 0 auto;
  }

  .how-03-media .how-03-heat img,
  .how-03-heat-court img {
    height: 180px;
    max-height: 200px;
  }

  .how-03-heat-bar { min-height: 100px; }
}

/* Biomechanical Analysis — title above 2×2 plates (G3 Overview copy) */
.bio-plates {
  padding-top: 48px;
  padding-bottom: 64px;
}

.bio-plates-head {
  margin-bottom: 16px;
  padding: 6px 8px 8px;
}

.bio-plates-head .kicker { margin-bottom: 8px; }

.bio-plates-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.bio-plates-title h2 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
}

.bio-plates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bio-plate {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bio-plate-art {
  background: #16181F;
  padding: 14px 14px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

html[data-theme="light"] .bio-plate-art {
  background: #E8E2D6;
}

.bio-plate-art img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
}

.bio-plate-body {
  padding: 12px 18px 16px;
}

.bio-plate-body h3 {
  font-family: var(--font);
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.bio-plate-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.bio-plate-stat {
  background: var(--stage);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}

.bio-plate-stat span {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.bio-plate-stat b {
  display: block;
  font-size: 18px;
  font-weight: 650;
  margin-top: 4px;
  color: var(--teal);
}

.bio-plates-note {
  margin: 14px 8px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 800px) {
  .bio-plates {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .bio-plates-head {
    padding: 0 0 4px;
  }

  .bio-plates-title {
    align-items: flex-start;
    gap: 10px;
  }

  .bio-plates-title h2 {
    flex: 1 1 12rem;
    min-width: 0;
  }

  .bio-plates-grid { grid-template-columns: 1fr; }

  .bio-plate-art {
    padding: 0;
    overflow: hidden;
  }

  .bio-plate-art img {
    max-height: none;
    width: 100%;
    border-radius: 0;
    transform: scale(1.1);
    transform-origin: center 58%;
  }

  .bio-plate-body {
    padding: 12px 14px 14px;
  }

  .bio-plate-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .bio-plate-stat {
    padding: 10px 12px;
  }

  .bio-plate-stat:nth-child(3) {
    grid-column: 1 / -1;
  }

  .bio-plate-stat span { font-size: 10px; }
  .bio-plate-stat b { font-size: 16px; }
}

html[data-theme="light"] .how-02-player {
  border-color: rgba(20, 28, 32, 0.12);
}

.how-02-media .how-02-player video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0A0C10;
  cursor: pointer;
}

.how-02-shuttle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.how-02-court-wrap {
  position: absolute;
  right: 2.8%;
  bottom: 10%;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  background: #12161A;
}

.how-02-court-wrap canvas {
  display: block;
  width: auto;
  height: auto;
}

/* Compact one-card HUD — 87° shoulders; shrink-wrap to labels + two value cols */
.how-02-body {
  position: absolute;
  left: 1.8%;
  bottom: 14.5%;
  z-index: 3;
  width: max-content;
  max-width: calc(100% - 3.6%);
  pointer-events: none;
  background: rgba(18, 20, 24, 0.776);
  border: 1px solid rgba(58, 62, 68, 0.86);
  border-radius: 6px;
  padding: 5px 8px 6px;
  color: #ECF0F2;
  box-sizing: border-box;
  transition: none;
}

.how-02-body-title {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 2px;
  text-transform: none;
  color: #ECF0F2;
  margin-bottom: 4px;
}

.how-02-grid {
  display: grid;
  grid-template-columns: max-content 5.35em 5.35em;
  column-gap: 8px;
  row-gap: 2px;
  align-items: center;
  font-size: 12px;
}

.how-02-lab {
  white-space: nowrap;
  color: #A8AEB4;
  line-height: 1.45;
}

.how-02-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.how-02-name i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: inline-block;
}

.how-02-name.shetty { color: var(--how-02-shetty); }
.how-02-name.shetty i { background: var(--how-02-shetty); }
.how-02-name.shi { color: var(--how-02-shi); }
.how-02-name.shi i { background: var(--how-02-shi); }

.how-02-grid > b {
  display: grid;
  grid-template-columns: minmax(3.4ch, 1fr) 2.35em;
  column-gap: 2px;
  align-items: baseline;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: #ECF0F2;
  line-height: 1.45;
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}

.how-02-num {
  text-align: right;
  font-variant-numeric: tabular-nums lining-nums;
}

.how-02-unit {
  text-align: left;
  font-size: 0.68em;
  font-weight: 600;
  color: #A8AEB4;
  letter-spacing: 0;
  line-height: 1;
}

@media (max-width: 800px) {
  .how-02-grid > .how-02-detail,
  .how-02-detail {
    display: none;
  }

  .how-02-body {
    left: 2.2%;
    bottom: 8%;
    transform: scale(1.06);
    transform-origin: left bottom;
    padding: 6px 10px 7px;
    max-width: calc(100% - 4.4%);
  }

  .how-02-body-title { font-size: 14px; }
  .how-02-grid { font-size: 13px; column-gap: 10px; }
  .how-02-grid > b { font-size: 14px; }
  .how-02-name { font-size: 11px; }

  .how-02-court-wrap {
    transform: scale(0.88);
    transform-origin: right bottom;
    right: 2%;
    bottom: 8%;
  }
}

.how-no {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kicker);
  display: block;
  margin-bottom: 8px;
}

.how-card h3 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}

/* —— Feature catbar —— */
.catbar-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 8px;
  padding: 0 20px;
}

.catbar,
.feature-nav {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  background: var(--catbar);
  border: 1px solid var(--catbar-border);
  box-shadow: var(--catbar-shadow);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.feature-nav::-webkit-scrollbar { display: none; }

.feature-nav a {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.feature-nav a:hover { color: var(--ink); }

.feature-nav a.is-on {
  background: var(--pill-on);
  color: #fff;
  border-color: transparent;
}

html[data-theme="light"] .feature-nav a.is-on { color: #FBFBFA; }

/* —— Sections —— */
.section,
.viz-band,
.studio,
.closer {
  scroll-margin-top: 28px;
}

.section {
  padding: 88px 0;
}

/* —— Carousel —— */
.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
  gap: 16px;
}

.carousel-btns {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.carousel::-webkit-scrollbar { display: none; }

.feat-card {
  flex: 0 0 min(78%, 340px);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 390px;
  display: flex;
  flex-direction: column;
}

.feat-card .stage {
  height: 210px;
  background: #0E1016;
  position: relative;
  overflow: hidden;
}

.feat-card .stage canvas,
.feat-card .stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feat-card .body {
  padding: 18px 20px 22px;
  flex: 1;
}

.feat-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0 0 8px;
  font-weight: 500;
}

.feat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.chat-mock {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
}

.bubble.ask {
  align-self: flex-end;
  background: var(--teal-dim);
  color: var(--ink);
}

.bubble.ans {
  background: var(--card-2);
  color: var(--lede);
}

/* —— Players —— */
.player-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.player-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.player-hero {
  height: 280px;
  background: #0A0C10;
  position: relative;
}

.player-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.player-hero .who {
  position: absolute;
  left: 16px;
  bottom: 14px;
}

.player-hero h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
}

.player-hero span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 8px 6px 14px;
}

.stat-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.stat-list li:last-child { border-bottom: 0; }

.stat-list .n {
  font-family: var(--mono);
  color: var(--ink);
}

.play {
  border: 0;
  background: var(--teal);
  color: var(--teal-ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.play:hover { filter: brightness(1.08); }

.player-mini {
  height: 0;
  overflow: hidden;
  background: #0E1016;
  transition: height 0.25s ease;
}

.player-mini.is-open { height: 140px; }

.player-mini canvas {
  width: 100%;
  height: 140px;
  display: block;
}

/* —— Visualisations —— */
.viz-band {
  background:
    radial-gradient(70% 80% at 10% 20%, rgba(126, 184, 176, 0.08), transparent 50%),
    radial-gradient(60% 70% at 90% 80%, rgba(196, 120, 154, 0.07), transparent 50%),
    var(--bg-deep);
  padding: 96px 0 80px;
}

.viz-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.viz-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.viz-card.wide { grid-column: 1 / -1; }

.viz-card .label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 22px 8px;
}

.viz-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
}

.viz-card .label p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.viz-card canvas,
.viz-card svg {
  width: 100%;
  flex: 1;
  min-height: 240px;
  display: block;
}

/* —— Split —— */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}

.split-still,
.split-court {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  position: relative;
}

.split-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-court {
  display: flex;
  flex-direction: column;
}

.split-court .pad {
  padding: 22px 22px 8px;
}

.split-court h3 {
  font-family: var(--serif);
  margin: 0 0 6px;
  font-weight: 500;
  font-size: 1.5rem;
}

.split-court p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.split-court canvas {
  width: 100%;
  flex: 1;
  min-height: 280px;
}

.hud-chip {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(12, 14, 18, 0.78);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  backdrop-filter: blur(8px);
}

/* —— Overlay —— */
.overlay-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 480px;
  background: #0A0C10;
}

.overlay-frame img {
  width: 100%;
  height: min(70vh, 640px);
  object-fit: cover;
  object-position: center 30%;
}

.speed-chip {
  position: absolute;
  left: 6%;
  top: 42%;
  background: var(--teal);
  color: var(--teal-ink);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 13px;
  box-shadow: var(--shadow);
}

.speed-chip strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.dist-chip {
  position: absolute;
  right: 8%;
  bottom: 18%;
  background: rgba(18, 20, 26, 0.82);
  border: 1px solid var(--magenta);
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 12px;
}

/* —— Quote —— */
.quote {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 48px 48px 40px;
  max-width: 820px;
}

.quote blockquote {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.25;
}

.quote cite {
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
}

/* —— Light studio —— */
.studio {
  background: var(--light-bg);
  color: var(--light-ink);
  padding: 96px 0;
}

.studio .kicker { color: var(--light-teal); }
.studio .lede,
.studio p { color: var(--light-muted); }
.studio h2 { color: var(--light-ink); }

.studio-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 32px;
}

.studio-card {
  background: var(--light-card);
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.06);
}

.studio-card h3 {
  font-family: var(--serif);
  margin: 0 0 8px;
  font-weight: 560;
}

.radar-wrap {
  display: grid;
  place-items: center;
}

#radar {
  width: 100%;
  height: 380px;
  display: block;
}

.bars {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.bar-row span {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}

.track {
  height: 8px;
  background: rgba(23, 23, 23, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.track i {
  display: block;
  height: 100%;
  background: var(--light-teal);
  border-radius: 99px;
}

.track i.alt { background: #C4789A; }

/* —— System —— */
.system-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 16px;
}

.sys-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.sys-card.photo { min-height: 320px; }

.sys-card.photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.sys-card .body {
  padding: 22px;
}

.sys-card h3 {
  font-family: var(--serif);
  margin: 0 0 8px;
  font-weight: 500;
  font-size: 1.4rem;
}

.sys-card p {
  margin: 0;
  color: var(--muted);
}

.step-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--teal);
  display: block;
  margin-bottom: 8px;
}

.sys-lines {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--lede);
}

.sys-lines li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.sys-lines span {
  font-family: var(--mono);
  color: var(--muted);
  width: 42px;
}

.sys-take {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--teal);
  background: rgba(126, 184, 176, 0.08);
  color: var(--lede);
  font-size: 14px;
}

/* —— Closer —— */
.closer {
  text-align: center;
  padding: 100px 0 80px;
}

.closer h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 16px;
}

.closer p {
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 36rem;
}

/* —— Footer —— */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}

.foot-inner {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ai-note {
  margin: 0;
  max-width: 36rem;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* —— Motion bits —— */
.shuttle-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(126, 184, 176, 0.45);
}

@media (max-width: 900px) {
  .player-row,
  .viz-grid,
  .split,
  .studio-grid,
  .system-grid {
    grid-template-columns: 1fr;
  }
  .viz-card.wide { grid-column: auto; }
  .hero-card {
    min-height: min(52vh, 420px);
  }
  .hero-copy {
    padding: 32px 20px 40px;
    max-width: 100%;
    min-width: 0;
  }
  .hero h1 {
    max-width: 11ch;
    font-size: clamp(1.9rem, 8vw, 2.55rem);
    overflow-wrap: break-word;
  }
  .hero-actions {
    width: 100%;
  }
  .toprow {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .toprow-right {
    max-width: 100%;
    justify-content: flex-start;
  }
  .nav-catbar {
    flex-wrap: wrap;
    border-radius: 16px;
    max-width: 100%;
  }
  .quote { padding: 28px; }
  .speed-chip { top: 18%; left: 8%; }
  .hero-legend {
    left: 16px;
    right: auto;
    bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page,
  .wrap {
    width: calc(100% - 16px);
  }

  .toprow {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .toprow-right {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-catbar a,
  .nav-catbar span {
    padding: 7px 12px;
    font-size: 12px;
  }

  .hero-copy {
    padding: 24px 16px 32px;
    min-width: 0;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .how-no {
    font-size: 14px;
    color: #C4C4C4;
  }

  .how-card-02 .how-copy,
  .how-card-03 .how-copy {
    padding: 4px 2px 12px;
  }

  .how-card-02 .how-lede,
  .how-card-03 .how-lede {
    padding: 12px 2px 0;
  }

  /* Compact 2-row HUD (names + speed/distance). Mini-court is unreadably small. */
  .how-02-grid > .how-02-detail,
  .how-02-detail {
    display: none;
  }

  .how-02-body {
    transform: scale(1.14);
    transform-origin: left bottom;
    left: 2.4%;
    bottom: 8%;
    max-width: calc(100% - 5%);
  }

  .how-02-court-wrap {
    display: none;
  }

  .how-03-stage {
    padding: 8px;
    gap: 8px;
  }

  .how-03-cell > .how-03-chart {
    height: auto;
    max-height: 180px;
    aspect-ratio: 2 / 1;
  }

  .how-03-heats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .how-03-heat-legend {
    grid-column: 1 / -1;
    flex-direction: row;
    min-width: 0;
    width: 100%;
    justify-content: stretch;
    align-items: center;
    gap: 8px;
  }

  .how-03-heat-bar {
    width: auto;
    flex: 1 1 auto;
    min-height: 10px;
    height: 10px;
    background: linear-gradient(
      90deg,
      #d32a1f 0%,
      #db7922 20%,
      #d2be38 40%,
      #7bbc76 54%,
      #2bb1ab 66%,
      #0ba8c0 78%,
      #1a7fb2 90%,
      #2466a5 100%
    );
  }

  .how-03-media .how-03-heat img,
  .how-03-heat-court img {
    height: 160px;
    max-height: 180px;
  }

  .bio-plates-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .bio-plates-title h2 {
    flex: none;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* —— Smart court 3D (10s looping demo) —— */
.smart-court-page {
  min-height: 100vh;
}

.smart-court-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin: 0 0 10px;
}

.smart-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0B0C10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

#smart-court-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #0B0C10;
}

.smart-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.smart-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: #4FD1C5;
  box-shadow: 0 0 10px rgba(79, 209, 197, 0.45);
}

.smart-load {
  position: absolute;
  left: 18px;
  bottom: 16px;
  margin: 0;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A8F99;
}

.smart-load.is-ready {
  display: none;
}

.smart-caption {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 46rem;
  line-height: 1.5;
}

.smart-caption strong {
  color: var(--warn-ink);
  font-weight: 500;
}

.smart-back {
  margin: 22px 0 48px;
  font-size: 14px;
}

.smart-back a {
  color: var(--teal);
  text-decoration: none;
}

.smart-back a:hover {
  text-decoration: underline;
}
