:root {
  color-scheme: dark;
  --ink: #f6fff8;
  --muted: #aebdb7;
  --quiet: #6f807a;
  --night: #07110e;
  --charcoal: #0c1714;
  --panel: rgba(9, 20, 16, 0.72);
  --line: rgba(194, 255, 222, 0.18);
  --green: #6eff81;
  --cyan: #4de7ff;
  --amber: #ffd166;
  --red: #ff5f73;
  --clay: #d95f32;
  --shadow: rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 45% -10%, rgba(110, 255, 129, 0.16), transparent 30rem),
    linear-gradient(180deg, #07110e 0%, #0b1513 46%, #08100e 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 12, 10, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(110, 255, 129, 0.7);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(110, 255, 129, 0.24), rgba(77, 231, 255, 0.12));
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(110, 255, 129, 0.18);
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-name strong {
  color: var(--green);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.7rem, 2vw, 1.5rem);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a {
  padding: 0.5rem 0;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.status-pill,
.coming-soon,
.launch-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  border: 1px solid rgba(255, 209, 102, 0.42);
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.08);
  color: #ffe3a3;
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
}

.status-pill {
  padding: 0.35rem 0.8rem;
}

.status-pill span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 16px var(--amber);
  animation: pulse 1.6s ease-in-out infinite;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.65fr);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 4rem);
  min-height: clamp(640px, 84svh, 860px);
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 5.5rem);
  overflow: hidden;
}

.hero-media,
.hero-shade,
#signal-canvas {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(4, 12, 10, 0.96) 0%, rgba(4, 12, 10, 0.74) 36%, rgba(4, 12, 10, 0.18) 72%, rgba(4, 12, 10, 0.54) 100%),
    linear-gradient(0deg, rgba(4, 12, 10, 0.92) 0%, transparent 42%),
    url("/assets/hero-tennis-ai.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(110, 255, 129, 0.16), transparent 35%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7.5rem);
  mix-blend-mode: screen;
  opacity: 0.58;
}

#signal-canvas {
  z-index: -1;
  width: 100%;
  height: 100%;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(
    0deg,
    rgba(246, 255, 248, 0.025) 0,
    rgba(246, 255, 248, 0.025) 1px,
    transparent 1px,
    transparent 5px
  );
  opacity: 0.5;
  animation: scan 9s linear infinite;
}

.hero-content,
.live-panel {
  position: relative;
  z-index: 2;
}

.tennis-ball {
  position: absolute;
  display: block;
  width: clamp(1rem, 1.8vw, 1.7rem);
  aspect-ratio: 1;
  border: 1px solid rgba(246, 255, 248, 0.44);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #f6ffd8 0 12%, transparent 14%),
    radial-gradient(circle at 48% 52%, #d7ff38 0 58%, #83d91f 73%, #4a810e 100%);
  box-shadow:
    0 0 22px rgba(215, 255, 56, 0.48),
    0 18px 34px rgba(0, 0, 0, 0.28);
  opacity: 0.85;
}

.tennis-ball::before,
.tennis-ball::after {
  position: absolute;
  inset: 13%;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
}

.tennis-ball::after {
  inset: 9%;
  transform: rotate(86deg);
  opacity: 0.52;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.2rem, 7.4vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.12;
}

.hero-copy {
  max-width: 42rem;
  margin-bottom: 1.6rem;
  color: #d8e4df;
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.primary-link {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(110, 255, 129, 0.66);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(110, 255, 129, 0.95), rgba(77, 231, 255, 0.88));
  color: #06100c;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 16px 48px rgba(77, 231, 255, 0.2);
}

.primary-link:hover,
.primary-link:focus-visible {
  transform: translateY(-1px);
}

.coming-soon {
  padding: 0.65rem 0.9rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 42rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-metrics li,
.feature-card,
.loop-grid article,
.telemetry,
.live-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(13, 28, 23, 0.82), rgba(7, 17, 14, 0.68));
  box-shadow: 0 24px 70px var(--shadow);
}

.hero-metrics li {
  min-height: 6rem;
  padding: 0.9rem;
}

.hero-metrics span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-metrics strong {
  color: var(--ink);
  font-size: clamp(1.12rem, 2vw, 1.65rem);
  line-height: 1.05;
}

.live-panel {
  justify-self: end;
  width: min(100%, 25rem);
  padding: 1rem;
  backdrop-filter: blur(20px);
  animation: floatPanel 7s ease-in-out infinite;
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.panel-topline strong {
  color: var(--green);
  text-transform: uppercase;
}

.court-map {
  position: relative;
  min-height: 16rem;
  border: 1px solid rgba(110, 255, 129, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(110, 255, 129, 0.16), transparent 1px),
    linear-gradient(0deg, rgba(110, 255, 129, 0.11), transparent 1px),
    linear-gradient(145deg, rgba(43, 118, 84, 0.62), rgba(9, 30, 25, 0.92));
  background-size: 3.2rem 3.2rem, 3.2rem 3.2rem, auto;
  overflow: hidden;
}

.baseline,
.service-line,
.center-line {
  position: absolute;
  background: rgba(235, 255, 240, 0.74);
}

.baseline {
  left: 9%;
  right: 9%;
  top: 50%;
  height: 1px;
}

.service-line {
  top: 20%;
  bottom: 20%;
  left: 50%;
  width: 1px;
}

.center-line {
  top: 50%;
  bottom: 20%;
  left: 50%;
  width: 1px;
}

.heat,
.shot-path {
  position: absolute;
  display: block;
}

.heat {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.72;
  animation: heatPulse 4s ease-in-out infinite;
}

.heat-a {
  left: 14%;
  top: 18%;
  background: rgba(110, 255, 129, 0.75);
}

.heat-b {
  right: 17%;
  bottom: 14%;
  background: rgba(77, 231, 255, 0.66);
  animation-delay: -1.2s;
}

.heat-c {
  left: 44%;
  bottom: 24%;
  background: rgba(255, 209, 102, 0.64);
  animation-delay: -2.4s;
}

.shot-path {
  height: 2px;
  width: 58%;
  border-top: 2px dashed rgba(255, 255, 255, 0.74);
  transform-origin: left center;
  animation: pathGlow 2.8s linear infinite;
}

.shot-a {
  left: 17%;
  top: 35%;
  transform: rotate(18deg);
}

.shot-b {
  left: 28%;
  bottom: 30%;
  transform: rotate(-24deg);
  animation-delay: -1.1s;
}

.court-ball {
  z-index: 2;
  left: 12%;
  top: 70%;
  width: 1rem;
  animation: courtBall 4.8s cubic-bezier(0.42, 0, 0.22, 1) infinite;
}

.insight-stack {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.insight-stack article {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.insight-stack p {
  margin: 0.35rem 0 0;
  color: #e9f3ef;
  font-size: 0.92rem;
}

.tag {
  display: inline-flex;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tag.warn {
  color: var(--amber);
}

.band {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5.5rem);
  border-top: 1px solid rgba(194, 255, 222, 0.12);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.section-head p:not(.eyebrow),
.signal-copy p {
  max-width: 43rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.loop-grid article {
  min-height: 15rem;
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 2.4rem;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
}

.feature-card p,
.loop-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.app-preview {
  display: grid;
  grid-template-columns: minmax(28rem, 1.05fr) minmax(20rem, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  background:
    linear-gradient(180deg, rgba(77, 231, 255, 0.08), rgba(7, 17, 14, 0.1)),
    linear-gradient(145deg, rgba(110, 255, 129, 0.08), rgba(217, 95, 50, 0.06));
}

.dashboard-shell {
  position: relative;
  min-width: 0;
  padding: clamp(0.85rem, 2vw, 1.1rem);
  border: 1px solid rgba(194, 255, 222, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(10, 26, 22, 0.94), rgba(7, 17, 14, 0.88)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4rem);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.dashboard-shell::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(100deg, transparent 0%, rgba(110, 255, 129, 0.1) 35%, transparent 70%);
  transform: translateX(-100%);
  animation: dashboardSweep 6.5s ease-in-out infinite;
}

.dashboard-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.dashboard-toolbar strong {
  display: block;
  margin-top: 0.15rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.mini-label,
.sync-badge,
.dash-pane > span,
.pane-header span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sync-badge {
  display: inline-flex;
  min-height: 2.1rem;
  align-items: center;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(77, 231, 255, 0.36);
  border-radius: 999px;
  color: var(--cyan);
  white-space: nowrap;
}

.dashboard-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.72fr));
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.dash-pane {
  min-width: 0;
  min-height: 9rem;
  padding: 1rem;
  border: 1px solid rgba(194, 255, 222, 0.17);
  border-radius: 8px;
  background: rgba(4, 13, 11, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dash-pane strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  line-height: 1;
}

.dash-pane p {
  margin: 0.8rem 0 0;
  color: #dce8e3;
  font-size: 0.92rem;
}

.primary-pane {
  grid-row: span 2;
  min-height: 21rem;
}

.pane-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.pane-header strong {
  margin-top: 0;
  color: var(--green);
  font-size: 1rem;
}

.radar-wrap {
  position: relative;
  min-height: 12rem;
  margin: 1.1rem 0;
  border: 1px solid rgba(77, 231, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle, transparent 0 22%, rgba(77, 231, 255, 0.12) 22.5% 23%, transparent 23.5% 45%, rgba(77, 231, 255, 0.1) 45.5% 46%, transparent 46.5% 70%),
    linear-gradient(90deg, transparent 49.5%, rgba(77, 231, 255, 0.16) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(77, 231, 255, 0.16) 50%, transparent 50.5%),
    rgba(77, 231, 255, 0.035);
  overflow: hidden;
}

.radar-sweep {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 48%;
  height: 2px;
  background: linear-gradient(90deg, rgba(110, 255, 129, 0.88), transparent);
  transform-origin: left center;
  animation: radarSweep 3.6s linear infinite;
}

.radar-node {
  position: absolute;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(110, 255, 129, 0.75);
  animation: nodeBlink 2.4s ease-in-out infinite;
}

.node-a {
  left: 65%;
  top: 28%;
}

.node-b {
  left: 31%;
  top: 58%;
  background: var(--cyan);
  animation-delay: -0.8s;
}

.node-c {
  left: 76%;
  top: 70%;
  background: var(--amber);
  animation-delay: -1.4s;
}

.radar-ball {
  left: 18%;
  top: 72%;
  width: 0.85rem;
  opacity: 0.78;
  animation: radarBall 5.4s cubic-bezier(0.4, 0, 0.24, 1) infinite;
}

.stat-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.alert-pane {
  border-color: rgba(255, 95, 115, 0.32);
}

.alert-pane strong {
  color: var(--red);
}

.timeline-pane {
  grid-column: span 2;
  min-height: 11rem;
}

.timeline-pane ol {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
  color: #e6f0eb;
  font-size: 0.92rem;
}

.timeline-pane li {
  display: grid;
  grid-template-columns: 0.75rem 1fr;
  gap: 0.6rem;
  align-items: start;
}

.timeline-pane li span {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(110, 255, 129, 0.68);
}

.app-copy p:not(.eyebrow) {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.signal-band {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(22rem, 0.68fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  background:
    linear-gradient(180deg, rgba(217, 95, 50, 0.08), transparent 40%),
    linear-gradient(135deg, rgba(77, 231, 255, 0.08), rgba(110, 255, 129, 0.04));
}

.telemetry {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.telemetry-row {
  display: grid;
  grid-template-columns: minmax(8.5rem, 1fr) minmax(7rem, 1.1fr) 2.6rem;
  align-items: center;
  gap: 0.85rem;
  min-height: 3rem;
  color: #dce8e3;
}

.telemetry-row > span {
  color: var(--muted);
}

.telemetry-row strong {
  color: var(--ink);
  text-align: right;
}

.meter {
  height: 0.7rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.meter span {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  box-shadow: 0 0 18px rgba(110, 255, 129, 0.35);
  transition: width 700ms ease;
}

.meter.danger span {
  background: linear-gradient(90deg, var(--red), var(--amber));
}

.meter.amber span {
  background: linear-gradient(90deg, var(--amber), var(--clay));
}

.coach-loop {
  background: linear-gradient(180deg, rgba(6, 15, 12, 0.92), rgba(10, 24, 20, 0.96));
}

.compact {
  margin-bottom: 2rem;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.loop-grid article {
  position: relative;
  overflow: hidden;
}

.loop-grid article::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--amber));
}

.loop-grid span {
  display: inline-flex;
  margin-bottom: 2.1rem;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.finale {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  background:
    linear-gradient(135deg, rgba(110, 255, 129, 0.14), rgba(77, 231, 255, 0.08)),
    #07110e;
}

.finale h2 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 5.1rem);
}

.launch-chip {
  min-width: 9rem;
  padding: 0.85rem 1rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem clamp(1rem, 5vw, 5.5rem);
  border-top: 1px solid rgba(194, 255, 222, 0.12);
  color: var(--quiet);
  font-size: 0.88rem;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scan {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(40px);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes heatPulse {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.78;
    transform: scale(1.12);
  }
}

@keyframes pathGlow {
  0% {
    opacity: 0.22;
  }
  45% {
    opacity: 0.95;
  }
  100% {
    opacity: 0.22;
  }
}

@keyframes courtBall {
  0%,
  100% {
    left: 12%;
    top: 70%;
    transform: rotate(0deg) scale(0.9);
  }
  24% {
    left: 38%;
    top: 22%;
    transform: rotate(190deg) scale(1.04);
  }
  50% {
    left: 76%;
    top: 42%;
    transform: rotate(390deg) scale(0.9);
  }
  74% {
    left: 54%;
    top: 75%;
    transform: rotate(580deg) scale(1);
  }
}

@keyframes radarBall {
  0%,
  100% {
    left: 18%;
    top: 72%;
    transform: rotate(0deg) scale(0.85);
  }
  30% {
    left: 46%;
    top: 24%;
    transform: rotate(230deg) scale(1);
  }
  62% {
    left: 78%;
    top: 58%;
    transform: rotate(510deg) scale(0.88);
  }
}

@keyframes dashboardSweep {
  0%,
  45% {
    transform: translateX(-100%);
  }
  75%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes radarSweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes nodeBlink {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 4rem;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(4, 12, 10, 0.96) 0%, rgba(4, 12, 10, 0.72) 58%, rgba(4, 12, 10, 0.42) 100%),
      linear-gradient(0deg, rgba(4, 12, 10, 0.94) 0%, transparent 48%),
      url("/assets/hero-tennis-ai.png") 58% center / cover no-repeat;
  }

  h1 {
    max-width: 11ch;
  }

  .live-panel {
    justify-self: stretch;
    width: 100%;
  }

  .feature-grid,
  .loop-grid,
  .app-preview,
  .signal-band,
  .finale {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-pane {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .launch-chip {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 62px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .status-pill {
    padding-inline: 0.65rem;
    font-size: 0.75rem;
  }

  .hero {
    padding: 3.25rem 1rem 3.8rem;
  }

  h1 {
    font-size: clamp(2.9rem, 17vw, 4.8rem);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .court-map {
    min-height: 13rem;
  }

  .dashboard-toolbar,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .sync-badge {
    justify-self: start;
  }

  .timeline-pane {
    grid-column: auto;
  }

  .primary-pane {
    min-height: 18rem;
  }

  .telemetry-row {
    grid-template-columns: 1fr 2.4rem;
    gap: 0.5rem 0.8rem;
  }

  .meter {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
