:root {
  color: #241d1a;
  background: #fffdf9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  font-synthesis: none;
  --ink: #241d1a;
  --muted: #706762;
  --line: #e7ded6;
  --paper: #fffdf9;
  --soft: #f6efe8;
  --accent: #e56e5e;
  --accent-dark: #a84236;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
.site-shell { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255, 253, 249, .96); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: Georgia, serif; font-size: 1.45rem; font-weight: 800; text-decoration: none; letter-spacing: -.04em; }
.brand span { color: var(--accent); }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; font-size: .9rem; color: var(--muted); }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .text-link:hover { color: var(--accent-dark); }
.page-main { padding: 72px 0 80px; }
.eyebrow { margin: 0 0 12px; color: var(--accent-dark); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { max-width: 800px; margin: 0; font-size: clamp(2.45rem, 6vw, 4.6rem); }
h2 { margin-top: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { margin-bottom: 8px; font-size: 1.15rem; }
.lede { max-width: 740px; margin: 22px 0 0; color: var(--muted); font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 28px 0 56px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); color: #fff; font-weight: 750; text-decoration: none; }
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button.secondary { background: transparent; color: var(--accent-dark); }
.button.secondary:hover { background: var(--soft); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .9fr); gap: 24px; align-items: start; }
.card { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: clamp(20px, 4vw, 32px); box-shadow: 0 12px 36px rgba(81, 52, 38, .05); }
.card + .card { margin-top: 24px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.quick-facts { background: var(--soft); border-color: transparent; }
.fact { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(112, 103, 98, .18); }
.fact:last-child { border-bottom: 0; }
.fact strong { color: var(--accent-dark); text-align: right; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.steps { counter-reset: steps; list-style: none; padding: 0; }
.steps li { counter-increment: steps; display: grid; grid-template-columns: 34px 1fr; gap: 12px; margin: 18px 0; }
.steps li::before { content: counter(steps); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); color: var(--accent-dark); font-weight: 800; }
.faq details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { margin-bottom: 0; color: var(--muted); }
.related { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.related a { display: inline-flex; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--muted); }
.related a:hover { border-color: var(--accent); color: var(--accent-dark); }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 42px; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { text-decoration: none; }
.notice { border-left: 3px solid var(--accent); padding: 12px 16px; background: var(--soft); color: var(--muted); }
.article { max-width: 900px; }
.article h2 { margin-top: 36px; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { color: #4e4540; }
.article code { padding: 2px 5px; border-radius: 4px; background: var(--soft); color: var(--accent-dark); font-size: .92em; }
.article ul { padding-left: 22px; }
.muted { color: var(--muted); }
@media (max-width: 760px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .site-nav { justify-content: flex-start; gap: 10px 14px; }
  .page-main { padding-top: 48px; }
  .content-grid { grid-template-columns: 1fr; }
  table { font-size: .92rem; }
  th, td { padding: 10px 6px; }
}
