:root {
  --bg: #f8fafc; --surface: #ffffff; --ink: #0b192c; --muted: #4a5b70; --line: #dde5ee;
  --accent: #007a87; --accent-ink: #ffffff; --ring: rgba(0, 180, 216, 0.35); --mark-tile: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #07111e; --surface: #0b192c; --ink: #f1f5f9; --muted: #9db0c6; --line: #1b2c44; --accent: #00f5d4; --accent-ink: #07111e; --mark-tile: #f1f5f9; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible, .card:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
header.site { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 650; letter-spacing: -0.01em; font-size: 18px; }
.brand .tile { width: 40px; height: 40px; border-radius: 11px; background: var(--mark-tile); border: 1px solid var(--line); display: grid; place-items: center; }
.brand img { width: 30px; height: 30px; display: block; }
nav.site { display: flex; gap: 22px; font-size: 15px; }
nav.site a { text-decoration: none; color: var(--muted); }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--ink); }
main { padding: 56px 0 72px; }
h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 18px; max-width: 18ch; }
h2 { font-size: 24px; letter-spacing: -0.015em; margin: 56px 0 14px; }
h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -0.01em; }
p { margin: 0 0 14px; max-width: 62ch; }
.lead { font-size: 20px; color: var(--muted); max-width: 54ch; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 36px; }
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
a.card:hover { border-color: var(--accent); color: inherit; transform: translateY(-2px); }
.card .go { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--accent); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; margin-bottom: 14px; }
.statement { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 6px 0 16px; overflow-wrap: anywhere; }
.statement b { letter-spacing: 0.02em; }
dl.facts { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 10px 20px; margin: 18px 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
.toc { padding-left: 20px; margin: 18px 0; }
.terms { border-top: 1px solid var(--line); margin-top: 48px; }
.terms h2 { margin-top: 40px; }
.terms h3 { margin: 30px 0 8px; font-size: 18px; }
.terms h4 { margin: 22px 0 6px; font-size: 16px; }
.terms p, .terms li { max-width: 70ch; }
.terms ul, .terms ol { padding-left: 22px; margin: 0 0 14px; }
.terms li { margin-bottom: 6px; }
footer.site { border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 560px) { header.site { flex-wrap: wrap; } nav.site { gap: 14px; font-size: 14px; flex-wrap: wrap; } .brand { font-size: 16px; gap: 9px; white-space: nowrap; } .brand .tile { width: 34px; height: 34px; border-radius: 9px; } .brand img { width: 25px; height: 25px; } main { padding: 36px 0 56px; } dl.facts { grid-template-columns: 1fr; gap: 2px 0; } dl.facts dd { margin-bottom: 12px; } }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } a.card:hover { transform: none; } }
