
@font-face {
  font-family: "Bricolage Site";
  src: url("fonts/bricolage-var.aebe1ebbd3.woff") format("woff");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Serif Display";
  src: url("fonts/serif-display-bold.edf07e31af.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 26%;
  line-gap-override: 0%;
}
:root {
  --paper: #fbf8f3;
  --sand: #f4eee5;
  --sand-2: #e9e1d4;
  --card: #fffdf9;
  --ink: #17140f;
  --muted: #625b51;
  --line: #e2dacd;
  --console: #1c1915;
  --console-2: #26221c;
  --console-3: #332e26;
  --console-line: #423b31;
  --console-text: #efe7da;
  --console-muted: #aba191;
  --plus: #e8461c;       
  --plus-text: #b8320c;  
  --plus-soft: #ff8a64;  
  --minus: #2747d6;
  --minus-text: #2342c4;
  --minus-soft: #9fb2ff; 
  --radius: 16px;
  --serif: "Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Bricolage Site", "Bricolage Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --max: 1200px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --lift: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 28px 56px -24px rgba(21, 20, 15, .55), 0 3px 8px -2px rgba(21, 20, 15, .25);
  color-scheme: light;
  accent-color: var(--ink);
  scrollbar-color: #c9bfaf var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
main > section, [id] { scroll-margin-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); font-optical-sizing: auto; caret-color: var(--plus); text-rendering: optimizeLegibility; }
::selection { background: var(--ink); color: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
code, pre { font-family: var(--mono); }
code { font-size: .86em; background: var(--sand); padding: .12em .38em; border-radius: 5px; }
.num, .val, output, .m-str, .ticks, .order, .chip, table td, .timeline .kind { font-variant-numeric: tabular-nums; }
h1, h2, h3 { margin: 0 0 .45em; text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 800; line-height: .98; letter-spacing: -.04em; }
h3 { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--minus); outline-offset: 3px; border-radius: 6px; }
.pos { color: var(--plus-text); }
.neg { color: var(--minus-text); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px max(20px, calc((100% - var(--max)) / 2)); background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.03em; text-decoration: none; margin: 0; }
.mark { width: 28px; height: 28px; flex: none; border-radius: 6px; }
.bar nav { display: flex; gap: 24px; margin-left: auto; }
.bar nav a { text-decoration: none; font-weight: 550; font-size: 15px; color: var(--muted); transition: color .2s; }
.bar nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .bar { flex-wrap: wrap; row-gap: 8px; } .bar .btn-small { margin-left: auto; } .bar nav { order: 3; width: 100%; margin: 0; gap: 18px; overflow-x: auto; padding-bottom: 2px; } .bar nav a { white-space: nowrap; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 600 15px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease-out); }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #34322a; }
.btn-small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.btn[disabled]:hover { background: transparent; color: inherit; }
.btn-ink[disabled]:hover { background: var(--ink); color: var(--paper); }
.btn svg { width: 16px; height: 16px; }
.row { display: flex; gap: 10px; align-items: center; }
.wrap { flex-wrap: wrap; }
main > section { padding: 112px max(20px, calc((100% - var(--max)) / 2)); }
.band { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--muted); font-size: 19px; max-width: 38em; }
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.two-col > *, .hero > *, .live-grid > *, .demo-grid > * { min-width: 0; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } main > section { padding-top: 72px; padding-bottom: 72px; } }
.hero { display: grid; grid-template-columns: 1fr minmax(340px, 480px); gap: 64px; align-items: center; padding-top: 72px !important; padding-bottom: 104px !important; }
.hero h1 { font-size: clamp(46px, 6.6vw, 84px); font-weight: 850; line-height: .92; letter-spacing: -.04em; margin-bottom: 14px; }
.h1-sub { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 26px; font-weight: 650; color: var(--muted); }
.lede { font-size: 20px; line-height: 1.5; max-width: 32em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.meta li { display: inline-flex; align-items: center; gap: 7px; }
.meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px !important; padding-bottom: 72px !important; } }
@media (max-width: 520px) { .lede { font-size: 17px; } .hero h1 { font-size: 46px; } .cta .btn { flex: 1 1 auto; } }
.panel { background: var(--console); color: var(--console-text); border-radius: var(--radius); padding: 14px; box-shadow: var(--lift); }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 2px 2px 12px; }
.panel-title { font-weight: 700; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; }
.panel-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--plus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--plus) 25%, transparent); }
.chip { font-size: 12px; font-weight: 550; padding: 5px 9px; border-radius: 999px; background: var(--console-3); color: var(--console-muted); white-space: nowrap; }
.chip-warn { background: #ffe7a8; color: #5c3900; }
.panel-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.panel .btn { border-color: var(--console-line); color: var(--console-text); }
.panel .btn:hover { background: var(--console-3); color: #fff; }
.panel .btn-ink { background: var(--console-text); color: var(--console); border-color: var(--console-text); }
.panel .btn-ink:hover { background: #fff; }
.panel .btn-ink[disabled]:hover { background: var(--console-text); color: var(--console); }
.panel .btn[disabled]:hover { background: transparent; color: var(--console-text); }
.panel-foot .permalink { flex: 1 1 100%; font: 12px/1.4 var(--mono); color: var(--console-muted); overflow-wrap: anywhere; }
.panel :focus-visible { outline-color: var(--minus-soft); }
.loadorder, [data-controls] { display: grid; gap: 6px; margin-bottom: 10px; }
.mod-row { display: grid; grid-template-columns: auto auto 1fr; grid-template-areas: "order name val" "order slider slider"; align-items: center; column-gap: 10px; row-gap: 0; padding: 10px 12px 6px; border-radius: 10px; background: var(--console-2); transition: opacity .2s; }
.mod-row .order { grid-area: order; font-size: 12px; font-weight: 600; color: var(--console-muted); align-self: start; padding-top: 3px; }
.mod-row label { grid-area: name; font-weight: 650; font-size: 15px; display: flex; gap: 9px; align-items: center; }
.mod-row .val { grid-area: val; justify-self: end; font-size: 15px; font-weight: 700; }
.mod-row .val.is-pos { color: var(--plus-soft); }
.mod-row .val.is-neg { color: var(--minus-soft); }
.mod-row .signed { grid-area: slider; }
.mod-row.off { opacity: .45; }
.mod-row input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--plus); margin: 0; }
.signed { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 0; cursor: pointer; --lo: 50%; --hi: 50%; --fill: var(--plus); --zero: 50%; --track: var(--console-3); --zmark: var(--console-text); }
.signed::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, transparent calc(var(--zero) - 1px), var(--zmark) calc(var(--zero) - 1px), var(--zmark) calc(var(--zero) + 1px), transparent calc(var(--zero) + 1px)), linear-gradient(90deg, var(--track) var(--lo), var(--fill) var(--lo), var(--fill) var(--hi), var(--track) var(--hi)); }
.signed::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, transparent calc(var(--zero) - 1px), var(--zmark) calc(var(--zero) - 1px), var(--zmark) calc(var(--zero) + 1px), transparent calc(var(--zero) + 1px)), linear-gradient(90deg, var(--track) var(--lo), var(--fill) var(--lo), var(--fill) var(--hi), var(--track) var(--hi)); }
.signed::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 0 0 4px color-mix(in srgb, var(--fill) 35%, transparent); transition: box-shadow .2s; }
.signed::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 0 0 4px color-mix(in srgb, var(--fill) 35%, transparent); }
.signed:hover::-webkit-slider-thumb { box-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 0 0 7px color-mix(in srgb, var(--fill) 35%, transparent); }
.signed:focus-visible { outline: none; }
.signed:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--console), 0 0 0 6px var(--minus-soft); }
.signed:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--console), 0 0 0 6px var(--minus-soft); }
.ticks { display: flex; justify-content: space-between; font-size: 11px; font-weight: 550; color: var(--console-muted); margin: 0 12px 4px 46px; }
.ticks .beyond { color: var(--plus-soft); }
.viewer { position: relative; margin: 0; border-radius: 10px; overflow: hidden; background: var(--console-2); aspect-ratio: 1 / 1; touch-action: pan-y; }
.viewer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.viewer .after { clip-path: inset(0 0 0 var(--split, 50%)); }
.viewer .divider { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .35); pointer-events: none; }
.viewer .knob { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); transition: transform .25s var(--ease-out); }
.viewer .knob svg { width: 22px; height: 22px; }
.viewer:hover .knob { transform: translate(-50%, -50%) scale(1.08); }
.viewer .split-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.viewer .split-input:focus-visible ~ .divider .knob { box-shadow: 0 0 0 3px var(--console), 0 0 0 6px var(--minus-soft); }
.viewer .tag { position: absolute; top: 10px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; background: rgba(21, 20, 15, .82); backdrop-filter: blur(6px); color: #fff; padding: 6px 10px 6px 9px; border-radius: 999px; pointer-events: none; font-variant-numeric: tabular-nums; }
.viewer .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.viewer .tag.l { left: 10px; }
.viewer .tag.l::before { background: var(--minus-soft); }
.viewer .tag.r { right: 10px; }
.viewer .tag.r::before { background: var(--plus); }
.oneliner { font-size: clamp(28px, 3.8vw, 48px); font-weight: 750; letter-spacing: -.035em; line-height: 1.08; max-width: 20em; margin-bottom: 0; }
.oneliner b { font-weight: 850; }
.facts { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.facts li { padding: 20px 24px 0 0; display: grid; gap: 8px; align-content: start; color: var(--muted); }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.fact-k { font-weight: 750; font-size: 22px; letter-spacing: -.025em; color: var(--ink); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; row-gap: 28px; } .facts li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; } }
.hood { margin-top: 44px; max-width: 760px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.hood summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; }
.hood summary::-webkit-details-marker { display: none; }
.hood summary::after { content: "+"; font-weight: 500; font-size: 22px; line-height: 1; }
.hood[open] summary::after { content: "−"; }
.hood p { margin: 12px 0 0; color: var(--muted); }
.tabs { display: inline-flex; gap: 4px; flex-wrap: wrap; margin-bottom: 28px; padding: 4px; border-radius: 999px; background: var(--sand-2); }
.tab { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; font: 600 14px/1 var(--sans); color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected=true] { background: var(--ink); color: var(--paper); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 48px; align-items: start; }
.demo-info h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.demo-info > p { color: var(--muted); font-size: 18px; }
.demo-info dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.demo-info dt { color: var(--muted); font-weight: 600; }
.demo-info dd { margin: 0; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; gap: 28px; } }
.cells { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 6px; align-items: center; margin-top: 24px; font-size: 12px; font-weight: 600; }
.cells img { border-radius: 6px; }
.cells .rl { color: var(--muted); padding-right: 8px; }
.seedpick { display: flex; gap: 4px; flex-wrap: wrap; padding: 3px; background: var(--console-2); border-radius: 999px; width: fit-content; }
.seedpick button { min-height: 34px; min-width: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--console-muted); font: 600 13px/1 var(--sans); cursor: pointer; }
.seedpick button[aria-pressed=true] { background: var(--console-text); color: var(--console); }
.ctl-label { display: flex; justify-content: space-between; font-weight: 650; font-size: 14px; color: var(--console-muted); margin: 2px 2px 0; }
.modlist { list-style: none; padding: 6px; margin: 0; border-radius: var(--radius); background: var(--console); color: var(--console-text); box-shadow: var(--lift); display: grid; gap: 4px; }
.modlist li { display: grid; grid-template-columns: 36px 1fr auto; grid-template-areas: "order name str" "order why why"; gap: 2px 12px; padding: 14px 14px; border-radius: 10px; background: var(--console-2); }
.modlist .order { grid-area: order; font-weight: 650; color: var(--console-muted); font-size: 14px; }
.m-name { grid-area: name; font-weight: 650; }
.m-name small { font-size: 12px; font-weight: 500; color: var(--console-muted); margin-left: 6px; }
.m-why { grid-area: why; font-size: 14px; color: var(--console-muted); }
.m-why code { background: var(--console-3); color: var(--console-text); }
.m-str { grid-area: str; font-weight: 700; }
.modlist .m-str.pos { color: var(--plus-soft); }
.modlist .m-str.neg { color: var(--minus-soft); }
.modlist .conflict { background: color-mix(in srgb, var(--plus) 16%, var(--console-2)); }
.modlist .conflict .order svg { width: 18px; height: 18px; color: var(--plus-soft); }
.scale h3 { margin-bottom: 0; }
.scale-bar { position: relative; height: 10px; border-radius: 99px; margin: 22px 8px 36px; background: linear-gradient(90deg, var(--minus), #b9c4f2 46%, var(--sand-2) 50%, #f7bba7 54%, var(--plus)); }
.scale-bar span { position: absolute; left: var(--at); top: 18px; transform: translateX(-50%); font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.scale-keys { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0 0 28px; }
.scale-keys dt { font-weight: 750; }
.scale-keys dd { margin: 0; color: var(--muted); }
.aside { padding-top: 16px; border-top: 1px solid var(--ink); }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 0 0 36px; border-top: 1px solid var(--ink); }
.steps li { counter-increment: s; padding: 16px 20px 0 0; font-size: 15px; color: var(--muted); }
.steps li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s); display: block; font-size: 32px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.steps b { color: var(--ink); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 20px; } .steps li:nth-child(3) { padding-left: 0; border-left: 0; } }
.live-panel { padding: 18px; }
.live-grid { display: grid; grid-template-columns: 1fr 1.15fr .9fr; gap: 22px; align-items: start; }
@media (max-width: 1000px) { .live-grid { grid-template-columns: 1fr 1fr; } .saves { grid-column: 1 / -1; } }
@media (max-width: 640px) { .live-grid { grid-template-columns: 1fr; } }
.gallery { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 16px; }
.gallery legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.thumb { position: relative; display: block; cursor: pointer; border-radius: 8px; overflow: hidden; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .2s; }
.thumb img { transition: transform .4s var(--ease-out), filter .3s; }
.thumb:hover img { transform: scale(1.04); }
.thumb input { position: absolute; top: 6px; left: 6px; width: 20px; height: 20px; accent-color: var(--plus); margin: 0; z-index: 1; }
.thumb:has(input:checked) { outline-color: var(--plus); }
.thumb:has(input:checked) img { filter: saturate(1.15); }
.thumb:has(input:focus-visible) { outline: 3px solid var(--minus-soft); }
.speed { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; font-weight: 600; font-size: 14px; }
.speed input { grid-column: 1 / -1; grid-row: 2; accent-color: var(--console-text); }
.live-label { font-weight: 650; min-height: 1.5em; margin-bottom: 10px; color: var(--console-text); }
.saves h3 { margin-bottom: 12px; font-size: 16px; }
.timeline { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 4px; max-height: 300px; overflow: auto; scrollbar-color: var(--console-line) transparent; }
.timeline li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; font-size: 14px; background: var(--console-2); }
.timeline li.current { background: var(--console-3); }
.timeline li.current > span:first-child::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--plus); margin-right: 8px; vertical-align: 2px; }
.timeline li.ahead { opacity: .5; }
.timeline .kind { font-size: 12px; color: var(--console-muted); }
.timeline button { font: 600 12px var(--sans); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--minus-soft); padding: 0; min-height: 28px; }
.guards { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; font-size: 15px; color: var(--muted); }
.guards b { color: var(--ink); display: block; margin-bottom: 4px; }
@media (max-width: 900px) { .guards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .guards { grid-template-columns: 1fr; } }
.quick-steps { list-style: none; counter-reset: q; padding: 0; margin: 0 0 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.quick-steps li { counter-increment: q; border-top: 1px solid var(--ink); padding-top: 18px; color: var(--muted); }
.quick-steps li h3 { color: var(--ink); }
.quick-steps li::before { content: counter(q); font-size: 56px; font-weight: 850; line-height: 1; letter-spacing: -.05em; display: block; margin-bottom: 14px; color: var(--ink); }
@media (max-width: 760px) { .quick-steps { grid-template-columns: 1fr; } }
.nodes { display: flex; align-items: center; gap: 34px; overflow-x: auto; padding: 28px; margin-bottom: 22px; border-radius: var(--radius); background: var(--console) radial-gradient(circle, var(--console-3) 1px, transparent 1.2px) 0 0 / 18px 18px; box-shadow: var(--lift); }
.node { position: relative; flex: 0 0 auto; min-width: 164px; border-radius: 10px; background: var(--console-2); color: var(--console-text); padding: 11px 13px; display: grid; gap: 6px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); }
.node + .node::before { content: ""; position: absolute; left: -35px; top: 50%; width: 34px; height: 2px; background: var(--console-muted); }
.node + .node::after { content: ""; position: absolute; left: -5px; top: calc(50% - 3px); width: 8px; height: 8px; border-radius: 50%; background: var(--console-muted); }
.node-t { font-weight: 650; font-size: 14px; }
.node-p { font-size: 12px; color: var(--console-muted); font-variant-numeric: tabular-nums; }
.node-k { background: var(--console-3); box-shadow: inset 0 2px 0 var(--plus), 0 6px 16px -6px rgba(0, 0, 0, .6); }
.node-p .pos { color: var(--plus-soft); }
.node-p .neg { color: var(--minus-soft); }
.code-grid { display: grid; grid-template-columns: .8fr 1fr 1.3fr; gap: 28px; }
@media (max-width: 900px) { .code-grid { grid-template-columns: 1fr; } }
.code { min-width: 0; }
.code > p { color: var(--muted); }
.pre-wrap { position: relative; margin-bottom: 12px; }
pre { margin: 0; background: var(--console); color: var(--console-text); padding: 18px; padding-right: 76px; border-radius: 12px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; scrollbar-color: var(--console-line) transparent; }
pre code { background: none; padding: 0; font-size: inherit; }
.copy { position: absolute; top: 9px; right: 9px; min-height: 30px; padding: 0 11px; border-radius: 999px; border: 0; background: var(--console-3); color: var(--console-text); font: 600 12px var(--sans); cursor: pointer; transition: background-color .2s; }
.copy:hover { background: #4a473c; }
.manifest pre { font-size: 13px; box-shadow: var(--lift); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--card); margin-bottom: 14px; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; }
th, td { text-align: left; padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tbody th { font-weight: 750; }
.faq details { border-top: 1px solid var(--line); max-width: 880px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 0; font-weight: 650; font-size: 20px; letter-spacing: -.015em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; font-weight: 400; color: var(--plus-text); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { content: "−"; color: var(--minus-text); }
.faq details p { color: var(--muted); max-width: 46em; padding-bottom: 8px; }
.share-strip { background: var(--ink); color: var(--paper); }
.share-strip h2 { color: var(--paper); max-width: 14em; }
.share-strip .btn { border-color: #57544a; color: var(--paper); }
.share-strip .btn:hover { background: var(--paper); color: var(--ink); }
.foot { padding: 48px max(20px, calc((100% - var(--max)) / 2)); }
.foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 10px 36px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); opacity: 0; visibility: hidden; pointer-events: none; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); transition: transform .35s var(--ease-out), opacity .2s, visibility .2s; z-index: 60; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.demo-main { max-width: 660px; margin: 0 auto; padding: 48px 20px 72px; }
.demo-h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 850; line-height: .95; letter-spacing: -.04em; }
.demo-main .panel { margin: 28px 0 36px; }
.hook { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 16px; max-width: 34em; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: 15px; line-height: 1.35; transition: border-color .2s, background-color .2s; }
.hook b { color: var(--ink); font-weight: 700; }
.hook svg { width: 20px; height: 20px; flex: none; color: var(--ink); }
.hook .hook-go { margin-left: auto; transition: transform .25s var(--ease-out); }
.hook:hover { border-color: var(--ink); background: #fff; }
.hook:hover .hook-go { transform: translateX(3px); }
.proof-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
.proof-grid > * { min-width: 0; }
@media (max-width: 960px) { .proof-grid { grid-template-columns: 1fr; gap: 40px; } }
.proof-lede, .section-lede { color: var(--muted); font-size: 19px; max-width: 34em; }
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0 16px; }
.triptych figure { margin: 0; }
.triptych img { border-radius: 10px; }
.triptych figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.triptych figcaption b { display: block; font-size: 22px; font-weight: 750; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.triptych figcaption b.pos { color: var(--plus-text); }
.triptych figcaption b.neg { color: var(--minus-text); }
.sheet { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.sheet h3 { margin-bottom: 6px; }
.sheet > p { color: var(--muted); font-size: 15px; }
.sheet dl, .sheet-plain { display: grid; gap: 0; margin: 18px 0 20px; }
.sheet dl div, .sheet-plain div { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.sheet dl div:last-child, .sheet-plain div:last-child { border-bottom: 1px solid var(--line); }
.sheet dt { font-size: 15px; }
.sheet dd { margin: 0; font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; }
.sheet-plain { padding: 8px 24px; }
.sheet-plain div { grid-template-columns: 120px 1fr; }
.sheet-plain dt { font-weight: 700; }
.sheet-plain dd { font-size: 15px; font-weight: 400; color: var(--muted); }
@media (max-width: 520px) { .sheet-plain div { grid-template-columns: 1fr; gap: 4px; } }
.plain-list { margin: 20px 0 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 8px; }
.formats { min-width: 0; }
.formats td.yes { font-weight: 700; color: var(--ink); }
.formats td { color: var(--muted); }
.chips { gap: 6px; }
.chip-family { background: color-mix(in srgb, var(--plus) 22%, var(--console-3)); color: var(--console-text); }
.families { list-style: none; padding: 0; margin: 6px 0 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.families li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 600; }
.mismatch { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--console); color: var(--console-text); font-size: 14px; line-height: 1.45; }
.mismatch svg { width: 20px; height: 20px; flex: none; color: var(--plus-soft); margin-top: 1px; }
.sheet-plain { margin-top: 0; }
.editor-demo { padding: 18px; }
.editor-flow { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.1fr); gap: 20px; align-items: center; }
.editor-step { font-weight: 700; margin-bottom: 10px; }
.example-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.example-strip img { border-radius: 8px; }
.editor-note { margin: 10px 0 0; font-size: 14px; color: var(--console-muted); }
.editor-arrow { width: 32px; height: 32px; color: var(--plus-soft); justify-self: center; }
.editor-result .viewer { max-width: 420px; }
@media (max-width: 760px) { .editor-flow { grid-template-columns: 1fr; } .editor-arrow { transform: rotate(90deg); } }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; border-top: 1px solid var(--ink); }
.modes > div { padding: 20px 28px 0 0; color: var(--muted); }
.modes > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.modes h3 { color: var(--ink); margin-bottom: 6px; }
.mode-get { font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
@media (max-width: 640px) { .modes { grid-template-columns: 1fr; } .modes > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 20px; } }
.beyond-images { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.beyond-images p { margin: 0; color: var(--muted); max-width: 40em; }
.beyond-images b { color: var(--ink); }
.beyond-images .families { margin: 0; }
.families li.is-now { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.page > * { padding-left: max(20px, calc((100% - var(--max)) / 2)); padding-right: max(20px, calc((100% - var(--max)) / 2)); }
.page-head { padding-top: 72px; padding-bottom: 40px; }
.page-head h1 { font-size: clamp(44px, 6.5vw, 84px); font-weight: 800; line-height: .92; letter-spacing: -.04em; margin-bottom: 20px; }
.page-sec { padding-top: 56px; padding-bottom: 56px; }
.page-sec h2 { font-size: clamp(28px, 3.6vw, 44px); }
.band-box { background: var(--sand); }
.page .table-wrap { max-width: 900px; }
.steps-6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .steps-6 { grid-template-columns: 1fr; } }
.modes-big h3 { font-size: clamp(28px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; }
.modes-big .mode-get { font-size: 20px; }
.refs { display: grid; gap: 10px; padding-left: 1.1em; color: var(--muted); max-width: 52em; }
.refs a { color: var(--ink); font-weight: 600; }
.attrib { margin: 0 0 16px; padding: 16px 20px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 600; max-width: 46em; }
.doc-links { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); max-width: 960px; }
.doc-links a { display: grid; gap: 4px; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.doc-links b { font-size: 19px; letter-spacing: -.015em; }
.doc-links span { color: var(--muted); font-size: 15px; }
.doc-links a:hover b { text-decoration: underline; }
@media (max-width: 640px) { .doc-links { grid-template-columns: 1fr; } }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.mod-card { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.mod-card img { aspect-ratio: 1; object-fit: cover; }
.mod-card-body { padding: 18px; display: grid; gap: 10px; align-content: start; }
.mod-card h3 { margin: 0; font-size: 22px; }
.mod-card p { margin: 0; color: var(--muted); font-size: 15px; }
.mod-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.mod-meta span { font-size: 12px; font-weight: 650; padding: 5px 10px; border-radius: 999px; background: var(--sand); color: var(--ink); }
.mod-meta .tag-kind { background: var(--ink); color: var(--paper); }
.mod-meta .tag-kind.is-learn { background: var(--plus-text); color: #fff; }
.mod-facts { display: grid; gap: 0; margin: 4px 0 0; font-size: 13px; }
.mod-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.mod-facts dt { color: var(--muted); font-weight: 600; }
.mod-facts dd { margin: 0; overflow-wrap: anywhere; }
.learn-progress { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--console-muted); font-variant-numeric: tabular-nums; }
.learn-progress progress { flex: 1; height: 8px; accent-color: var(--plus); }
.quick-steps > li, .page-sec, .modes > div { min-width: 0; }
.live-note { font-size: 14px; color: var(--console-muted); margin: 0; } .gallery .thumbs img { border-radius: 8px; }
.comp-use { font-size: 14px; color: var(--muted); }
.comp-use code { font-size: 12px; }
.cmp-grid { margin: 24px 0 32px; max-width: calc(var(--cols) * 220px + 140px); }
.cg { display: grid; grid-template-columns: auto repeat(var(--cols), minmax(0, 1fr)); gap: 6px; align-items: center; }
.cg img { border-radius: 8px; width: 100%; }
.cg-col { font-size: 13px; font-weight: 650; text-align: center; padding-bottom: 4px; font-variant-numeric: tabular-nums; }
.cg-row { font-size: 13px; font-weight: 650; color: var(--muted); padding-right: 10px; max-width: 9em; }
.cmp-grid figcaption, .live-strip figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.cmp-grid figcaption b, .live-strip figcaption b { color: var(--ink); }
@media (max-width: 560px) {
  .cg { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
  .cg-corner { display: none; }
  .cg-row { grid-column: 1 / -1; padding-top: 8px; max-width: none; }
}
.live-strip { margin: 0 0 32px; }
.ls { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: none; position: relative; }
.ls li { position: relative; }
.ls img { border-radius: 10px; width: 100%; }
.ls-n { display: block; margin-top: 8px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ls li + li::before { content: ""; position: absolute; top: calc(50% - 22px); left: -10px; width: 10px; height: 2px; background: var(--ink); }
@media (max-width: 640px) { .ls { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ls li::before { display: none; } }
.install-block { display: grid; gap: 0; border-top: 1px solid var(--ink); max-width: 900px; }
.ib-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ib-n { font-size: 40px; font-weight: 850; line-height: 1; letter-spacing: -.05em; }
.ib-step h3 { margin-bottom: 8px; }
.ib-step p { margin: 0; color: var(--muted); }
.hw .table-wrap { max-width: none; }
.hw table { min-width: 720px; }
.hw-note { margin-top: 10px; }
.mod-card { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.mod-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(21, 20, 15, .45); }
:root { --white: #ffffff; --note-bg: #ffe7a8; --note-fg: #6b4200; --note-line: #c98f00; }
.btn.is-pending { cursor: default; opacity: .75; }
.btn.is-pending:hover { background: transparent; color: var(--ink); }
.install-block.is-tabbed { border-top: 0; max-width: 760px; }
.ib-tabs { justify-self: start; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sand-2); margin-bottom: 14px; }
.ib-tabs button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 14px/1 var(--sans); cursor: pointer; }
.ib-tabs button[aria-selected=true] { background: var(--ink); color: var(--paper); }
.ib-panel { padding: 18px 0; border-bottom: 1px solid var(--line); }
.is-tabbed .ib-panel { padding: 0 0 6px; border-bottom: 0; }
.is-tabbed .ib-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ib-panel p { color: var(--muted); margin: 10px 0 0; }
.ib-status { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.ib-status a { color: var(--ink); font-weight: 600; }
.mod-media { position: relative; }
.mod-kind { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(21, 20, 15, .82); color: var(--white); }
.mod-kind.is-live { background: var(--plus-text); }
.mod-line { font-size: 13px; font-weight: 600; color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.loop { list-style: none; counter-reset: lp; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.loop li { counter-increment: lp; position: relative; padding: 16px 28px 0 0; display: grid; gap: 4px; }
.loop li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.loop li::before { content: counter(lp); font-size: 13px; font-weight: 700; color: var(--plus-text); font-variant-numeric: tabular-nums; }
.loop li:last-child::after { content: "↻ back to 1"; font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.loop b { font-size: 18px; letter-spacing: -.015em; }
.loop span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .loop { grid-template-columns: 1fr 1fr; row-gap: 20px; } .loop li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 420px) { .loop { grid-template-columns: 1fr; } .loop li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; } }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; }
.links a { display: inline-flex; align-items: center; min-height: 32px; }
.foot .small a { display: inline-block; padding: 4px 0; }
.mod-row input[type=checkbox] { width: 22px; height: 22px; }
.mod-row label { min-height: 32px; }
.speed input[type=range] { height: 32px; }
input[type=range]:focus-visible { outline: 3px solid var(--minus-soft); outline-offset: 2px; }
.thumb input { width: 24px; height: 24px; }
@media (max-width: 760px) { .bar nav { gap: 6px 16px; } }
.docs-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 56px; padding-top: 56px !important; padding-bottom: 80px !important; }
.docs-nav { position: sticky; top: 92px; align-self: start; }
.docs-nav-h { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.docs-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.docs-nav a { display: block; padding: 8px 14px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-weight: 550; }
.docs-nav a:hover { color: var(--ink); }
.docs-nav a[aria-current=page] { color: var(--ink); border-left-color: var(--plus); font-weight: 700; }
.docs-article h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: .95; }
.docs-article h2 { font-size: 26px; letter-spacing: -.025em; margin-top: 44px; }
.docs-article p, .docs-article li { max-width: 68ch; }
.docs-article .table-wrap { margin: 16px 0; }
.docs-next { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; }
.docs-next a { text-decoration: none; }
.docs-next a:hover { text-decoration: underline; }
.faq-docs details { max-width: none; }
@media (max-width: 860px) {
  .docs-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 32px !important; }
  .docs-nav { position: static; }
  .docs-nav ul { display: flex; flex-wrap: wrap; gap: 6px; border-left: 0; }
  .docs-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; margin: 0; }
  .docs-nav a[aria-current=page] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
}
.docs-layout > * { min-width: 0; }
.filters { display: grid; gap: 12px; margin-bottom: 24px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 14px/1 var(--sans); cursor: pointer; transition: background-color .2s, border-color .2s; }
.fchip:hover { border-color: var(--ink); }
.fchip[aria-pressed=true] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fcount { margin: 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.empty { padding: 40px 24px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; display: grid; gap: 14px; justify-items: center; }
.empty p { margin: 0; color: var(--muted); }
.empty b { color: var(--ink); }
.mod-card[hidden] { display: none !important; }
.scrub { margin: 24px 0 0; display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px; }
.scrub-media img { border-radius: 10px; width: 100%; }
.scrub-controls { display: grid; gap: 10px; color: var(--console-text); }
.scrub-row { display: grid; gap: 4px; }
.scrub-label { display: flex; justify-content: space-between; font-weight: 650; }
.scrub-label output { font-variant-numeric: tabular-nums; color: var(--plus-soft); font-weight: 750; }
.scrub-row input { width: 100%; height: 32px; accent-color: var(--plus); }
.scrub-ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--console-muted); margin-top: -6px; font-variant-numeric: tabular-nums; }
.scrub-note { color: var(--console-muted); font-size: 14px; margin: 6px 0 0; }
@media (max-width: 760px) { .scrub { grid-template-columns: 1fr; } }
:root[data-theme=dark] {
  color-scheme: dark;
  --paper: #0c0c0b; --sand: #0c0c0b; --sand-2: #1c1c19; --card: #131311;
  --ink: #ecebe6; --muted: #a3a197; --line: #2a2924;
  --console: #131311; --console-2: #1a1a17; --console-3: #24231f; --console-line: #34332d;
  --plus: #ff5a2a; --plus-text: #ff7a52; --minus-text: #9fb2ff;
  --lift: none;
  --note-bg: #3a2f12; --note-fg: #ffd98a; --note-line: #8a6a1c;
  scrollbar-color: #3a3933 var(--paper);
}
:root[data-theme=dark] .bar { background: color-mix(in srgb, var(--paper) 86%, transparent); }
:root[data-theme=dark] .btn-ink:hover { background: #ffffff; }
:root[data-theme=dark] .chip-warn { background: var(--note-bg); color: var(--note-fg); }
:root[data-theme=dark] .share-strip { background: var(--console); color: var(--ink); }
:root[data-theme=dark] .share-strip h2 { color: var(--ink); }
:root[data-theme=dark] .share-strip .btn { border-color: var(--console-line); color: var(--ink); }
:root[data-theme=dark] .mod-kind { background: rgba(0, 0, 0, .7); }
:root[data-theme=dark] .mod-kind.is-live { background: #b8320c; }
:root[data-theme=dark] .viewer .tag { background: rgba(0, 0, 0, .78); }
:root[data-theme=dark] code { background: var(--sand-2); }
.theme-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme=dark] .theme-toggle .i-sun { display: block; }
:root[data-theme=dark] .theme-toggle .i-moon { display: none; }
@media (max-width: 760px) { .theme-toggle { margin-left: auto; } .bar .btn-small { margin-left: 0; } }
.nf { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 96px !important; padding-bottom: 120px !important; }
.nf-code { margin: 0; font-size: clamp(88px, 14vw, 180px); font-weight: 800; letter-spacing: -.05em; line-height: .85; color: var(--plus-text); padding-right: 40px; border-right: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.nf h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
@media (max-width: 640px) { .nf { grid-template-columns: 1fr; gap: 16px; padding-top: 48px !important; } .nf-code { border-right: 0; padding-right: 0; } }
.cl-list { list-style: none; padding: 0; margin: 0; max-width: 960px; }
.cl-entry { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.cl-meta { display: grid; gap: 8px; align-content: start; font-size: 14px; color: var(--muted); }
.cl-tag { justify-self: start; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.cl-body h3 { font-size: 24px; letter-spacing: -.02em; }
.rm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); margin-top: 20px; }
.rm-col { padding: 18px 24px 0 0; }
.rm-col + .rm-col { padding-left: 24px; border-left: 1px solid var(--line); }
.rm-col h3 { display: flex; align-items: center; gap: 10px; }
.rm-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--muted); }
.rm-dot.is-now { background: var(--plus); border-color: var(--plus); }
.rm-dot.is-later { border-style: dashed; }
@media (max-width: 760px) {
  .cl-entry { grid-template-columns: 1fr; gap: 12px; }
  .rm-grid { grid-template-columns: 1fr; }
  .rm-col + .rm-col { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 18px; }
}
.page-sec table, .docs-article table, .formats { min-width: 0; }
th, td { overflow-wrap: break-word; }
@media (max-width: 520px) { th, td { padding: 10px 12px; } .page-sec table, .docs-article table { font-size: 14px; } }
.ib-tabs { flex-wrap: wrap; border-radius: 22px; }
.ib-tabs button { white-space: nowrap; padding: 0 14px; }
.plain-list + p { margin-top: 16px; }
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-size: 13px; font-weight: 650; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 16px; height: 16px; }
.lang-switch summary:hover { border-color: var(--ink); }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; list-style: none; margin: 0; padding: 6px; min-width: 200px; max-height: 70vh; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .45); }
.lang-switch a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.lang-switch a:hover { background: var(--sand); }
.lang-switch a[aria-current] { font-weight: 750; background: var(--sand); }
.lang-switch a[aria-current]::after { content: " ✓"; color: var(--plus-text); }
[dir=rtl] .lang-switch ul { right: auto; left: 0; }
.mt-banner { background: var(--note-bg); color: var(--note-fg); border-bottom: 1px dashed var(--note-line); text-align: center; font-size: 13px; font-weight: 600; padding: 8px 12px; }
.mt-banner span { font-weight: 500; margin-inline-start: 6px; }
@media (max-width: 760px) { .lang-switch summary span { display: none; } .lang-switch summary { padding: 0 10px; } }
[dir=rtl] p, [dir=rtl] li, [dir=rtl] dd, [dir=rtl] dt, [dir=rtl] summary, [dir=rtl] figcaption, [dir=rtl] td, [dir=rtl] th { unicode-bidi: plaintext; }
@media (max-width: 420px) { .bar .btn-small { display: none; } .theme-toggle { margin-left: 0; } .lang-switch { margin-left: auto; } }
[dir=rtl] .lang-switch { margin-left: 0; }
@media (max-width: 420px) { [dir=rtl] .lang-switch { margin-right: auto; } }
.cmp-page { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.cmp-stage { padding: 14px; }
.cmp-viewer { max-width: 720px; }
.cmp-side { position: sticky; top: 92px; display: grid; gap: 14px; }
.cmp-title { font-size: clamp(26px, 3vw, 36px); margin: 0; }
.cmp-note { color: var(--muted); margin: 0; }
.cmp-meta { display: grid; margin: 0; border-top: 1px solid var(--line); }
.cmp-meta div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cmp-meta dt { color: var(--muted); font-weight: 600; }
.cmp-meta dd { margin: 0; }
.cmp-list-h { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 10px 0 0; }
.cmp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.cmp-item { width: 100%; text-align: start; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 15px/1.2 var(--sans); cursor: pointer; }
.cmp-item:hover { border-color: var(--ink); }
.cmp-item[aria-pressed=true] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 900px) { .cmp-page { grid-template-columns: 1fr; } .cmp-side { position: static; } }
.bar nav { scrollbar-width: none; } .bar nav::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) {
  .mod-card:hover, .thumb:hover img, .hook:hover .hook-go, .viewer:hover .knob, .btn:active { transform: none !important; }
}
.art { margin: 0; pointer-events: none; user-select: none; }
.art img { display: block; width: auto; max-width: 100%; height: auto; }
.head-art { margin-top: 28px; }
.head-art img { max-height: 340px; }
.sec-art { margin: 4px 0 22px; }
.sec-art img { max-height: 260px; }
:root:not([data-theme=dark]) .art:not(.art-flat) img {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent); mask-composite: intersect;
}
:root[data-theme=dark] .art img { border-radius: var(--radius); filter: brightness(.7) saturate(.9); }
@media (max-width: 520px) { .head-art { margin-top: 18px; } .head-art img { max-height: 190px; } .sec-art img { max-height: 150px; } }
@media (min-width: 901px) {
  .hero { position: relative; isolation: isolate; }
}
html { overflow-x: clip; }
.empty-art { margin: 0 0 6px; } .empty-art img { max-height: 170px; }
.nf-art { margin: 0 0 18px; } .nf-art img { max-height: 130px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.crumbs a { color: inherit; }
.mod-head-grid { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: 48px; align-items: start; }
.mod-head-media { margin: 0; }
.mod-head-media img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--sand); }
.mod-kind-line { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.mod-head h1 { font-size: clamp(40px, 5.4vw, 72px); }
.mod-spec { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 22px 0 16px; border-top: 1px solid var(--line); }
.mod-spec > div { display: contents; }
.mod-spec dt, .mod-spec dd { padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0; }
.mod-spec dt { font-weight: 650; padding-right: 22px; }
.mod-spec dd { color: var(--muted); overflow-wrap: anywhere; }
.showcase { margin: 0; }
.page .showcase .table-wrap { max-width: none; }
.showcase table { width: 100%; min-width: 860px; }
.showcase td, .showcase th { padding: 6px; vertical-align: middle; }
.showcase thead th { font-size: 13px; line-height: 1.3; text-align: left; }
.showcase tbody th { font-size: 14px; white-space: nowrap; }
.showcase tbody th span { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.showcase td img { display: block; width: 100%; min-width: 140px; height: auto; border-radius: 6px; background: var(--sand); }
.showcase figcaption { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; }
.mod-card h3 a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 820px) { .mod-head-grid { grid-template-columns: 1fr; gap: 24px; } .mod-head-media { max-width: 420px; } }
@media (max-width: 520px) { .mod-spec { grid-template-columns: 1fr; } .mod-spec dt { padding-bottom: 0; border-bottom: 0; } .mod-spec dd { padding-top: 2px; } }
.learn { margin: 22px 0 0; display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: 18px 32px; align-items: start; }
.learn-frames { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; grid-column: 1 / -1; }
.learn-frames li { position: relative; }
.learn-frames img { transition: opacity .4s ease; }
.learn-frames img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--sand); }
.learn-frames span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.learn.is-live .learn-frames li.is-later img { opacity: .22; }
.learn.is-live .learn-frames li.is-now img { outline: 3px solid var(--plus); outline-offset: 2px; }
.learn.is-live .learn-frames li.is-now span { color: var(--ink); font-weight: 700; }
.learn-keep { grid-column: 2; grid-row: 2 / span 3; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.learn-keep-h { font-weight: 750; margin: 0 0 10px; }
.keep-row { display: grid; grid-template-columns: 1fr 96px; gap: 10px; align-items: center; font-size: 14px; padding: 5px 0; }
.keep-style { font-weight: 700; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.keep-bar { height: 8px; border-radius: 99px; background: var(--sand-2, var(--line)); overflow: hidden; }
.keep-bar i { display: block; height: 100%; width: calc(var(--v, 0) * 100%); background: var(--muted); border-radius: inherit; transition: width .5s ease; }
.keep-style .keep-bar i { background: var(--plus); }
.learn-ctl { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.learn-count { font-size: 14px; color: var(--muted); margin-left: 4px; }
.learn-now { grid-column: 1; margin: 0; font-size: 18px; line-height: 1.45; min-height: 3em; }
.learn-steps { grid-column: 1; margin: 0; padding-left: 1.2em; }
.learn figcaption { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .learn { grid-template-columns: 1fr; }
  .learn-keep { grid-column: 1; grid-row: auto; }
  .learn-frames { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .learn-frames span { font-size: 11px; }
  .learn-now { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .learn-frames img, .keep-bar i { transition: none; } }
.mod-grid { gap: 24px 20px; }
.mod-card { position: relative; }
.mod-card-body { padding: 16px 18px 18px; gap: 6px; }
.mod-card h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.mod-card h3 a { text-decoration: none; }
.mod-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.mod-card h3 a:focus-visible { outline: none; }
.mod-card:has(h3 a:focus-visible) { outline: 3px solid var(--focus, var(--plus)); outline-offset: 3px; }
.mod-card:has(h3 a):hover h3 a { text-decoration: underline; }
.mod-blurb { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }
.mod-more { margin-top: 6px; font-size: 14px; }
.mod-more summary { cursor: pointer; font-weight: 650; color: var(--ink); padding: 4px 0; }
.mod-media, .showcase td, .cg > img { background: var(--sand); }
.mod-media { aspect-ratio: 1; overflow: hidden; }
.mod-media img { display: block; width: 100%; height: 100%; }
.showcase td img { aspect-ratio: 1; }
.mod-card .mod-line { margin-top: 2px; }
.mod-head { padding-bottom: 24px; }
.mod-head .section-lede { margin-bottom: 0; }
.mod-spec { font-size: 15px; }
.showcase td, .showcase th { padding: 4px; }
.showcase tbody th { padding: 4px 12px 4px 10px; width: 1%; }
.showcase thead th { padding: 10px 4px; }
:lang(ja) :is(h1, h2, h3, .h1-sub, .btn) { word-break: auto-phrase; }
:lang(zh) :is(h1, h2, h3, .h1-sub), :lang(zh-TW) :is(h1, h2, h3, .h1-sub), :lang(ko) :is(h1, h2, h3, .h1-sub) { word-break: keep-all; overflow-wrap: anywhere; }
:is(:lang(ja), :lang(zh), :lang(zh-TW), :lang(ko)) :is(h1, .h1-sub) { text-wrap: balance; }
.page-sec > p, .page-sec > .plain-list, .cmp-grid figcaption, .scrub-note, .hw-note, footer p.small { max-width: 56ch; }
.packs { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pack { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.pack.is-base { border-color: var(--plus); }
.pack-name { font-weight: 750; font-size: 17px; }
.pack-what { color: var(--muted); font-size: 14px; line-height: 1.4; }
.pack-state { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.pack.is-base .pack-state { color: var(--plus-text); }
@media (pointer: coarse), (max-width: 760px) {
  .btn, .btn-small, .fchip, .tabs button, .ib-tabs button, .cmp-item, .copy, .theme-toggle, .lang-switch summary { min-height: 44px; }
  .theme-toggle, .lang-switch summary { min-width: 44px; }
  .copy { min-width: 52px; }
  .bar .brand { display: inline-flex; align-items: center; min-height: 44px; }
  .bar nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .lang-switch li a, .lang-switch ul a { display: flex; align-items: center; min-height: 44px; }
  .mod-more summary { display: flex; align-items: center; min-height: 44px; }
  input[type=range] { min-height: 44px; }
  p > a:only-child:not(.btn), .crumbs a, .docs-next a { display: inline-block; padding-block: 11px; }
}
@media (pointer: coarse), (max-width: 760px) {
  .foot .links a { min-height: 44px; min-width: 44px; }
  .learn-ctl .btn { min-width: 44px; }
}
@media (max-width: 760px) {
  .bar nav { justify-content: flex-start; gap: 4px; scroll-padding-inline: 8px; }
  .bar nav a { padding-inline: 8px; flex: none; }
}
.docs-article > p, .docs-article > .plain-list, .docs-article .section-lede { max-width: 60ch; }
.pack.has-samples { padding-top: 10px; }
.pack-samples { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.pack-samples img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; background: var(--sand); }
.pack-note { font-size: 14px; color: var(--muted); }
[data-release="only"] { display: none !important; }
:root { --acc: #e8461c; --acc-text: #b8320c; --acc-ink: #fff; --neg: #2747d6; --mono-label: 11.5px; }
:root[data-theme=dark] { --acc: #ff5a2a; --acc-text: #ff7a52; --acc-ink: #140804; --neg: #9fb2ff; }
.home .bar { padding-left: max(20px, calc((100% - var(--max)) / 2 + 24px)); padding-right: max(20px, calc((100% - var(--max)) / 2 + 24px)); }
.home .brand { font-weight: 700; font-size: 19px; }
.k { max-width: var(--max); margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.k > section { padding: 0; border-bottom: 1px solid var(--line); }
.k-label { margin: 0 0 12px; font: 500 var(--mono-label)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.k h1, .k h2 { font-weight: 620; letter-spacing: -.035em; line-height: 1.02; margin: 0; }
.k h1 { font-size: clamp(40px, 5.6vw, 66px); }
.k h1 span, .k h2 span { display: block; color: var(--muted); }
.k h2 { font-size: clamp(30px, 3.6vw, 44px); }
.k h3 { font-size: 18px; font-weight: 650; letter-spacing: -.01em; margin: 0 0 8px; }
.k p { margin: 0 0 12px; }
.k code { font-size: .88em; }
.k-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink); font: 600 15px/1 var(--sans); text-decoration: none; transition: background-color .2s, border-color .2s; }
.k-btn:hover { border-color: var(--muted); }
.k-btn-acc { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.k-btn-acc:hover { background: color-mix(in srgb, var(--acc) 86%, #fff); border-color: transparent; }
.k-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.k-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.k-hero-copy { padding: 72px 48px 64px; }
.k-lede { color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 32em; margin: 24px 0 32px !important; }
.k-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.k-hero-art { border-left: 1px solid var(--line); background: var(--card); padding: 48px 36px; display: grid; align-items: center; }
.k-graph { display: grid; grid-template-columns: minmax(0, 1.1fr) 40px minmax(0, 1fr) 28px minmax(0, .9fr); min-height: 320px; gap: 0; padding: 22px 18px; border: 1px solid var(--line); border-radius: 10px; background: radial-gradient(color-mix(in srgb, var(--line) 90%, transparent) 1px, transparent 1px) 0 0 / 16px 16px, var(--paper); }
.k-col { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.k-col-in { justify-content: space-around; }
.k-wires { width: 100%; height: 100%; overflow: visible; }
.k-wires path { fill: none; stroke: var(--acc); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .8; }
.k-node { background: var(--console-2); border: 1px solid var(--console-line); border-radius: 8px; padding: 0 0 8px; font-size: 12px; min-width: 0; }
.k-node p { margin: 0; }
.k-node-t { padding: 7px 10px; border-bottom: 1px solid var(--console-line); font-weight: 650; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px !important; }
.k-node-key .k-node-t { color: var(--acc-text); }
.k-node-r { display: flex; justify-content: space-between; gap: 8px; padding: 2px 10px; font: 11px/1.5 var(--mono); color: var(--muted); }
.k-node-r span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-node-r b { font-weight: 500; color: var(--ink); }
.k .pos { color: var(--acc-text); }
.k .neg { color: var(--neg); }
.k-meter { display: block; height: 3px; margin: 6px 10px 0; background: var(--console-line); border-radius: 2px; }
.k-meter i { display: block; height: 100%; background: var(--acc); border-radius: 2px; }
.k-meter-neg i { background: var(--neg); }
.k-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.k-facts li { padding: 20px 24px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.k-facts li:last-child { border-right: 0; }
.k-facts .k-label { margin-bottom: 8px; }
.k-facts b { font-size: 16px; font-weight: 650; }
.k-facts li > span:last-child { color: var(--muted); font-size: 14px; }
.k-head { padding: 64px 48px 40px; max-width: 820px; }
.k-head > p:last-child { color: var(--muted); font-size: 17px; max-width: 38em; margin-top: 16px; }
.k-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.k-cell { padding: 24px 28px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.k-bento > .k-cell:nth-child(3n) { border-right: 0; }
.k-cell > p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.k-wide { grid-column: span 2; }
.k-bento > .k-wide:first-child + .k-cell { border-right: 0; }
.k-bento > .k-cell:nth-child(6) { border-right: 1px solid var(--line); }
.k-bento > .k-cell:last-child { border-right: 0; }
.k-mock { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); padding: 10px 12px; margin-bottom: 20px; font: 12px/1.5 var(--mono); color: var(--muted); }
.k-mock-row { display: flex; gap: 12px; align-items: center; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.k-mock-row:last-child { border-bottom: 0; }
.k-mock-row > :first-child { flex: 1; min-width: 0; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-mock-row b { font-weight: 500; text-align: right; }
.k-mock-hd > * { color: var(--muted) !important; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.k-mock-eq b, .k-mock-eq span { color: var(--acc-text) !important; }
.k-dim > * { opacity: .5; }
.k-mock-foot { margin: 8px 0 0 !important; font-size: 11px; color: var(--muted); }
.k-mock-row .k-mid { flex: 0 0 38%; }
.k-split, .k-split-h { flex: 0 0 42%; }
.k-split { display: block; height: 6px; background: var(--console-3); border-radius: 3px; }
.k-split i { display: block; height: 100%; background: var(--acc); border-radius: 3px; }
.k-split-neg i { background: var(--neg); }
.k-pill { display: inline-block; padding: 1px 8px; border: 1px solid var(--acc); border-radius: 999px; color: var(--acc-text); font: 500 11px/1.6 var(--mono); }
.k-pill.k-off { border-color: var(--line); color: var(--muted); }
.k-tag { display: inline-block; padding: 1px 7px; border-radius: 4px; background: color-mix(in srgb, var(--acc) 16%, transparent); color: var(--acc-text); font: 500 10.5px/1.6 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.k-tag-f { background: color-mix(in srgb, var(--neg) 18%, transparent); color: var(--neg); }
.k-tag-x { background: color-mix(in srgb, var(--note-fg, #b38600) 18%, transparent); color: var(--note-fg, #7a5c00); margin-bottom: 12px; }
.k-lanes div { display: flex; align-items: center; gap: 6px; padding: 8px 0; }
.k-lanes div + div { border-top: 1px dashed var(--line); }
.k-lanes .k-tag { width: 92px; text-align: center; }
.k-lanes i { width: 22px; height: 14px; border-radius: 3px; background: var(--acc); opacity: .75; }
.k-lanes div + div i { background: var(--neg); width: 70px; }
.k-lanes em { margin-left: auto; font-style: normal; font-size: 11px; }
.k-regions { display: flex; gap: 14px; align-items: center; }
.k-canvas { position: relative; width: 96px; height: 72px; flex: none; border: 1px solid var(--line); border-radius: 4px; background: var(--console-2); }
.k-canvas span { position: absolute; top: 8px; bottom: 8px; display: grid; place-items: center; font-size: 11px; border-radius: 3px; }
.k-ra { left: 8px; width: 40px; background: color-mix(in srgb, var(--acc) 30%, transparent); color: var(--ink); }
.k-rb { right: 8px; width: 30px; background: color-mix(in srgb, var(--neg) 30%, transparent); color: var(--ink); }
.k-roles { display: flex; flex-wrap: wrap; gap: 6px; }
.k-time svg { display: block; width: 100%; height: 70px; overflow: visible; }
.k-time .k-grid { stroke: var(--line); stroke-dasharray: 3 3; fill: none; vector-effect: non-scaling-stroke; }
.k-time .k-curve { stroke: var(--acc); stroke-width: 1.5; fill: none; vector-effect: non-scaling-stroke; }
.k-time circle { fill: var(--paper); stroke: var(--acc); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.k-exp { padding: 40px 48px 48px; }
.k-exp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px dashed var(--line); border-radius: 10px; }
.k-exp-grid .k-cell { border-bottom: 0; }
.k-exp-grid .k-cell:last-child { border-right: 0; }
.k-compare { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 28px 48px 32px; }
.k-compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.k-frame { margin: 0; }
.k-frame-box { aspect-ratio: 4 / 3; border: 1px dashed var(--line); border-radius: 8px; display: grid; place-items: center; background: var(--card); color: var(--muted); font: 500 var(--mono-label)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.k-frame figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.k-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.k-table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 15px; }
.k-table th, .k-table td { text-align: left; vertical-align: top; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.k-table th:first-child { padding-left: 48px; width: 30%; font-weight: 600; }
.k-table td:last-child { color: var(--muted); padding-right: 48px; }
.k-table thead th { font: 500 var(--mono-label)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.k-table tbody tr:last-child > * { border-bottom: 0; }
.k-state { display: inline-block; white-space: nowrap; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); font: 500 12px/1.6 var(--mono); color: var(--muted); }
.k-state.k-ok { border-color: color-mix(in srgb, #3fb950 60%, transparent); color: #1f7a33; }
:root[data-theme=dark] .k-state.k-ok { color: #6fdc85; }
.k-state.k-x { border-style: dashed; }
.k-note { padding: 18px 48px 28px; margin: 0 !important; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.k #quickstart .install-block { margin: 0 48px 56px; max-width: none; }
.k .ib-status { flex-wrap: wrap; overflow-wrap: anywhere; }
.k .install-block { grid-template-columns: minmax(0, 1fr); }
.k .install-block > *, .k .pre-wrap { min-width: 0; }
.k-faq { border-top: 1px solid var(--line); }
.k-faq details { border-bottom: 1px solid var(--line); padding: 0 48px; }
.k-faq details:last-child { border-bottom: 0; }
.k-faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16px; min-height: 44px; }
.k-faq details p { color: var(--muted); max-width: 46em; padding-bottom: 18px; }
.home .foot { border-top: 0; }
@media (max-width: 1000px) {
  .k-hero { grid-template-columns: 1fr; }
  .k-hero-art { border-left: 0; border-top: 1px solid var(--line); }
  .k-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-facts li:nth-child(2) { border-right: 0; }
  .k-facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .k-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-bento > .k-cell { border-right: 1px solid var(--line) !important; }
  .k-bento > .k-cell:nth-child(even) { border-right: 0 !important; }
}
@media (max-width: 640px) {
  .k { border-left: 0; border-right: 0; }
  .k-hero-copy, .k-head { padding-left: 20px; padding-right: 20px; }
  .k-hero-copy { padding-top: 48px; padding-bottom: 44px; }
  .k-hero-art { padding: 24px 16px; }
  .k-graph { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 16px; }
  .k-wires { display: none; }
  .k-col-in { gap: 10px; }
  .k-col-mid, .k-col-out { position: relative; padding-top: 28px; }
  .k-col-mid::before, .k-col-out::before { content: ""; position: absolute; left: 50%; top: 4px; height: 20px; border-left: 1.5px solid var(--acc); }
  .k-compare { padding: 24px 20px 28px; }
  .k-compare-grid { gap: 10px; }
  .k-facts { grid-template-columns: 1fr; }
  .k-facts li { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .k-facts li:last-child { border-bottom: 0; }
  .k-bento { grid-template-columns: 1fr; }
  .k-wide { grid-column: auto; }
  .k-bento > .k-cell { border-right: 0 !important; padding: 22px 20px 24px; }
  .k-exp { padding: 32px 20px 40px; }
  .k-exp-grid { grid-template-columns: 1fr; }
  .k-exp-grid .k-cell { border-right: 0; }
  .k-exp-grid .k-cell + .k-cell { border-top: 1px dashed var(--line); }
  .k-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .k-table, .k-table tbody, .k-table tr, .k-table th, .k-table td { display: block; width: auto !important; }
  .k-table tr { padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .k-table tbody tr:last-child { border-bottom: 0; }
  .k-table th, .k-table td { padding: 0 !important; border: 0 !important; }
  .k-table td { margin-top: 8px; }
  .k-note { padding: 16px 20px 24px; }
  .k #quickstart .install-block { margin: 0 20px 40px; }
  .k-faq details { padding: 0 20px; }
}
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; }
.home-a .bar { padding-left: max(20px, calc((100% - 1280px) / 2 + 32px)); padding-right: max(20px, calc((100% - 1280px) / 2 + 32px)); border-bottom-color: transparent; }
.a { max-width: 1280px; margin: 0 auto; }
.a > section { padding: 0 32px; }
.a-label { margin: 0 0 14px; font: 600 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--plus-text); }
.a h1 { font-size: clamp(44px, 5.2vw, 76px); line-height: .95; letter-spacing: -.04em; margin: 0; }
.a h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1; margin: 0 0 14px; }
.a-lede { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 30em; margin: 24px 0 30px; }
.a-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.a-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 30px; border: 1.5px solid var(--ink); color: var(--ink); font: 650 16px/1 var(--sans); text-decoration: none; transition: background-color .2s, color .2s; }
.a-btn:hover { background: var(--ink); color: var(--paper); }
.a-btn-acc { background: var(--plus); border-color: var(--plus); color: #fff; }
.a-btn-acc:hover { background: var(--plus-text); border-color: var(--plus-text); color: #fff; }
.a-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.a-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-top: 40px !important; padding-bottom: 24px !important; }
.a-hero-copy { padding-bottom: 56px; }
.a-pair { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.a-pair figcaption { grid-column: 1 / -1; }
.a-frame { position: relative; overflow: hidden; border-radius: 10px; background: var(--sand); }
.a-frame img { width: 100%; height: 100%; object-fit: cover; }
.a-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 12px; border: 1.5px dashed #c8bdac; border-radius: 10px; background: repeating-linear-gradient(135deg, #f1ebe1 0 14px, #ebe4d8 14px 28px); color: #6f6659; font: 600 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.a-tag { position: absolute; left: 10px; top: 10px; padding: 4px 11px; border-radius: 30px; background: var(--paper); color: var(--ink); font: 650 12.5px/1.4 var(--sans); }
.a-tag-k { background: var(--plus); color: #fff; }
.a-credit { margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--muted); }
.a-prompt { flex-basis: 100%; font-family: var(--serif); font-size: 16px; color: var(--ink); }
.a-prompt::before { content: "\201C"; } .a-prompt::after { content: "\201D"; }
.a-sec { padding-top: 88px !important; }
.a-head { max-width: 760px; margin-bottom: 32px; }
.a-head > p:last-child { color: var(--muted); font-size: 18px; margin: 0; }
.a-mason { columns: 2 460px; column-gap: 28px; }
.a-card { break-inside: avoid; margin-bottom: 28px; }
.a-card .a-frame { border-radius: 8px; }
.a-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 44px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.a-sub { color: var(--muted); font-size: 18px; max-width: 30em; }
.a-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.a-steps li { border-top: 2px solid var(--ink); padding-top: 12px; font-size: 15px; }
.a-steps b { display: block; font: 700 24px/1.1 var(--serif); }
.a-how-art .k-graph { background: radial-gradient(#3a342b 1px, transparent 1px) 0 0 / 16px 16px, var(--console); border-color: var(--console); }
.a-how-art .k-node { background: var(--console-2); border-color: var(--console-line); color: var(--console-text); }
.a-how-art .k-node-t { border-color: var(--console-line); }
.a-how-art .k-node-r { color: var(--console-muted); }
.a-how-art .k-node-r b { color: var(--console-text); }
.a-how-art .k-node-key .k-node-t, .a-how-art .pos { color: var(--plus-soft); }
.a-how-art .neg { color: var(--minus-soft); }
.a-how-art .k-meter { background: var(--console-line); }
.a-feat .k-bento { border-top: 1px solid var(--line); }
.a .k-sec { padding-top: 88px; border-bottom: 0; }
.a .k-head, .a .a-head { padding-left: 0; padding-right: 0; }
.a .k-cell { padding-left: 24px; padding-right: 24px; }
.a .k-bento > .k-cell:nth-child(1), .a .k-bento > .k-cell:nth-child(3), .a .k-bento > .k-cell:nth-child(6) { padding-left: 0; }
.a .k-bento > .k-cell:nth-child(2), .a .k-bento > .k-cell:nth-child(5), .a .k-bento > .k-cell:nth-child(7) { padding-right: 0; border-right: 0; }
.a .k-split { background: var(--sand-2); }
.a .k-exp { padding-left: 0; padding-right: 0; }
.a .k-table th:first-child { padding-left: 0; }
.a .k-table td:last-child { padding-right: 0; }
.a .k-note { padding-left: 0; padding-right: 0; }
.a #quickstart .install-block { margin: 0 0 24px; }
.a .k-faq details { padding: 0; }
.a > section:last-child { padding-bottom: 88px; }
.a-slider { position: relative; margin: 48px auto 0; width: min(720px, calc(100% - 64px)); border-radius: 12px; overflow: hidden; }
.a-slider-a, .a-slider-b { position: absolute; inset: 0; }
.a-slider .a-frame { position: absolute; inset: 0; aspect-ratio: auto !important; border-radius: 0; }
.a-slider-b { clip-path: inset(0 0 0 var(--cut, 50%)); }
.a-slider-b .a-tag { left: auto; right: 10px; }
.a-slider input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.a-slider::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 2px; background: #fff; pointer-events: none; }
.a-slider figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; background: color-mix(in srgb, var(--paper) 88%, transparent); }
.a-slider:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
:root[data-theme=dark] .a-empty { border-color: #4a4136; background: repeating-linear-gradient(135deg, #1f1b16 0 14px, #1a1713 14px 28px); color: #a99c88; }
:root[data-theme=dark] .a-how { background: var(--card); }
@media (max-width: 900px) {
  .a-hero { grid-template-columns: 1fr; gap: 8px; }
  .a-hero-copy { padding-bottom: 24px; }
  .a-how { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 640px) {
  .a > section { padding: 0 20px; }
  .a-sec, .a .k-sec { padding-top: 64px !important; }
  .a-steps { grid-template-columns: 1fr; }
  .a-how { padding: 22px 18px; }
  .a .k-bento > .k-cell { padding-left: 0 !important; padding-right: 0 !important; }
  .a-slider { margin: 32px auto 0; width: calc(100% - 40px); }
  .a-mason { columns: 1; }
}
@media (max-width: 760px) { .bar nav { flex-wrap: wrap; overflow: visible; row-gap: 0; } }
.install-block { grid-template-columns: minmax(0, 1fr); }
.install-block > *, .pre-wrap { min-width: 0; }
.ib-status { overflow-wrap: anywhere; }
@media (max-width: 760px) { .bar .theme-toggle { margin-left: auto; } }
.a-plain { color: var(--ink) !important; font-size: 16px !important; margin-bottom: 8px !important; }
.a .k-exp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a .k-exp-grid .k-cell:nth-child(2) { border-right: 1px solid var(--line); }
@media (max-width: 900px) { .a .k-exp-grid { grid-template-columns: 1fr; } .a .k-exp-grid .k-cell { border-right: 0 !important; } .a .k-exp-grid .k-cell + .k-cell { border-top: 1px dashed var(--line); } }
.nodes-table th[scope="row"] { width: 15em; }
@media (max-width: 520px) { .nodes-table th[scope="row"] { width: auto; min-width: 7em; } }
