
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

.vm-home {
  --vm-bg: #050a18;
  --vm-surface: #0d1730;
  --vm-deep: #0a1328;
  --vm-text: #f6f8ff;
  --vm-muted: #acbdd9;
  --vm-line: #293a5b;
  --vm-accent: #83d6ff;
  --vm-display: Manrope, system-ui, sans-serif;
  --vm-data: ui-monospace, Consolas, monospace;
  color-scheme: dark;
  font-family: var(--vm-display);
  background: var(--vm-bg);
  color: var(--vm-text);
}
.vm-home ::selection { background: var(--vm-accent); color: var(--vm-bg); }
.vm-home :focus-visible { outline: 2px solid var(--vm-accent); outline-offset: 4px; }
.vm-home main { padding: 0; max-width: none; }
.vm-home [id] { scroll-margin-top: 1rem; }
.vm-wrap { width: min(100% - 5rem, 77rem); margin-inline: auto; }
.vm-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.vm-skip {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 2;
  transform: translateY(-150%);
  padding: .65rem 1rem;
  background: var(--vm-bg);
  color: var(--vm-accent);
}
.vm-skip:focus { transform: none; }
.vm-header { border-bottom: 1px solid var(--vm-line); background: #080e20; }
.vm-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.75rem;
}
.vm-wordmark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--vm-text);
  width: fit-content;
  font-family: var(--vm-display);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .065em;
  text-transform: uppercase;
  text-decoration: none;
}
.vm-wordmark img { width: 2rem; height: auto; }
.vm-main-nav, .vm-account-nav, .vm-language, .vm-footer-links {
  display: flex;
  gap: clamp(.8rem, 2vw, 1.75rem);
  align-items: center;
}
.vm-account-nav { justify-content: flex-end; }
.vm-header nav a, .vm-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--vm-muted);
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.vm-header nav a:hover, .vm-footer-links a:hover { color: var(--vm-text); }
.vm-header nav .vm-header-cta {
  padding-inline: .9rem;
  border: 1px solid var(--vm-line);
  border-radius: .4rem;
  color: var(--vm-text);
}
.vm-header nav .vm-header-cta:hover { border-color: var(--vm-accent); }
.vm-language { gap: .4rem; }
.vm-header .vm-language a { font-size: .75rem; padding-inline: .15rem; }
.vm-header .vm-language .on { color: var(--vm-accent); }
.vm-language a + a::before { content: ""; width: 1px; height: .75rem; background: var(--vm-line); margin-right: .55rem; }

.vm-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(ellipse at 75% 55%, #152a61 0%, transparent 65%),
    linear-gradient(135deg, #080f21, #080d20 56%, #101638);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
  gap: clamp(1.75rem, 4.7vw, 5rem);
  align-items: center;
  min-height: 40rem;
  padding-block: clamp(4rem, 7vw, 6rem);
}
.hero-copy { container-type: inline-size; }
.hero-copy h1, .vm-section h2 {
  font-family: var(--vm-display);
  font-weight: 800;
  text-wrap: balance;
}
.hero-copy h1 {
  margin: 0;
  font-size: 4rem;
  font-size: clamp(2.65rem, 17cqi, 6rem);
  line-height: .99;
  letter-spacing: -.055em;
}
.hero-copy h1 span { display: block; white-space: nowrap; }
.hero-copy h1 span + span { color: var(--vm-accent); margin-top: .04em; }
.hero-copy > p:not(.hero-brand) {
  max-width: 40ch;
  margin: 1.5rem 0 1.75rem;
  color: #c1cde5;
  font-size: clamp(1rem, 1.3vw, 1.13rem);
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.15rem; }
.vm-home .vm-button, .vm-textlink {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 3rem;
  font: 800 .94rem var(--vm-display);
}
.vm-home .vm-button {
  justify-content: center;
  padding: .7rem 1rem;
  border-radius: .45rem;
  background: linear-gradient(105deg, #9be5ff, #a8b9ff);
  color: #0b142b;
  transition: box-shadow .18s ease;
}
.vm-home .vm-button:hover { box-shadow: 0 4px 28px #83a4ff5e; }
.vm-textlink { color: var(--vm-text); text-decoration: underline; text-decoration-color: #7f91bc; text-underline-offset: .3em; }
.vm-textlink:hover { text-decoration-color: var(--vm-accent); }
.hero-brand { margin: 1.55rem 0 0; }
.hero-brand a {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
  color: #c3cdeb;
  font: 600 .69rem var(--vm-data);
  letter-spacing: .1em;
  text-decoration: none;
}
.hero-brand a::before { content: ""; width: 1.4rem; height: 1px; background: linear-gradient(90deg, var(--vm-accent), #a695ff); }
.hero-brand a:hover { color: var(--vm-accent); }

.match-preview, .module-panel figure { min-width: 0; margin: 0; }
.match-shell {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  padding: .25rem 1rem 0;
  margin: 0;
  border: 1px solid #3c4d76;
  border-radius: 1rem;
  background: linear-gradient(150deg, #101b38, #0b1430 68%);
  box-shadow: 0 24px 54px #03071748;
  font-variant-numeric: tabular-nums;
}
.match-toolbar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  min-height: 2.85rem;
  border-bottom: 1px solid var(--vm-line);
  color: var(--vm-muted);
  font-size: .75rem;
}
.match-toolbar span:first-child { display: flex; gap: .55rem; align-items: center; color: var(--vm-text); font-weight: 700; }
.match-toolbar span:last-child { text-align: right; }
.match-toolbar i, .match-team i {
  width: .43rem;
  height: .43rem;
  flex: none;
  border-radius: 50%;
  background: var(--vm-accent);
}
.rally-panel {
  display: none;
  grid-row: 2;
  grid-column: 1 / -1;
  min-width: 0;
}
#rally-18:checked ~ #rally-panel-18, #rally-17:checked ~ #rally-panel-17, #rally-16:checked ~ #rally-panel-16 { display: block; }
.match-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .65rem;
  padding: .65rem .25rem .75rem;
}
.match-score strong {
  font: 800 clamp(1.62rem, 3vw, 2.5rem)/1 var(--vm-display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.match-score strong span { padding-inline: .32em; color: #a9b4ff; }
.match-team { display: flex; align-items: center; gap: .45rem; font-size: .79rem; font-weight: 700; }
.match-team.away { justify-content: flex-end; text-align: end; }
.match-team.away i { background: #bba8ff; }
.court-stage {
  overflow: hidden;
  border: 1px solid #31456d;
  border-radius: .5rem;
  background:
    linear-gradient(#7cb4ff13 1px, transparent 1px) 50% 50% / 20px 20px,
    linear-gradient(90deg, #7cb4ff13 1px, transparent 1px) 50% 50% / 20px 20px,
    radial-gradient(ellipse at 50% 56%, #253e71, #0a1530 89%);
}
.scout-court { width: 100%; height: auto; display: block; }
.court-home { fill: #17689530; }
.court-away { fill: #5745aa36; }
.court-rules, .court-net, .court-zones, .rally-path { fill: none; }
.court-rules { stroke: #8aaed3; stroke-width: 1; }
.court-net { stroke: #dce5ff; stroke-width: 1.5; }
.court-zones { stroke: #9facd5; stroke-dasharray: 3 6; opacity: .44; }
.court-labels { fill: #c2d1ec; font: 14px var(--vm-data); }
.rally-path { stroke: var(--vm-accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 7; animation: trace .56s ease-out; }
@keyframes trace { from { opacity: .2; stroke-dashoffset: 15; } }
.rally-marker { color: var(--vm-accent); }
.rally-marker.end { color: #d3b5ff; }
.rally-marker circle:first-child { fill: currentColor; fill-opacity: .21; stroke: currentColor; stroke-opacity: .72; }
.rally-marker circle:last-child { fill: currentColor; }
.trajectory-caption { margin: .65rem 0 .85rem; color: #c4d2ea; font-size: .78rem; text-align: center; }
.rally-choice {
  grid-row: 3;
  display: grid;
  align-content: center;
  gap: .1rem;
  min-height: 3.6rem;
  margin: 0;
  padding: .45rem .55rem;
  border-top: 1px solid var(--vm-line);
  border-bottom: 2px solid transparent;
  color: var(--vm-muted);
  cursor: pointer;
}
.rally-choice b { color: var(--vm-text); font: 600 .83rem var(--vm-data); }
.rally-choice span { font-size: .76rem; }
.rally-choice small { font-size: inherit; }
.match-shell input:checked + .rally-choice { border-bottom-color: var(--vm-accent); background: #18284b; }
.match-shell input:checked + .rally-choice b { color: var(--vm-accent); }
.rally-choice:hover { background: #172442; }
.match-shell input:focus-visible + .rally-choice { outline: 2px solid var(--vm-accent); outline-offset: -4px; }
.vm-home figcaption { margin-top: .65rem; color: #c2cce6; text-align: right; font-size: .75rem; }

.vm-facts { border-block: 1px solid var(--vm-line); background: #0a142c; }
.vm-facts ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin-block: 0;
  list-style: none;
}
.vm-facts li {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 4.6rem;
  padding: .7rem;
  color: #d1dde8;
  font-size: .87rem;
  font-weight: 600;
}
.vm-facts li + li { border-inline-start: 1px solid var(--vm-line); }

.vm-section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.vm-section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.vm-section h2 { margin: 0; font-size: clamp(2rem, 4.25vw, 3.75rem); line-height: 1.06; letter-spacing: -.045em; }
.vm-section-head p, .module-copy p, .vm-workspace p, .vm-steps p, .vm-questions p { margin: 0; color: var(--vm-muted); max-width: 57ch; }
.module-picker {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  min-width: 0;
  border: 1px solid var(--vm-line);
  border-radius: .85rem;
  background: var(--vm-surface);
}
.module-label {
  display: grid;
  place-items: center;
  min-height: 3.3rem;
  margin: 0;
  padding: .45rem;
  border-bottom: 2px solid var(--vm-line);
  color: var(--vm-muted);
  text-align: center;
  font-weight: 650;
  cursor: pointer;
}
.module-label:hover { color: var(--vm-text); background: #172744; }
.module-picker input:checked + .module-label { border-color: var(--vm-accent); color: var(--vm-accent); }
.module-picker input:focus-visible + .module-label { outline: 2px solid var(--vm-accent); outline-offset: -5px; }
.module-panel {
  display: none;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.2rem, 4vw, 3rem);
}
#analysis-0:checked ~ #analysis-panel-0, #analysis-1:checked ~ #analysis-panel-1,
#analysis-2:checked ~ #analysis-panel-2, #analysis-3:checked ~ #analysis-panel-3 { display: grid; }
.module-copy h3, .vm-workspace h3 {
  margin: 0 0 .65rem;
  font-family: var(--vm-display);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.analysis-example {
  min-width: 0;
  padding: clamp(.7rem, 2vw, 1.2rem);
  border-radius: .45rem;
  background: var(--vm-deep);
  font-variant-numeric: tabular-nums;
}
.analysis-heading { margin-bottom: .75rem; font-size: .9rem; }
.analysis-heading span, .analysis-note { color: var(--vm-muted); font-size: .78rem; }
.analysis-heading span { text-align: right; }
.analysis-note { margin-top: .75rem; }
.heat-court { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #567387; }
.heat-zone, .rotation-zone {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 4.65rem;
  padding: .25rem;
  border: 1px solid #567387;
  background: #152a3b;
}
.heat-zone { background: color-mix(in srgb, #14779b calc(var(--count) * 6%), #122231); }
.heat-zone small, .rotation-zone small { color: #e0eff8; font-size: .72rem; }
.heat-zone strong, .rotation-zone strong { font: 600 1.45rem var(--vm-data); }
.rotation-zone strong { color: var(--vm-accent); }
.report-table { table-layout: fixed; }
.report-table th, .report-table td { padding: .55rem .15rem; text-align: center; font-size: .76rem; overflow-wrap: anywhere; }
.report-table tbody th { color: var(--vm-accent); font-family: var(--vm-data); }
.video-events li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid var(--vm-line); font-size: .82rem; }
.video-events time { color: var(--vm-accent); font-family: var(--vm-data); }
.video-events span { color: var(--vm-muted); text-align: end; }
.vm-program-screens { margin-top: 1rem; }
.vm-program-screens summary { padding-block: .75rem; color: var(--vm-accent); cursor: pointer; font-weight: 750; }
.vm-program-screens > p { margin: 0 0 1rem; color: var(--vm-muted); }
.vm-screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.vm-screenshot-grid figure { margin: 0; min-width: 0; }
.vm-screenshot-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--vm-line);
  border-radius: .45rem;
  background: var(--vm-deep);
  cursor: zoom-in;
}
.vm-screenshot-trigger:hover { border-color: var(--vm-accent); }
.vm-screenshot-trigger img { display: block; width: 100%; height: auto; border-radius: inherit; }
.vm-screenshot-grid figcaption { text-align: left; }
.vm-home:has(.vm-screenshot-dialog[open]) { overflow: hidden; }
.vm-screenshot-dialog {
  width: min(94vw, 92rem);
  max-height: 94dvh;
  margin: auto;
  padding: 0;
  border: 1px solid var(--vm-line);
  border-radius: .8rem;
  background: var(--vm-surface);
  color: var(--vm-text);
}
.vm-screenshot-dialog::backdrop { background: rgb(3 7 22 / .85); }
.vm-screenshot-preview { padding: clamp(.5rem, 1.5vw, 1rem); }
.vm-screenshot-preview header { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.vm-screenshot-preview h3 { margin: 0; font-size: clamp(1rem, 2vw, 1.25rem); }
.vm-screenshot-preview button { min-height: 2.75rem; padding: .5rem .8rem; color: var(--vm-text); font: inherit; font-weight: 700; }
.vm-screenshot-preview button:hover { border-color: var(--vm-accent); }
.vm-screenshot-preview-image img { display: block; width: 100%; height: auto; max-height: calc(94dvh - 5.5rem); object-fit: contain; }
.vm-workspace { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--vm-line); }
.vm-workspace h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.vm-onboard { border-block: 1px solid var(--vm-line); background: radial-gradient(ellipse at 78% 100%, #182854, transparent 80%), #0d1730; }
.vm-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  margin: 2.75rem 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: activation;
}
.vm-steps li { padding-top: .85rem; border-top: 1px solid #496377; counter-increment: activation; }
.vm-steps li::before { content: counter(activation, decimal-leading-zero); color: var(--vm-accent); font: 600 .89rem var(--vm-data); }
.vm-steps h3 { margin: .4rem 0 .2rem; font-size: 1.08rem; }
.vm-questions { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(1rem, 5vw, 4rem); }
.vm-questions details { border-bottom: 1px solid var(--vm-line); }
.vm-questions details:first-child { border-top: 1px solid var(--vm-line); }
.vm-questions summary { position: relative; min-height: 3.5rem; display: block; padding: 1rem 2rem 1rem 0; cursor: pointer; font-weight: 650; list-style: none; }
.vm-questions summary::-webkit-details-marker { display: none; }
.vm-questions summary::before, .vm-questions summary::after {
  position: absolute;
  top: 1.72rem;
  right: .25rem;
  width: .78rem;
  height: 1px;
  background: var(--vm-accent);
  content: "";
}
.vm-questions summary::after { transform: rotate(90deg); }
.vm-questions details[open] summary::after { transform: none; }
.vm-questions p { margin: 0 1.5rem 1.15rem 0; }
.vm-footer { padding: 0; text-align: left; color: var(--vm-muted); border-color: var(--vm-line); }
.vm-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.5rem; }

@media (max-width: 66rem) {
  .vm-wrap { width: min(100% - 3.5rem, 77rem); }
  .vm-header-inner { gap: .7rem; }
  .vm-main-nav, .vm-account-nav { gap: .85rem; }

}
@media (max-width: 52rem) {
  .vm-header-inner { grid-template-columns: 1fr auto; padding-top: .35rem; }
  .vm-main-nav { grid-area: 2 / 1 / 3 / -1; border-top: 1px solid var(--vm-line); justify-content: center; gap: clamp(1rem, 5vw, 2rem); }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; padding-block: 3.6rem 2.6rem; }
  .match-preview { max-width: 38rem; width: 100%; }
  .vm-hero { background-position: 45% 100%; }
  .vm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 38rem) {
  .vm-wrap { width: calc(100% - 2rem); }
  .vm-header-inner { gap: .4rem; }
  .vm-wordmark { font-size: 1rem; gap: .4rem; letter-spacing: .04em; }
  .vm-wordmark img { width: 1.5rem; }
  .vm-account-nav { gap: .6rem; flex-wrap: wrap; }
  .vm-account-nav .vm-header-cta { display: none; }
  .vm-language { gap: .32rem; }
  .vm-header .vm-language a { min-width: 1.5rem; justify-content: center; }
  .vm-language a + a::before { margin-right: .25rem; }
  .vm-header nav a, .vm-footer-links a { font-size: .8rem; }
  .hero-grid { padding-top: 2.25rem; gap: 1.4rem; }
  .hero-copy > p:not(.hero-brand) { margin: 1.1rem 0 1rem; }
  .hero-brand { margin-top: .8rem; }
  .match-shell { padding-inline: .65rem; }
  .match-toolbar { font-size: .69rem; }
  .rally-choice { padding-inline: .42rem; }
  .rally-choice span { font-size: .7rem; }
  .rally-choice small { display: none; }
  .vm-facts ul { grid-template-columns: repeat(2, 1fr); }
  .vm-facts li { min-height: 3.4rem; font-size: .79rem; }
  .vm-facts li:nth-child(3) { border-inline-start: 0; }
  .vm-facts li:nth-child(n + 3) { border-top: 1px solid var(--vm-line); }
  .vm-section-head, .module-panel, .vm-workspace, .vm-questions { grid-template-columns: 1fr; gap: 1rem; }
  .vm-screenshot-grid { grid-template-columns: 1fr; }
  .module-label { padding: .35rem .2rem; font-size: .75rem; }
}
@media (max-width: 24rem) {
  .vm-footer-inner { align-items: flex-start; flex-direction: column; gap: .25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .vm-home *, .vm-home *::before, .vm-home *::after { animation: none; transition: none; }
}
