:root {
  color-scheme: dark;
  --bg: #0d0d10;
  --surface: #303031;
  --button-bg: #4d4d4d;
  --border: rgba(255, 255, 255, .14);
  --text: #f5f5f7;
  --text-dim: rgba(245, 245, 247, .68);
  --accent: #e3391a;
  --focus: rgba(227, 57, 26, .72);
}

* { box-sizing: border-box; }

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

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

a { color: inherit; }

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

.launch-nav {
  width: min(100% - 40px, 1100px);
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}

.launch-nav__logo { display: inline-flex; width: min(220px, 52vw); }
.launch-nav__logo img { display: block; width: 100%; height: auto; }
.launch-nav__back {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.launch-nav__back:hover { color: var(--text); }

.launch-main {
  width: min(100% - 40px, 760px);
  flex: 1;
  margin: 0 auto;
  padding: clamp(54px, 9vw, 100px) 0 72px;
}

.launch-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.launch-main h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 8vw, 76px);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.launch-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--text-dim);
  font-size: clamp(17px, 2.5vw, 21px);
  line-height: 1.6;
}

.launch-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.launch-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--button-bg);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.launch-button--primary { border-color: var(--accent); background: var(--accent); }
.launch-button:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .34); }
.launch-button:active { transform: translateY(0) scale(.98); }

.error-code {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .08);
  font-size: clamp(110px, 27vw, 250px);
  font-weight: 950;
  line-height: .72;
  letter-spacing: -.08em;
}

.legal-copy { margin-top: 48px; }
.legal-copy section { padding: 26px 0; border-top: 1px solid var(--border); }
.legal-copy h2 { margin: 0 0 12px; font-size: 19px; line-height: 1.3; }
.legal-copy p { margin: 0 0 14px; color: var(--text-dim); line-height: 1.7; }
.legal-copy p:last-child { margin-bottom: 0; }
.legal-copy a { color: var(--text); text-underline-offset: 3px; }

.launch-footer {
  width: min(100% - 40px, 1100px);
  margin: auto auto 0;
  padding: 22px 0 max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
}
.launch-footer a { text-decoration: none; }
.launch-footer a:hover { color: var(--text); }

@media (max-width: 560px) {
  .launch-nav, .launch-main, .launch-footer { width: min(100% - 28px, 760px); }
  .launch-nav { align-items: flex-start; }
  .launch-nav__logo { width: min(170px, 50vw); }
  .launch-main { padding-block: 46px 58px; }
  .launch-main h1 { font-size: clamp(38px, 13vw, 58px); }
  .launch-actions { flex-direction: column; }
  .launch-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 1ms !important; }
}
