:root {
  --bg: #f6f9fb;
  --surface: #ffffff;
  --ink: #12263a;
  --muted: #4d6175;
  --line: #d5e0e8;
  --accent: #1f5f99;
  --accent-ink: #ffffff;
  --ice: #e6f1f8;
  --red: #c8423b;
  --blue: #2f6db3;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1822;
    --surface: #13222f;
    --ink: #e5eef5;
    --muted: #9db0c1;
    --line: #22384a;
    --accent: #6fb0ea;
    --accent-ink: #08131c;
    --ice: #182c3c;
    --red: #e06b63;
    --blue: #6fa4e0;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.mark { width: 34px; height: 22px; flex: none; }
.mark rect { fill: none; stroke: var(--accent); stroke-width: 3; }
.toplink { color: var(--muted); text-decoration: none; font-size: 15px; }
.toplink:hover { color: var(--ink); }

.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { margin: 0 0 20px; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.lede { margin: 0 0 28px; font-size: 19px; color: var(--muted); max-width: 34em; }
.button {
  display: inline-block; padding: 12px 22px; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600;
}
.button:hover { filter: brightness(1.08); }

.rinks { margin: 0; }
.rinks svg { width: 100%; height: auto; display: block; }
.rink rect { fill: var(--ice); stroke: var(--ink); stroke-width: 3; }
.rink line { stroke-width: 3; }
.rink .red { stroke: var(--red); }
.rink .blue { stroke: var(--blue); }
.rink circle { fill: none; stroke: var(--blue); stroke-width: 2.5; }

.points { padding: 56px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.points h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.points p { margin: 0; color: var(--muted); }

.contact { padding: 64px 0 72px; }
.contact h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.02em; }
.contact p { margin: 0 0 12px; color: var(--muted); max-width: 36em; }
.email { font-size: 20px; font-weight: 600; text-decoration: none; }
.email:hover { text-decoration: underline; }

.foot { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 14px; }
.foot p { margin: 0; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .rinks { max-width: 320px; }
  .grid3 { grid-template-columns: 1fr; gap: 28px; }
  .points { padding: 40px 0; }
  .contact { padding: 44px 0 52px; }
}
