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

:root {
  color-scheme: dark light;
  --bg: #0E0F11;
  --bg-sunken: #0A0B0C;
  --border: #26282C;
  --text: #E6E7E9;
  --text-muted: #8A8F98;
  --accent: #6E7BFF;
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Light tokens from SPECBOOK section 9. All pairs checked at 4.5:1 or higher. */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #FAFAFA;
    --bg-sunken: #F2F2F3;
    --border: #E4E4E7;
    --text: #18181B;
    --text-muted: #6B6F76;
    --accent: #4A55E0;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
}

header,
main,
footer {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  padding-inline: 24px;
}

header {
  padding-top: 96px;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 64px;
  padding-bottom: 48px;
}

footer {
  padding-bottom: 32px;
}

.wordmark {
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
}

h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.5;
}

code {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--bg-sunken);
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.status {
  display: flex;
  gap: 8px;
  margin: 24px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 22px;
}

.status::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.signup {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-top: auto;
  padding-top: 40px;
}

.note {
  max-width: 288px;
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
}

a:hover {
  text-decoration-color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.button:hover {
  opacity: 0.88;
}

footer p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 599px) {
  header,
  main,
  footer {
    padding-inline: 20px;
  }

  header {
    padding-top: 56px;
  }

  h1 {
    font-size: 32px;
  }
}
