:root { color-scheme: light dark; --bg: #f7f8f4; --fg: #17241e; --muted: #53645a; --line: #d4ded6; --accent: #146342; --panel: #edf1ea; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.site-header, main, footer { width: min(100% - 64px, 1060px); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; text-decoration: none; white-space: nowrap; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; }
nav a { text-decoration: none; color: var(--muted); }
nav a[aria-current] { color: var(--fg); text-decoration: underline; }
nav .open-app { color: var(--accent); font-weight: 650; }
.hero { padding-block: 70px 18px; max-width: 850px; }
.eyebrow { color: var(--accent); font: 650 12px/1.5 ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
h1 { font-size: clamp(40px, 6.5vw, 72px); font-weight: 650; letter-spacing: -.055em; line-height: 1.07; margin: 22px 0 26px; text-wrap: balance; }
.intro { max-width: 810px; font-size: clamp(19px, 2vw, 23px); line-height: 1.6; color: var(--muted); }
h2 { font-size: 27px; font-weight: 650; letter-spacing: -.035em; line-height: 1.25; margin: 0 0 20px; }
p { margin: 0 0 18px; }
section { margin-top: 52px; }
section > p { max-width: 820px; }
.actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.actions a { display: inline-flex; gap: 20px; align-items: center; padding: 12px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.actions a:first-child { background: var(--fg); color: var(--bg); }
.actions a:last-child { background: var(--panel); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-block: 34px 16px; border-top: 1px solid var(--line); }
.note, .sources, footer { font-size: 14px; color: var(--muted); }
.note { max-width: 810px; }
.definitions { margin: 0; }
.definitions > div { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding-block: 20px; border-top: 1px solid var(--line); }
dt { font-weight: 650; }
dd { margin: 0; max-width: 690px; color: var(--muted); }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
caption { text-align: left; padding-block: 14px; color: var(--muted); font-size: 13px; }
th, td { text-align: left; vertical-align: top; padding: 20px 22px; border-bottom: 1px solid var(--line); }
thead th { background: var(--panel); }
th:first-child { padding-left: 16px; width: 17%; }
td { width: 41.5%; color: var(--muted); }
code { font-size: .86em; overflow-wrap: anywhere; }
pre { padding: 22px 24px; background: var(--panel); border-radius: 8px; overflow-x: auto; line-height: 1.7; }
pre code { overflow-wrap: normal; white-space: pre-wrap; word-break: break-word; }
ul, ol { padding-left: 24px; }
li { margin-bottom: 12px; }
.steps { max-width: 840px; }
.steps li { padding-left: 12px; margin-bottom: 24px; }
.steps li::marker { color: var(--accent); font-weight: 650; }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; border-top: 1px solid var(--line); margin-top: 72px; padding-block: 30px; }
footer p { margin: 0; }
footer p:last-child { margin-left: auto; }
.skip { position: absolute; top: -100px; left: 20px; padding: 12px; background: var(--bg); }
.skip:focus { top: 12px; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #101714; --fg: #eef5ef; --muted: #afc0b4; --line: #304138; --accent: #7ee7b5; --panel: #1b2921; }
}
@media (max-width: 740px) {
  .site-header, main, footer { width: calc(100% - 36px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 20px; padding-block: 22px; }
  nav { gap: 12px 20px; }
  .hero { padding-top: 38px; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .definitions > div { grid-template-columns: 1fr; gap: 6px; }
  table, caption, tbody { display: block; }
  caption { font-size: 12px; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; border-bottom: 1px solid var(--line); padding-block: 18px; }
  tbody th, td { width: auto; padding: 0; border: 0; }
  tbody th:first-child { width: auto; grid-column: 1 / -1; padding: 0 0 12px; font-size: 16px; }
  td::before { content: attr(data-label); display: block; margin-bottom: 8px; font-size: 12px; font-weight: 650; color: var(--fg); }
  footer { display: block; }
  footer p { margin-top: 10px; }
}
