/* Mainstage: phone first (360 px), dark background, one accent colour. */
:root {
  --bg: #0f1115;
  --surface: #1a1d24;
  --text: #f2f3f5;
  --muted: #a7adba;
  --accent: #ffb000;
  --accent-text: #1a1300;
  --radius: 14px;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
}

.page {
  flex: 1;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 1.5rem;
}

.brand {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 800;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 2rem;
}

.button {
  display: block;
  padding: 1.125rem 1.25rem;
  border-radius: var(--radius);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.button-secondary {
  background: var(--surface);
  color: var(--text);
  border: 2px solid #2c313b;
}

.button:focus-visible,
.footer a:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.footer {
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.95rem;
}

.footer a {
  color: var(--muted);
}

@media (min-width: 48rem) {
  h1 {
    font-size: 2.75rem;
  }
}
