:root {
  color-scheme: light;
  --ink: #17242a;
  --muted: #637176;
  --paper: #fbf8f1;
  --surface: #fffdf8;
  --line: #e8e1d5;
  --accent: #ba573c;
  --accent-soft: #f6e5d9;
  --deep: #27383b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.72 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #8e3c2b; }
.shell { width: min(100% - 40px, 920px); margin-inline: auto; }
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--deep);
  font: 600 17px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.02em;
  text-decoration: none;
}
.sun-mark {
  position: relative;
  width: 25px;
  height: 25px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}
.sun-mark::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 8px;
  border-radius: 10px 10px 2px 2px;
  background: var(--accent);
}
.sun-mark::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 2px;
  height: 1.5px;
  background: var(--accent);
}
.nav { display: flex; flex-wrap: wrap; gap: 22px; }
.nav a { color: var(--muted); font-size: 13px; text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.hero { padding: 58px 0 35px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3 { color: var(--deep); }
h1 {
  max-width: 760px;
  margin: 0;
  font: 400 clamp(38px, 7vw, 60px)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}
.lede { max-width: 690px; margin: 18px 0 0; color: #45545a; font-size: 17px; }
.metadata { margin: 19px 0 0; color: var(--muted); font-size: 12px; }
.metadata strong { color: var(--ink); font-weight: 650; }
.layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 44px; align-items: start; padding-bottom: 75px; }
.contents {
  position: sticky;
  top: 22px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.contents h2 { margin: 0 0 11px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.contents ol { display: grid; gap: 7px; margin: 0; padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.contents a { color: inherit; text-decoration: none; }
.contents a:hover { color: var(--accent); }
.prose section { padding: 0 0 27px; margin: 0 0 26px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.prose h2 { margin: 0 0 11px; font: 400 25px/1.25 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.prose h3 { margin: 18px 0 6px; font-size: 15px; line-height: 1.4; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 8px 0 14px; padding-left: 23px; }
.prose li { margin: 5px 0; }
.callout {
  margin: 20px 0;
  padding: 17px 19px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: #3f4b4d;
  font-size: 14px;
}
.callout strong { color: var(--deep); }
.contact-card { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.footer { padding: 25px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--muted); }
.landing { padding: 70px 0 100px; }
.landing h1 { max-width: 690px; }
.doc-list { display: grid; gap: 12px; max-width: 650px; margin-top: 34px; }
.doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}
.doc-link:hover { border-color: #d6b8a6; color: var(--ink); }
.doc-link strong { display: block; color: var(--deep); font: 400 22px/1.2 Georgia, "Times New Roman", serif; }
.doc-link span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.arrow { color: var(--accent); font-size: 20px; }
@media (max-width: 700px) {
  .shell { width: min(100% - 32px, 920px); }
  .masthead { min-height: 68px; }
  .nav { gap: 14px; }
  .hero { padding-top: 42px; }
  .layout { grid-template-columns: 1fr; gap: 28px; }
  .contents { position: static; padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .contents ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
  .prose h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
