@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/barlow-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Rubik";
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/rubik-latin-900-italic.woff2") format("woff2");
}

:root {
  --navy: #0A1628;
  --navy-2: #13294B;
  --ice: #EAF6FC;
  --ice-dim: #C4D6E6;
  --muted: #8FA6BF;
  --red: #FF3B3B;
  --red-button: #E0262B;
  --cyan: #5CC8F2;
  --line: #3A5578;
  --gutter: clamp(16px, 5vw, 72px);
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Rubik", "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background: var(--navy);
  color: var(--ice);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--ice); text-decoration: none; }
a:hover { color: var(--cyan); }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ice);
  color: var(--navy);
  font-weight: 700;
}
.skip-link:focus { top: 16px; color: var(--navy); }

.rink {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.site-header, .hero, .site-footer { position: relative; z-index: 1; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 0 var(--gutter);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 146px; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-sm { min-height: 44px; padding: 12px 24px; font-size: 16px; }
.btn-primary { background: var(--red-button); color: #FFFFFF; }
.btn-primary:hover { background: #C41D22; color: #FFFFFF; }
.btn-outline { border: 2px solid var(--cyan); color: var(--ice); }
.btn-outline:hover { background: rgba(92, 200, 242, 0.12); color: var(--ice); }

/* Hero */
.hero {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 24px var(--gutter) 72px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}
.hero-copy { flex: 1 1 0; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.headline {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.accent { color: var(--red); }
.lede { margin: 0; max-width: 520px; font-size: 20px; line-height: 1.5; font-weight: 500; color: var(--ice-dim); }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; scroll-margin-top: 24px; }
.badge-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 52px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px dashed var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.platform-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: -8px; color: var(--ice-dim); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.platform { display: inline-flex; align-items: center; gap: 8px; }
.platform svg { width: 20px; height: 20px; flex: none; color: var(--cyan); }

.hero-art { flex: 0 1 520px; display: flex; justify-content: center; }
.hero-art img {
  width: min(420px, 100%);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
}

/* Footer */
.site-footer {
  padding: 24px var(--gutter) 32px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.site-footer p { margin: 0; }

/* Tablet */
@media (max-width: 1000px) {
  .nav-secondary { display: none; }
  .hero { flex-direction: column-reverse; align-items: flex-start; gap: 40px; padding-top: 8px; }
  .hero-art { flex-basis: auto; align-self: center; }
  .hero-art img { width: min(260px, 60vw); }
}

/* Phone */
@media (max-width: 480px) {
  .site-header { min-height: 72px; }
  .brand img { width: 116px; }
  .lede { font-size: 18px; }
  .cta-row .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
