:root {
  --ink: #1a1a2e;
  --body: #3a3a4a;
  --muted: #6b7280;
  --accent: #b45309;
  --accent-light: #fef3c7;
  --accent-mid: #f59e0b;
  --bg: #faf9f6;
  --card: #ffffff;
  --divider: #e5e2db;
  --callout-bg: #fefcf3;
  --callout-border: #e5d9b6;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.7;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HERO ── */
.hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 48px;
}
.hero-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero-subtitle {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--accent);
  font-style: italic;
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero-description {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.65;
}

/* ── CONTENT ── */
h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin: 48px 0 20px;
  padding-top: 48px;
  border-top: 1px solid var(--divider);
  line-height: 1.25;
}
h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 28px 0 12px;
  line-height: 1.3;
}
h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 24px 0 10px;
}
p { margin-bottom: 14px; }
p + ul, p + ol { margin-top: -4px; }

ul, ol {
  margin: 0 0 16px 0;
  padding-left: 20px;
}
li {
  margin-bottom: 6px;
  padding-left: 4px;
}
ul > li::marker { color: var(--accent); }
ol > li::marker { color: var(--accent); font-weight: 600; font-family: 'Fraunces', serif; font-size: 14px; }

strong { font-weight: 600; color: var(--ink); }

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
a:hover { border-bottom-color: var(--accent); }

code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13.5px;
  background: var(--accent-light);
  padding: 2px 6px;
  border-radius: 4px;
}
pre {
  background: var(--ink);
  color: #e2e8f0;
  padding: 20px 24px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 16px 0 24px;
  font-size: 13.5px;
  line-height: 1.6;
}
pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* ── BLOCKQUOTE → CALLOUT ── */
blockquote {
  background: var(--callout-bg);
  border-left: 3px solid var(--accent-mid);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 20px 0 24px;
  font-size: 14.5px;
}
blockquote p { margin-bottom: 6px; }
blockquote p:last-child { margin-bottom: 0; }

/* ── TABLE ── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14.5px;
}
th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 14px;
  border-bottom: 2px solid var(--ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--divider);
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }

/* ── HR → DIVIDER ── */
hr {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 48px 0;
}

/* ── FOOTER ── */
.footer {
  text-align: center;
  padding: 40px 0 60px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--divider);
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
}
