:root {
  --bg: #fff;
  --text: #1a1a1a;
  --muted: #86868b;
  --border: rgba(0, 0, 0, 0.08);
  --accent: #1a1a1a;
  --accent-fg: #fff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --text: #f5f5f7;
    --muted: #86868b;
    --border: rgba(255, 255, 255, 0.12);
    --accent: #f5f5f7;
    --accent-fg: #000;
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

header { padding-top: clamp(48px, 10vh, 96px); }
header > a { display: inline-block; font-size: 15px; color: var(--muted); text-decoration: none; margin-bottom: 40px; }
header > a:hover { color: var(--text); }
header h1 { font-size: clamp(40px, 6vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
header > a + h1 { font-size: clamp(28px, 4vw, 36px); letter-spacing: -0.02em; }
header p { margin-top: 12px; font-size: 15px; color: var(--muted); }

main { padding-top: 32px; padding-bottom: 96px; }
main p { font-size: 17px; color: var(--muted); max-width: 520px; }
p + p { margin-top: 16px; }
main a { color: var(--text); }
strong { color: var(--text); font-weight: 600; }

main > a { display: inline-block; margin-top: 40px; transition: opacity 0.2s ease; }
main > a:hover { opacity: 0.85; }
main > a img { display: block; height: 52px; width: auto; }

footer {
  padding-top: 32px;
  padding-bottom: 48px;
  display: flex;
  gap: 24px;
  font-size: 14px;
  border-top: 1px solid var(--border);
  margin-top: 64px;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
