:root {
  --paper: #f6f7fb;
  --ink: #101a2e;
  --muted: #55607a;
  --line: #dde2ec;
  --cobalt: #2b54f0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c111c;
    --ink: #eef1f8;
    --muted: #98a3bc;
    --line: #222b3d;
    --cobalt: #86a2ff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cobalt); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

header, main, footer { max-width: 1040px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
header { padding-top: 28px; padding-bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand::before { content: ""; width: 18px; height: 18px; border-radius: 5px; background: var(--cobalt); }
nav a { margin-left: 24px; color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
nav a:hover { color: var(--ink); text-decoration: underline; }

/* Home */
.hero { padding-top: clamp(64px, 14vh, 140px); padding-bottom: clamp(88px, 20vh, 200px); }
.hero h1 {
  font-size: clamp(2.7rem, 8.5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 11em;
  margin: 0 0 24px;
}
.notice { display: flex; align-items: center; gap: 10px; font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--muted); margin: 0; }
.cone { width: 1.5em; height: 1.5em; flex: none; }

/* Support and privacy pages */
main.doc { padding-top: 48px; padding-bottom: 80px; }
main.doc h1 { font-size: clamp(2.2rem, 6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 8px; }
main.doc h2 { font-size: 1.25rem; letter-spacing: -0.01em; margin: 40px 0 8px; }
main.doc p { max-width: 38em; line-height: 1.7; margin: 0 0 16px; }
.updated { color: var(--muted); font-size: 0.95rem; margin: 0 0 32px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 40px; color: var(--muted); font-size: 0.9rem; }
footer a { color: var(--muted); margin-right: 20px; text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
footer p { margin: 12px 0 0; }
