:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --card: #f0f0f2;
  --text: #0f1013;
  --muted: #5e5f67;
  --line: #e0e1e4;
  --accent: #0f1013;
  --on-accent: #ffffff;
  --accent-soft: #f0f0f2;
  --danger: #c4261d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1013;
    --card: #1e1f24;
    --text: #f4f4f5;
    --muted: #a6a7ae;
    --line: #34353b;
    --accent: #f4f4f5;
    --on-accent: #0f1013;
    --accent-soft: #1e1f24;
    --danger: #ff8a80;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.65;
}

main {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 72px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

nav { display: flex; gap: 18px; }

nav a, .text-link {
  color: var(--accent);
  font-weight: 650;
  text-decoration: none;
}

nav a:hover, .text-link:hover { text-decoration: underline; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(36px, 7vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.notice, section {
  margin-top: 26px;
  padding: 26px 28px;
  background: var(--card);
}

.notice {
  margin-top: 36px;
  background: var(--accent-soft);
}

h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

ul, ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

li + li { margin-top: 7px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 16px;
  padding: 0 20px;
  color: var(--on-accent);
  background: var(--accent);
  font-weight: 730;
  text-decoration: none;
}

.button:hover { background: var(--muted); }

.danger { color: var(--danger); }

footer {
  margin-top: 52px;
  padding-top: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 620px) {
  main { padding-top: 30px; }
  header { align-items: flex-start; margin-bottom: 42px; }
  nav { flex-direction: column; gap: 6px; text-align: right; }
  .notice, section { padding: 22px 20px; }
}
