/* Palette copied from site/src/styles/tokens.css (dark default, light by media query). */
:root {
  --bg: #0b0b0e;
  --ink: #f0f0f3;
  --muted: #a3a3ad;
  --accent: #a7d8be;
  --accent-hi: #c0e6d1;
  --on-accent: #12352a;
  color-scheme: dark light;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #eef1f5;
    --ink: #111826;
    --muted: #596270;
    --accent: #2d6a4f;
    --accent-hi: #255a43;
    --on-accent: #f4fbf7;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 system-ui, -apple-system, 'Segoe UI', sans-serif;
}

main {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.brand {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.btn {
  display: block;
  width: 100%;
  padding: 18px 24px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover { background: var(--accent-hi); }

.link { color: var(--muted); font-size: 15px; }
.link:hover { color: var(--ink); }

.btn:focus-visible,
.link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.note { margin: 0; color: var(--muted); }

[hidden] { display: none !important; }
