@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/inter-tight-700.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
}

@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/inter-tight-600.woff2") format("woff2");
  font-display: swap;
  font-weight: 600;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-500.woff2") format("woff2");
  font-display: swap;
  font-weight: 500;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-500.woff2") format("woff2");
  font-display: swap;
  font-weight: 500;
}

:root {
  color-scheme: light;
  --obsidian: #1f1b18;
  --ivory: #f8f2e8;
  --panel: #f2e9dd;
  --muted: #6f665e;
  --gold: #d8a12e;
  --pine: #2e6d4f;
  --gold-ink: #7a5600;
  --copper: #9b3f1e;
  --border: rgb(31 27 24 / 18%);
  --soft-border: rgb(31 27 24 / 10%);
  --white: #fffaf2;
  --font-heading: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-data: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--obsidian);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 4vw, 48px);
  padding: 20px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--soft-border);
  background: rgb(248 242 232 / 94%);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-mark img {
  width: clamp(132px, 16vw, 190px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover {
  color: var(--obsidian);
}

.nav-contact {
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--obsidian);
  background: var(--panel);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 64px) clamp(34px, 5vw, 72px);
}

.hero-copy {
  max-width: 780px;
}

.status-line,
.section-label,
.panel-caption {
  margin: 0;
  color: var(--gold-ink);
  font-family: var(--font-data);
  font-size: 0.76rem;
  font-weight: 500;
}

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 9.5vw, 6rem);
  line-height: 0.93;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.15;
}

.hero-lede,
.section-heading p,
.closing-section p {
  max-width: 70ch;
  color: #4f4741;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 600;
}

.primary-action {
  background: var(--gold);
  color: var(--obsidian);
}

.secondary-action {
  border: 1px solid var(--border);
  background: rgb(255 250 242 / 62%);
  color: var(--obsidian);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.hero-facts div {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.hero-facts dt,
.metric-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-facts dd,
.metric-row b {
  margin: 4px 0 0;
  font-family: var(--font-data);
  font-size: 0.95rem;
  font-weight: 500;
}

.product-proof {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(248 242 232 / 16%);
  border-radius: 8px;
  background: var(--obsidian);
  color: var(--ivory);
}

.proof-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: rgb(248 242 232 / 80%);
  font-size: 0.82rem;
}

.proof-toolbar strong {
  color: var(--gold);
  font-family: var(--font-data);
  font-size: 0.76rem;
  font-weight: 500;
}

.proof-body {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 3vw, 26px);
  border-top: 1px solid rgb(248 242 232 / 14%);
}

.proof-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgb(248 242 232 / 70%);
  font-family: var(--font-data);
  font-size: 0.76rem;
}

.proof-identity img {
  width: clamp(126px, 15vw, 180px);
  height: auto;
}

.court-visual {
  min-height: clamp(270px, 34vw, 430px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(248 242 232 / 18%);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgb(248 242 232 / 12%) 1px, transparent 1px) 0 0 / 50% 100%,
    linear-gradient(0deg, rgb(248 242 232 / 10%) 1px, transparent 1px) 0 0 / 100% 50%,
    radial-gradient(circle at 78% 18%, rgb(216 161 46 / 20%), transparent 24%),
    #2e6d4f;
}

.court-visual::before,
.court-visual::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 2px solid rgb(248 242 232 / 74%);
  border-radius: 8px;
}

.court-visual::after {
  inset: 24% 9%;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.court-line {
  position: absolute;
  z-index: 1;
  background: rgb(248 242 232 / 68%);
}

.court-net {
  width: 2px;
  top: 9%;
  bottom: 9%;
  left: 50%;
}

.court-service-a,
.court-service-b {
  height: 2px;
  left: 9%;
  right: 9%;
}

.court-service-a {
  top: 50%;
}

.court-service-b {
  display: none;
}

.court-visual svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 3;
}

.trajectory {
  fill: none;
  stroke-linecap: round;
  stroke-width: 6;
}

.trajectory.primary {
  stroke: var(--gold);
}

.trajectory.secondary {
  stroke: rgb(248 242 232 / 72%);
  stroke-dasharray: 12 12;
  stroke-width: 4;
}

.ball {
  fill: var(--gold);
  stroke: var(--ivory);
  stroke-width: 3;
}

.impact {
  fill: var(--copper);
  stroke: var(--ivory);
  stroke-width: 2;
}

.player-dot {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 4;
  border: 2px solid rgb(248 242 232 / 76%);
  border-radius: 999px;
  background: var(--obsidian);
  color: var(--ivory);
  font-family: var(--font-data);
  font-size: 0.76rem;
}

.player-one {
  left: 20%;
  bottom: 20%;
}

.player-two {
  right: 18%;
  bottom: 24%;
}

.player-three {
  right: 24%;
  top: 19%;
}

.player-four {
  left: 22%;
  top: 26%;
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.proof-metrics div,
.proof-insight {
  border: 1px solid rgb(248 242 232 / 14%);
  border-radius: 8px;
  background: rgb(248 242 232 / 7%);
  padding: 14px;
}

.proof-metrics dt,
.proof-insight span {
  color: rgb(248 242 232 / 68%);
  font-size: 0.78rem;
}

.proof-metrics dd {
  margin: 5px 0 0;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
}

.proof-insight p {
  margin: 6px 0 0;
  color: rgb(248 242 232 / 82%);
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 4vw, 64px);
}

.section-heading {
  max-width: 960px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.feature-grid,
.pilot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.feature-grid article,
.pilot-grid article,
.tech-panel,
.evidence-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgb(255 250 242 / 54%);
  padding: clamp(22px, 3vw, 34px);
}

.feature-grid p,
.pilot-grid p,
.tech-panel li,
.evidence-panel p {
  color: #4f4741;
}

.technology-section {
  background: var(--obsidian);
  color: var(--ivory);
}

.technology-section .section-heading p,
.technology-section .tech-panel li,
.technology-section .evidence-panel p {
  color: rgb(248 242 232 / 78%);
}

.technology-section .section-label,
.technology-section .panel-caption {
  color: var(--gold);
}

.tech-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 16px;
}

.tech-panel,
.evidence-panel {
  border-color: rgb(248 242 232 / 16%);
  background: rgb(248 242 232 / 6%);
}

.tech-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.evidence-panel strong {
  display: block;
  margin: 12px 0 14px;
  color: var(--ivory);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3.2vw, 2.8rem);
  line-height: 1;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgb(248 242 232 / 16%);
  padding: 13px 0;
}

.metric-row span {
  color: rgb(248 242 232 / 70%);
}

.metric-row b {
  color: var(--gold);
}

.pilot-grid article span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold-ink);
  font-family: var(--font-data);
}

.closing-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--soft-border);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 64px);
  background: var(--obsidian);
  color: rgb(248 242 232 / 76%);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--gold);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .tech-layout {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
  }

  .closing-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-nav {
    gap: 14px;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 34px;
  }

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

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

  .proof-identity,
  .proof-metrics {
    grid-template-columns: 1fr;
  }

  .proof-identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .court-visual {
    min-height: 290px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
