@font-face { font-family: 'Inter Variable'; src: url('fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono Variable'; src: url('fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

/* The colors of the annotation types and the purple accent are the admin UI's. */
:root {
  color-scheme: light dark;
  --bg: #fff; --panel: #f6f5f9; --ink: #18181b; --soft: #52525b; --line: #dedbe6; --accent: #7e22ce; --on-accent: #fff; --night: #17141f;
  --rst: #6d28d9; --sbt: #1d4ed8; --usg: #92400e; --cnt: #0e7490; --exe: #047857; --del: #b91c1c; --ins: #047857;
  --sans: 'Inter Variable', ui-sans-serif, system-ui, sans-serif; --mono: 'JetBrains Mono Variable', ui-monospace, Menlo, monospace;
  --gap: clamp(4.5rem, 9vw, 7.5rem);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #110f17; --panel: #1b1824; --ink: #f4f3f7; --soft: #b4b0c0; --line: #35303f; --accent: #c084fc; --on-accent: #170b24; --night: #0a090e;
    --rst: #a78bfa; --sbt: #60a5fa; --usg: #fbbf24; --cnt: #22d3ee; --exe: #34d399; --del: #f87171; --ins: #34d399;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, dl, dd, pre { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 1rem; top: 1rem; z-index: 9; background: var(--bg); padding: .5rem 1rem; }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem clamp(1.25rem, 5vw, 4rem); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.top nav { display: flex; align-items: center; gap: clamp(.9rem, 2.2vw, 1.9rem); font-size: .95rem; } .top nav a { text-decoration: none; white-space: nowrap; } .top nav a:not(.button):hover { color: var(--accent); }
.button { display: inline-block; padding: .78rem 1.35rem; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; border: 1px solid var(--accent); transition: transform .15s; } .button:hover { transform: translateY(-1px); }
.button.small { padding: .45rem .95rem; border-radius: 8px; } .button.quiet { background: transparent; color: var(--ink); border-color: var(--line); } .button.quiet:hover { border-color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }

main > section { max-width: 76rem; margin: 0 auto var(--gap); padding: 0 clamp(1.25rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.12; letter-spacing: -.028em; font-weight: 640; text-wrap: balance; }
h3 { font-size: 1.08rem; line-height: 1.35; font-weight: 620; }
.prose { max-width: 41rem; } .prose p, .how p, .grow p, .moves p, .two p, .price p { color: var(--soft); } .prose p { margin-top: 1rem; }
.prose.strong { font-size: 1.25rem; font-weight: 560; margin-top: 2rem; text-wrap: balance; }

main > .hero { padding-top: clamp(3rem, 7vw, 5.5rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
h1 { font-size: clamp(2.7rem, 7.4vw, 5.6rem); line-height: .99; letter-spacing: -.045em; font-weight: 680; max-width: 13em; text-wrap: balance; }
.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; max-width: 38em; margin: 1.7rem 0 2rem; color: var(--soft); } .lead strong { color: var(--ink); }
.facts { margin-top: 1.4rem; font-size: .92rem; color: var(--soft); }

main > .demo { padding: clamp(1.2rem, 3vw, 2.4rem); border-radius: 22px; background: var(--panel); width: min(76rem, calc(100% - 2rem)); }
.demo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 2rem; } .demo h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); } .demo h3 { font-size: .95rem; color: var(--soft); font-weight: 520; margin-bottom: .8rem; }
.deployments { color: var(--soft); font-variant-numeric: tabular-nums; } .deployments strong { color: var(--ink); }
.demo-controls { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; margin: 1.2rem 0 1.8rem; }
.segments { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.segments button { font: inherit; font-size: .93rem; padding: .38rem .9rem; border: 0; border-radius: 8px; background: none; color: var(--soft); cursor: pointer; } .segments button:hover { color: var(--ink); } .segments button[aria-pressed='true'], .segments button[aria-selected='true'] { background: var(--ink); color: var(--bg); } .segments button:disabled { opacity: .4; cursor: not-allowed; } .segments .add { color: var(--accent); font-weight: 600; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 3rem); } .demo-grid > * { min-width: 0; }
.layers { display: grid; gap: .5rem; } .layers li { --c: var(--rst); display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: .2rem 1rem; padding: .62rem .9rem; border-radius: 10px; background: var(--bg); border: 1px solid transparent; transition: background .2s; } .layers li.on { background: color-mix(in srgb, var(--c) 10%, var(--bg)); border-color: var(--c); }
.layers .key::before { content: ''; position: absolute; left: 0; top: .38em; width: 9px; height: 9px; border-radius: 50%; background: var(--c); } .layers .key { position: relative; padding-left: calc(9px + .5rem); color: var(--c); font: 560 .8rem/1.5 var(--mono); overflow-wrap: anywhere; } .layers .name { display: block; font: 500 .8rem/1.4 var(--sans); color: var(--soft); } .layers .val { font: .82rem/1.6 var(--mono); overflow-wrap: anywhere; } .layers .prop { display: block; } .layers .none { color: var(--soft); font-family: var(--sans); }
.step { display: flex; align-items: center; gap: 4px; margin-top: .3rem; color: var(--soft); font: 500 .8rem var(--sans); } .step button:first-of-type { margin-left: .3rem; } .step button { width: 26px; height: 24px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); color: inherit; font: 600 .9rem/1 var(--mono); cursor: pointer; } .step button:hover:not(:disabled) { border-color: var(--c); } .step button:disabled { opacity: .35; cursor: not-allowed; }
.rst { --c: var(--rst) !important; } .sbt { --c: var(--sbt) !important; } .usg { --c: var(--usg) !important; } .cnt { --c: var(--cnt) !important; } .exe { --c: var(--exe) !important; }
.doc { --rst: #a78bfa; --sbt: #60a5fa; --usg: #fbbf24; --cnt: #22d3ee; --exe: #34d399; border-radius: 12px; background: var(--night); color: #f4f3f7; padding: .9rem 0; font: .9rem/1 var(--mono); overflow: hidden; } .doc .brace { padding: .3rem 1.2rem; } .doc .close { padding: .42rem 2.2rem; }
.doc button { display: block; width: 100%; text-align: left; font: inherit; color: inherit; border: 0; background: none; padding: .48rem 1.2rem .48rem 2.2rem; cursor: pointer; box-shadow: inset 4px 0 0 var(--c); overflow-wrap: anywhere; line-height: 1.4; } .doc button.item { padding-left: 3.4rem; } .doc button:hover, .doc button[aria-pressed='true'] { background: rgb(255 255 255 / .1); } .doc .p { color: #c4b5fd; } .doc .v { color: #fff; } .doc button.fresh { animation: fresh 1.1s; } @keyframes fresh { from { background: rgb(192 132 252 / .5); } }
.doc :focus-visible { outline-offset: -3px; outline-color: #c084fc; }
.why { margin-top: .9rem; min-height: 3.2em; color: var(--soft); font-size: .95rem; } .why code { font: 560 .86rem var(--mono); color: var(--c, var(--ink)); overflow-wrap: anywhere; }

pre { overflow-x: auto; } pre code { font: .9rem/1.7 var(--mono); }
.diff { margin-top: 2rem; } .diff pre, .tabs pre { background: var(--night); color: #f4f3f7; border-radius: 14px; padding: 1.4rem 1.6rem; } .diff .cm, .tabs .cm { color: #a5a0b5; } .del { color: #fca5a5; } .ins { color: #6ee7b7; } .tabs .kw { color: #c4b5fd; } .tabs .st { color: #6ee7b7; }
.wait { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 1.4rem; font-size: .95rem; color: var(--soft); } .wait li { position: relative; padding: 1.1rem .8rem 0 0; border-top: 2px solid var(--line); } .wait li::before { content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--soft); } .wait li:last-child { color: var(--ink); font-weight: 600; border-color: transparent; } .wait li:last-child::before { background: var(--accent); border-color: var(--accent); }

main > .moves { max-width: none; padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--night); color: #f4f3f7; } .moves .inner { max-width: 70rem; margin: 0 auto; }
.moves ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 2.6rem; } .moves li { padding: 1.5rem 1.5rem 2rem 0; border-top: 2px solid #4a4459; } .moves li h3 { font-size: 1.15rem; } .moves li p { margin-top: .5rem; color: #bdb7ca; } .moves .now { background: #7e22ce; border-color: #7e22ce; padding-left: 1.5rem; border-radius: 0 0 14px 14px; } .moves .now p { color: #f3e8ff; }
.three { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.6rem); margin-top: 2.4rem; } .three p { margin-top: .5rem; }
.pairs { margin: 2.2rem 0; } .pairs > div { display: grid; grid-template-columns: minmax(9rem, 16rem) 1fr; gap: .3rem 2rem; padding: 1.1rem 0; border-top: 1px solid var(--line); } .pairs > div:last-child { border-bottom: 1px solid var(--line); } .pairs dt { font-weight: 620; } .pairs dd { color: var(--soft); } .k { font: 560 .86rem var(--mono); color: var(--c); margin-right: .6rem; overflow-wrap: anywhere; } .keys { display: block; }
.tabs { margin-top: 2rem; } .tabs .segments { margin-bottom: .9rem; }
.graph-box { margin-top: 2rem; } .questions { display: flex; flex-wrap: wrap; gap: .5rem; } .questions button { font: inherit; font-size: .97rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: none; color: inherit; cursor: pointer; } .questions button:hover { border-color: var(--accent); } .questions button[aria-pressed='true'] { border-color: var(--accent); color: var(--accent); font-weight: 600; }
#graph { width: 100%; height: auto; margin-top: 1.2rem; } #graph line { stroke: var(--line); stroke-width: 2; transition: opacity .3s; } #graph g { color: var(--c); transition: opacity .3s; } #graph circle { fill: var(--c); } #graph text { font: 560 13px var(--mono); fill: var(--ink); stroke: var(--bg); stroke-width: 5px; paint-order: stroke; stroke-linejoin: round; } .graph-scroll { overflow-x: auto; } #graph .off { opacity: .16; } #graph line.on { stroke: var(--accent); }
.two > *, .price > * { min-width: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); } .two p { margin-top: .9rem; } .log { margin-top: 1.4rem; background: var(--panel); padding: 1.1rem 1.3rem; border-radius: 12px; } .log code { font-size: .83rem; }
.grow ol { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; margin-top: 2.4rem; background: var(--line); border-radius: 16px; overflow: hidden; } .grow li { background: var(--panel); padding: 1.6rem; } .grow p { margin-top: .4rem; }
.fits ul { margin: 2.2rem 0 3.4rem; } .fits ul li { display: grid; grid-template-columns: 1fr 1fr; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: clamp(1.15rem, 2.6vw, 1.7rem); letter-spacing: -.015em; color: var(--soft); } .fits .now { color: var(--accent); font-weight: 650; } .fits .two p { margin-top: .3rem; }
main > .price { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 6vw, 5rem); padding-top: clamp(2rem, 5vw, 3.5rem); border-top: 3px solid var(--accent); } .price p { margin-top: 1rem; } .price p strong { color: var(--ink); } .price .actions { margin-top: 1.8rem; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 2rem clamp(1.25rem, 5vw, 4rem); border-top: 1px solid var(--line); color: var(--soft); font-size: .93rem; } footer nav { display: flex; gap: 1.4rem; }

@media (max-width: 54rem) {
  .demo-grid, .two, main > .price, .three { grid-template-columns: 1fr; }
  .moves ol { grid-template-columns: 1fr 1fr; }
  .grow ol { grid-template-columns: 1fr; } 
}
@media (max-width: 40rem) {
  .wide { display: none; }
  .moves ol { grid-template-columns: 1fr; } .moves .now { border-radius: 14px; }
  .layers li, .pairs > div { grid-template-columns: 1fr; }
  .wait { grid-template-columns: 1fr; border-left: 2px solid var(--line); margin-left: 6px; } .wait li { border: 0; padding: 0 0 .7rem 1.2rem; } .wait li::before { left: -6px; top: .5em; }
  #graph { min-width: 44rem; } .top { padding-inline: 1rem; } .brand span { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

.pipeline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; margin-top: 2.2rem; } .pipeline p { color: var(--soft); } .pipeline p strong { color: var(--ink); } .pipeline code { font: .88rem var(--mono); } .pipeline pre { background: var(--panel); border-radius: 12px; padding: 1.1rem 1.3rem; }
@media (max-width: 54rem) { .pipeline { grid-template-columns: 1fr; } }
