:root {
  color-scheme: light dark;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --text: #1c1d1f;
  --muted: #5e6166;
  --line: #e2e0d9;
  --accent: #2563eb;
  --on-accent: #ffffff;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --surface: #1d2024;
    --text: #ebecee;
    --muted: #9ba0a8;
    --line: #2c3036;
    --accent: #60a5fa;
    --on-accent: #0b1220;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100vh;
  min-height: 100dvh;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.wordmark {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.hero {
  margin: auto 0;
  padding: 56px 0;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 760;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 44ch;
}

.note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  font-size: 0.95rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.foot {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.foot a {
  color: inherit;
}

.foot a:hover {
  color: var(--text);
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

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

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .page {
    padding: 24px 16px;
  }

  .hero {
    padding: 40px 0;
  }
}
