:root,
:root[data-theme="dark"] {
color-scheme: dark;
--bg: #08080a;
--bg-raised: #111114;
--bg-sunken: #050506;
--line: #1f1f24;
--line-strong: #33333a;
--fg: #eeebe4;
--fg-muted: #a9a59c;
--fg-subtle: #86837b;
--core: #8fd3e8;
--core-soft: rgba(143, 211, 232, 0.12);
--labs: #f2b553;
--labs-soft: rgba(242, 181, 83, 0.12);
--st-active: #8fd3e8;
--st-experimental: #f2b553;
--st-deprecated: #b3a6e6;
--st-forbidden: #ff7a70;
--focus: #cfeef7;
--lattice: rgba(232, 235, 238, 0.07);
--shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}
:root[data-theme="light"] {
color-scheme: light;
--bg: #f3f1ec;
--bg-raised: #fbfaf7;
--bg-sunken: #e9e6df;
--line: #dcd8cf;
--line-strong: #c2bdb2;
--fg: #0b0b0d;
--fg-muted: #3f464e;
--fg-subtle: #5a626b;
--core: #16708c;
--core-soft: rgba(22, 112, 140, 0.09);
--labs: #935700;
--labs-soft: rgba(147, 87, 0, 0.09);
--st-active: #16708c;
--st-experimental: #935700;
--st-deprecated: #5a4aa8;
--st-forbidden: #b42318;
--focus: #16708c;
--lattice: rgba(13, 16, 19, 0.08);
--shadow: 0 1px 2px rgba(13, 16, 19, 0.04);
}
@media (prefers-color-scheme: light) {
:root:not([data-theme]) {
color-scheme: light;
--bg: #f3f1ec;
--bg-raised: #fbfaf7;
--bg-sunken: #e9e6df;
--line: #dcd8cf;
--line-strong: #c2bdb2;
--fg: #0b0b0d;
--fg-muted: #3f464e;
--fg-subtle: #5a626b;
--core: #16708c;
--core-soft: rgba(22, 112, 140, 0.09);
--labs: #935700;
--labs-soft: rgba(147, 87, 0, 0.09);
--st-active: #16708c;
--st-experimental: #935700;
--st-deprecated: #5a4aa8;
--st-forbidden: #b42318;
--focus: #16708c;
--lattice: rgba(13, 16, 19, 0.08);
--shadow: 0 1px 2px rgba(13, 16, 19, 0.04);
}
}
:root {
--font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
--curve: #f0a04b;
--lat: #8fd3e8;
--font-sans: "IBM Plex Sans", "Plex Fallback", system-ui, sans-serif;
--font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
--step--1: 0.8125rem;
--step-0: 1.0625rem;
--step-1: 1.25rem;
--step-2: clamp(1.45rem, 1.2rem + 1vw, 1.75rem);
--step-3: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
--step-4: clamp(2.4rem, 1.4rem + 4.2vw, 4.75rem);
--s-1: 0.25rem;
--s0: 0.5rem;
--s1: 1rem;
--s2: 1.5rem;
--s3: 2rem;
--s4: 3rem;
--s5: 4.5rem;
--s6: 7rem;
--max: 76rem;
--gutter: clamp(1.25rem, 4vw, 2.5rem);
--radius: 2px;
--ease: cubic-bezier(0.2, 0.7, 0.1, 1);
--dur: 600ms;
}
@media (prefers-reduced-motion: reduce) {
:root { --dur: 0ms; }
}
:root[data-theme="light"] { --curve: #a3560a; --lat: #16708c; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) { --curve: #a3560a; --lat: #16708c; } }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/IBMPlexSans-Regular-Latin1.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: optional; src: url("../fonts/IBMPlexSans-Regular-Pi.woff2") format("woff2"); unicode-range: U+2190-2199, U+2192, U+2264-2265, U+2248, U+2260, U+2713, U+2215, U+2032-2033; }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: optional; src: url("../fonts/IBMPlexSans-Italic-Latin1.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2026; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/IBMPlexSans-Medium-Latin1.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+20AC, U+2212; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: optional; src: url("../fonts/IBMPlexSans-SemiBold-Latin1.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+20AC, U+2212; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/IBMPlexMono-Regular-Latin1.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2212; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: optional; src: url("../fonts/IBMPlexMono-Regular-Pi.woff2") format("woff2"); unicode-range: U+2190-2199, U+2264-2265, U+2500-259F, U+2713; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/IBMPlexMono-Medium-Latin1.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2026; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-var.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-var-italic.woff2") format("woff2"); }
@font-face { font-family: "Plex Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); ascent-override: 100%; descent-override: 26.8%; line-gap-override: 0%; size-adjust: 103%; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
margin: 0;
background: var(--bg);
color: var(--fg);
font: 400 var(--step-0)/1.62 var(--font-sans);
font-kerning: normal;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.12; letter-spacing: -0.018em; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 340; font-variation-settings: "opsz" 96, "SOFT" 0, "WONK" 0; letter-spacing: -0.025em; }
p { margin: 0 0 var(--s1); text-wrap: pretty; }
a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: var(--line-strong); transition: text-decoration-color 160ms; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 1px; }
code, kbd, samp, pre { font-family: var(--font-mono); font-size: 0.9em; }
code { padding: 0.08em 0.3em; background: var(--bg-sunken); border: 1px solid var(--line); border-radius: var(--radius); }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s4) 0; }
::selection { background: var(--core); color: var(--bg); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s1); top: -100px; z-index: 100; padding: var(--s0) var(--s1); background: var(--fg); color: var(--bg); font-weight: 500; text-decoration: none; }
.skip-link:focus { top: var(--s1); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); }
.eyebrow { font: 500 var(--step--1)/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-subtle); margin: 0 0 var(--s1); }
.muted { color: var(--fg-muted); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--fg-muted); max-width: 40em; }
.draft-banner { border-bottom: 1px solid var(--line); background: var(--bg-sunken); font: 400 var(--step--1)/1.4 var(--font-mono); color: var(--fg-muted); }
.draft-banner .wrap { display: flex; gap: var(--s1); align-items: center; padding-block: 0.55rem; flex-wrap: wrap; }
.draft-banner strong { color: var(--labs); font-weight: 500; letter-spacing: 0.06em; }
.draft-banner a { color: var(--fg); }
.draft-dot { width: 7px; height: 7px; border: 1px solid var(--labs); transform: rotate(45deg); flex: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s2); min-height: 3.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 26px; height: 26px; color: var(--fg); }
.brand-mark .m-core { stroke: var(--core); }
.brand-mark .m-labs { stroke: var(--labs); }
.brand-name { font-weight: 600; letter-spacing: 0.14em; font-size: 0.95rem; }
.brand-x { color: var(--core); }
.brand-ver { font: 400 0.7rem/1 var(--font-mono); color: var(--fg-subtle); border: 1px solid var(--line-strong); padding: 0.2rem 0.35rem; border-radius: var(--radius); }
.nav { display: flex; align-items: center; gap: var(--s2); }
.nav-list { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.nav-list a { text-decoration: none; color: var(--fg-muted); padding-block: 0.4rem; border-bottom: 1px solid transparent; }
.nav-list a:hover { color: var(--fg); }
.nav-list a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--core); }
.tools { display: flex; align-items: center; gap: 0.5rem; }
.lang-switch, .theme-toggle { font: 500 0.75rem/1 var(--font-mono); letter-spacing: 0.06em; color: var(--fg-muted); background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); height: 2rem; min-width: 2.4rem; padding: 0 0.55rem; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; }
.lang-switch:hover, .theme-toggle:hover { color: var(--fg); border-color: var(--fg-subtle); }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
.menu { display: none; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
@media (max-width: 62rem) {
.nav-list.primary { display: none; }
.menu { display: block; position: relative; }
.menu[open] .menu-panel { display: block; }
.menu-panel { display: none; position: absolute; right: 0; top: calc(100% + 0.6rem); width: min(18rem, 80vw); background: var(--bg-raised); border: 1px solid var(--line-strong); padding: var(--s1); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); }
.menu-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.menu-panel a { display: block; padding: 0.55rem 0.4rem; text-decoration: none; color: var(--fg-muted); }
.menu-panel a[aria-current="page"] { color: var(--fg); }
}
main { display: block; }
.section { padding-block: var(--s6); border-top: 1px solid var(--line); }
.section:first-child { border-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s1); margin-bottom: var(--s4); max-width: 48rem; }
.section-head h2 { font-size: var(--step-3); }
.section-index { font: 500 var(--step--1)/1 var(--font-mono); color: var(--fg-subtle); letter-spacing: 0.08em; display: flex; gap: 0.75rem; align-items: center; }
.section-index::after { content: ""; flex: 0 0 2.5rem; height: 1px; background: var(--line-strong); }
.page-head { padding-block: var(--s5) var(--s4); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head h1 { font-size: var(--step-4); max-width: 18ch; margin-bottom: var(--s2); }
.page-head .lede { margin: 0; }
.lattice { background-image: radial-gradient(var(--lattice) 1px, transparent 1.2px); background-size: 24px 24px; background-position: -1px -1px; }
.hero { padding-block: var(--s5) var(--s6); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--lattice) 1px, transparent 1.2px); background-size: 24px 24px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s4); align-items: center; }
.hero h1 { font-size: var(--step-4); letter-spacing: -0.03em; line-height: 1.04; margin-bottom: var(--s2); max-width: 15ch; }
.hero .lede { margin-bottom: var(--s3); }
.hero-sub { font: 400 var(--step--1)/1.4 var(--font-mono); color: var(--fg-subtle); letter-spacing: 0.04em; margin-bottom: var(--s2); }
.hero-sub span + span::before { content: "/"; margin: 0 0.7em; color: var(--line-strong); }
.hero-art { aspect-ratio: 1 / 1; width: 100%; }
@media (max-width: 56rem) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { max-width: 26rem; } }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn { display: inline-flex; align-items: center; gap: 0.55rem; height: 2.85rem; padding: 0 1.15rem; border: 1px solid var(--line-strong); border-radius: var(--radius); font-weight: 500; font-size: 0.95rem; text-decoration: none; color: var(--fg); background: transparent; transition: border-color 160ms, background-color 160ms; }
.btn:hover { border-color: var(--fg-muted); }
.btn-primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-primary:hover { background: color-mix(in srgb, var(--fg) 85%, var(--bg)); }
.btn .arrow { font-family: var(--font-mono); }
.env { color: var(--fg); }
.env .fr { fill: none; stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.env .fr-core { stroke: var(--core); }
.env .fr-labs { stroke: var(--labs); stroke-dasharray: 5 5; }
.env .tick { stroke: var(--fg-subtle); stroke-width: 1; vector-effect: non-scaling-stroke; }
.env .core-fill { fill: var(--core-soft); }
.env .pt { fill: var(--fg); }
.env text { font: 500 11px var(--font-mono); letter-spacing: 0.06em; fill: var(--fg-muted); }
.env .t-core { fill: var(--core); }
.env .t-labs { fill: var(--labs); }
.env .lbl-bg { fill: var(--bg); }
@media (prefers-reduced-motion: no-preference) {
.env .draw { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 1.6s var(--ease) forwards; }
.env .draw.d2 { animation-delay: 0.12s; } .env .draw.d3 { animation-delay: 0.24s; } .env .draw.d4 { animation-delay: 0.36s; } .env .draw.d5 { animation-delay: 0.48s; }
.env .fade { opacity: 0; animation: fade 0.8s var(--ease) 0.9s forwards; }
.env .fr-labs.draw { animation: draw 1.6s var(--ease) 0.6s forwards, dashin 0.01s linear 2.2s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dashin { to { stroke-dasharray: 5 5; stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid > * { background: var(--bg); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 56rem) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.cell { padding: var(--s3); position: relative; }
.cell h3 { font-size: var(--step-1); margin-bottom: var(--s0); font-weight: 500; }
.cell p { color: var(--fg-muted); font-size: 0.97rem; }
.cell p:last-child { margin-bottom: 0; }
.cell-num { font: 500 var(--step--1)/1 var(--font-mono); color: var(--fg-subtle); margin-bottom: var(--s2); display: flex; justify-content: space-between; gap: var(--s1); }
.cell-meta { font: 400 0.78rem/1.55 var(--font-mono); color: var(--fg-subtle); margin-top: var(--s1); }
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; width: 9px; height: 9px; border-color: var(--fg-subtle); border-style: solid; pointer-events: none; }
.frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.frame::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.tracks { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0; align-items: stretch; }
.track { padding: var(--s3); border: 1px solid var(--line-strong); }
.track-core { border-color: var(--core); background: var(--core-soft); }
.track-labs { border: 1px dashed var(--labs); background: var(--labs-soft); }
.track h3 { font-size: var(--step-2); margin: var(--s0) 0 var(--s1); }
.track ul { margin: var(--s1) 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; color: var(--fg-muted); font-size: 0.97rem; }
.track li { padding-left: 1.3rem; position: relative; }
.track li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.6rem; height: 1px; background: currentColor; }
.track-tag { font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.track-core .track-tag { color: var(--core); }
.track-labs .track-tag { color: var(--labs); }
.gate { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--s1); gap: 0.5rem; min-width: 7rem; text-align: center; }
.gate-line { flex: 1; width: 1px; background: var(--line-strong); min-height: 1.5rem; }
.gate-label { font: 500 0.72rem/1.3 var(--font-mono); color: var(--fg-subtle); letter-spacing: 0.06em; text-transform: uppercase; max-width: 8rem; }
.gate-arrow { font-family: var(--font-mono); color: var(--fg-muted); }
@media (max-width: 48rem) { .tracks { grid-template-columns: 1fr; } .gate { flex-direction: row; min-height: 4rem; } .gate-line { height: 1px; width: auto; min-height: 0; flex: 1; } .gate-arrow { transform: rotate(90deg); } }
.did { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s4); align-items: center; }
.did blockquote { margin: 0; font-size: var(--step-2); line-height: 1.32; letter-spacing: -0.012em; font-weight: 500; }
.did blockquote p { margin-bottom: var(--s2); }
.did .muted { font-size: 1rem; }
.stack { display: grid; gap: 0.6rem; font: 500 0.82rem/1.3 var(--font-mono); }
.stack > div { padding: 1rem 1.15rem; display: flex; justify-content: space-between; gap: var(--s1); align-items: center; }
.stack .s-labs { border: 1px dashed var(--labs); color: var(--labs); background: var(--labs-soft); }
.stack .s-core { border: 1px solid var(--core); color: var(--core); background: var(--core-soft); }
.stack .s-data { border: 1px solid var(--line-strong); color: var(--fg-muted); }
.stack small { font: inherit; color: var(--fg-subtle); font-weight: 400; }
@media (max-width: 56rem) { .did { grid-template-columns: 1fr; } }
.chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: 0.45rem; font: 500 0.72rem/1 var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; padding: 0.38rem 0.55rem; border: 1px solid currentColor; border-radius: var(--radius); white-space: nowrap; color: var(--fg-muted); }
.chip::before { content: ""; width: 6px; height: 6px; background: currentColor; flex: none; }
.chip-active { color: var(--st-active); }
.chip-experimental, .chip-open { color: var(--st-experimental); }
.chip-experimental::before, .chip-open::before { background: transparent; border: 1px solid currentColor; width: 4px; height: 4px; }
.chip-deprecated { color: var(--st-deprecated); }
.chip-forbidden { color: var(--st-forbidden); }
.chip-forbidden::before { transform: rotate(45deg); }
.chip-watching { color: var(--fg-muted); border-style: dashed; }
.chip-watching::before { border-radius: 50%; background: transparent; border: 1px solid currentColor; width: 5px; height: 5px; }
.chip-pending { color: var(--fg-subtle); border-style: dashed; }
.chip-pending::before { background: transparent; }
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; gap: var(--s2); padding: var(--s2) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row-id { font: 500 0.9rem/1.4 var(--font-mono); color: var(--fg-subtle); }
.row h3 { font-size: var(--step-1); font-weight: 500; margin-bottom: 0.3rem; }
.row h3 a { text-decoration: none; }
.row h3 a:hover { text-decoration: underline; }
.row p { margin: 0; color: var(--fg-muted); font-size: 0.97rem; }
@media (max-width: 40rem) { .row { grid-template-columns: 1fr; gap: 0.4rem; } }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; border-top: 1px solid var(--line-strong); }
.steps > li { list-style: none; padding: var(--s2) var(--s2) 0 0; position: relative; }
.steps > li::before { counter-increment: step; content: "0" counter(step); display: block; font: 500 var(--step--1)/1 var(--font-mono); color: var(--fg-subtle); margin-bottom: var(--s2); }
.steps > li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--bg); border: 1px solid var(--fg-muted); transform: rotate(45deg); }
.steps > li:last-child::after { background: var(--core); border-color: var(--core); }
.steps h3 { font-size: var(--step-1); margin-bottom: var(--s0); }
.steps p { color: var(--fg-muted); font-size: 0.97rem; }
.steps-wrap { padding: 0; margin: 0; }
@media (max-width: 48rem) { .steps { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.timeline > li { padding: var(--s2) var(--s2) 0 0; position: relative; }
.timeline > li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--bg); border: 1px solid var(--fg-subtle); }
.timeline > li.is-current::before { background: var(--labs); border-color: var(--labs); }
.timeline .ver { font: 500 var(--step-2)/1 var(--font-mono); letter-spacing: -0.02em; margin-bottom: var(--s0); display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.timeline .now { font: 500 0.68rem/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--labs); border: 1px solid var(--labs); padding: 0.25rem 0.4rem; }
.timeline p, .timeline ul { color: var(--fg-muted); font-size: 0.93rem; }
.timeline ul { padding-left: 1.05rem; margin: 0; }
.timeline li li { margin-bottom: 0.25rem; }
@media (max-width: 62rem) { .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-strong); padding-left: var(--s2); } .timeline > li { padding: 0 0 var(--s3); } .timeline > li::before { left: calc(-1 * var(--s2) - 5px); top: 0.45rem; } }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; gap: 0; }
.ladder li { border: 1px solid var(--line-strong); border-right-width: 0; padding: var(--s1); display: flex; flex-direction: column; justify-content: flex-end; gap: 0.35rem; background: var(--bg); }
.ladder li:last-child { border-right-width: 1px; border-color: var(--core); background: var(--core-soft); }
.ladder li:nth-child(1) { min-height: 6rem; border-style: dashed; border-color: var(--labs); }
.ladder li:nth-child(2) { min-height: 7.5rem; border-style: dashed; border-color: var(--labs); }
.ladder li:nth-child(3) { min-height: 9rem; }
.ladder li:nth-child(4) { min-height: 10.5rem; }
.ladder li:nth-child(5) { min-height: 12rem; }
.ladder li:nth-child(6) { min-height: 13.5rem; }
.ladder .n { font: 500 var(--step--1)/1 var(--font-mono); color: var(--fg-subtle); }
.ladder .k { font: 500 0.95rem/1.2 var(--font-mono); }
.ladder li:last-child .k { color: var(--core); }
.ladder .d { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.4; }
@media (max-width: 56rem) { .ladder { grid-template-columns: 1fr; } .ladder li { min-height: 0 !important; border-right-width: 1px; border-bottom-width: 0; flex-direction: row; align-items: baseline; gap: var(--s1); } .ladder li:last-child { border-bottom-width: 1px; } .ladder .k { min-width: 7rem; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
caption { text-align: left; padding: var(--s1); color: var(--fg-subtle); font: 400 var(--step--1)/1.5 var(--font-mono); caption-side: bottom; border-top: 1px solid var(--line); }
th, td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
thead th { font: 500 0.72rem/1.2 var(--font-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--fg-subtle); background: var(--bg-sunken); white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.id, th.id { font-family: var(--font-mono); font-weight: 500; white-space: nowrap; }
td ul { margin: 0; padding-left: 1rem; }
.prose { max-width: 44rem; min-width: 0; overflow-wrap: break-word; }
.prose h2 { font-size: var(--step-2); margin: var(--s4) 0 var(--s1); padding-top: var(--s1); }
.prose h3 { font-size: var(--step-1); margin: var(--s3) 0 var(--s0); }
.prose h4 { font-size: 1rem; margin: var(--s2) 0 var(--s0); font-weight: 600; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 var(--s1); }
.prose li { margin-bottom: 0.35rem; }
.prose li::marker { color: var(--fg-subtle); }
.prose blockquote { margin: var(--s2) 0; padding: 0.2rem 0 0.2rem var(--s2); border-left: 2px solid var(--line-strong); color: var(--fg-muted); }
.prose pre { background: var(--bg-sunken); border: 1px solid var(--line); padding: var(--s1) var(--s2); overflow-x: auto; line-height: 1.5; margin: 0 0 var(--s2); }
.prose pre code { background: none; border: 0; padding: 0; font-size: 0.86rem; }
.prose table { margin: 0 0 var(--s2); display: block; overflow-x: auto; border: 1px solid var(--line); }
.prose a { text-decoration-color: var(--core); }
.prose .anchor { margin-left: 0.4rem; color: var(--fg-subtle); text-decoration: none; opacity: 0; font-family: var(--font-mono); font-weight: 400; }
.prose :is(h2, h3, h4):hover .anchor, .prose .anchor:focus { opacity: 1; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: var(--s5); padding-block: var(--s4) var(--s6); }
.doc-aside { position: sticky; top: 6rem; align-self: start; font-size: 0.86rem; border-left: 1px solid var(--line); padding-left: var(--s2); }
.doc-aside h2 { font: 500 0.72rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: var(--s1); }
.doc-aside ol { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: 0.45rem; }
.doc-aside a { text-decoration: none; color: var(--fg-muted); }
.doc-aside a:hover { color: var(--fg); }
.doc-aside .lvl3 { padding-left: 0.8rem; }
@media (max-width: 62rem) { .doc { grid-template-columns: minmax(0, 1fr); } .doc-aside { position: static; order: -1; border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: var(--s2); } .doc-aside ol { display: none; } }
.meta-list { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1.2rem; margin: 0 0 var(--s3); font-size: 0.86rem; }
.meta-list dt { font: 500 0.72rem/1.6 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-subtle); }
.meta-list dd { margin: 0; color: var(--fg-muted); }
.notice { border: 1px solid var(--line-strong); border-left: 2px solid var(--labs); padding: var(--s1) var(--s2); color: var(--fg-muted); font-size: 0.93rem; margin: 0 0 var(--s3); background: var(--bg-raised); }
.notice p:last-child { margin: 0; }
.notice strong { color: var(--fg); }
.lab { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: var(--s3); padding-block: var(--s4); border-top: 1px solid var(--line); }
.lab:first-of-type { border-top: 0; padding-top: 0; }
.lab-side { display: grid; gap: var(--s1); align-content: start; }
.lab-id { font: 500 var(--step-3)/1 var(--font-mono); color: var(--labs); letter-spacing: -0.03em; }
.lab h2 { font-size: var(--step-2); margin-bottom: var(--s2); }
.lab-q { font-size: var(--step-1); line-height: 1.45; margin-bottom: var(--s2); padding-left: var(--s2); border-left: 1px dashed var(--labs); }
.lab dl { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: var(--s1) var(--s2); margin: 0; }
.lab dt { font: 500 0.72rem/1.9 var(--font-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--fg-subtle); }
.lab dd { margin: 0; color: var(--fg-muted); font-size: 0.97rem; }
.lab dd ul { margin: 0; padding-left: 1.1rem; }
.lab dd li { margin-bottom: 0.3rem; }
@media (max-width: 48rem) { .lab, .lab dl { grid-template-columns: 1fr; } .lab dl { gap: 0.2rem; } .lab dd { margin-bottom: var(--s1); } }
.diagram { margin: 0; }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption { margin-top: var(--s2); color: var(--fg-subtle); font: 400 var(--step--1)/1.5 var(--font-mono); }
.dg .box { fill: var(--bg-raised); stroke: var(--line-strong); stroke-width: 1; }
.dg .box-core { fill: var(--core-soft); stroke: var(--core); }
.dg .box-labs { fill: var(--labs-soft); stroke: var(--labs); stroke-dasharray: 5 4; }
.dg .box-ghost { fill: none; stroke: var(--line-strong); stroke-dasharray: 2 4; }
.dg .box-prim { fill: var(--bg-sunken); stroke: var(--line-strong); }
.dg .ln { stroke: var(--fg-subtle); stroke-width: 1; fill: none; }
.dg .ln-labs { stroke: var(--labs); stroke-dasharray: 4 4; }
.dg .ah { fill: var(--fg-subtle); }
.dg .ah-labs { fill: var(--labs); }
.dg text { font-family: var(--font-mono); font-size: 12px; fill: var(--fg-muted); }
.dg .t-title { font-family: var(--font-sans); font-size: 15px; font-weight: 500; fill: var(--fg); }
.dg .t-num { font-size: 11px; fill: var(--fg-subtle); letter-spacing: 0.06em; }
.dg .t-core { fill: var(--core); }
.dg .t-labs { fill: var(--labs); }
.dg .t-small { font-size: 11px; fill: var(--fg-subtle); }
.dg a:focus-visible .box, .dg a:hover .box { stroke: var(--fg); }
.dg a { cursor: pointer; }
.dg a:focus { outline: none; }
.dg a:focus-visible { outline: 2px solid var(--focus); }
.legend { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-top: var(--s2); font: 400 var(--step--1)/1.4 var(--font-mono); color: var(--fg-muted); padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: 0.55rem; }
.legend .sw { width: 1.6rem; height: 0.9rem; border: 1px solid var(--line-strong); }
.legend .sw-core { border-color: var(--core); background: var(--core-soft); }
.legend .sw-labs { border: 1px dashed var(--labs); background: var(--labs-soft); }
.legend .sw-prim { background: var(--bg-sunken); }
.legend .sw-ghost { border-style: dotted; }
html[data-theme] .figure-embed .ccsax-fig {
--anatomy-page: var(--bg); --anatomy-card: var(--bg-raised);
--anatomy-text: var(--fg-muted); --anatomy-muted: var(--fg-subtle); --anatomy-strong: var(--fg);
--ccsax-ok: var(--core); --ccsax-bad: var(--st-forbidden);
--ccsax-fig-sans: var(--font-sans); --ccsax-fig-mono: var(--font-mono);
}
.figure-slot:not(.figure-slot--static) { border: 0; background: none; }
.figure-slot:not(.figure-slot--static) > figcaption { border-top: 0; padding-inline: 0; }
.figure-slot { margin: 0; border: 1px solid var(--line); background: var(--bg-raised); }
.figure-slot > figcaption { padding: var(--s1) var(--s2); border-top: 1px solid var(--line); color: var(--fg-subtle); font: 400 var(--step--1)/1.5 var(--font-mono); }
.figure-placeholder { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: var(--s3); }
.figure-placeholder svg { width: min(100%, 34rem); }
.figure-pair { display: grid; gap: var(--s3); }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s4); }
.split > :first-child h2 { font-size: var(--step-3); }
@media (max-width: 56rem) { .split { grid-template-columns: 1fr; gap: var(--s2); } }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.5rem; margin: 0; }
.kv dt { font: 500 0.78rem/1.7 var(--font-mono); color: var(--fg-subtle); }
.kv dd { margin: 0; color: var(--fg-muted); }
.cta-band { padding-block: var(--s5); }
.cta-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cta-list a { display: flex; flex-direction: column; gap: var(--s0); padding: var(--s3) var(--s2); background: var(--bg); text-decoration: none; min-height: 12rem; transition: background-color 160ms; }
.cta-list a:hover { background: var(--bg-raised); }
.cta-list strong { font-weight: 500; font-size: var(--step-1); }
.cta-list span { color: var(--fg-muted); font-size: 0.94rem; }
.cta-list .arrow { margin-top: auto; font-family: var(--font-mono); color: var(--fg-subtle); }
@media (max-width: 62rem) { .cta-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .cta-list { grid-template-columns: 1fr; } }
.adopter { display: grid; grid-template-columns: 12rem minmax(0, 1fr) auto; gap: var(--s3); padding: var(--s3); border: 1px solid var(--line-strong); align-items: baseline; }
.adopter h2 { font-size: var(--step-2); }
@media (max-width: 48rem) { .adopter { grid-template-columns: 1fr; gap: var(--s1); } }
.nf { min-height: 60vh; display: grid; align-content: center; padding-block: var(--s6); }
.nf .code { font: 500 var(--step--1)/1 var(--font-mono); color: var(--labs); letter-spacing: 0.08em; margin-bottom: var(--s2); }
.nf h1 { font-size: var(--step-4); margin-bottom: var(--s2); }
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s5) var(--s3); font-size: 0.9rem; color: var(--fg-muted); background: var(--bg-sunken); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--s3); margin-bottom: var(--s4); }
.footer-grid h2 { font: 500 0.72rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: var(--s1); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; color: var(--fg); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s1); padding-top: var(--s2); border-top: 1px solid var(--line); font: 400 var(--step--1)/1.6 var(--font-mono); color: var(--fg-subtle); }
.footer-note { max-width: 30rem; }
@media (max-width: 56rem) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media print {
.site-header, .draft-banner .wrap a, .tools, .site-footer .footer-grid { display: none; }
body { background: #fff; color: #000; }
}
.page-head { padding-block: clamp(4rem, 14vh, 9rem) clamp(2.5rem, 7vh, 4.5rem); }
.page-head .eyebrow { display: flex; align-items: center; gap: 0.6rem; font: 400 0.8rem/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-subtle); }
.page-head .eyebrow::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--lat); box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--lat) 18%, transparent); }
.page-head h1 {
font-family: var(--font-display); font-weight: 300; font-variation-settings: "opsz" 144, "WONK" 1;
font-size: clamp(2.8rem, 1rem + 7vw, 7.6rem); line-height: 0.9; letter-spacing: -0.05em; max-width: 14ch;
margin: 0 0 clamp(1.25rem, 3vh, 2rem) -0.04em; text-wrap: balance;
}
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--curve), var(--lat) 60%, transparent); transform-origin: left; animation: ccsax-draw 1400ms cubic-bezier(0.2, 0.9, 0.1, 1) both 200ms; }
@keyframes ccsax-draw { from { transform: scaleX(0); } }
.page-head h1, .page-head .lede, .page-head .eyebrow { animation: ccsax-lock 1000ms cubic-bezier(0.2, 0.9, 0.1, 1) both; }
.page-head .lede { animation-delay: 120ms; }
@keyframes ccsax-lock { from { opacity: 0; transform: translateY(0.6rem); } }
.prose h2 { font-family: var(--font-display); font-weight: 340; font-size: clamp(1.8rem, 1rem + 2vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; padding-top: var(--s2); border-top: 1px solid var(--line); }
.prose h2:first-child { border-top: 0; padding-top: 0; }
.doc-aside a.is-current { color: var(--fg); }
.doc-aside a.is-current::before { content: "→ "; color: var(--lat); }
.read-bar { position: fixed; z-index: 60; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--curve), var(--lat)); transform-origin: left; transform: scaleX(var(--read, 0)); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .page-head::after, .page-head h1, .page-head .lede, .page-head .eyebrow { animation: none; } .read-bar { display: none; } }
.section-head h2 { font-size: clamp(2rem, 1rem + 3vw, 3.8rem); font-weight: 320; letter-spacing: -0.04em; line-height: 0.98; }
.section-index::after { background: linear-gradient(90deg, var(--curve), var(--lat)); }
