:root {
  --bg: #f6f3ec;
  --bg-glow: #ffffff;
  --ink: #12203d;
  --muted: #5d6680;
  --table: #1f4fa0;
  --table-line: #ffffff;
  --net: #12203d;
  --leg: #8a93a8;
  --ball: #ff7a1a;
  --trail: rgba(255, 122, 26, 0.18);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1730;
    --bg-glow: #15284d;
    --ink: #f3f1ea;
    --muted: #9aa6c2;
    --table: #2f6fd6;
    --table-line: #e8eefc;
    --net: #e8eefc;
    --leg: #3a4a6e;
    --ball: #ff8a2e;
    --trail: rgba(255, 138, 46, 0.22);
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 16px;
  background: radial-gradient(ellipse at 50% 30%, var(--bg-glow) 0%, var(--bg) 65%) fixed, var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.25rem;
}

.rally { width: min(420px, 100%); height: auto; margin-bottom: 1.5rem; overflow: visible; }
.table { fill: var(--table); }
.table-line { stroke: var(--table-line); stroke-width: 1.5; }
.net { fill: var(--net); opacity: 0.85; }
.net-tape { stroke: var(--net); stroke-width: 2; stroke-linecap: round; }
.leg { fill: var(--leg); }
.trail { fill: none; stroke: var(--trail); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.ball { fill: var(--ball); }

h1 {
  margin: 0;
  font-size: clamp(3.25rem, 12vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}
h1 .p { color: var(--ball); }
h1 .tld { color: var(--muted); font-weight: 600; }

.tagline {
  margin: 1rem 0 0;
  font-size: clamp(1.1rem, 3.6vw, 1.4rem);
  font-weight: 500;
}

.soon {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

footer {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
