:root {
  --bg: #faf7f2;
  --fg: #1f1b16;
  --muted: #6b6259;
  --accent: #c2410c;
  --line: #e7e0d6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15120f;
    --fg: #f3ede4;
    --muted: #a39887;
    --accent: #fb923c;
    --line: #2c2620;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--accent); }

header, main, footer {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
}

header .brand {
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.02em;
}

header nav a {
  margin-left: 16px;
  color: var(--muted);
  text-decoration: none;
}

header nav a:hover { color: var(--fg); }

main { flex: 1; padding-bottom: 48px; }

.hero { padding: 64px 0 32px; }

.hero h1 {
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero p { font-size: 1.15rem; color: var(--muted); margin: 0; }

h2 { margin-top: 2em; }

footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}
