@font-face {
  font-family: "Number Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/d-din/NumberDisplay-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Number Display";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/d-din/NumberDisplay-Bold.woff2") format("woff2");
}

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

:root {
  --font-display: "Number Display", "Avenir Next", "Segoe UI", sans-serif;
  --font-sans: Inter, "Avenir Next", "Segoe UI", sans-serif;
  --bg: #0a0a0c;
  --bg-raise: #141418;
  --bg-raise-2: #1c1c22;
  --ink: #f5f5f5;
  --muted: #a8a8b3;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #b7d4ff;
  --accent-hover: #d6e6ff;
  --accent-soft: #1a2230;
  --wordmark: #f5f5f5;
  --on-accent: #0a0a0a;
  --accent-text: #b7d4ff;
  --focus: #b7d4ff;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  min-height: 100svh;
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
  letter-spacing: -0.011em;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -100%;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  z-index: 2;
}

.skip:focus {
  top: 1rem;
}

header {
  padding: 1.5rem 1.5rem 0;
}

.wordmark {
  display: block;
  width: clamp(8.5rem, 28vw, 11.5rem);
  height: auto;
  color: var(--wordmark);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 2.5rem;
}

.panel {
  width: min(40rem, 100%);
  text-align: left;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 .dest {
  color: var(--accent-text);
}

.intro {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.cta:hover,
.cta:focus-visible {
  background: var(--accent-hover);
}

.cta:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

footer {
  padding: 0 1.5rem 1.5rem;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

@media (max-width: 640px) {
  header { padding: 1.25rem 1.25rem 0; }
  main { padding: 2.4rem 1.25rem 2rem; align-items: flex-start; }
  .panel { padding-top: 1.5rem; }
  footer { padding: 0 1.25rem 1.35rem; }
}
