:root {
  color-scheme: light;
  --ink: #172c3b;
  --muted: #526675;
  --paper: #f5f7f6;
  --white: #ffffff;
  --line: #dce5e2;
  --accent: #0a685b;
  --accent-soft: #e8f2ed;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
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; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 2; background: white; padding: 0.6rem 1rem; }
.skip-link:focus { top: 1rem; }
.wrap { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 750; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: white; background: var(--accent); font-size: 0.8rem; letter-spacing: 0.03em; }
nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 0.9rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration: underline; }
main { padding-block: 64px 76px; }
.hero { max-width: 800px; margin-bottom: 44px; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 0.78rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.12em; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.15rem, 5vw, 3.65rem); margin: 0 0 24px; max-width: 850px; }
h2 { font-size: 1.65rem; margin: 0 0 18px; }
h3 { font-size: 1.16rem; margin: 0 0 12px; }
p { margin: 0 0 18px; }
.lead { font-size: 1.17rem; color: var(--muted); max-width: 730px; }
.badge { display: inline-block; padding: 5px 12px; background: var(--accent-soft); color: var(--accent); border: 1px solid #cbded4; border-radius: 100px; font-size: 0.84rem; font-weight: 650; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 44px; }
.card, .panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step { margin-bottom: 24px; color: var(--accent); font-size: 0.8rem; font-weight: 750; letter-spacing: 0.05em; }
.card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0; }
.panel { margin-block: 24px; }
.panel p:last-child { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
ul, ol { padding-left: 1.35em; margin: 0 0 22px; }
li { padding-left: 0.18em; margin-bottom: 10px; }
.document { max-width: 790px; }
.document section { margin-top: 38px; }
.document h1 { font-size: clamp(2.15rem, 5vw, 3rem); }
.document h2 { font-size: 1.4rem; }
.updated { font-size: 0.88rem; color: var(--muted); }
.toc { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-block: 24px 34px; font-size: 0.9rem; }
code { font-size: 0.86em; overflow-wrap: anywhere; }
.email { overflow-wrap: anywhere; }
.site-footer { padding-block: 28px 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.84rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 720px) {
  .wrap { width: min(1080px, calc(100% - 36px)); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 17px; padding-block: 20px; }
  nav { gap: 20px; }
  main { padding-block: 42px 54px; }
  .grid, .split { grid-template-columns: 1fr; gap: 16px; }
  .hero { margin-bottom: 30px; }
  .card, .panel { padding: 24px; }
  .step { margin-bottom: 12px; }
  .split { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
