:root {
  color-scheme: light;
  --paper: #f6f5f1;
  --surface: #ffffff;
  --ink: #18313b;
  --muted: #53656b;
  --line: #d8e0dc;
  --accent: #185d53;
  --soft: #e8f0eb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
.skip { position: absolute; left: 1rem; top: -6rem; background: white; padding: 0.6rem 1rem; z-index: 5; }
.skip:focus { top: 1rem; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 0; }
.brand { color: var(--ink); font-weight: 750; font-size: 20px; letter-spacing: -0.04em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; column-gap: 24px; row-gap: 8px; font-size: 14px; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; font-weight: 650; }
main { padding: 70px 0 80px; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.035em; }
h1 { font-size: clamp(34px, 5.2vw, 62px); margin: 0 0 28px; font-weight: 650; max-width: 850px; }
h2 { font-size: clamp(24px, 2.5vw, 32px); margin: 0 0 20px; font-weight: 650; }
h3 { font-size: 19px; margin: 0 0 12px; }
p { margin: 0 0 20px; }
.lead { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.55; max-width: 790px; color: var(--muted); }
.hero { padding-bottom: 46px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 58px; border-top: 1px solid var(--line); padding-top: 44px; }
.home-grid section + section { margin-top: 38px; }
.note { background: var(--soft); padding: 28px; border-radius: 12px; font-size: 15px; }
.note h2 { font-size: 23px; }
.note p:last-child { margin-bottom: 0; }
.flow { padding-left: 23px; margin: 0; }
.flow li { padding-left: 5px; margin-bottom: 16px; }
.meta { font-size: 14px; color: var(--muted); }
.document { max-width: 820px; }
.document h1 { font-size: clamp(34px, 4.5vw, 48px); }
.document section { margin-top: 40px; }
.document h2 { font-size: 25px; }
.document ul { padding-left: 24px; }
.document li { margin-bottom: 10px; }
.document .intro { padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.notice { border-left: 3px solid var(--accent); padding: 4px 0 4px 22px; margin: 26px 0; }
.notice p:last-child { margin-bottom: 0; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.88em; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 26px; align-items: flex-start; }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.contact { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 1120px); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 13px; padding: 19px 0; }
  nav { column-gap: 19px; }
  main { padding: 42px 0 55px; }
  .hero { padding-bottom: 30px; }
  .home-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 30px; }
  .note { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 16px; }
  .document section { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
