:root {
  color-scheme: light dark;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #536174;
  --line: #dbe1e8;
  --accent: #174e69;
  --tint: #edf4f7;
  --focus: #a34200;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent); text-underline-offset: .22em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 2px; }
.wrap { width: min(100% - 3rem, 68rem); margin-inline: auto; }
.skip { position: absolute; top: -8rem; left: 1rem; background: var(--surface); padding: .7rem 1rem; z-index: 2; }
.skip:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.35rem; }
.brand { font-weight: 650; text-decoration: none; color: var(--text); }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9rem; }
nav a { padding-block: .35rem; }
nav [aria-current="page"] { font-weight: 650; }
main { padding-block: 4.5rem 4rem; }
.eyebrow { margin: 0 0 1rem; color: var(--accent); font-size: .77rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 5.5vw, 3.75rem); letter-spacing: -.045em; margin: 0 0 1.4rem; max-width: 18ch; font-weight: 650; }
h2 { font-size: 1.45rem; letter-spacing: -.02em; margin: 0 0 1rem; }
h3 { font-size: 1.08rem; margin: 0 0 .5rem; }
p { margin: 0 0 1.2rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 57ch; }
.intro { max-width: 47rem; }
.actions { display: flex; gap: 1rem 1.7rem; flex-wrap: wrap; margin-top: 1.8rem; font-weight: 600; }
.actions a { padding-block: .25rem; }
.section { margin-top: 3.5rem; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: .6rem; padding: 1.5rem; }
.features p { margin: 0; color: var(--muted); font-size: .95rem; }
.note { padding: 1.5rem; background: var(--tint); border-left: 3px solid var(--accent); border-radius: 0 .5rem .5rem 0; }
.note p:last-child { margin-bottom: 0; }
.contact { overflow-wrap: anywhere; }
.document { max-width: 48rem; margin-inline: auto; }
.document h1 { max-width: none; font-size: clamp(2.1rem, 6vw, 3rem); }
.document h2 { margin-top: 2.7rem; }
.document li { margin-block: .4rem; }
.document .meta { color: var(--muted); font-size: .9rem; }
.document .toc { margin-block: 2rem; padding: 1.3rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: .5rem; }
.toc ol { columns: 2; padding-left: 1.3rem; margin: .7rem 0 0; }
.toc li { break-inside: avoid; }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.8rem; color: var(--muted); font-size: .85rem; }
.footer-inner { display: flex; gap: 1rem 2rem; justify-content: space-between; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.fine { font-size: .9rem; color: var(--muted); }
@media (max-width: 44rem) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: .4rem; }
  main { padding-block: 2.7rem; }
  .features { grid-template-columns: 1fr; }
  .section { margin-top: 2.6rem; }
  .toc ol { columns: 1; }
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #131b24; --surface: #1b2531; --text: #e6edf4; --muted: #b1bdcc; --line: #354354; --accent: #a3d8f1; --tint: #1c303d; --focus: #ffbd86; }
}
@media print {
  :root { color-scheme: light; --bg: white; --surface: white; --text: black; --muted: #333; --line: #bbb; --accent: #222; --tint: white; }
  nav, .skip, .toc { display: none; }
  main { padding-block: 1rem; }
  h2, h3 { break-after: avoid; }
}
