
@font-face { font-family: Geist; src: url(/assets/19f9c92546aa300c.woff2) format('woff2-variations'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/assets/af61b969e7f99996.woff2) format('woff2-variations'); font-weight: 100 900; font-display: swap; }
:root { --ink: #0f1114; --ink-2: #4b5563; --muted: #6b7280; --line: #e0e0e0; --line-2: #d1d5db; --ground: #0f1114;
  --ground-2: #171a1f; --paper: #f7f7f7; --paper-2: #ededed; --tint: #d1d5db; --signal: #22c55e; --green-text: #15803d;
  --r-xs: 4px; --r-s: 6px; --r-m: 10px; --r-voll: 999px;
  --snap: cubic-bezier(.2, 0, 0, 1); --ease: cubic-bezier(.23, 1, .32, 1); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: Geist, system-ui, sans-serif; color: var(--ink); background: #fff; font-size: 18px; line-height: 1.55;
  font-synthesis: none; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; position: relative; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 700; letter-spacing: -0.048em; }
h3 { font-weight: 600; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
.label { font: 500 13px/1.4 'Geist Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dark { background: var(--ground); color: #fff; }
.dark .label { color: #9ca3af; }
.soft { background: var(--paper); }
code, pre { font-family: 'Geist Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: var(--r-s); font-size: 16px; font-weight: 600;
  text-decoration: none; transition: background-color .2s var(--ease), transform .12s var(--ease); }
.btn .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }
.btn:active { transform: scale(.98); }
.btn.primary { background: #fff; color: var(--ink); }
.btn.primary:hover { background: var(--paper-2); }
.btn.ghost { color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.small { height: 36px; padding: 0 14px; font-size: 15px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* background pattern: dots on the soft ground */
.dots { background-image: radial-gradient(circle at 1px 1px, rgba(15,17,20,.085) 1px, transparent 0); background-size: 22px 22px; }

/* files: one look for every Tellscript (dark) and every code or output window (light) */
.win { background: var(--ground-2); border-radius: var(--r-m); border: 1px solid rgba(255,255,255,.09); overflow: hidden; color: var(--tint); }
.win .bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 500 14px/1 'Geist Mono', monospace; color: #9ca3af;
  padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); white-space: nowrap; }
.win .bar b { color: #fff; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.win .bar .ic { width: 16px; height: 16px; color: #9ca3af; }
.win .bar .tag { font: 500 12px/1 Geist, sans-serif; color: #9ca3af; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-voll); padding: 4px 9px; }
.win .bar .tag.g { color: var(--signal); border-color: rgba(34,197,94,.45); }
.win pre { font-variant-ligatures: none; font-feature-settings: 'liga' 0, 'calt' 0; font-size: 14px; line-height: 1.65; padding: 18px 20px; white-space: pre; overflow: hidden; tab-size: 2; }
.win.light { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.win.light .bar { color: var(--muted); border-bottom-color: var(--line); }
.win.light .bar b { color: var(--ink); }
.win.light .bar .ic { color: var(--muted); }
.win.light .bar .tag { color: var(--muted); border-color: var(--line); }
.tf .fs, .tf .fk, .tf .ar { color: #6b7280; }
.tf .fv { color: var(--tint); }
.tf .h1, .tf .h2 { color: #fff; font-weight: 600; }
.tf .ring { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--r-voll); cursor: help; margin-left: 6px; vertical-align: 1px; }
.tf .r-fixed { background: var(--signal); border: 1px solid var(--signal); color: var(--ground); }
.tf .r-guided { border: 1px solid var(--signal); color: var(--signal); }
.tf .r-free { border: 1px solid #6b7280; color: #9ca3af; }
.tf .id { color: var(--signal); font-weight: 600; cursor: help; border-radius: 3px; transition: background-color .15s var(--snap), color .15s var(--snap); }
.tf .id.hot { background: var(--signal); color: var(--ground); }
.tf .fk, .tf u { cursor: help; }
.tf .ref, .tf .ref u, .tf .fv u { color: #9ca3af; }
.tf u { text-decoration: underline dotted rgba(255,255,255,.35); text-underline-offset: 3px; transition: color .15s var(--snap); }
.tf u.hot { color: var(--signal); text-decoration-color: var(--signal); }
.tf .why { color: #9ca3af; }
.tf .dim { color: #6b7280; }
.cf { color: #9ca3af; }
.cf .kw { color: var(--tint); }
.cf .st { color: #cfd2d6; }
.cf .cm { color: #6b7280; }
.win.light .cf, .v-code .cf, .rule .cf { color: #5a6472; }
.win.light .cf .kw, .v-code .cf .kw, .rule .cf .kw { color: var(--ink); }
.win.light .cf .st, .v-code .cf .st, .rule .cf .st { color: #3a3d42; }
.win.light .cf .cm, .v-code .cf .cm, .rule .cf .cm { color: #9ca3af; }
.cf b[data-c] { font-weight: 600; color: var(--green-text); border-radius: 3px; }
.cf b.hot { background: var(--signal); color: var(--ground); }

/* nav: sticky, on the solid ground */
.top { position: sticky; top: 0; z-index: 30; background: var(--ground);
  border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand img { width: 23px; height: 24px; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: var(--tint); text-decoration: none; font-size: 15px; transition: color .12s var(--snap); }
.links a:hover { color: #fff; }

/* hero */
.hero { position: relative; background: var(--ground); overflow: hidden; }
.dither { position: absolute; inset: 0 0 auto 0; width: 100%; height: 820px; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 35%, transparent 92%); mask-image: linear-gradient(#000 35%, transparent 92%); }
.hero .wrap { padding: 88px 0 96px; }
.hero-text { position: relative; margin-bottom: 64px; }
.hero h1 { font-size: clamp(56px, 9.4vw, 136px); line-height: .9; letter-spacing: -0.058em; margin: 22px 0 40px; max-width: 11ch; }
.hero-sub { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.hero .line { font-size: 21px; line-height: 1.5; color: var(--tint); max-width: 36em; }
.split { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 0 minmax(0, 1.08fr); align-items: stretch; }
.split .pane-src pre { font-size: 14px; }
.pane-src { border-radius: var(--r-m) 0 0 var(--r-m); }
.pane-src .bar { padding-right: 36px; }
.builds { position: relative; z-index: 3; align-self: start; margin: 5px 0 0 -20px; width: 40px; height: 40px; border-radius: 50%; background: var(--signal); color: var(--ground);
  display: grid; place-items: center; box-shadow: 0 0 0 6px var(--ground); }
.builds .ic { width: 20px; height: 20px; }
.pane-out { background: #fff; color: var(--ink); border: 0; border-radius: 0 var(--r-m) var(--r-m) 0; display: flex; flex-direction: column; }
.pane-out .bar { color: var(--muted); border-bottom: 1px solid var(--line); padding: 7px 10px 7px 30px; }
.pane-out .bar b { color: var(--ink); }
.pane-out .bar .ic { color: var(--muted); }
.url { font: 12px/1 'Geist Mono', monospace; color: var(--muted); background: var(--paper); border-radius: var(--r-voll); padding: 6px 12px; }
.out-body { flex: 1; position: relative; min-height: 0; }
.view { display: none; position: absolute; inset: 0; overflow: auto; }
.split[data-view=app] .v-app, .split[data-view=checks] .v-checks, .split[data-view=code] .v-code { display: block; }
.split[data-ed="4"] .e5, .split[data-ed="5"] .e4 { display: none; }
.out-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 10px 10px 30px; border-top: 1px solid var(--line); background: var(--paper); }
.state { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--green-text); white-space: nowrap; }
.state .ic { width: 18px; height: 18px; }
.hero-foot { display: flex; justify-content: space-between; gap: 48px; margin-top: 26px; font-size: 15px; color: #9ca3af; }
.hero-foot p { max-width: 46em; }
.hero-foot p + p { text-align: right; max-width: 30em; }
.seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--paper-2); border-radius: var(--r-s); }
.seg button { font: 500 15px/1 Geist, sans-serif; height: 38px; padding: 0 14px; border: 0; border-radius: var(--r-xs); background: transparent; color: var(--ink-2); cursor: pointer;
  transition: background-color .12s var(--snap), color .12s var(--snap); }
.seg button span { color: var(--muted); margin-left: 2px; }
.seg button[aria-selected=true] { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(15,17,20,.06), 0 1px 2px rgba(15,17,20,.08); }
.seg button:active { transform: scale(.97); }
.pane-out .seg button, .out-foot .seg button { height: 30px; font-size: 14px; padding: 0 12px; }

/* wires from each statement to where it holds */
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: visible; opacity: 0; transition: opacity .6s var(--ease); }
.wires.on { opacity: 1; }
.wires path { fill: none; stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 3 5; opacity: .55; animation: flow 1.1s linear infinite; transition: opacity .15s, stroke-width .15s; }
.wires circle { fill: var(--signal); opacity: .8; }
.wires .rw { opacity: 0; }
.wires .hot { opacity: 1; stroke-width: 2.25; stroke-dasharray: none; }
@keyframes flow { to { stroke-dashoffset: -16; } }

/* the shop page, as edition 5 (and 4) renders it */
.shop { font-size: 14px; line-height: 1.4; color: var(--ink); }
.shop-nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 14px 40px; border-bottom: 1px solid var(--line); }
.shop-nav b { font-size: 17px; font-weight: 700; letter-spacing: -0.04em; }
.shop-nav span { color: var(--muted); margin-left: 18px; }
.shop-nav .cart { color: var(--ink); font-weight: 500; }
.shop-main { display: grid; grid-template-columns: .92fr 1.08fr; gap: 30px; padding: 26px 24px 20px 40px; }
.buy { position: relative; display: flex; flex-direction: column; gap: 12px; order: 1; }
.gallery { position: relative; order: 2; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-m); background: #e9e9e7; }
.kick { font: 12px/1.3 'Geist Mono', monospace; color: var(--muted); }
.buy h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price span, .ship small { font-size: 12px; color: var(--muted); }
.sw { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); }
.sw i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(15,17,20,.12); }
.sw i.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.add { height: 44px; border: 0; border-radius: var(--r-s); background: var(--ink); color: #fff; font: 600 15px/1 Geist, sans-serif; cursor: default; }
.ship { position: relative; display: flex; align-items: center; gap: 8px; font-weight: 500; }
.ship .ic { width: 18px; height: 18px; color: var(--green-text); }
.voucher { position: relative; }
.field { display: flex; gap: 6px; }
.field span { flex: 1; height: 36px; display: flex; align-items: center; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r-s); font: 13px 'Geist Mono', monospace; }
.field button { padding: 0 12px; border: 0; border-radius: var(--r-s); background: var(--paper-2); font: 500 13px/1 Geist, sans-serif; cursor: default; }
.notice { margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 24px 22px 40px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs dt { font: 11.5px 'Geist Mono', monospace; color: var(--muted); margin-bottom: 3px; }
.specs dd { font-size: 13px; }
.split[data-ed="4"] .specs { grid-template-columns: repeat(2, 1fr); }
.more { padding: 0 24px 22px 40px; }
.more p { font: 12px 'Geist Mono', monospace; color: var(--muted); margin-bottom: 10px; }
.more ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.more li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; font-size: 13px; }
.more img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--r-s); }
.more li span { color: var(--muted); display: block; }
.pin { position: absolute; left: -30px; top: 12px; z-index: 1; font: 600 11px/1 'Geist Mono', monospace; font-style: normal; color: var(--ground);
  background: var(--signal); border-radius: var(--r-voll); padding: 4px 6px; transition: transform .15s var(--snap); }
.ship .pin, .voucher .pin { top: 50%; transform: translateY(-50%); }
.voucher .pin { top: 18px; }
.shop [data-c], .shop [data-r] { border-radius: var(--r-s); transition: box-shadow .15s var(--snap), background-color .15s var(--snap); }
.shop .hot, .refs .hot { box-shadow: 0 0 0 2px var(--signal), 0 0 0 7px rgba(34,197,94,.14); }
.split[data-ed="4"] .shop-main { grid-template-columns: 1fr 1fr; }
.split[data-ed="4"] .buy { order: 2; }
.split[data-ed="4"] .gallery { order: 1; }
.split[data-ed="4"] .gallery img { border-radius: 0; }
.split[data-ed="4"] .buy h3 { font-weight: 500; font-size: 26px; letter-spacing: -0.02em; }
.split[data-ed="4"] .add { background: #fff; color: var(--ink); border: 1px solid var(--ink); border-radius: 0; }
.split[data-ed="4"] .sw i { border-radius: 0; }
.split[data-ed="4"] .field span, .split[data-ed="4"] .field button { border-radius: 0; }
.split[data-ed="4"] .more { display: none; }
.split[data-ed="4"] .shop-nav b { font-weight: 500; letter-spacing: 0; text-transform: uppercase; font-size: 14px; }
.shop.swap { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; filter: blur(6px); transform: translateY(6px); } }
.refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px 10px 10px 30px; border-top: 1px solid var(--line); }
.reftile { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px; border-radius: var(--r-s); background: var(--paper); }
.reftile b { display: block; font: 500 11.5px/1.3 'Geist Mono', monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reftile span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini { width: 40px; height: 40px; border-radius: var(--r-xs); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.mini.photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; background: var(--line); }
.mini.photos img { width: 100%; height: 100%; object-fit: cover; }
.mini.photos img:first-child { grid-row: span 2; }
.mini.wire { padding: 5px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.mini.wire i { background: var(--paper-2); border-radius: 1px; }
.mini.wire i:nth-child(2) { background: var(--ink); height: 5px; align-self: end; }
.mini.swatch { display: grid; grid-template-columns: repeat(2, 1fr); }
.runs { padding: 28px 32px; font-size: 15px; }
.runs .cmd { font: 14px/1 'Geist Mono', monospace; color: var(--muted); margin-bottom: 18px; }
.runs ul { list-style: none; border-top: 1px solid var(--line); }
.runs li { display: grid; grid-template-columns: 22px 34px 1fr auto; gap: 10px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.runs li .ic { color: var(--green-text); }
.runs code { font-weight: 600; }
.runs li i { font: 12.5px 'Geist Mono', monospace; font-style: normal; color: var(--muted); }
.runs .sum { margin-top: 18px; font-weight: 600; color: var(--green-text); }
.v-code pre { font-size: 13px; line-height: 1.6; padding: 20px 24px 20px 32px; }

/* statement band */
.band { position: relative; background: #181b21; overflow: hidden; padding: 0; }
.band img { position: absolute; top: 0; right: 0; width: 60%; height: 100%; object-fit: cover; object-position: 80% center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }
.band .wrap { min-height: 680px; display: flex; flex-direction: column; justify-content: center; padding: 120px 0; }
.band h2 { font-size: clamp(48px, 6.6vw, 100px); line-height: .92; max-width: 10ch; }
.band h2 span { color: var(--signal); }
.band p { color: var(--tint); font-size: 21px; max-width: 24em; margin-top: 28px; }

/* years: one Tellscript on the left; the carts five eras built from it slide in from the right and stack */
.wrap.wide { width: min(1400px, calc(100% - 48px)); }
.eras-pin { position: relative; height: calc(100vh + 4 * 80vh); }
.eras-stick { position: sticky; top: 64px; height: calc(100vh - 64px); padding: 20px 0 24px; }
.eras { position: relative; height: 100%; display: grid; grid-template-columns: 340px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 0 28px; }
.eras::before { content: ''; position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: var(--line); }
.era-fill { position: absolute; top: 5px; left: 0; height: 2px; width: 0; background: var(--signal); z-index: 1; }
.era-head { position: relative; z-index: 2; padding-top: 26px; height: 106px; }
.era-head::after, .era-rail li::after { content: ''; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line-2); transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.era-head::after { background: var(--signal); box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.era-head b, .era-rail b { display: block; font-size: 50px; font-weight: 700; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.era-head span, .era-rail span { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.era-head span { color: var(--green-text); font-weight: 600; }
.era-rail { position: relative; z-index: 2; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: 106px; }
.era-rail li { position: relative; padding-top: 26px; opacity: .22; transition: opacity .35s var(--ease); }
.era-rail li b { transition: transform .45s var(--ease); transform-origin: left bottom; transform: scale(.86); }
.era-rail li.past { opacity: .5; }
.era-rail li.on { opacity: 1; }
.era-rail li.on b { transform: none; }
.era-rail li.past::after, .era-rail li.on::after { background: var(--ink); box-shadow: 0 0 0 4px #fff; }
.era-src { grid-row: 2; display: flex; min-height: 0; }
.era-src .win { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.era-src pre { flex: 1; font-size: clamp(10px, calc((100vh - 348px) / var(--rows) / 1.42), 13px); line-height: 1.42; padding: 12px 16px; overflow: hidden; }
.src-foot { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: var(--tint); }
.src-foot .ic { width: 17px; height: 17px; color: var(--signal); }
.src-foot b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.era-stage { grid-row: 2; position: relative; min-height: 0; }
.slot { position: absolute; top: 0; bottom: 0; left: calc(var(--i) * 34px); right: 0; transform-origin: left center; will-change: transform; }
.ed-cap { display: none; }
.ed { position: relative; height: 100%; container-type: inline-size; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.slot + .slot .ed { box-shadow: -22px 0 44px -22px rgba(15,17,20,.4); }
.ed::after { content: ''; position: absolute; inset: 0; background: var(--ground); opacity: var(--dim, 0); pointer-events: none; }
.era-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.era-wires path { fill: none; stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 3 5; opacity: .6; animation: flow 1.1s linear infinite; }
.era-wires circle { fill: var(--signal); }
.era-wires .hot { opacity: 1; stroke-width: 2.25; stroke-dasharray: none; }
.eras-note { margin-top: 8px; font-size: 15px; color: var(--muted); max-width: 52em; }

/* the same cart as each era would have built it. Castwell keeps its colours (ink, concrete, white); the idiom changes */
.look { position: relative; height: 100%; display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; overflow: hidden; }
.look [data-c] { transition: box-shadow .15s var(--snap); }
.look [data-c].hot { box-shadow: 0 0 0 2px var(--signal), 0 0 0 6px rgba(34,197,94,.18) !important; }
.look img { display: block; object-fit: cover; }
.look .ic { width: 15px; height: 15px; }
.look h4 { font-weight: 700; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sum { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; font-variant-numeric: tabular-nums; }
.sum dd { text-align: right; }
.cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@container (max-width: 640px) { .cols { grid-template-columns: minmax(0, 1fr); } }

/* 2008: web 2.0, a fixed desktop page, a reload per change */
.l2008 { font: 12px/1.4 Verdana, Tahoma, sans-serif; background: #e4e4e1; color: #333; }
.l2008 .w-head { background: linear-gradient(#5a5f65, #1f2327); color: #fff; padding: 12px 16px 0; border-bottom: 3px solid #b9b9b4; }
.l2008 .w-logo { font: bold 22px 'Trebuchet MS', sans-serif; letter-spacing: -.02em; text-shadow: 0 1px 0 #000; }
.l2008 .w-logo sup { font: bold 9px Verdana, sans-serif; background: #d9d9d6; color: #1f2327; border-radius: 2px; padding: 1px 4px; margin-left: 4px; vertical-align: 8px; text-shadow: none; }
.l2008 .w-search { margin-left: auto; width: 180px; background: #fff; color: #999; border: 2px inset #ccc; padding: 3px 6px; font-size: 11px; }
.l2008 .lk-total { font-size: 12px; padding: 2px 4px; }
.l2008 .lk-total b { font-size: 14px; }
.l2008 .w-tabs { display: flex; gap: 3px; margin-top: 10px; }
.l2008 .w-tabs span { background: linear-gradient(#8a8f95, #5e6369); padding: 6px 12px; border-radius: 5px 5px 0 0; font-size: 11.5px; }
.l2008 .w-tabs .on { background: linear-gradient(#fbfbfa, #d9d9d6); color: #1f2327; font-weight: bold; }
.l2008 .w-page { flex: 1; min-height: 0; background: #fff; margin: 0 14px; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 0 0 1px #c9c9c5, 0 0 12px rgba(0,0,0,.08); }
.l2008 .w-crumb { font-size: 11px; color: #777; }
.l2008 u { color: #1a4f9c; }
.l2008 .w-steps { display: flex; list-style: none; font-size: 11px; }
.l2008 .w-steps li { flex: 1; padding: 5px 8px; background: linear-gradient(#f6f6f6, #e2e2e2); border: 1px solid #c4c4c4; color: #999; }
.l2008 .w-steps li + li { border-left: 0; }
.l2008 .w-steps .on { background: linear-gradient(#5a5f65, #2b2f33); color: #fff; font-weight: bold; }
.l2008 h4 { font: bold 17px 'Trebuchet MS', sans-serif; color: #1f2327; margin-bottom: 8px; }
.l2008 table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.l2008 th { background: linear-gradient(#f7f7f7, #dcdcdc); border: 1px solid #bbb; padding: 5px 6px; text-align: left; }
.l2008 td { border: 1px solid #ccc; padding: 6px; vertical-align: top; }
.l2008 td img { width: 44px; height: 44px; border: 1px solid #999; float: left; margin-right: 8px; }
.l2008 td small { display: block; color: #888; }
.l2008 .w-qty { display: inline-block; width: 26px; border: 2px inset #ddd; text-align: center; }
.l2008 .w-btn { display: inline-block; background: linear-gradient(#fff, #d4d4d4); border: 1px solid #888; border-radius: 3px; padding: 3px 10px; font-size: 11.5px; white-space: nowrap; }
.l2008 .w-acts { justify-content: flex-start; gap: 14px; margin-top: 8px; font-size: 11.5px; }
.l2008 .w-also { margin-top: 14px; border: 1px solid #ccc; padding: 8px; background: #f7f7f5; }
.l2008 .w-also p { font-weight: bold; font-size: 11.5px; margin-bottom: 8px; }
.l2008 .w-also > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.l2008 .w-also figure { display: grid; grid-template-columns: 52px 1fr; gap: 8px; font-size: 11px; }
.l2008 .w-also img { width: 52px; height: 52px; border: 1px solid #999; }
.l2008 .w-also b { display: block; }
.l2008 .w-social { display: flex; align-items: center; gap: 5px; font-size: 11px; margin-top: 12px; color: #777; }
.l2008 .w-dl { padding-left: 14px; background: linear-gradient(90deg, #3274d0 0 5px, transparent 5px) 0 3px / 10px 5px no-repeat, linear-gradient(90deg, #222 0 5px, #d0d0d0 5px 10px) 0 8px / 10px 5px no-repeat; color: #333; }
.l2008 .w-digg { background: linear-gradient(#fff, #e6eef7); border: 1px solid #b3c4d9; color: #1b5790; font-weight: bold; padding: 1px 6px; border-radius: 3px; margin: 0 4px; }
.l2008 .w-box { position: relative; border: 1px solid #aaa; box-shadow: 2px 2px 0 rgba(0,0,0,.08); }
.l2008 .w-box-h { background: linear-gradient(#5a5f65, #2b2f33); color: #fff; font: bold 13px 'Trebuchet MS', sans-serif; padding: 6px 10px; }
.l2008 .w-box-b { padding: 10px; display: flex; flex-direction: column; gap: 9px; background: linear-gradient(#fff, #f1f1ef); }
.l2008 .w-tot { display: flex; justify-content: space-between; border-top: 1px dotted #999; padding-top: 6px; font-weight: bold; font-size: 13px; }
.l2008 .w-free { font-weight: bold; }
.l2008 .w-in { flex: 1; border: 2px inset #ddd; padding: 3px 6px; background: #fff; }
.l2008 .w-alert { background: #ffffcc; border: 1px solid #e6db55; padding: 5px 8px; }
.l2008 .w-alert b { color: #c00; }
.l2008 .w-go { background: linear-gradient(#5d6268, #1b1e22); border: 1px solid #111; border-radius: 6px; color: #fff; font-weight: bold; font-size: 13.5px; padding: 9px; text-align: center; text-shadow: 0 -1px 0 #000; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(0,0,0,.3); }
.l2008 .w-pp { align-self: center; background: linear-gradient(#ffe48b, #f5b800); border: 1px solid #d9a200; border-radius: 14px; padding: 4px 18px; font: italic bold 14px Verdana, sans-serif; color: #253b80; }
.l2008 .w-pp i:last-child { color: #179bd7; }
.l2008 .w-seal { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 10.5px; color: #666; }
.l2008 .w-star { position: absolute; left: -70px; bottom: -4px; width: 84px; height: 84px; display: grid; place-items: center; text-align: center; background: #1b1e22; color: #fff;
  font: bold 10px/1.1 Verdana, sans-serif; transform: rotate(-12deg); padding: 14px;
  clip-path: polygon(50% 0, 61% 12%, 75% 7%, 78% 22%, 93% 25%, 88% 39%, 100% 50%, 88% 61%, 93% 75%, 78% 78%, 75% 93%, 61% 88%, 50% 100%, 39% 88%, 25% 93%, 22% 78%, 7% 75%, 12% 61%, 0 50%, 12% 39%, 7% 25%, 22% 22%, 25% 7%, 39% 12%); }
.l2008 .w-foot { text-align: center; font-size: 10px; color: #777; padding: 8px 0 10px; }

@container (max-width: 640px) { .l2008 .w-search { display: none; } .l2008 .w-tabs span:nth-child(n+5) { display: none; } .l2008 .w-also > div { grid-template-columns: 1fr; } .l2008 .w-star { left: auto; right: 4px; bottom: auto; top: -44px; } }

/* 2015: Bootstrap, flat and responsive */
.l2015 { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background: #fff; color: #333; }
.l2015 .b-nav { background: #1b1e22; color: #9d9d9d; padding: 14px 20px; display: flex; align-items: center; gap: 22px; }
.l2015 .b-nav > b { color: #fff; font-size: 18px; font-weight: 400; }
.l2015 .b-links { display: flex; gap: 18px; margin-right: auto; font-size: 13px; }
.l2015 .lk-total { display: inline-flex; align-items: center; gap: 5px; color: #fff; padding: 3px 6px; border-radius: 3px; }
.l2015 .b-body { flex: 1; min-height: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.l2015 h4 { font-size: 24px; font-weight: 500; }
.l2015 h4 small { font-size: 14px; color: #777; font-weight: 400; margin-left: 8px; }
.l2015 .b-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; border: 1px solid #ddd; border-radius: 4px; padding: 12px; }
.l2015 .b-item img { width: 72px; height: 72px; border-radius: 4px; }
.l2015 .b-item small { display: block; color: #777; margin: 3px 0 8px; }
.l2015 .b-item a { color: #337ab7; font-size: 12px; margin-left: 10px; }
.l2015 .b-step { display: inline-flex; border: 1px solid #ccc; border-radius: 4px; }
.l2015 .b-step i { font-style: normal; padding: 1px 9px; background: #f5f5f5; }
.l2015 .b-step span { padding: 1px 10px; border: solid #ccc; border-width: 0 1px; }
.l2015 .b-link { display: block; color: #555; margin-top: 10px; font-size: 13px; text-decoration: none; }
.l2015 .b-also { margin-top: 16px; }
.l2015 .b-also p { font-weight: 700; margin-bottom: 8px; }
.l2015 .b-also > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.l2015 .b-also figure { border: 1px solid #ddd; border-radius: 4px; padding: 5px; }
.l2015 .b-also img { width: 100%; aspect-ratio: 1; }
.l2015 .b-also figcaption { font-size: 12px; padding: 6px 2px 2px; }
.l2015 .b-also figcaption b { display: block; }
.l2015 .b-panel { border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.l2015 .b-ph { background: #f5f5f5; border-bottom: 1px solid #ddd; padding: 10px 14px; font-weight: 500; font-size: 15px; }
.l2015 .b-pb { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.l2015 .b-group { display: flex; }
.l2015 .b-group span:first-child { flex: 1; border: 1px solid #ccc; border-radius: 4px 0 0 4px; padding: 7px 10px; box-shadow: inset 0 1px 1px rgba(0,0,0,.075); }
.l2015 .b-group span:last-child { border: 1px solid #ccc; border-left: 0; border-radius: 0 4px 4px 0; padding: 7px 12px; background: #f5f5f5; }
.l2015 .b-alert { background: #fcf8e3; border: 1px solid #faebcc; color: #8a6d3b; border-radius: 4px; padding: 9px 12px; }
.l2015 .b-label { background: #777; color: #fff; font-size: 11px; font-weight: 700; border-radius: 3px; padding: 2px 6px; }
.l2015 .b-tot { display: flex; justify-content: space-between; border-top: 1px solid #ddd; padding-top: 10px; font-size: 17px; font-weight: 700; }
.l2015 .b-btn { background: #1b1e22; border: 1px solid #000; color: #fff; border-radius: 4px; padding: 11px; text-align: center; font-size: 15px; }
.l2015 .b-fb { border: 1px solid #ccc; border-radius: 4px; padding: 9px; text-align: center; font-weight: 700; }
.l2015 .b-fb i { font-style: normal; color: #3b5998; margin-right: 6px; }
.l2015 .b-sec { display: flex; align-items: center; justify-content: center; gap: 5px; color: #777; font-size: 12px; }
.l2015 .b-news { background: #f5f5f5; border-top: 1px solid #e7e7e7; padding: 14px 20px; display: flex; align-items: center; gap: 16px; }
.l2015 .b-news p { font-weight: 700; white-space: nowrap; }
.l2015 .b-news .b-group { flex: 1; max-width: 340px; }
.l2015 .b-news .b-group span:first-child { color: #999; background: #fff; }
.l2015 .b-soc { margin-left: auto; color: #777; letter-spacing: .5em; }
@container (max-width: 640px) { .l2015 .b-links, .l2015 .b-soc { display: none; } .l2015 .b-news { flex-wrap: wrap; } }

/* 2019: material, mobile first, cards, a snackbar */
.l2019 { font-family: Roboto, system-ui, sans-serif; background: #f2f2f0; color: rgba(0,0,0,.87); }
.l2019 .m-bar { background: #1b1e22; color: #fff; padding: 16px 20px; display: flex; align-items: center; gap: 18px; box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 4px 5px rgba(0,0,0,.14); position: relative; z-index: 1; }
.l2019 .m-bar b { font-size: 20px; font-weight: 500; margin-right: auto; }
.l2019 .m-bar .ic { width: 20px; height: 20px; }
.l2019 .lk-total { font-weight: 500; font-size: 16px; padding: 2px 6px; border-radius: 4px; }
.l2019 .m-av { width: 30px; height: 30px; border-radius: 50%; background: #d9d9d6; color: #1b1e22; display: grid; place-items: center; font-weight: 500; }
.l2019 .m-body { flex: 1; min-height: 0; padding: 18px 20px; }
.l2019 .m-main, .l2019 .m-side { display: flex; flex-direction: column; gap: 14px; }
.l2019 .m-card { background: #fff; border-radius: 8px; padding: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.2), 0 1px 1px rgba(0,0,0,.14); }
.l2019 .m-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; }
.l2019 .m-item img { width: 72px; height: 72px; border-radius: 50%; }
.l2019 .m-item small { display: block; color: rgba(0,0,0,.6); }
.l2019 .m-item > span { display: grid; justify-items: end; gap: 6px; font-size: 15px; }
.l2019 .m-item > span .ic { color: rgba(0,0,0,.54); }
.l2019 .m-chip { display: inline-block; margin-top: 8px; background: #e6e6e3; border-radius: 16px; padding: 4px 12px; font-size: 12px; }
.l2019 .m-prog p { margin-bottom: 9px; }
.l2019 .m-prog span { display: block; height: 4px; background: #d9d9d6; border-radius: 2px; overflow: hidden; }
.l2019 .m-prog i { display: block; height: 100%; width: 100%; background: #1b1e22; }
.l2019 .m-rec p { font-weight: 500; margin-bottom: 8px; }
.l2019 .m-rec > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.l2019 .m-rec figure { position: relative; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.l2019 .m-rec img { width: 100%; aspect-ratio: 4 / 3; }
.l2019 .m-rec figcaption { padding: 8px 10px 10px; font-size: 12px; }
.l2019 .m-rec small { display: block; color: rgba(0,0,0,.6); }
.l2019 .m-rec span { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #1b1e22; display: grid; place-items: center; font-size: 17px; box-shadow: 0 2px 4px rgba(0,0,0,.25); }
.l2019 .m-field { background: #ececea; border-radius: 4px 4px 0 0; border-bottom: 2px solid #1b1e22; padding: 8px 12px 9px; }
.l2019 .m-field small { display: block; font-size: 11px; color: rgba(0,0,0,.6); }
.l2019 .m-tot { display: flex; justify-content: space-between; font-size: 18px; font-weight: 500; }
.l2019 .m-klarna { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.l2019 .m-klarna b { background: #ffb3c7; color: #17120f; border-radius: 4px; padding: 3px 7px; font-weight: 900; }
.l2019 .m-apple { background: #000; color: #fff; border-radius: 6px; padding: 11px; text-align: center; font-weight: 500; }
.l2019 .m-btn { background: #1b1e22; color: #fff; border-radius: 4px; padding: 11px; text-align: center; font-weight: 500; letter-spacing: .09em; font-size: 12.5px; box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px rgba(0,0,0,.14); }
.l2019 .m-snack { position: absolute; left: 20px; bottom: 20px; width: min(340px, calc(100% - 40px)); background: #323232; color: #fff; border-radius: 4px; padding: 13px 16px; display: flex; justify-content: space-between; box-shadow: 0 3px 5px rgba(0,0,0,.2), 0 6px 10px rgba(0,0,0,.14); }
.l2019 .m-snack b { color: #d9d9d6; font-weight: 500; letter-spacing: .06em; }
@container (max-width: 640px) { .l2019 .m-snack { position: static; margin: 0 20px 20px; width: auto; } .l2019 .m-rec > div { grid-template-columns: 1fr 1fr; } .l2019 .m-rec figure:nth-child(3) { display: none; } }

/* 2026: the photograph is the page; a ring for shipping, chips for vouchers, passkey or agent to pay */
.l2026 { font-family: Geist, sans-serif; background: #fff; color: var(--ink); }
.n-split { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.l2026 .n-hero { position: relative; overflow: hidden; background: #e9e9e7; }
.l2026 .n-hero img { width: 100%; height: 100%; object-position: 50% 30%; }
.js .l2026 .n-hero img { animation: drift-in 16s var(--ease) infinite alternate; }
@keyframes drift-in { from { transform: scale(1.02); } to { transform: scale(1.1) translateY(-2%); } }
.l2026 .n-brand { position: absolute; left: 18px; top: 16px; font-size: 18px; font-weight: 700; letter-spacing: -0.04em; }
.l2026 .n-ar { position: absolute; left: 18px; top: 50px; display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: var(--r-voll); padding: 7px 12px; font-size: 12.5px; font-weight: 500; box-shadow: 0 1px 2px rgba(15,17,20,.12); }
.l2026 .n-big { position: absolute; left: 14px; bottom: -0.16em; font-size: 16cqw; font-weight: 800; letter-spacing: -0.075em; line-height: 1; color: var(--ink); pointer-events: none; }
.js .l2026 .n-big { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .slot.front .l2026 .n-big { opacity: 1; transform: none; }
.l2026 .n-panel { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.l2026 .n-crumb { font: 12px 'Geist Mono', monospace; color: var(--muted); }
.l2026 .lk-total { background: var(--ink); color: #fff; border-radius: var(--r-voll); padding: 8px 14px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; display: inline-flex; gap: 7px; align-items: center; }
.l2026 h4 { font-size: 40px; letter-spacing: -0.05em; line-height: .95; margin-top: 4px; }
.l2026 .n-price b { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.l2026 .n-price span { color: var(--muted); font-size: 12.5px; text-align: right; }
.l2026 .n-sw { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.l2026 .n-sw i { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(15,17,20,.12); }
.l2026 .n-sw i.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.l2026 .n-ship { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 11px 12px; border-radius: var(--r-s); background: var(--paper); }
.l2026 .n-ship svg { width: 38px; height: 38px; transform: rotate(-90deg); }
.l2026 .n-ship circle { fill: none; stroke-width: 3.5; }
.l2026 .n-ship .bg { stroke: var(--line); }
.l2026 .n-ship .fg { stroke: var(--signal); stroke-linecap: round; stroke-dasharray: 88; stroke-dashoffset: 88; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.slot.front .l2026 .n-ship .fg, .no-motion .l2026 .n-ship .fg { stroke-dashoffset: 0; }
.l2026 .n-ship b { display: block; font-weight: 600; }
.l2026 .n-ship span { color: var(--muted); font-size: 12px; }
.l2026 .n-v { border-radius: var(--r-s); }
.l2026 .n-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.l2026 .n-chips span { display: inline-flex; align-items: center; gap: 5px; border-radius: var(--r-voll); padding: 6px 11px; font: 500 12px 'Geist Mono', monospace; }
.l2026 .n-chips .ic { width: 13px; height: 13px; }
.l2026 .n-chips .on { background: var(--ink); color: #fff; }
.l2026 .n-chips .off { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); text-decoration: line-through; }
.slot.front .l2026 .n-chips .off { animation: nope .5s var(--ease) 1.2s both; }
@keyframes nope { 0%, 100% { transform: none; } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.l2026 .n-note { color: var(--ink-2); font-size: 12.5px; margin-top: 6px; }
.l2026 .n-recipe small { display: block; font: 11px 'Geist Mono', monospace; color: var(--muted); margin-bottom: 7px; }
.l2026 .n-recipe div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.l2026 .n-recipe img { width: 100%; aspect-ratio: 1; border-radius: var(--r-s); background: #e9e9e7; }
.l2026 .n-pay { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--ink); color: #fff; border-radius: var(--r-s); padding: 13px; font-weight: 600; font-size: 14.5px; position: relative; overflow: hidden; }
.l2026 .n-pay .ic { width: 19px; height: 19px; color: var(--signal); }
.slot.front .l2026 .n-pay::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); animation: sweep 1.2s var(--ease) 1.8s both; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.l2026 .n-agent { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: -4px; }
@container (max-width: 640px) { .n-split { grid-template-columns: minmax(0, 1fr); } .l2026 .n-hero { aspect-ratio: 1; } .l2026 .n-big { font-size: 38cqw; } .l2026 h4 { font-size: 30px; } }

/* 2034, a forecast: no page to visit. The shop answers one spoken wish; the object is rendered, not photographed;
   the buyer's agent settles vouchers and pays unless stopped. Castwell ink as the ground, concrete and white as the light */
.ed:has(.l2034) { border-color: var(--ground); }
.l2034 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; background: var(--ground); color: #e9e9e7; font-family: Geist, sans-serif; }
.l2034 .f-scene { position: absolute; left: 0; top: 0; bottom: 0; width: 55%; }
.l2034 .f-lamp { position: absolute; inset: 0; width: 100%; height: 100%; }
.l2034 .f-top { grid-column: 1 / -1; position: relative; display: flex; align-items: flex-start; gap: 18px; padding: 22px 28px 0; }
.l2034 .f-brand { font-size: 18px; font-weight: 700; letter-spacing: -0.04em; color: #fff; }
.l2034 .f-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 3px; font: 12px 'Geist Mono', monospace; color: #9a9ea5; }
.l2034 .f-live i { width: 7px; height: 7px; border-radius: 50%; background: #d9d9d6; }
.js .slot.front .l2034 .f-live i { animation: pulse 2s var(--ease) infinite; }
.l2034 .f-total { margin-left: auto; text-align: right; border-radius: var(--r-s); padding: 2px 6px; }
.l2034 .f-total small { display: block; font: 12px 'Geist Mono', monospace; color: #9a9ea5; }
.l2034 .f-total b { display: block; font-size: 64px; font-weight: 700; letter-spacing: -0.055em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.l2034 .f-ask { position: relative; padding: 26px 28px 0; align-self: start; }
.l2034 .f-ask small { display: flex; align-items: center; gap: 8px; font: 12px 'Geist Mono', monospace; color: #9a9ea5; }
.l2034 .f-ask small .ic { width: 15px; height: 15px; color: #d9d9d6; }
.l2034 .f-wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; }
.l2034 .f-wave i { width: 2px; height: 16px; border-radius: 1px; background: #d9d9d6; transform: scaleY(var(--w)); }
.js .slot.front .l2034 .f-wave i { animation: wave 1.1s var(--ease) calc(var(--w) * -1s) infinite alternate; }
.l2034 .f-ask p { margin-top: 12px; font-size: 32px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; color: #fff; max-width: 11em; text-wrap: balance; }
.l2034 .f-answer { position: relative; padding: 26px 28px 0 8px; display: flex; flex-direction: column; min-height: 0; }
.l2034 h4 { font-size: 34px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: #fff; }
.l2034 .f-sub { margin-top: 8px; font-size: 13.5px; color: #9a9ea5; }
.l2034 .f-facts { margin-top: 18px; }
.l2034 .f-facts > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 11px 10px; margin: 0 -10px; border-top: 1px solid rgba(255,255,255,.1); border-radius: var(--r-s); }
.l2034 .f-facts dt { font: 12px/1.6 'Geist Mono', monospace; color: #9a9ea5; }
.l2034 .f-facts dd { font-size: 14px; line-height: 1.45; color: #e9e9e7; }
.l2034 .f-facts s { color: #9a9ea5; }
.l2034 .f-log { display: block; margin-top: 5px; font: 11.5px 'Geist Mono', monospace; color: #9a9ea5; }
.js .l2034 .f-facts > div { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .slot.front .l2034 .f-facts > div { opacity: 1; transform: none; }
.js .slot.front .l2034 .f-facts > div:nth-child(2) { transition-delay: .25s; }
.js .slot.front .l2034 .f-facts > div:nth-child(3) { transition-delay: .5s; }
.js .slot.front .l2034 .f-facts > div:nth-child(4) { transition-delay: .75s; }
.l2034 .f-mandate { grid-column: 1 / -1; position: relative; display: flex; align-items: center; gap: 14px; margin: 18px 28px 24px; padding: 14px 14px 14px 18px; border-radius: var(--r-m); background: var(--ground-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; }
.l2034 .f-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.08); }
.l2034 .f-bar i { display: block; height: 100%; width: 62%; background: #d9d9d6; }
.js .l2034 .f-bar i { width: 0; transition: width 2.4s var(--ease) .4s; }
.js .slot.front .l2034 .f-bar i { width: 62%; }
.l2034 .f-mandate p { display: flex; align-items: center; gap: 9px; font-size: 15px; color: #e9e9e7; }
.l2034 .f-mandate p b { color: #fff; font-variant-numeric: tabular-nums; }
.l2034 .f-mandate .ic { width: 18px; height: 18px; flex: none; color: #d9d9d6; }
.l2034 .f-talk { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: #9a9ea5; white-space: nowrap; }
.l2034 .f-stop { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: var(--r-voll); background: #fff; color: var(--ground); font-size: 14px; font-weight: 600; white-space: nowrap; }
.l2034 .f-stop .ic, .l2034 .f-talk .ic { width: 16px; height: 16px; color: currentColor; }
@keyframes pulse { 50% { opacity: .3; } }
@keyframes wave { from { transform: scaleY(calc(var(--w) * .35)); } to { transform: scaleY(var(--w)); } }
@container (max-width: 640px) {
  .l2034 { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .l2034 .f-scene { position: relative; grid-row: 3; width: auto; aspect-ratio: 1; margin-top: -40px; }
  .l2034 .f-top { padding: 18px 18px 0; flex-wrap: wrap; } .l2034 .f-live { order: 3; width: 100%; } .l2034 .f-total b { font-size: 44px; }
  .l2034 .f-ask { padding: 18px 18px 0; } .l2034 .f-ask p { font-size: 24px; }
  .l2034 .f-answer { grid-row: 4; padding: 0 18px; }
  .l2034 .f-mandate { flex-wrap: wrap; margin: 18px; } .l2034 .f-talk { margin-left: 0; }
}

/* the dither field, still: prints itself once when the section arrives */
.has-field { position: relative; overflow: clip; }
.has-field > .wrap { z-index: 1; }
.still { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* icons */
.ic { width: 20px; height: 20px; flex: none; }
.glyph { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-s); background: var(--paper-2); color: var(--ink); margin-bottom: 20px; }
.soft .glyph { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.glyph .ic { width: 22px; height: 22px; }
.key { display: inline-flex; align-items: center; gap: 10px; }
.key .ic { color: var(--ink-2); }
.layer { display: flex; gap: 14px; align-items: flex-start; }
.layer .glyph { margin: 0; flex: none; }
details { border-top: 1px solid var(--line); padding: 22px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
summary::-webkit-details-marker { display: none; }
summary .ic { color: var(--muted); transition: transform .16s var(--snap); }
details[open] summary .ic { transform: rotate(180deg); }
details p { color: var(--ink-2); margin-top: 12px; max-width: 60ch; }

/* tooltip (popover, top layer) */
#tip { position: fixed; inset: auto; margin: 0; max-width: 300px; padding: 8px 11px; border: 0; border-radius: var(--r-s); background: #fff; color: var(--ink);
  font: 14px/1.4 Geist, sans-serif; box-shadow: 0 0 0 1px rgba(15,17,20,.08), 0 12px 32px rgba(15,17,20,.22); pointer-events: none; }

/* format */
table.doc { width: 100%; border-collapse: collapse; }
table.doc th { text-align: left; font: 500 13px/1.4 'Geist Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 24px 14px 0; border-bottom: 1px solid var(--ink); }
table.doc td { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.doc td:first-child { width: 26%; }
table.doc td b { display: block; font-weight: 600; }
table.doc td i { font-style: normal; color: var(--muted); }
table.doc td:nth-child(2) { color: var(--ink-2); }
table.doc code { font-size: 14px; color: var(--ink); background: var(--paper-2); padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.soft table.doc code { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.doc-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 96px; }
.doc-2 h3 { font-size: 24px; margin-bottom: 20px; }
.steps-list { list-style: none; display: grid; border-top: 1px solid var(--ink); }
.steps-list li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps-list b { font-weight: 600; }
.steps-list span { color: var(--ink-2); }
.anatomy-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 96px; }
.plain { color: var(--ink-2); max-width: 36em; margin-bottom: 16px; }
.dl { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }

section { padding: 136px 0; scroll-margin-top: 64px; }
.head { display: grid; gap: 20px; max-width: 860px; margin-bottom: 72px; }
.head h2 { font-size: clamp(40px, 5.8vw, 84px); line-height: .94; }
.head p { color: var(--ink-2); font-size: 21px; line-height: 1.5; max-width: 38em; }
.dark .head p { color: var(--tint); }
.head p.label { font-size: 13px; line-height: 1.4; color: var(--muted); }
.dark .head p.label { color: #9ca3af; }

/* problem */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; border-top: 1px solid var(--ink); padding-top: 32px; }
.pains h3 { font-size: 24px; line-height: 1.15; margin-bottom: 12px; }
.pains p { color: var(--ink-2); }

/* the idea: two casts side by side */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-m); }
.pair figcaption { margin-top: 24px; }
.pair figcaption > b { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
.pair figcaption > span { display: block; color: var(--ink-2); max-width: 32em; }
.pair .without figcaption > b::before, .pair .with figcaption > b::before { content: ''; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.pair .with figcaption > b::before { background: var(--signal); }
.pair .without figcaption > b::before { border: 2px solid var(--muted); }
.without .kept li i.on { background: var(--ink-2); border-color: var(--ink-2); }
.kept { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.kept p { font: 12px/1.4 'Geist Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.kept ol { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.kept li { display: grid; gap: 8px; }
.kept li > span { display: flex; gap: 4px; }
.kept li i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); transform: scale(.4); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.kept li i.on { border-color: var(--green-text); background: var(--signal); }
.kept small { font: 12px 'Geist Mono', monospace; color: var(--muted); }
.kept li b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
figure.in .kept li i, .no-motion .kept li i { transform: none; opacity: 1; transition-delay: calc(var(--i) * 70ms + 200ms); }

/* statement -> check -> result */
.trace { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1.25fr) 44px minmax(0, 1fr); align-items: stretch; }
.trace .arrow { align-self: center; justify-self: center; color: var(--muted); }
.trace pre { font-size: 13px; line-height: 1.65; }
.run { color: var(--ink); }
.run .ok { color: var(--green-text); font-weight: 600; }
.run .no { color: var(--ink); font-weight: 600; }
.run .dim { color: var(--muted); }
.proofline { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 72px; border-top: 1px solid var(--ink); padding-top: 32px; }
.proofline b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
.proofline span { color: var(--ink-2); }

/* rings */
.rings { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.rings > * { min-width: 0; }
.rings .head { margin-bottom: 32px; }
.ringtab { display: grid; border-top: 1px solid var(--ink); }
.ringtab div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ringtab b { font-weight: 600; }
.ringtab b::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
.ringtab .fixed b::before { background: var(--signal); }
.ringtab .guided b::before { border: 2px solid var(--signal); }
.ringtab .free b::before { border: 2px solid var(--muted); }
.ringtab span { color: var(--ink-2); }
.chat .log { padding: 22px 22px 24px; display: grid; gap: 16px; font-size: 16px; }
.chat .you { background: rgba(255,255,255,.06); border-radius: var(--r-m); padding: 14px 16px; }
.chat .who { display: block; font-size: 13px; color: #9ca3af; margin-bottom: 4px; }
.chat .you p { color: #fff; }
.chat .read, .chat .passed { display: flex; align-items: center; gap: 10px; font: 14px 'Geist Mono', monospace; color: #9ca3af; }
.chat .passed { color: var(--signal); }
.chat .act { display: grid; grid-template-columns: 92px 1fr; gap: 6px 14px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.chat .act p { color: var(--tint); }
.chat .act u { text-decoration: underline dotted rgba(255,255,255,.35); text-underline-offset: 3px; }
.chat .ring { justify-self: start; align-self: start; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--r-voll); margin-top: 1px; }
.chat .r-fixed { background: var(--signal); color: var(--ground); }
.chat .r-guided { border: 1px solid var(--signal); color: var(--signal); }
.chat .r-free { border: 1px solid #6b7280; color: #9ca3af; }
.chat .st { grid-column: 2; font-size: 14px; font-weight: 500; color: #9ca3af; }
.chat .st-free { color: var(--signal); }
.chat .st-fixed { color: #fff; }

/* not only code */
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; border-top: 1px solid var(--ink); padding-top: 32px; margin-bottom: 88px; }
.kinds h3 { font-size: 24px; margin-bottom: 12px; }
.kinds p { color: var(--ink-2); }
.proof { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.proof > * { min-width: 0; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-m); transition: transform .4s var(--ease); }
.thumbs img:hover { transform: scale(1.02); }
.proof .cap { color: var(--ink-2); margin-top: 20px; }

/* start */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 32px; }
.steps .n { font-size: clamp(48px, 5.4vw, 80px); line-height: 1; font-weight: 700; letter-spacing: -0.05em; color: var(--signal); margin-bottom: 24px; }
.steps h3 { font-size: 24px; margin-bottom: 12px; }
.steps p { color: var(--tint); }
.term-cli { font-variant-ligatures: none; }
.term-cli .p { color: #6b7280; }
.term-cli .ok { color: var(--signal); }
.term-cli .rs { color: #9ca3af; }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; align-items: start; }
.start-grid > * { min-width: 0; }
.start-grid pre { white-space: pre-wrap; }
.prompt pre { color: #fff; font-size: 15px; }
.copy { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 Geist, sans-serif; color: var(--ground); background: var(--signal); border: 0; border-radius: var(--r-s); padding: 6px 10px; margin: -6px 0; cursor: pointer; }
.copy .ic { width: 15px; height: 15px; color: var(--ground) !important; }
.copy:active { transform: scale(.97); }
.related td:first-child { width: 24%; }
.related td:last-child { color: var(--ink); }

/* cases */
.lead { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--ground); color: #fff; border-radius: var(--r-m); overflow: hidden; margin-bottom: 96px; }
.lead > * { min-width: 0; }
.lead img { width: 100%; height: 100%; object-fit: cover; object-position: right top; min-height: 440px; }
.lead .txt { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.lead h3 { font-size: clamp(40px, 5vw, 68px); line-height: .96; font-weight: 700; letter-spacing: -0.045em; margin: 16px 0 20px; }
.lead p { color: var(--tint); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 72px 56px; }
.cases img { width: 112px; height: 112px; margin: -8px 0 20px -8px; }
.cases h3 { font-size: 24px; line-height: 1.15; margin-bottom: 10px; }
.cases p { color: var(--ink-2); }

/* habits */
.hgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; border-top: 1px solid var(--ink); padding-top: 32px; }
.hgrid h3 { font-size: 24px; margin-bottom: 8px; }
.hgrid p { color: var(--ink-2); max-width: 34em; }

/* tool */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 56px; }
.tools h3 { font-size: 22px; margin-bottom: 8px; }
.tools h3 code { font-weight: 500; }
.tools p { color: var(--ink-2); }
.more-list { margin-top: 88px; border-top: 1px solid var(--line); }
.more-list div { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.more-list b { font-weight: 600; }
.more-list span { color: var(--ink-2); }

/* questions */
.faq { display: grid; max-width: 860px; }

/* closing */
.closing { position: relative; background: #171819; overflow: hidden; padding: 0; }
.closing .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.closing .wrap { min-height: 720px; display: flex; flex-direction: column; justify-content: center; padding: 120px 0; }
.closing h2 { font-size: clamp(56px, 8vw, 124px); line-height: .9; max-width: 10ch; margin: 20px 0 32px; }
.closing p { color: var(--tint); font-size: 21px; max-width: 26em; margin-bottom: 40px; }
.foot { padding: 28px 0 40px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* motion: words and blocks settle in once, when they enter the view */
.js .rv:not(.ready) { visibility: hidden; }
.rv .w { display: inline-block; transition: opacity .7s var(--ease), filter .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.rv.ready:not(.in) .w { opacity: 0; filter: blur(10px); transform: translateY(.28em); }
.js .up { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .up.in { opacity: 1; transform: none; }
.js .split .ln { opacity: 0; animation: ln .5s var(--ease) forwards; animation-delay: calc(350ms + var(--i) * 26ms); }
.js .split .shop { animation: swap .8s var(--ease) 900ms both; }
@keyframes ln { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .rv:not(.ready) { visibility: visible; }
  .rv .w, .js .up { transition: none; opacity: 1; filter: none; transform: none; }
  .js .split .ln, .js .split .shop, .shop.swap { animation: none; opacity: 1; }
  .wires path { animation: none; }
}

/* models */
.labs { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; margin: -16px 0 48px; color: var(--ink-2); }
.labs span { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.labs em { font-style: normal; }
.models { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.models > * { min-width: 0; }
.chart-card, .board-card { border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; }
.chart-card { padding: 24px 20px 20px; }
.chart-scroll { overflow-x: auto; }
.chart { width: 100%; min-width: 680px; display: block; font-family: Geist, sans-serif; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .today { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .ax { font-size: 16px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.chart .ax.strong { fill: var(--ink); font-weight: 600; }
.chart .gap { fill: rgba(34, 197, 94, .1); }
.chart .top-line { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linejoin: round; }
.chart .open-line { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 5 5; }
.chart .frozen { stroke: var(--muted); stroke-width: 3; }
.chart .pt { fill: #c4c9d0; cursor: help; }
.chart .pt.open { fill: #fff; stroke: var(--ink-2); stroke-width: 1.5; }
.chart .pt.top { fill: var(--signal); stroke: #fff; stroke-width: 2; }
.chart .pt:hover { stroke: var(--ink); stroke-width: 2; }
.chart .badge > circle { fill: #fff; stroke: var(--line); }
.chart .badge { color: var(--ink); }
.chart .lbl { font-size: 17px; font-weight: 600; fill: var(--ink); }
.chart .end { font-size: 17px; font-weight: 600; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.chart .end.g { fill: #15803d; }
.chart .end.m { fill: var(--muted); }
.keys { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.keys span { display: inline-flex; align-items: center; gap: 8px; }
.keys .k { display: inline-block; width: 22px; height: 0; border-top: 3px solid var(--signal); }
.keys .k.open { border-top: 2px dashed var(--ink-2); }
.keys .k.frozen { border-top-color: var(--muted); }
.board-card { padding: 20px 0 8px; }
.board-card .label { padding: 0 20px 10px; font-size: 13px; }
.board { list-style: none; }
.board li { display: grid; grid-template-columns: 18px 28px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 20px; border-top: 1px solid var(--line); }
.board .rk { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.board .mk { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-xs); background: var(--paper-2); color: var(--ink); }
.board .nm { display: grid; line-height: 1.25; min-width: 0; }
.board .nm b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board .nm i { font-style: normal; font-size: 13px; color: var(--muted); }
.board .pill { font-size: 12px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--line-2, #d1d5db); border-radius: var(--r-voll); padding: 2px 8px; }
.board .sc { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.board li:first-child .sc { color: #15803d; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; border-top: 1px solid var(--ink); padding-top: 28px; }
.facts b { display: block; font-size: clamp(36px, 4.6vw, 60px); line-height: 1; font-weight: 600; letter-spacing: -0.035em; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.facts span { color: var(--ink-2); }
.src { margin-top: 40px; font-size: 14px; color: var(--muted); max-width: 80ch; }

/* metaphor band */
.hall { position: relative; background: var(--hall-ground, #0f1012); overflow: hidden; padding: 0; }
.hall img { position: absolute; top: 0; right: 0; width: 64%; height: 100%; object-fit: cover; object-position: 70% center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%); mask-image: linear-gradient(90deg, transparent, #000 24%); }
.hall .wrap { min-height: 720px; display: flex; flex-direction: column; justify-content: center; padding: 120px 0; }
.hall h2 { font-size: clamp(44px, 5.6vw, 84px); line-height: .98; max-width: 11ch; margin: 20px 0 28px; }
.hall h2 span { display: block; color: var(--signal); }
.hall p { color: var(--tint); font-size: 22px; max-width: 24em; }
.map { display: grid; gap: 0; margin-top: 40px; max-width: 460px; border-top: 1px solid rgba(255,255,255,.18); }
.map div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.map dt { font-weight: 600; color: #fff; }
.map dd { color: var(--tint); }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .links { display: none; }
  .top .wrap { justify-content: space-between; }
  .hero .wrap { padding: 56px 0 64px; }
  .hero h1 { margin: 18px 0 28px; }
  .hero-sub { grid-template-columns: 1fr; }
  .hero-text { margin-bottom: 40px; }
  .hero .line, .head p, .closing p, .band p { font-size: 18px; }
  .head p.label { font-size: 12px; }
  .split, .trace { grid-template-columns: minmax(0, 1fr); }
  .wires { display: none; }
  .builds, .hero .builds { margin: 12px auto; transform: rotate(90deg); box-shadow: none; align-self: center; }
  .pane-src, .pane-out { border-radius: var(--r-m); }
  .pane-src .bar { padding-right: 18px; }
  .split .pane-src pre { font-size: 13px; }
  .url { display: none; }
  .pane-out .bar, .out-foot { padding-left: 14px; }
  .out-foot { flex-wrap: wrap; }
  .out-body { flex: none; }
  .view { position: static; }
  .shop-nav { padding-left: 16px; }
  .shop-nav span:not(.cart) { display: none; }
  .shop-main, .split[data-ed="4"] .shop-main { grid-template-columns: 1fr; padding: 22px 16px 18px 40px; }
  .buy { order: 2; } .gallery { order: 1; }
  .more { padding-left: 40px; padding-right: 16px; }
  .more ul { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; margin: 0 16px 18px 40px; }
  .refs { grid-template-columns: 1fr; padding-left: 14px; }
  .runs { padding: 22px 18px; }
  .runs li { grid-template-columns: 22px 34px 1fr; }
  .runs li i { display: none; }
  .v-code pre { padding-left: 16px; overflow-x: auto; }
  .hero-foot { flex-direction: column; gap: 12px; }
  .hero-foot p + p { text-align: left; }
  .win pre { font-size: 13px; overflow-x: auto; }
  .trace .arrow { transform: rotate(90deg); height: 44px; }
  .anatomy-intro, .doc-2, .start-grid, .hgrid, .proofline { grid-template-columns: 1fr; gap: 40px; }
  .win .bar .tag { display: none; }
  .eras-pin { height: auto; }
  .eras-stick { position: static; height: auto; padding: 0; }
  .eras { display: block; height: auto; }
  .eras::before, .era-fill, .era-rail, .era-wires, .era-head { display: none; }
  .era-src pre { font-size: 12.5px; }
  .era-stage { display: grid; grid-auto-flow: column; grid-auto-columns: 86vw; gap: 12px; margin: 32px -24px 0 0; padding-right: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .slot { position: static; transform: none !important; scroll-snap-align: start; }
  .ed-cap { display: block; font-size: 15px; color: var(--ink-2); margin-bottom: 12px; }
  .ed-cap b { display: block; font-size: 48px; font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: var(--ink); margin-bottom: 6px; }
  .ed { height: auto; }
  .slot + .slot .ed { box-shadow: none; }
  .eras-note { margin-top: 24px; }
  .band img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; -webkit-mask-image: none; mask-image: none; }
  .band { display: flex; flex-direction: column-reverse; }
  .band .wrap { min-height: 0; padding: 72px 0 40px; }
  table.doc thead { display: none; }
  table.doc tr { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  table.doc td { border: 0; padding: 0; width: auto !important; }
  .steps-list li { grid-template-columns: 1fr; gap: 2px; }
  section { padding: 88px 0; }
  .head { margin-bottom: 44px; }
  .pains, .kinds, .proof, .pair, .rings, .steps, .cases, .tools, .lead { grid-template-columns: 1fr; gap: 44px; }
  .rings { gap: 40px; }
  .chat .act { grid-template-columns: 1fr; }
  .chat .st { grid-column: 1; }
  .lead { gap: 0; margin-bottom: 72px; }
  .lead img { min-height: 0; aspect-ratio: 16 / 10; }
  .lead .txt { padding: 32px 24px 36px; }
  .kinds { margin-bottom: 56px; }
  .thumbs { gap: 8px; }
  .more-list { margin-top: 64px; }
  .more-list div { grid-template-columns: 1fr; gap: 4px; }
  .related td:first-child { width: auto; }
  .closing .bg { object-position: 80% center; opacity: .45; }
  .closing .wrap { min-height: 0; padding: 88px 0; }

  .models, .facts { grid-template-columns: 1fr; gap: 24px; }
  .facts { gap: 32px; margin-top: 48px; }
  .chart-card { padding: 16px 12px; }
  .labs { gap: 10px 18px; margin: -8px 0 32px; }
  .labs span { font-size: 14px; }
  .hall img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; -webkit-mask-image: none; mask-image: none; }
  .hall { display: flex; flex-direction: column-reverse; }
  .hall .wrap { min-height: 0; padding: 72px 0 40px; }
  .hall p { font-size: 18px; }
}

/* site: landing additions, docs, legal pages, footer */
.deeper { margin-top: 48px; }
.deeper a { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 600; font-size: 17px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.deeper .ic { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.deeper a:hover .ic { transform: translateX(3px); }
.links a[aria-current] { color: #fff; }
.agent { display: inline-flex; align-items: center; gap: 8px; }
.agent svg { width: 18px; height: 18px; flex: none; }

/* landing: teach your agent */
.teach { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; margin-top: 72px; align-items: start; }
.teach .win pre { white-space: pre-wrap; font-size: 13.5px; }
.teach-cards { display: grid; gap: 12px; }
.teach-cards a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r-m);
  background: var(--ground-2); border: 1px solid rgba(255,255,255,.09); color: #fff; text-decoration: none; transition: border-color .15s var(--snap); }
.teach-cards a:hover { border-color: rgba(255,255,255,.24); }
.teach-cards .glyph { background: rgba(255,255,255,.06); }
.teach-cards .glyph .ic { color: var(--signal); }
.teach-cards b { display: block; font-size: 17px; }
.teach-cards span { display: block; font-size: 14.5px; color: #9ca3af; }
.teach-cards > a > .ic { width: 18px; height: 18px; color: #9ca3af; }
.install { margin-top: 24px; }
.install .bar b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.works { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); color: var(--tint); font-size: 15px; }
.works .label { margin-right: 4px; }

/* docs: sidebar, page, table of contents */
.docs { display: grid; grid-template-columns: 232px minmax(0, 1fr) 200px; gap: 56px; padding: 44px 0 120px; }
.side { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 108px); overflow: auto; padding-right: 8px; }
.docs details.side { border: 0; padding: 0; margin: 0; background: none; }
.side summary { display: none; }
.side-groups { display: grid; gap: 24px; }
.side p { margin-top: 0; font: 500 12px/1.4 'Geist Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.side a { display: block; padding: 5px 10px; margin-left: -10px; border-radius: var(--r-s); color: var(--ink-2); text-decoration: none; font-size: 15px; line-height: 1.35; transition: background-color .12s var(--snap), color .12s var(--snap); }
.side a:hover { color: var(--ink); background: var(--paper); }
.side a[aria-current] { color: var(--ink); background: var(--paper-2); font-weight: 600; }
.doc-main { min-width: 0; max-width: 780px; }
.doc-crumbs { font: 500 12.5px/1.4 'Geist Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc-crumbs a { color: inherit; text-decoration: none; }
.doc-main h1 { font-size: clamp(38px, 4.6vw, 58px); line-height: 1; letter-spacing: -0.05em; margin: 14px 0 16px; }
.doc-main .doc-lead { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 38em; }
.doc-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.tool { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: var(--r-s); border: 1px solid var(--line); background: #fff;
  font: 500 14px/1 Geist, sans-serif; color: var(--ink); text-decoration: none; cursor: pointer; transition: background-color .12s var(--snap), border-color .12s var(--snap); }
.tool:hover { background: var(--paper); border-color: var(--line-2); }
.tool .ic, .tool svg { width: 16px; height: 16px; color: var(--ink-2); }
.doc-body h2 { font-size: 28px; line-height: 1.1; letter-spacing: -0.035em; margin: 56px 0 14px; scroll-margin-top: 88px; }
.doc-body h3 { font-size: 19px; letter-spacing: -0.015em; margin: 34px 0 8px; scroll-margin-top: 88px; }
.doc-body h2 a.anchor, .doc-body h3 a.anchor { color: inherit; text-decoration: none; }
.doc-body p, .doc-body li { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.doc-body > p:first-child { margin-top: 32px; }
.doc-body p + p { margin-top: 14px; }
.doc-body b { color: var(--ink); font-weight: 600; }
.doc-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color .12s var(--snap); }
.doc-body a:hover { text-decoration-color: var(--ink); }
.doc-body code { font-size: .86em; color: var(--ink); background: var(--paper-2); padding: 2px 6px; border-radius: 3px; }
.doc-body .win code { background: none; padding: 0; }
.doc-body ul.list, .doc-body ol.list { display: grid; gap: 8px; padding-left: 1.25em; margin: 16px 0; }
.doc-body .win { margin: 26px 0; }
.doc-body .win pre { overflow-x: auto; font-size: 13.5px; }
.doc-body .win.prompt pre { white-space: pre-wrap; }
.doc-body .tbl { overflow-x: auto; margin: 24px 0; }
.doc-body table.doc td { padding: 14px 20px 14px 0; font-size: 15.5px; line-height: 1.5; }
.doc-body table.doc td:first-child { width: auto; min-width: 120px; }
.doc-body table.doc code { white-space: nowrap; font-size: 13.5px; }
.callout { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; padding: 18px 20px; border-radius: var(--r-m); background: var(--paper); margin: 28px 0; }
.callout > .ic { width: 20px; height: 20px; color: var(--green-text); margin-top: 3px; }
.callout b { display: block; font-size: 15px; margin-bottom: 2px; }
.doc-body .callout p { font-size: 15.5px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 80px; }
.pager a { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-m); color: var(--ink); text-decoration: none; transition: border-color .12s var(--snap); }
.pager a:hover { border-color: var(--ink); }
.pager small { font: 500 12px/1.4 'Geist Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pager b { font-size: 17px; }
.pager .nx { text-align: right; grid-column: 2; }
.doc-toc { position: sticky; top: 88px; align-self: start; display: grid; gap: 9px; font-size: 14px; }
.doc-toc p { font: 500 12px/1.4 'Geist Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.doc-toc a { color: var(--muted); text-decoration: none; line-height: 1.35; transition: color .12s var(--snap); }
.doc-toc a:hover, .doc-toc a.on { color: var(--ink); }
.doc-toc a.on { font-weight: 600; }

.legal { max-width: 760px; padding: 80px 0 120px; }
.legal h1 { font-size: clamp(40px, 6vw, 72px); line-height: .95; letter-spacing: -0.05em; margin: 18px 0 14px; }
.legal .stand { color: var(--muted); font-size: 15px; margin-bottom: 48px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 44px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { font-size: 16.5px; color: var(--ink-2); }
.legal p + p { margin-top: 10px; }
.legal a { color: var(--ink); }
.legal .lang { display: flex; gap: 16px; font-size: 15px; margin-bottom: 8px; }
.legal .de { margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--line); }
.legal address { font-style: normal; color: var(--ink-2); font-size: 16.5px; }
.nf { min-height: 60vh; display: grid; align-content: center; gap: 24px; padding: 120px 0; }
.nf h1 { font-size: clamp(48px, 8vw, 120px); line-height: .9; letter-spacing: -0.055em; }
.nf p { color: var(--tint); font-size: 21px; }

.site-foot { background: var(--ground); color: var(--tint); border-top: 1px solid rgba(255,255,255,.08); }
.site-foot .wrap { padding: 72px 0 36px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.foot-brand .brand { margin-bottom: 20px; }
.foot-brand p { font-size: 15px; line-height: 1.55; max-width: 24em; color: #9ca3af; }
.foot-brand .btn { margin-top: 24px; }
.foot-col h2 { font: 500 12px/1.4 'Geist Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; margin-bottom: 16px; }
.foot-col ul { list-style: none; display: grid; gap: 12px; }
.foot-col li { font-size: 15px; line-height: 1.4; }
.foot-col a, .foot-col .quiet { color: var(--tint); text-decoration: none; transition: color .12s var(--snap); }
.foot-col a:hover { color: #fff; }
.foot-col .agent svg { width: 16px; height: 16px; color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: #6b7280; }
@media (max-width: 1100px) { .docs { grid-template-columns: 220px minmax(0, 1fr); } .doc-toc { display: none; } }
@media (max-width: 900px) {
  .teach { grid-template-columns: minmax(0, 1fr); }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 20px; }
  .side { position: static; max-height: none; overflow: visible; }
  .side summary { display: flex; align-items: center; justify-content: space-between; list-style: none; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-s); font-weight: 600; font-size: 15px; cursor: pointer; }
  .side summary::-webkit-details-marker { display: none; }
  .side summary .ic { width: 16px; height: 16px; }
  .side[open] summary { margin-bottom: 18px; }
  .pager { grid-template-columns: 1fr; } .pager .nx { grid-column: 1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .doc-main .doc-lead { font-size: 18px; }
}
