:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --line: #e4e2dc;
  --accent: #9a7b3c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #1b1b1e;
    --text: #f2f2f4;
    --muted: #a0a0a8;
    --line: #2c2c31;
    --accent: #c9a45c;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; width: 100%; }

header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--text); }
.brand:hover { text-decoration: none; }
nav a { color: var(--muted); margin-left: 24px; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

main { flex: 1; }
.hero { padding: 88px 0 56px; }
.hero h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0; }

.section-title { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 16px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.card h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.01em; }
.card p { margin: 0 0 8px; color: var(--muted); max-width: 440px; }
.card .links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.badge {
  display: inline-block;
  border: 2px solid var(--accent);
  border-radius: 14px;
  padding: 6px;
  line-height: 0;
}
.badge img { height: 46px; width: auto; display: block; }
.badge:hover { text-decoration: none; opacity: 0.9; }

.prose { padding: 72px 0; max-width: 620px; }
.prose h1 { font-size: 36px; letter-spacing: -0.02em; margin: 0 0 20px; }
.prose p { color: var(--muted); font-size: 17px; }
.prose dl { margin: 32px 0 0; }
.prose dt { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-top: 20px; }
.prose dd { margin: 4px 0 0; font-size: 17px; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 520px) {
  nav a { margin-left: 16px; }
  .hero { padding: 56px 0 40px; }
  .card { padding: 22px; }
}
