/* Kiri site: the flat design. One stylesheet for every page. No build step.
   Flat surfaces, 1px lines instead of shadows, no gradients, no glows and no
   animation: hover and focus change colour only. See DESIGN.md. */

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --bg:#F6F2EA; --bg-alt:#EFE9DD; --surface:#FFFDF8; --surface-2:#F3EEE4;
  --ink:#0F1419; --text-2:#3A424C; --muted:#5E6773; --line:#E1D9CA; --line-strong:#CFC5B3;
  --ember:#8A6A00; --ember-lid:#A88300; --ember-text:#6E5400; --on-ember:#FFFFFF;
  --ember-soft:color-mix(in srgb, var(--ember) 10%, transparent);
  --ember-hover:color-mix(in srgb, var(--ember) 86%, #000);
  --moss:#1F7656; --crit:#A23B2E;
  --term-bg:#0F1419; --term-fg:#E7E3DA; --term-line:#222B34; --term-muted:#6F7A86;
  --kiri-eyes:#0F1419;
  /* App buttons: the raised tile of Kiri's own window */
  --app-3d:inset 0 1px 0 rgb(255 255 255 / .7), 0 1px 0 rgb(15 20 25 / .10);
  --app-3d-p:inset 0 1px 0 rgb(255 255 255 / .28), 0 1px 0 rgb(15 20 25 / .18);
  --f-text:"Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:"JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap:1120px; --gut:24px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg:#0F1419; --bg-alt:#131920; --surface:#171E26; --surface-2:#1D252E;
    --ink:#F6F2EA; --text-2:#C9CDD2; --muted:#9AA3AE; --line:#26303A; --line-strong:#34404C;
    --ember:#E0B420; --ember-lid:#F2CF5B; --ember-text:#E8C04A; --on-ember:#1A1400;
    --ember-soft:color-mix(in srgb, var(--ember) 12%, transparent);
    --ember-hover:color-mix(in srgb, var(--ember) 88%, #fff);
    --moss:#5CC99A; --crit:#D3675A; --term-bg:#0A0E12;
    --app-3d:inset 0 1px 0 rgb(255 255 255 / .07), 0 1px 0 rgb(0 0 0 / .4);
    --app-3d-p:inset 0 1px 0 rgb(255 255 255 / .35), 0 1px 0 rgb(0 0 0 / .45);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg:#0F1419; --bg-alt:#131920; --surface:#171E26; --surface-2:#1D252E;
  --ink:#F6F2EA; --text-2:#C9CDD2; --muted:#9AA3AE; --line:#26303A; --line-strong:#34404C;
  --ember:#E0B420; --ember-lid:#F2CF5B; --ember-text:#E8C04A; --on-ember:#1A1400;
  --ember-soft:color-mix(in srgb, var(--ember) 12%, transparent);
  --ember-hover:color-mix(in srgb, var(--ember) 88%, #fff);
  --moss:#5CC99A; --crit:#D3675A; --term-bg:#0A0E12;
  --app-3d:inset 0 1px 0 rgb(255 255 255 / .07), 0 1px 0 rgb(0 0 0 / .4);
  --app-3d-p:inset 0 1px 0 rgb(255 255 255 / .35), 0 1px 0 rgb(0 0 0 / .45);
}

/* ---------- base ---------- */
* { box-sizing:border-box; }
html, body { margin:0; overflow-x:clip; }
body { background:var(--bg); color:var(--ink); font:400 15px/1.6 var(--f-text); -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
a { color:inherit; text-decoration:none; }
code, kbd, pre { font-family:var(--f-mono); }
code { font-size:.9em; }
h1, h2, h3, h4 { margin:0; font-weight:500; letter-spacing:-.02em; }
p, ul, ol, dl, dd, figure { margin:0; }
ul, ol { padding:0; list-style:none; }
img, svg { display:block; }
::selection { background:color-mix(in srgb, var(--ember) 35%, transparent); }
:focus-visible { outline:2px solid var(--ember); outline-offset:2px; }
[hidden] { display:none !important; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip { position:absolute; left:16px; top:-60px; z-index:100; background:var(--ink); color:var(--bg); padding:8px 12px; font-size:13px; }
.skip:focus { top:12px; }
.wrap { max-width:calc(var(--wrap) + 2 * var(--gut)); margin:0 auto; padding:0 var(--gut); }
@media (max-width:640px) { :root { --gut:16px; } }

/* plain colour transitions only, and only when motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  a, .btn, .icon-btn, .dl-file, .cell-link { transition:color .12s, background-color .12s, border-color .12s; }
}

/* icons: line icons draw with currentColor; logos are filled */
.ic { width:16px; height:16px; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.lg { width:16px; height:16px; flex:none; fill:currentColor; }

/* ---------- type ---------- */
.eyebrow, .snum { display:inline-flex; align-items:center; gap:12px; font:400 11px/1 var(--f-mono); letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.eyebrow::before { content:""; width:24px; height:1px; background:var(--line-strong); }
.eyebrow b, .snum b { color:var(--ember-text); font-weight:400; }
.snum { margin-bottom:20px; }
.snum::after { content:""; width:24px; height:1px; background:var(--line-strong); order:1; }
.snum span { order:2; }
.d1 { font-size:clamp(34px, 4.8vw, 56px); line-height:1.04; letter-spacing:-.042em; font-weight:500; }
.d2 { font-size:clamp(26px, 3.1vw, 36px); line-height:1.1; letter-spacing:-.032em; font-weight:500; }
.d3 { font-size:19px; line-height:1.3; letter-spacing:-.02em; font-weight:500; }
.lead { font-size:16.5px; line-height:1.6; color:var(--text-2); max-width:600px; }
.body { font-size:14px; line-height:1.65; color:var(--text-2); }
.lead code, .body code { color:var(--ink); }
.muted { color:var(--muted); }
.k { font:400 10.5px/1.3 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.note { font-size:13.5px; color:var(--muted); line-height:1.55; }
.note a, .lead a, .body a { color:var(--ink); border-bottom:1px solid var(--line-strong); }
.note a:hover, .lead a:hover, .body a:hover { border-color:var(--ember); }

/* ---------- buttons: Flat (default) ---------- */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; font:500 13px/1 var(--f-text); padding:10px 15px; border:1px solid transparent; color:var(--ink); cursor:pointer; white-space:nowrap; background:none; }
.btn-p { background:var(--ember); color:var(--on-ember); }
.btn-p:hover { background:var(--ember-hover); }
.btn-o { border-color:var(--line-strong); }
.btn-o:hover { border-color:var(--muted); background:var(--surface); }
.btn-sm { padding:7px 11px; font-size:12.5px; }
.btn-lg { padding:13px 20px; font-size:14px; }
.btn[aria-disabled="true"] { opacity:.5; pointer-events:none; }
.btn .lg { width:14px; height:14px; }
.btn-l { display:inline-flex; align-items:center; gap:6px; font-size:13px; color:var(--ink); }
.btn-l::after { content:"→"; color:var(--ember-text); }
.btn-l:hover { color:var(--ember-text); }
.more { display:inline-flex; align-items:center; gap:8px; font:400 11.5px/1 var(--f-mono); color:var(--ember-text); }
.more::after { content:"→"; }
.more:hover { color:var(--ink); }
.acts { display:flex; flex-wrap:wrap; align-items:center; gap:10px 12px; }

/* ---------- buttons: App, the Kiri window's raised tiles (the owner's pick, 21 Nov) ---------- */
html:not([data-btn="flat"]) .btn { height:32px; padding:0 14px; border-radius:6px; border:1px solid var(--line-strong); background:var(--surface); color:var(--ink); font-weight:600; font-size:12.5px; box-shadow:var(--app-3d); }
html:not([data-btn="flat"]) .btn:hover { background:var(--surface-2); }
html:not([data-btn="flat"]) .btn:active { transform:translateY(1px); box-shadow:none; }
html:not([data-btn="flat"]) .btn-p { background:var(--ember); color:var(--on-ember); border-color:color-mix(in srgb, var(--ember) 78%, #000); box-shadow:var(--app-3d-p); }
html:not([data-btn="flat"]) .btn-p:hover { background:var(--ember-hover); }
html:not([data-btn="flat"]) .btn-sm { height:28px; padding:0 11px; font-size:12px; }
html:not([data-btn="flat"]) .btn-lg { height:40px; padding:0 18px; font-size:13.5px; border-radius:7px; }


/* ---------- header ---------- */
.nav { position:relative; z-index:50; background:var(--bg); border-bottom:1px solid var(--line); }
.nav-in { height:56px; display:flex; align-items:center; gap:24px; }
.brand { display:flex; align-items:center; gap:8px; color:var(--ink); flex:none; }
.brand .m { width:24px; height:24px; }
.brand .w { width:auto; height:15px; }
.brand .beta { font:400 9.5px/1 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--muted); border:1px solid var(--line-strong); padding:3px 5px; margin-left:2px; }
.menu { display:flex; align-items:center; gap:2px; margin:0 auto 0 8px; font-size:13px; color:var(--text-2); }
.menu a { display:block; padding:8px 9px; }
.menu a:hover { color:var(--ink); }
.menu a[aria-current="page"] { color:var(--ink); box-shadow:inset 0 -1px 0 var(--ink); }
.menu .sep { width:1px; height:16px; background:var(--line); margin:0 6px; }
.nav-r { display:flex; align-items:center; gap:8px; margin-left:auto; }
.gh { display:inline-flex; align-items:center; gap:7px; font-size:12.5px; color:var(--text-2); padding:7px 6px; }
.gh:hover { color:var(--ink); }
.gh .lg { width:15px; height:15px; }
.gh-n { font:400 11px/1 var(--f-mono); color:var(--muted); border-left:1px solid var(--line); padding-left:7px; }
.icon-btn { display:inline-grid; place-items:center; width:32px; height:32px; border:1px solid transparent; background:none; color:var(--text-2); cursor:pointer; padding:0; }
.icon-btn:hover { color:var(--ink); border-color:var(--line); }
.icon-btn .ic { width:16px; height:16px; }
.menu-btn { display:none; }
.theme-toggle .moon { display:none; }
:root[data-theme="light"] .theme-toggle .sun { display:none; }
:root[data-theme="light"] .theme-toggle .moon { display:block; }
@media (max-width:1020px) {
  .menu { display:none; position:absolute; left:0; right:0; top:100%; margin:0; flex-direction:column; align-items:stretch; gap:0; background:var(--bg); border-bottom:1px solid var(--line); padding:6px var(--gut) 12px; font-size:14px; }
  .menu a { padding:11px 0; border-bottom:1px solid var(--line); }
  .menu a[aria-current="page"] { box-shadow:none; color:var(--ember-text); }
  .menu .sep { display:none; }
  .nav.open .menu { display:flex; }
  .menu-btn { display:inline-grid; }
}
@media (max-width:520px) { .gh { display:none; } .brand .beta { display:none; } }

/* ---------- sections ---------- */
.sec { padding:96px 0; border-bottom:1px solid var(--line); }
.sec.alt { background:var(--bg-alt); }
.head { display:grid; grid-template-columns:minmax(0, 1.1fr) minmax(0, .9fr); gap:56px; align-items:end; margin-bottom:44px; }
.head > p { font-size:15.5px; line-height:1.65; color:var(--text-2); }
.head > p code { color:var(--ink); }
.head.solo { grid-template-columns:minmax(0, 1fr); max-width:720px; gap:16px; }
.two { display:grid; grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr); gap:64px; align-items:start; }
.two .d2 { margin-bottom:18px; }
.links { display:flex; flex-wrap:wrap; gap:12px 28px; margin-top:26px; }
@media (max-width:900px) {
  .sec { padding:64px 0; }
  .head { grid-template-columns:minmax(0, 1fr); gap:16px; margin-bottom:30px; }
  .two { grid-template-columns:minmax(0, 1fr); gap:36px; }
}

/* page hero for inner pages */
.phero { padding:72px 0 64px; border-bottom:1px solid var(--line); }
.phero .d1 { margin:20px 0 18px; max-width:760px; }
.phero .acts { margin-top:28px; }
.crumb { font:400 11px/1 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.crumb a:hover { color:var(--ink); }
.crumb span { margin:0 8px; color:var(--line-strong); }
@media (max-width:640px) { .phero { padding:48px 0 44px; } }

/* ---------- home hero ---------- */
.hero { padding:72px 0 80px; border-bottom:1px solid var(--line); }
.hero-in { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 440px); gap:72px; align-items:center; }
.hero .d1 { margin:26px 0 20px; }
.hero .acts { margin-top:28px; }
.hero .note { margin-top:18px; max-width:460px; }
.newtag { display:inline-flex; align-items:center; gap:10px; font:400 11px/1 var(--f-mono); color:var(--text-2); border:1px solid var(--line-strong); background:var(--surface); padding:4px 10px 4px 4px; }
.newtag b { font-weight:500; color:var(--on-ember); background:var(--ember); padding:4px 6px; letter-spacing:.08em; text-transform:uppercase; font-size:9.5px; }
.newtag:hover { border-color:var(--muted); }
@media (max-width:1000px) { .hero-in { grid-template-columns:minmax(0, 1fr); gap:44px; } .hero-in > .box { max-width:560px; } }
@media (max-width:640px) { .hero { padding:44px 0 56px; } .hero .d1 { margin:22px 0 16px; } }

/* ---------- boxes, cells and lists ---------- */
.box { border:1px solid var(--line-strong); background:var(--surface); }
.box-h { display:flex; align-items:center; gap:10px; padding:12px 16px; border-bottom:1px solid var(--line); font-size:12.5px; color:var(--text-2); }
.box-h code { color:var(--ink); font-size:12px; }
.box-h .k { margin-left:auto; }
.box-f { padding:12px 16px; border-top:1px solid var(--line); font-size:13px; color:var(--muted); line-height:1.5; }
.box-f a { color:var(--ink); }
.box-f a:hover { color:var(--ember-text); }

.cells { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); border-top:1px solid var(--line-strong); border-left:1px solid var(--line-strong); background:var(--surface); }
.cells > * { padding:24px 24px 26px; border-right:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); min-width:0; }
.cells.c2 { grid-template-columns:repeat(2, minmax(0, 1fr)); }
.cells.c4 { grid-template-columns:repeat(4, minmax(0, 1fr)); }
.cells .k { display:flex; align-items:center; gap:10px; margin-bottom:16px; color:var(--ember-text); }
.cells .k .ic { width:15px; height:15px; }
.cells h3 { font-size:16px; margin-bottom:8px; }
.cells p { font-size:14.5px; color:var(--text-2); line-height:1.6; }
.cells p code { color:var(--ink); font-size:13.5px; }
.cells .more { margin-top:14px; }
.cell-link:hover { background:var(--surface-2); }
@media (max-width:900px) { .cells, .cells.c4 { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:560px) { .cells, .cells.c2, .cells.c4 { grid-template-columns:minmax(0, 1fr); } .cells > * { padding:20px 18px 22px; } }

/* ruled term list: a short key, then what it means */
.pts { border-top:1px solid var(--line); }
.pts > div { display:grid; grid-template-columns:170px minmax(0, 1fr); gap:16px; padding:13px 0; border-bottom:1px solid var(--line); font-size:14.5px; color:var(--text-2); line-height:1.55; }
.pts dt, .pts > div > :first-child { color:var(--ink); font-weight:500; }
.pts dd { margin:0; }
.pts code { font-size:13.5px; color:var(--ink); }
.pts dt code { color:var(--ember-text); }
.pts a { color:var(--ink); border-bottom:1px solid var(--line-strong); }
.pts a:hover { border-color:var(--ember); }
@media (max-width:560px) { .pts > div { grid-template-columns:minmax(0, 1fr); gap:3px; } }

/* numbers row: a figure, a title, a line */
.facts { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); border:1px solid var(--line-strong); background:var(--surface); }
.facts > div { padding:22px 22px 24px; border-left:1px solid var(--line); min-width:0; }
.facts > div:first-child { border-left:0; }
.facts .n { display:block; font:500 26px/1 var(--f-text); letter-spacing:-.03em; color:var(--ember-text); margin-bottom:14px; }
.facts .n small { font-size:14px; letter-spacing:0; margin-left:2px; }
.facts h3 { font-size:15px; margin-bottom:6px; }
.facts p { font-size:13.5px; color:var(--text-2); line-height:1.55; }
@media (max-width:760px) { .facts { grid-template-columns:minmax(0, 1fr); } .facts > div { border-left:0; border-top:1px solid var(--line); } .facts > div:first-child { border-top:0; } }

/* ---------- bar chart: one row per engine ---------- */
.bars { padding:6px 16px 10px; }
.bar { display:grid; grid-template-columns:118px minmax(0, 1fr) 56px; gap:14px; align-items:center; padding:9px 0; font-size:13px; color:var(--text-2); }
.bar + .bar { border-top:1px dashed var(--line); }
.bar i { display:block; height:6px; background:var(--line-strong); min-width:3px; }
.bar b { font:400 12.5px/1 var(--f-mono); text-align:right; color:var(--text-2); }
.bar.kiri { color:var(--ink); font-weight:500; }
.bar.kiri i { background:var(--ember); }
.bar.kiri b { color:var(--ink); font-weight:600; }
.big { display:flex; align-items:baseline; gap:12px; padding:18px 16px 6px; }
.big b { font:500 44px/1 var(--f-text); letter-spacing:-.045em; color:var(--ember-text); }
.big span { font-size:13.5px; color:var(--text-2); line-height:1.35; }
@media (max-width:420px) { .bar { grid-template-columns:96px minmax(0, 1fr) 50px; gap:10px; font-size:12.5px; } }

/* ---------- terminal: dark in both themes, never typed out ---------- */
.term { background:var(--term-bg); color:var(--term-fg); border:1px solid var(--line-strong); min-width:0; }
.term-h { display:flex; gap:6px; align-items:center; padding:10px 14px; border-bottom:1px solid var(--term-line); font:400 11px/1 var(--f-mono); color:var(--term-muted); }
.term-h i { width:8px; height:8px; border-radius:50%; background:#28313B; }
.term-h span { margin-left:8px; }
.term pre { margin:0; padding:16px 18px; font:12px/1.85 var(--f-mono); overflow-x:auto; }
.term .p { color:#E0B420; } .term .c { color:var(--term-muted); } .term .g { color:#5CC99A; } .term .s { color:#D9C88F; }
.term-f { padding:10px 16px; border-top:1px solid var(--term-line); font:400 10.5px/1.5 var(--f-mono); color:var(--term-muted); }
.term-f code { color:#B9C2CC; }
.cmd { display:flex; gap:10px; align-items:baseline; margin:0; padding:10px 12px; background:var(--term-bg); color:var(--term-fg); border:1px solid var(--line-strong); font:12px/1.5 var(--f-mono); overflow-x:auto; white-space:nowrap; }
.cmd::before { content:"$"; color:#E0B420; }
.cmd code { font-size:inherit; }

/* ---------- a status chip ---------- */
.chip { display:inline-flex; align-items:center; gap:6px; font:400 10px/1 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--text-2); border:1px solid var(--line-strong); padding:4px 6px; white-space:nowrap; }
.chip.live::before { content:""; width:5px; height:5px; border-radius:50%; background:var(--moss); }
.chip.hot { color:var(--ember-text); border-color:color-mix(in srgb, var(--ember) 55%, var(--line)); }

/* ---------- Share card ---------- */
.share-card .row { display:grid; grid-template-columns:10px minmax(0, 1fr) auto; gap:12px; align-items:center; padding:12px 16px; border-top:1px solid var(--line); font-size:14px; color:var(--text-2); }
.share-card .row:first-of-type { border-top:0; }
.share-card .row i { width:8px; height:8px; border-radius:50%; background:var(--c, var(--ember)); }
.share-card .row b { color:var(--ink); font-weight:500; margin-right:8px; }
.share-card .row em { font:normal 400 11px/1 var(--f-mono); color:var(--muted); }
.share-url { display:flex; align-items:center; gap:12px; padding:16px; border-bottom:1px solid var(--line); }
.share-url code { flex:1; min-width:0; font-size:13px; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.share-url .tiny { font:500 11.5px/1 var(--f-text); color:var(--ink); border:1px solid var(--line-strong); padding:6px 9px; }

/* ---------- how it works ---------- */
.arch { display:grid; grid-template-columns:minmax(0, 1fr) 140px minmax(0, 1fr); align-items:stretch; }
.zone { border:1px solid var(--line-strong); background:var(--surface); padding:16px; display:flex; flex-direction:column; min-width:0; }
.zone.vm { border-color:color-mix(in srgb, var(--ember) 45%, var(--line)); }
.zone .k { display:flex; align-items:center; gap:8px; margin-bottom:14px; }
.zone .k .lg { width:13px; height:13px; }
.node { border:1px solid var(--line); background:var(--bg); padding:10px 12px; font-size:12.5px; color:var(--text-2); display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.node b { color:var(--ink); font-weight:500; }
.node small { margin-left:auto; font:400 10.5px/1 var(--f-mono); color:var(--muted); }
.node.kiri { border-color:color-mix(in srgb, var(--ember) 60%, var(--line)); background:var(--ember-soft); }
.node.kiri b { font-weight:600; }
.node.sys { border-style:dashed; }
.nodes2 { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
.wire { height:16px; margin-left:22px; border-left:1px solid var(--line-strong); }
.ctrs { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; }
.ctrs span { border:1px solid var(--line-strong); background:var(--bg); padding:9px 6px; text-align:center; font:400 11px/1.3 var(--f-mono); color:var(--text-2); }
.zone .note { margin-top:auto; padding-top:14px; font:400 11px/1.55 var(--f-mono); }
.link-v { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:26px; }
.link-v::before { content:""; position:absolute; left:0; right:0; top:50%; border-top:1px dashed var(--ember); }
.link-v b, .link-v em { position:relative; background:var(--bg); padding:0 8px; }
.link-v b { font:500 11px/1 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--ember-text); }
.link-v em { font:normal 400 10.5px/1.3 var(--f-mono); color:var(--muted); }
.routes { margin-top:18px; border:1px solid var(--line-strong); background:var(--surface); }
.route { display:grid; grid-template-columns:150px minmax(0, 1fr) auto; gap:18px; align-items:center; padding:14px 16px; border-top:1px solid var(--line); font-size:13px; color:var(--text-2); }
.route:first-child { border-top:0; }
.route > b { color:var(--ink); font-weight:500; }
.hops { display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; }
.hops span { font:400 11px/1 var(--f-mono); padding:6px 8px; border:1px solid var(--line); background:var(--bg); color:var(--text-2); white-space:nowrap; }
.hops i { font-style:normal; font-size:12px; color:var(--muted); }
.hops span.k2 { border-color:color-mix(in srgb, var(--ember) 60%, var(--line)); background:var(--ember-soft); color:var(--ink); }
.route .ms { font:400 12px/1 var(--f-mono); color:var(--muted); white-space:nowrap; }
.route.kiri .ms { color:var(--ember-text); }
@media (max-width:900px) {
  .arch { grid-template-columns:minmax(0, 1fr); }
  .link-v { height:76px; flex-direction:row; gap:12px; justify-content:flex-start; padding-left:22px; }
  .link-v::before { left:22px; right:auto; top:0; bottom:0; border-top:0; border-left:1px dashed var(--ember); }
  .route { grid-template-columns:minmax(0, 1fr) auto; }
  .route .hops { grid-column:1 / -1; grid-row:2; }
}

/* ---------- the app: spec list and the real window ---------- */
.spec { border-top:1px solid var(--line); }
.spec > div { display:grid; grid-template-columns:120px minmax(0, 1fr); gap:16px; padding:13px 0; border-bottom:1px solid var(--line); font-size:14px; color:var(--text-2); line-height:1.55; }
.spec dt { display:flex; align-items:center; align-self:start; gap:8px; font-weight:500; color:var(--ink); }
.spec dt .lg { width:14px; height:14px; }
.spec dd { margin:0; }
.spec dd a { color:var(--ink); border-bottom:1px solid var(--line-strong); }
.spec dd a:hover { border-color:var(--ember); }
.langs { display:flex; flex-wrap:wrap; gap:3px 10px; margin-top:6px; font-size:13px; color:var(--muted); }
@media (max-width:560px) { .spec > div { grid-template-columns:minmax(0, 1fr); gap:3px; } }
.appshot { position:relative; margin:0; border:1px solid var(--line-strong); border-radius:10px; overflow:hidden; background:#0F1419; }
.appshot .scale { position:relative; width:100%; aspect-ratio:1440 / 700; overflow:hidden; }
.appshot iframe { position:absolute; left:0; top:0; width:1440px; height:700px; border:0; transform-origin:0 0; pointer-events:none; background:#0F1419; }
.appshot { container-type:inline-size; }
.appshot .lights { position:absolute; z-index:2; left:1.15cqw; top:1.25cqw; display:flex; gap:.56cqw; }
.appshot .lights i { width:.85cqw; height:.85cqw; min-width:6px; min-height:6px; border-radius:50%; background:#FF5F57; }
.appshot .lights i:nth-child(2) { background:#FEBC2E; } .appshot .lights i:nth-child(3) { background:#28C840; }
.shot-cap { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); border-top:1px solid var(--line); margin-top:18px; }
.shot-cap > div { padding:14px 18px 0 0; font-size:13.5px; color:var(--text-2); line-height:1.5; }
.shot-cap b { display:block; margin-bottom:6px; }
@media (max-width:900px) { .shot-cap { grid-template-columns:repeat(2, minmax(0, 1fr)); } }

/* ---------- closing call ---------- */
.close-in { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:56px; align-items:center; }
.close-in .d2 { margin:0 0 14px; }
.close-in .acts { margin-top:24px; }
.close-in .term pre { padding:14px 16px; }
.oss { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); border:1px solid var(--line-strong); background:var(--surface); margin-bottom:14px; }
.oss a { padding:14px 14px 13px; border-left:1px solid var(--line); font-size:12px; color:var(--muted); line-height:1.45; }
.oss a:first-child { border-left:0; }
.oss a:hover { background:var(--surface-2); }
.oss b { display:flex; align-items:center; gap:8px; color:var(--ink); font-weight:500; font-size:13.5px; margin-bottom:4px; }
.oss b .lg { width:14px; height:14px; }
@media (max-width:900px) { .close-in { grid-template-columns:minmax(0, 1fr); gap:32px; } }
@media (max-width:480px) { .oss { grid-template-columns:minmax(0, 1fr); } .oss a { border-left:0; border-top:1px solid var(--line); } .oss a:first-child { border-top:0; } }

/* ---------- download page ---------- */
.dl-me { display:flex; align-items:center; gap:10px; margin-top:20px; font-size:13px; color:var(--muted); }
.dl-me::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--moss); flex:none; }
.dl-me strong { color:var(--ink); font-weight:500; }
.dl-me a { color:var(--ink); border-bottom:1px solid var(--line-strong); }
.dl-grid { border-top:1px solid var(--line-strong); }
.dl-os { display:grid; grid-template-columns:300px minmax(0, 1fr); border-bottom:1px solid var(--line-strong); scroll-margin-top:24px; }
.dl-osh { padding:28px 28px 28px 0; border-right:1px solid var(--line); }
.dl-osh h2 { display:flex; align-items:center; flex-wrap:wrap; gap:10px; font-size:22px; letter-spacing:-.03em; margin-bottom:10px; }
.dl-osh h2 .lg { width:20px; height:20px; }
.dl-osh p { font-size:14px; color:var(--text-2); line-height:1.6; }
.dl-osh p code { color:var(--ink); }
.dl-osh .tip { margin-top:14px; padding-top:14px; border-top:1px dashed var(--line); font-size:13px; color:var(--muted); }
.dl-osh .tip strong { color:var(--text-2); font-weight:500; }
.dl-osh .more { margin-top:16px; }
.dl-os.is-yours .dl-osh h2::after { content:"This computer"; font:500 9.5px/1 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--ember-text); border:1px solid color-mix(in srgb, var(--ember) 55%, var(--line)); padding:4px 6px; }
.dl-files { padding:16px 0 16px 28px; display:flex; flex-direction:column; gap:8px; min-width:0; }
.dl-file { display:grid; grid-template-columns:150px minmax(0, 1fr) 64px auto; gap:16px; align-items:center; padding:12px 12px 12px 16px; border:1px solid var(--line); background:var(--surface); }
.dl-file:hover { border-color:var(--line-strong); background:var(--surface-2); }
.dl-file > span:first-child b { display:block; font-size:13.5px; font-weight:500; color:var(--ink); }
.dl-file > span:first-child small { display:block; font-size:13px; color:var(--muted); margin-top:2px; }
.dl-file code { font-size:11.5px; color:var(--text-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dl-size { font:400 12px/1 var(--f-mono); color:var(--muted); text-align:right; }
.dl-file .btn .later { display:none; }
.dl-file.is-match { border-color:color-mix(in srgb, var(--ember) 60%, var(--line)); box-shadow:inset 3px 0 0 var(--ember); }
.dl-file.is-match .btn, html:not([data-btn="flat"]) .dl-file.is-match .btn { background:var(--ember); color:var(--on-ember); border-color:var(--ember); }
html:not([data-btn="flat"]) .dl-file.is-match .btn { border-color:color-mix(in srgb, var(--ember) 78%, #000); box-shadow:var(--app-3d-p); }
.dl-file.is-match:hover .btn { background:var(--ember-hover); }
.dl-file.dl-soon { pointer-events:none; }
.dl-file.dl-soon > :not(.btn) { opacity:.55; }
.dl-file.dl-soon .btn { background:none; color:var(--muted); border-color:var(--line); box-shadow:none; }
.dl-file.dl-soon .btn .now { display:none; }
.dl-file.dl-soon .btn .later { display:inline; }
.dl-lite { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:4px; padding:12px 14px; border:1px dashed var(--line-strong); font-size:13.5px; color:var(--text-2); }
.dl-lite > span { margin-right:6px; }
.dl-lite code { color:var(--ink); }
.dl-lite a { font:400 11px/1 var(--f-mono); padding:7px 9px; border:1px solid var(--line-strong); background:var(--surface); color:var(--text-2); white-space:nowrap; }
.dl-lite a:hover { color:var(--ink); border-color:var(--muted); }
.dl-lite a.dl-soon { opacity:.5; pointer-events:none; }
.dl-foot { margin-top:18px; }
@media (max-width:900px) {
  .dl-os { grid-template-columns:minmax(0, 1fr); }
  .dl-osh { border-right:0; padding:26px 0 6px; }
  .dl-files { padding:10px 0 26px; }
}
@media (max-width:640px) {
  .dl-file { grid-template-columns:minmax(0, 1fr) auto; gap:6px 12px; padding:12px; }
  .dl-file code { grid-column:1 / -1; grid-row:2; }
  .dl-size { grid-column:2; grid-row:1; }
  .dl-file .btn { grid-column:1 / -1; grid-row:3; justify-self:start; margin-top:4px; }
}

/* ---------- download thanks ---------- */
.ty-row { display:grid; grid-template-columns:minmax(0, 1.15fr) minmax(0, .85fr); gap:20px; margin-top:36px; align-items:stretch; }
.ty-file { display:flex; flex-direction:column; }
.ty-file .box-h { justify-content:space-between; }
.ty-file .what { padding:16px 16px 4px; font-size:15px; font-weight:500; color:var(--ink); }
.ty-file .name { padding:0 16px 14px; font:400 12px/1.4 var(--f-mono); color:var(--muted); overflow-wrap:anywhere; }
.ty-file .os-note { padding:0 16px 16px; font-size:13.5px; color:var(--text-2); line-height:1.55; }
.ty-file .os-note code { color:var(--ink); }
.ty-file .box-f { margin-top:auto; display:flex; flex-wrap:wrap; gap:8px 20px; }
.ty-star { padding:20px; display:flex; flex-direction:column; gap:10px; }
.ty-star h2 { font-size:17px; letter-spacing:-.02em; }
.ty-star p { font-size:14px; color:var(--text-2); line-height:1.6; }
.ty-star .acts { margin-top:auto; padding-top:8px; }
.btn .gh-n { border-left-color:currentColor; color:inherit; opacity:.75; }
.steps { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); border:1px solid var(--line-strong); background:var(--surface); }
.step { padding:22px 20px 22px; border-left:1px solid var(--line); display:flex; flex-direction:column; gap:10px; min-width:0; }
.step:first-child { border-left:0; }
.step .k { display:flex; align-items:center; gap:10px; color:var(--ember-text); }
.step .k::after { content:""; flex:1; height:1px; background:var(--line); }
.step h3 { font-size:16px; }
.step p { font-size:14.5px; color:var(--text-2); line-height:1.6; }
.step p strong { color:var(--ink); font-weight:500; }
.step .cmd { margin-top:auto; color:var(--term-fg); font-size:12px; line-height:1.5; white-space:normal; overflow-wrap:anywhere; }
.step .more { margin-top:4px; }
@media (max-width:1000px) { .steps { grid-template-columns:repeat(2, minmax(0, 1fr)); } .step:nth-child(3) { border-left:0; } .step:nth-child(n+3) { border-top:1px solid var(--line); } .ty-row { grid-template-columns:minmax(0, 1fr); } }
@media (max-width:560px) { .steps { grid-template-columns:minmax(0, 1fr); } .step { border-left:0 !important; border-top:1px solid var(--line); } .step:first-child { border-top:0; } }

/* the star dialog shown once a download starts */
.ty-modal { width:min(420px, calc(100vw - 32px)); padding:28px 26px 22px; border:1px solid var(--line-strong); background:var(--surface); color:var(--ink); text-align:center; }
.ty-modal::backdrop { background:rgb(10 14 18 / .6); }
.ty-modal .x { position:absolute; right:8px; top:8px; }
.ty-modal .ty-mk { width:40px; height:40px; margin:0 auto 14px; }
.ty-modal .k { margin-bottom:10px; }
.ty-modal h2 { font-size:20px; letter-spacing:-.025em; margin-bottom:10px; }
.ty-modal p { font-size:14px; color:var(--text-2); line-height:1.6; }
.ty-modal .acts { justify-content:center; margin-top:20px; }
.ty-modal .later { display:block; margin:12px auto 0; font:400 12.5px/1.4 var(--f-text); color:var(--muted); background:none; border:0; cursor:pointer; }
.ty-modal .later:hover { color:var(--ink); }

/* ---------- footer ---------- */
.foot { padding:56px 0 36px; font-size:13.5px; color:var(--muted); }
.foot-g { display:grid; grid-template-columns:1.5fr repeat(4, minmax(0, 1fr)); gap:28px; }
.foot-g > div:first-child p { margin-top:14px; max-width:260px; line-height:1.55; }
.foot h2 { font:400 10.5px/1 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:14px; }
.foot li a { display:block; color:var(--text-2); padding:4px 0; }
.foot li a:hover { color:var(--ink); }
.foot-b { margin-top:44px; padding-top:20px; border-top:1px solid var(--line); line-height:1.6; }
@media (max-width:900px) { .foot-g { grid-template-columns:repeat(2, minmax(0, 1fr)); } .foot-g > div:first-child { grid-column:1 / -1; } }

/* ==========================================================================
   Phase 2, part A: mac, windows, linux, share, benchmarks, releases.
   New components only. Nothing above is changed by these rules.
   ========================================================================== */

/* inner page top: a note under the buttons, and a ruled strip of facts */
.phero .note { margin-top:18px; max-width:620px; }
.ospec { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); margin-top:40px; border:1px solid var(--line-strong); background:var(--surface); }
.ospec > div { padding:14px 16px 15px; border-left:1px solid var(--line); min-width:0; }
.ospec > div:first-child { border-left:0; }
.ospec .k { display:block; margin-bottom:8px; }
.ospec b { display:block; font-size:14px; font-weight:500; color:var(--ink); line-height:1.35; }
.ospec small { display:block; margin-top:2px; font-size:13px; color:var(--muted); line-height:1.45; }
@media (max-width:760px) {
  .ospec { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .ospec > div:nth-child(3) { border-left:0; }
  .ospec > div:nth-child(n+3) { border-top:1px solid var(--line); }
}
.sec.slim { padding:48px 0; }
.sec.slim .oss { margin-bottom:0; }
.sec .foot-n { margin-top:14px; }
.appshot + .cells { margin-top:20px; }
.cmd.ps::before { content:">"; }
.phero .inst-alt { margin-top:22px; padding-top:18px; }
.step p a, .cells p a:not(.more) { color:var(--ink); border-bottom:1px solid var(--line-strong); }
.step p a:hover, .cells p a:not(.more):hover { border-color:var(--ember); }
.sec .two .body + .acts { margin-top:24px; }
/* Kiri Share's top keeps the two columns of the home page's top */
.phero .hero-in .d1 { margin-top:20px; }
.phero .hero-in .note { max-width:460px; }
/* corners on the boxes only these pages have */
.rel-first { border-radius:var(--r); }
.rel-readall, .rel-latest, .rel-search kbd { border-radius:var(--r-s); }

/* bar charts with a title per group, and a slow-tail figure under each value */
.bars-t { display:flex; justify-content:space-between; gap:12px; padding:14px 16px 0; font:400 10.5px/1.3 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.bars-t code { text-transform:none; letter-spacing:0; font-size:11.5px; color:var(--ink); }
.bars-t ~ .bars-t { margin-top:6px; padding-top:16px; border-top:1px solid var(--line); }
.bar b small { display:block; margin-top:4px; font-size:10.5px; font-weight:400; color:var(--muted); }
.bars-t ~ .bars .bar b { white-space:nowrap; }
@media (max-width:420px) { .bars-t ~ .bars .bar { grid-template-columns:92px minmax(0, 1fr) 64px; } }
.bars.wide .bar { grid-template-columns:minmax(0, 250px) minmax(0, 1fr) 64px; }
@media (max-width:640px) {
  .bars.wide .bar { grid-template-columns:minmax(0, 1fr) 64px; gap:6px 12px; }
  .bars.wide .bar span { grid-column:1 / -1; }
}

/* a comparison table; it folds into one block per row on a phone */
.cmp-w { border:1px solid var(--line-strong); background:var(--surface); overflow-x:auto; }
.cmp { width:100%; border-collapse:collapse; }
.cmp th, .cmp td { padding:11px 16px; border-top:1px solid var(--line); text-align:right; white-space:nowrap; font:400 12.5px/1.35 var(--f-mono); color:var(--text-2); }
.cmp thead th { border-top:0; padding-top:12px; padding-bottom:12px; font-size:10.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.cmp th[scope="row"], .cmp thead th:first-child { text-align:left; white-space:normal; }
.cmp th[scope="row"] { font:400 13px/1.45 var(--f-text); color:var(--ink); }
.cmp th[scope="row"] code { font-size:12px; }
.cmp th[scope="row"] small { display:block; font-size:13px; color:var(--muted); }
.cmp .kiri { background:var(--ember-soft); color:var(--ink); font-weight:600; }
.cmp thead .kiri { color:var(--ember-text); font-weight:400; }
.cmp .best { color:var(--ink); font-weight:600; }
@media (max-width:640px) {
  .cmp:not(.keep) thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .cmp:not(.keep), .cmp:not(.keep) tbody, .cmp:not(.keep) th, .cmp:not(.keep) td { display:block; }
  .cmp:not(.keep) tr { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px 8px; align-items:end; padding:13px 14px; border-top:1px solid var(--line); }
  .cmp.c2:not(.keep) tr { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .cmp:not(.keep) tbody tr:first-child { border-top:0; }
  .cmp:not(.keep) th[scope="row"] { grid-column:1 / -1; padding:0; border:0; }
  .cmp:not(.keep) td { padding:0; border:0; text-align:left; white-space:normal; background:none; }
  .cmp:not(.keep) td::before { content:attr(data-l); display:block; margin-bottom:4px; font-size:9.5px; font-weight:400; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
  .cmp:not(.keep) td.kiri::before { color:var(--ember-text); }
  .cmp.keep th, .cmp.keep td { padding:10px 12px; }
}

/* three steps in a row (the thanks page has four) */
.steps.s3 { grid-template-columns:repeat(3, minmax(0, 1fr)); }
@media (max-width:1000px) {
  .steps.s3 { grid-template-columns:minmax(0, 1fr); }
  .steps.s3 .step { border-left:0; border-top:1px solid var(--line); }
  .steps.s3 .step:first-child { border-top:0; }
}

/* Kiri Share: the requests a share card lists, and a short command block in a cell */
.reqs { font:400 12px/1.2 var(--f-mono); }
.reqs li { display:grid; grid-template-columns:42px minmax(0, 1fr) 32px 44px; gap:10px; align-items:center; padding:10px 16px; border-top:1px solid var(--line); color:var(--text-2); }
.reqs li:first-child { border-top:0; }
.reqs b { font-weight:600; color:var(--ink); }
.reqs .p { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.reqs .ok { color:var(--moss); }
.reqs .warn { color:var(--ember-text); }
.reqs .t { text-align:right; color:var(--muted); }
.cells .term { margin-top:16px; }
.cells .term pre { padding:12px 14px; font-size:11.5px; }

/* releases: the newest release in full, older ones one line each.
   releases.js adds the search, the system picker and the folding. */
.rel-top { display:flex; align-items:flex-end; gap:32px; }
.rel-top .d1 { margin:20px 0 18px; }
.rel-facts { margin:0 0 4px auto; display:flex; border:1px solid var(--line-strong); background:var(--surface); white-space:nowrap; }
.rel-facts span { padding:12px 18px 13px; border-left:1px solid var(--line); font:400 10.5px/1.3 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.rel-facts span:first-child { border-left:0; }
.rel-facts b { display:block; margin-bottom:6px; font:500 22px/1 var(--f-text); letter-spacing:-.03em; text-transform:none; color:var(--ink); }
.sec.rel-hist { padding-top:40px; }
.rel { scroll-margin-top:24px; }
.rel-tools { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.rel-tools[hidden], .rel-found[hidden], .rel-older[hidden] { display:none; }
.rel-search { flex:1; min-width:0; display:flex; align-items:center; gap:9px; height:38px; padding:0 12px; background:var(--surface); border:1px solid var(--line-strong); color:var(--muted); }
.rel-search:focus-within { border-color:var(--ember); }
.rel-search svg { flex:none; }
.rel-search input { flex:1; min-width:0; background:none; border:0; outline:0; color:var(--ink); font:400 14px var(--f-text); -webkit-appearance:none; appearance:none; }
.rel-search input::-webkit-search-cancel-button { -webkit-appearance:none; }
.rel-search kbd { font:400 10.5px var(--f-mono); border:1px solid var(--line-strong); padding:1px 6px; color:var(--muted); }
.rel-seg, .rel-mini { display:flex; border:1px solid var(--line-strong); background:var(--surface); }
.rel-seg { height:38px; }
.rel-seg button, .rel-mini button { background:none; border:0; cursor:pointer; font:500 13px var(--f-text); color:var(--muted); padding:0 12px; }
.rel-seg button + button, .rel-mini button + button { border-left:1px solid var(--line); }
.rel-seg button:hover, .rel-mini button:hover { color:var(--ink); }
.rel-seg button[aria-pressed="true"], .rel-mini button[aria-pressed="true"] { color:var(--ink); background:var(--surface-2); box-shadow:inset 0 -1px 0 var(--ember); }
.rel-btn { height:38px; padding:0 14px; background:var(--surface); border:1px solid var(--line-strong); cursor:pointer; font:500 13px var(--f-text); color:var(--text-2); white-space:nowrap; }
.rel-btn:hover { border-color:var(--muted); color:var(--ink); }
.rel-found { margin:0 0 12px; font-size:13.5px; color:var(--muted); }
.rel-found b { color:var(--ink); font-weight:500; }
.rel-list mark { background:var(--ember-soft); color:var(--ember-text); padding:0 1px; }
.rel-pills { display:flex; flex-wrap:wrap; gap:5px; }
.rel-pill { font:400 10px/1 var(--f-mono); letter-spacing:.06em; text-transform:uppercase; padding:4px 6px; border:1px solid var(--line-strong); color:var(--text-2); white-space:nowrap; }
.rel-pill.rel-sec { color:var(--crit); border-color:color-mix(in srgb, var(--crit) 45%, var(--line)); }
.rel-pill.rel-new { color:var(--moss); border-color:color-mix(in srgb, var(--moss) 45%, var(--line)); }
.rel time { font:400 12px/1 var(--f-mono); color:var(--muted); white-space:nowrap; }
.rel-first { border:1px solid var(--line-strong); background:var(--surface); padding:18px 22px 22px; }
.rel-head { display:flex; align-items:center; flex-wrap:wrap; gap:8px 10px; padding-bottom:14px; border-bottom:1px solid var(--line); }
.rel-head h2 { font-size:22px; letter-spacing:-.03em; margin-right:4px; }
.rel-head h2 a:hover { color:var(--ember-text); }
.rel-head time { margin-left:auto; }
.rel-latest { font:400 10px/1 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--on-ember); background:var(--ember); padding:5px 7px; }
.rel-body { display:grid; grid-template-columns:minmax(0, 1fr) 300px; gap:32px; align-items:start; padding-top:16px; }
.rel-main { min-width:0; }
.rel-notes h3 { font:400 10.5px/1.2 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin:20px 0 8px; }
.rel-notes h3:first-child { margin-top:2px; }
.rel-notes ul { padding-left:18px; list-style:disc; color:var(--text-2); }
.rel-notes li { margin:5px 0; font-size:14.5px; line-height:1.55; }
.rel-notes li::marker { color:var(--line-strong); }
.rel-notes p { margin:5px 0; font-size:14.5px; line-height:1.55; color:var(--text-2); }
.rel-notes strong { color:var(--ink); font-weight:500; }
.rel-notes code { color:var(--ink); font-size:13px; }
.rel-notes [hidden] { display:none; }
.rel-clamp { max-height:360px; overflow:hidden; border-bottom:1px dashed var(--line-strong); }
.rel-readall { margin-top:12px; padding:7px 11px; background:none; border:1px solid var(--line-strong); cursor:pointer; font:500 12.5px var(--f-text); color:var(--ink); }
.rel-readall:hover { border-color:var(--muted); background:var(--surface-2); }
.rel-downloads { background:var(--bg); border:1px solid var(--line); padding:12px; }
.rel-dl-top { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.rel-dl-top > span:first-child { font:400 10.5px/1 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.rel-mini { margin-left:auto; }
.rel-mini button { font-size:12px; padding:5px 9px; }
.rel-platform { font:400 10.5px/1 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin:0 0 8px; }
.rel-group[hidden] { display:none; }
.rel-group:not([hidden]) ~ .rel-group:not([hidden]) { margin-top:12px; }
.rel-picked .rel-platform { display:none; }
.rel-files { display:grid; gap:4px; }
.rel-files a { display:grid; gap:3px; padding:8px 11px; border:1px solid var(--line); background:var(--surface); color:var(--ink); }
.rel-files a:hover { border-color:var(--ember); }
.rel-file { font:400 12px/1.3 var(--f-mono); overflow-wrap:anywhere; }
.rel-meta { font-size:13px; line-height:1.3; color:var(--muted); }
.rel-none { color:var(--muted); font-size:13.5px; margin:2px; }
.rel-all { margin:8px 2px 0; padding:0; background:none; border:0; cursor:pointer; font:400 11.5px var(--f-mono); color:var(--ember-text); }
.rel-all:hover { color:var(--ink); }
.rel-line-name { display:flex; align-items:center; gap:12px; margin:30px 0 10px; font:400 10.5px/1 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.rel-line-name::after { content:""; flex:1; height:1px; background:var(--line); }
.rel-rows { background:var(--surface); border:1px solid var(--line-strong); }
.rel-rows[hidden] { display:none; }
.rel-row + .rel-row { border-top:1px solid var(--line); }
.rel-row summary { display:grid; grid-template-columns:12px 62px auto minmax(0, 1fr) auto; align-items:center; gap:12px; padding:12px 16px; cursor:pointer; list-style:none; }
.rel-row summary::-webkit-details-marker { display:none; }
.rel-row summary::before { content:""; width:6px; height:6px; border-right:1.5px solid var(--muted); border-bottom:1.5px solid var(--muted); transform:rotate(-45deg); }
.rel-row[open] summary::before { transform:rotate(45deg) translate(-2px, -2px); }
.rel-row summary:hover, .rel-row[open] summary { background:var(--surface-2); }
.rel-row summary:focus-visible { outline:2px solid var(--ember); outline-offset:-2px; }
.rel-ver { font:500 14px/1 var(--f-mono); letter-spacing:0; color:var(--ink); }
.rel-k { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.rel-tease { font-size:14px; line-height:1.3; color:var(--text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rel-tease i { font-style:normal; color:var(--line-strong); margin:0 7px; }
.rel-tease code { font-size:.9em; }
.rel-row[open] .rel-tease { visibility:hidden; }
.rel-row .rel-body { padding:16px 16px 20px 40px; border-top:1px solid var(--line); }
.rel-older { display:block; width:100%; margin-top:12px; padding:12px; background:none; border:1px dashed var(--line-strong); cursor:pointer; font:500 13px var(--f-text); color:var(--text-2); }
.rel-older:hover { border-color:var(--ember); color:var(--ink); }
.rel-older span { font:400 11.5px var(--f-mono); color:var(--muted); margin-left:6px; }
.rel-fold [data-earlier] { display:none; }
.rel-searching .rel-downloads, .rel-searching .rel-line-name, .rel-searching .rel-older, .rel-searching .rel-readall, .rel-searching #rel-expand { display:none; }
.rel-searching .rel-body { grid-template-columns:minmax(0, 1fr); }
.rel-searching .rel-line + .rel-line, .rel-searching .rel-first + .rel-line { margin-top:12px; }
.rel-searching .rel-clamp { max-height:none; border-bottom:0; }
.rel-searching .rel-row[open] .rel-tease { visibility:visible; }
@media (max-width:860px) {
  .rel-top { display:block; }
  .rel-facts { margin:22px 0 0; display:inline-flex; }
  .rel-tools { flex-wrap:wrap; }
  .rel-search { flex-basis:100%; }
  .rel-search kbd { display:none; }
  .rel-first { padding:16px; }
  .rel-head time { margin-left:0; width:100%; }
  .rel-body { grid-template-columns:minmax(0, 1fr); }
  .rel-row summary { grid-template-columns:12px auto minmax(0, 1fr); gap:8px 10px; padding:12px 14px; }
  .rel-row summary time { grid-column:2 / -1; }
  .rel-tease { display:none; }
  .rel-row .rel-body { padding:14px; }
}
@media (max-width:420px) { .rel-facts span { padding:10px 12px 11px; } .rel-facts b { font-size:18px; } }
/* ===== end of phase 2, part A ===== */

/* ==========================================================================
   Phase 2, part B: the five comparison pages (docker-desktop-, orbstack-,
   colima-, podman-, rancher-desktop-alternative) and the five guides
   (container-runtime, docker-runtime, docker-for-mac, docker-on-windows,
   kubernetes-on-mac). All ten are written by tools/seo_pages.py.
   New components only, every class starts with gp-. Nothing above changes.
   ========================================================================== */

/* page top: text on the left, the list of sections on the right */
.gp-top { display:grid; grid-template-columns:minmax(0, 1fr) 240px; gap:64px; align-items:end; }
.gp-note { margin-top:18px; max-width:620px; }
.gp-toc { border:1px solid var(--line-strong); background:var(--surface); }
.gp-toc .k { padding:12px 14px; border-bottom:1px solid var(--line); }
.gp-toc a { display:flex; align-items:baseline; gap:12px; padding:9px 14px; border-top:1px solid var(--line); font-size:14px; color:var(--text-2); }
.gp-toc .k + a { border-top:0; }
.gp-toc a b { font:400 11px/1 var(--f-mono); color:var(--ember-text); }
.gp-toc a:hover { color:var(--ink); background:var(--surface-2); }
@media (max-width:900px) {
  .gp-top { grid-template-columns:minmax(0, 1fr); gap:36px; }
  .gp-toc { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); max-width:480px; }
  .gp-toc .k { grid-column:1 / -1; }
  .gp-toc a { border-top:0; border-bottom:1px solid var(--line); }
  .gp-toc a:nth-child(even) { border-right:1px solid var(--line); }
  .gp-toc a:nth-last-child(-n+2):nth-child(even), .gp-toc a:last-child { border-bottom:0; }
}

/* the comparison table: a row per feature or measurement, a column per tool.
   Kiri's column is tinted. A filled dot is "has it", an empty one "doesn't",
   no dot a plain fact. On a phone each row folds into one block. */
.gp-tw { border:1px solid var(--line-strong); background:var(--surface); }
.gp-t { width:100%; border-collapse:collapse; table-layout:fixed; }
.gp-t th, .gp-t td { padding:12px 14px; border-top:1px solid var(--line); border-left:1px solid var(--line); text-align:left; vertical-align:top; font-size:13.5px; line-height:1.45; color:var(--text-2); overflow-wrap:break-word; }
.gp-t tr > :first-child { border-left:0; }
.gp-t thead th { border-top:0; vertical-align:bottom; font:500 13px/1.25 var(--f-text); color:var(--ink); background:var(--surface-2); }
.gp-t thead th:first-child { width:24%; }
.gp-t.c2 thead th:first-child { width:30%; }
.gp-t th[scope="row"] { font-size:13px; font-weight:500; color:var(--ink); }
.gp-t th[scope="row"] .lg { display:inline-block; width:13px; height:13px; margin-right:8px; vertical-align:-1px; color:var(--ink); }
.gp-h { display:inline-flex; align-items:center; gap:8px; }
.gp-h .lg { width:15px; height:15px; color:var(--c, currentColor); }
/* Podman's purple and Rancher's blue are too dark to read on the dark surface: lift them there */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gp-h .lift { color:color-mix(in srgb, var(--c) 62%, #fff); } }
:root[data-theme="dark"] .gp-h .lift { color:color-mix(in srgb, var(--c) 62%, #fff); }
.gp-t code { font-size:11.5px; color:var(--ink); white-space:nowrap; }
.gp-t .gp-k { background:color-mix(in srgb, var(--ember) 6%, var(--surface)); color:var(--ink); }
.gp-t thead .gp-k { color:var(--ember-text); box-shadow:inset 0 2px 0 var(--ember); }
.gp-t td.no { color:var(--muted); }
.gp-t .m { display:inline-block; width:7px; height:7px; margin-right:8px; border-radius:50%; vertical-align:1px; }
.gp-t .m.y { background:var(--text-2); }
.gp-t .gp-k .m.y { background:var(--ember); }
.gp-t .m.n { border:1.5px solid var(--line-strong); }
.gp-t.num td { font:400 12.5px/1.35 var(--f-mono); white-space:nowrap; text-align:right; }
.gp-t.num thead th:not(:first-child) { text-align:right; }
.gp-t.num td.best { color:var(--ink); font-weight:600; }
.gp-foot { margin-top:14px; max-width:860px; }
.gp-foot code { color:var(--text-2); }
.gp-foot + .pts { margin-top:22px; }
@media (max-width:900px) {
  .gp-t.c6 thead, .gp-t.c4:not(.num) thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .gp-t.c6, .gp-t.c6 tbody, .gp-t.c6 th, .gp-t.c6 td,
  .gp-t.c4:not(.num), .gp-t.c4:not(.num) tbody, .gp-t.c4:not(.num) th, .gp-t.c4:not(.num) td { display:block; }
  .gp-t.c6 tr, .gp-t.c4:not(.num) tr { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px 14px; padding:14px 16px; border-top:1px solid var(--line); }
  .gp-t.c4:not(.num) tr { grid-template-columns:repeat(4, minmax(0, 1fr)); }
  .gp-t.c6 tbody tr:first-child, .gp-t.c4:not(.num) tbody tr:first-child { border-top:0; }
  .gp-t.c6 th[scope="row"], .gp-t.c4:not(.num) th[scope="row"] { grid-column:1 / -1; padding:0; border:0; }
  .gp-t.c6 td, .gp-t.c4:not(.num) td { padding:0; border:0; background:none; }
  .gp-t.c6 td::before, .gp-t.c4:not(.num) td::before { content:attr(data-l); display:block; margin-bottom:4px; font:400 9.5px/1.2 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
  .gp-t.c6 td.gp-k::before, .gp-t.c4:not(.num) td.gp-k::before { color:var(--ember-text); }
}
@media (max-width:640px) {
  .gp-t thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .gp-t, .gp-t tbody, .gp-t th, .gp-t td { display:block; }
  .gp-t tr { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:10px 14px; padding:13px 14px; border-top:1px solid var(--line); }
  .gp-t.num.c4 tr { grid-template-columns:repeat(4, minmax(0, 1fr)) !important; gap:10px 8px; }
  .gp-t tbody tr:first-child { border-top:0; }
  .gp-t th[scope="row"] { grid-column:1 / -1; padding:0; border:0; }
  .gp-t td { padding:0; border:0; background:none; }
  .gp-t.num td { text-align:left; font-size:12px; }
  .gp-t td::before { content:attr(data-l); display:block; margin-bottom:4px; font:400 9.5px/1.2 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--muted); white-space:normal; }
  .gp-t td.gp-k::before { color:var(--ember-text); }
  .gp-t td.gp-k { color:var(--ink); }
}

/* where each tool's facts come from, under every comparison table */
.gp-src { margin-top:16px; font-size:12px; line-height:1.55; color:var(--muted); }
.gp-src li { display:grid; grid-template-columns:128px minmax(0, 1fr); gap:12px; padding:5px 0; border-top:1px dashed var(--line); }
.gp-src li:first-child { border-top:0; }
.gp-src b { font-weight:500; color:var(--text-2); }
.gp-src a { color:var(--text-2); border-bottom:1px solid var(--line-strong); overflow-wrap:anywhere; }
.gp-src a:hover { color:var(--ink); border-color:var(--ember); }
.gp-src p { margin-top:10px; }
@media (max-width:560px) { .gp-src li { grid-template-columns:minmax(0, 1fr); gap:1px; } }

/* a section with its head beside a figure, a list or a terminal */
.gp-two .body + .pts, .gp-two .d2 + .pts { margin-top:26px; }
.gp-two > div:last-child > .pts:first-child { margin-top:6px; }
.gp-pts > div { grid-template-columns:190px minmax(0, 1fr); }
@media (max-width:560px) { .gp-pts > div { grid-template-columns:minmax(0, 1fr); } }
.gp .routes { margin:0 0 28px; }

/* questions and answers, all open: nothing to click, nothing hidden */
.gp-qa { border-top:1px solid var(--line); }
.gp-qa > div { padding:18px 0 20px; border-bottom:1px solid var(--line); }
.gp-qa dt { font-size:15px; font-weight:500; line-height:1.4; letter-spacing:-.01em; color:var(--ink); }
.gp-qa dd { margin:8px 0 0; max-width:640px; font-size:13.5px; line-height:1.65; color:var(--text-2); }
.gp-qa code { font-size:12.5px; color:var(--ink); }
.gp-qa a { color:var(--ink); border-bottom:1px solid var(--line-strong); }
.gp-qa a:hover { border-color:var(--ember); }

/* the same small corners as every other box (patterns and corners, 21 Nov) */
.gp-tw, .gp-toc { border-radius:var(--r, 6px); overflow:hidden; }
/* ===== end of phase 2, part B ===== */

/* ---------- patterns and corners (the owner, 21 Nov: "bring back our patterns and some small rounded
   corners"). Still drawings only: nothing here moves. ---------- */
:root { --r:6px; --r-s:4px; --r-l:10px; }

/* page tops: one fine drawing per page from the harbour, drawn by site.js, fading out toward the text */
main > section { position:relative; isolation:isolate; }
.pat-wrap { position:absolute; inset:0; z-index:-1; pointer-events:none; overflow:hidden; }
.pat-wrap svg { width:100%; height:100%; display:block; }
.pat-wrap svg * { vector-effect:non-scaling-stroke; }
.pat-wrap.art { opacity:.2; -webkit-mask-image:linear-gradient(to right, transparent 34%, rgba(0,0,0,.5) 58%, #000 84%); mask-image:linear-gradient(to right, transparent 34%, rgba(0,0,0,.5) 58%, #000 84%); }
@media (max-width:760px) { .pat-wrap.art { -webkit-mask-image:linear-gradient(to bottom, transparent 20%, rgba(0,0,0,.4) 100%); mask-image:linear-gradient(to bottom, transparent 20%, rgba(0,0,0,.4) 100%); opacity:.16; } }

/* plain sections: the yard tile from the old site, fading in from the right */
:root { --sec-tile:url("data:image/svg+xml,%3Csvg fill='%23E1D9CA' fill-opacity='.55' xmlns='http://www.w3.org/2000/svg' width='264' height='93'%3E%3Crect x='0' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='42' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='84' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='126' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='210' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='0' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='42' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='126' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='168' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='210' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='0' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='84' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='126' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='168' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='210' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='0' y='60' width='38' height='15' rx='1.5'/%3E%3Crect x='42' y='60' width='38' height='15' rx='1.5'/%3E%3Crect x='84' y='60' width='38' height='15' rx='1.5'/%3E%3Crect x='126' y='60' width='38' height='15' rx='1.5'/%3E%3Crect x='168' y='60' width='38' height='15' rx='1.5'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --sec-tile:url("data:image/svg+xml,%3Csvg fill='%2326303A' fill-opacity='.55' xmlns='http://www.w3.org/2000/svg' width='264' height='93'%3E%3Crect x='0' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='42' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='84' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='126' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='210' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='0' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='42' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='126' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='168' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='210' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='0' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='84' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='126' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='168' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='210' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='0' y='60' width='38' height='15' rx='1.5'/%3E%3Crect x='42' y='60' width='38' height='15' rx='1.5'/%3E%3Crect x='84' y='60' width='38' height='15' rx='1.5'/%3E%3Crect x='126' y='60' width='38' height='15' rx='1.5'/%3E%3Crect x='168' y='60' width='38' height='15' rx='1.5'/%3E%3C/svg%3E"); } }
:root[data-theme="dark"] { --sec-tile:url("data:image/svg+xml,%3Csvg fill='%2326303A' fill-opacity='.55' xmlns='http://www.w3.org/2000/svg' width='264' height='93'%3E%3Crect x='0' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='42' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='84' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='126' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='210' y='0' width='38' height='15' rx='1.5'/%3E%3Crect x='0' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='42' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='126' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='168' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='210' y='20' width='38' height='15' rx='1.5'/%3E%3Crect x='0' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='84' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='126' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='168' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='210' y='40' width='38' height='15' rx='1.5'/%3E%3Crect x='0' y='60' width='38' height='15' rx='1.5'/%3E%3Crect x='42' y='60' width='38' height='15' rx='1.5'/%3E%3Crect x='84' y='60' width='38' height='15' rx='1.5'/%3E%3Crect x='126' y='60' width='38' height='15' rx='1.5'/%3E%3Crect x='168' y='60' width='38' height='15' rx='1.5'/%3E%3C/svg%3E"); }
main > section.sec:not(.alt)::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(to left, transparent 0%, color-mix(in srgb, var(--bg) 40%, transparent) 30%, var(--bg) 70%), var(--sec-tile) right 24px top 24px repeat; }

/* grey sections: the ribbed steel of a container wall, opened by a row of stacked boxes */
main > section.sec.alt { background-image:repeating-linear-gradient(90deg, transparent 0 14px, color-mix(in srgb, var(--ink) 3.5%, transparent) 14px 17px, transparent 17px 20px); }
main > section.sec.alt::before { content:""; position:absolute; left:0; right:0; top:0; height:20px; z-index:-1; opacity:.55; pointer-events:none;
  background:repeating-linear-gradient(90deg, var(--line-strong) 0 46px, transparent 46px 50px) 0 0 / 100% 9px no-repeat,
             repeating-linear-gradient(90deg, transparent 0 25px, var(--line-strong) 25px 71px, transparent 71px 75px) 0 11px / 100% 9px no-repeat; }

/* figures sit on a container behind them */
.box, .term, .appshot { box-shadow:9px 9px 0 -1px var(--surface-2), 9px 9px 0 0 var(--line-strong); }
.cells .box, .cells .term, .gp-tw .box { box-shadow:none; }

/* stencilled container codes on section labels */

/* the footer: a harbour skyline (drawing from the old site) */
:root { --harbour:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='96'%3E%3Crect x='0' y='81' width='40' height='13' rx='1'/%3E%3Crect x='0' y='66' width='40' height='13' rx='1'/%3E%3Crect x='43' y='81' width='40' height='13' rx='1'/%3E%3Crect x='43' y='66' width='40' height='13' rx='1'/%3E%3Crect x='43' y='51' width='40' height='13' rx='1'/%3E%3Crect x='43' y='36' width='40' height='13' rx='1'/%3E%3Crect x='86' y='81' width='40' height='13' rx='1'/%3E%3Crect x='86' y='66' width='40' height='13' rx='1'/%3E%3Crect x='86' y='51' width='40' height='13' rx='1'/%3E%3Crect x='129' y='81' width='40' height='13' rx='1'/%3E%3Crect x='172' y='81' width='40' height='13' rx='1'/%3E%3Crect x='172' y='66' width='40' height='13' rx='1'/%3E%3Crect x='172' y='51' width='40' height='13' rx='1'/%3E%3Crect x='172' y='36' width='40' height='13' rx='1'/%3E%3Crect x='172' y='21' width='40' height='13' rx='1'/%3E%3Crect x='215' y='81' width='40' height='13' rx='1'/%3E%3Crect x='215' y='66' width='40' height='13' rx='1'/%3E%3Crect x='215' y='51' width='40' height='13' rx='1'/%3E%3Crect x='258' y='81' width='40' height='13' rx='1'/%3E%3Crect x='258' y='66' width='40' height='13' rx='1'/%3E%3Crect x='301' y='81' width='40' height='13' rx='1'/%3E%3Crect x='301' y='66' width='40' height='13' rx='1'/%3E%3Crect x='301' y='51' width='40' height='13' rx='1'/%3E%3Crect x='301' y='36' width='40' height='13' rx='1'/%3E%3Crect x='387' y='81' width='40' height='13' rx='1'/%3E%3Crect x='387' y='66' width='40' height='13' rx='1'/%3E%3Crect x='387' y='51' width='40' height='13' rx='1'/%3E%3Crect x='430' y='81' width='40' height='13' rx='1'/%3E%3Crect x='430' y='66' width='40' height='13' rx='1'/%3E%3Crect x='430' y='51' width='40' height='13' rx='1'/%3E%3Crect x='430' y='36' width='40' height='13' rx='1'/%3E%3Crect x='430' y='21' width='40' height='13' rx='1'/%3E%3Crect x='473' y='81' width='40' height='13' rx='1'/%3E%3Crect x='473' y='66' width='40' height='13' rx='1'/%3E%3Crect x='516' y='81' width='40' height='13' rx='1'/%3E%3Crect x='516' y='66' width='40' height='13' rx='1'/%3E%3Crect x='516' y='51' width='40' height='13' rx='1'/%3E%3Crect x='516' y='36' width='40' height='13' rx='1'/%3E%3Crect x='559' y='81' width='40' height='13' rx='1'/%3E%3Crect x='602' y='81' width='40' height='13' rx='1'/%3E%3Crect x='602' y='66' width='40' height='13' rx='1'/%3E%3Crect x='602' y='51' width='40' height='13' rx='1'/%3E%3Crect x='348' y='14' width='4' height='82'/%3E%3Crect x='378' y='14' width='4' height='82'/%3E%3Crect x='328' y='10' width='86' height='5'/%3E%3Crect x='366' y='15' width='2' height='26'/%3E%3Crect x='352' y='41' width='30' height='11' rx='1'/%3E%3C/svg%3E"); }
/* the footer: a harbour skyline on a strip of water */
.foot { position:relative; padding-top:150px; }
.foot::before { content:""; position:absolute; left:0; right:0; top:0; height:96px; pointer-events:none; background:var(--line-strong); opacity:.5;
  -webkit-mask-image:var(--harbour); mask-image:var(--harbour); -webkit-mask-repeat:repeat-x; mask-repeat:repeat-x; -webkit-mask-position:center bottom; mask-position:center bottom; }
.foot::after { content:""; position:absolute; left:0; right:0; top:96px; height:22px; pointer-events:none;
  background:repeating-linear-gradient(90deg, color-mix(in srgb, var(--muted) 35%, transparent) 0 18px, transparent 18px 26px) 0 4px / 100% 2px no-repeat,
             repeating-linear-gradient(90deg, transparent 0 9px, color-mix(in srgb, var(--muted) 25%, transparent) 9px 22px, transparent 22px 26px) 0 12px / 100% 2px no-repeat,
             color-mix(in srgb, var(--muted) 10%, transparent); }


/* small rounded corners on everything that's a box */
.box, .term, .chip, .dl-file, .ty-file, .cmd { border-radius:var(--r); }
.box, .term { overflow:hidden; }
.cells { border:1px solid var(--line-strong); border-radius:var(--r); overflow:hidden; }
.cells > * { margin:0 -1px -1px 0; }
.btn, .btn-lg { border-radius:var(--r); }
code { border-radius:var(--r-s); }
.appshot { border-radius:var(--r-l); }

/* filled marks (real logos and the app's own icons) */
.ic.fill { fill:currentColor; stroke:none; }

/* corners, continued: every bordered box gets the same small radius */
.facts, .zone, .routes, .oss, .steps, .ospec, .cmp-w, .ty-modal, .dl-lite, .rel-facts, .rel-rows, .rel-downloads, .rel-older { border-radius:var(--r); overflow:hidden; }
.node, .ctrs span, .hops span, .dl-lite a, .newtag, .icon-btn, .rel-search, .rel-seg, .rel-mini, .rel-btn, .rel-pill, .rel-files a, .share-url .tiny { border-radius:var(--r-s); }

/* page tops: a soft gradient under the pattern (the owner, 21 Nov) */
main > .hero, main > .phero { background:
  radial-gradient(55% 75% at 82% 18%, color-mix(in srgb, var(--ember) 10%, transparent), transparent 70%),
  radial-gradient(45% 60% at 8% 100%, color-mix(in srgb, #3D8BFF 6%, transparent), transparent 70%),
  linear-gradient(to bottom, var(--bg-alt), var(--bg)); }

/* home and download additions */
/* What the home, download and thanks pages brought back from the old site: the still Works-with row,
   the four steps, the three routes, icons on the facts, copy buttons on commands, and Homebrew.
   New rules only; nothing above changes. Still drawings, colour changes on hover only. */
:root { --brew:#9A6A00; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --brew:#FBB040; } }
:root[data-theme="dark"] { --brew:#FBB040; }
.ic-brew { color:var(--brew); }

/* works with: one still row under the home top (it used to scroll) */
.works { border-bottom:1px solid var(--line); }
.works-in { display:flex; align-items:center; flex-wrap:wrap; gap:12px 28px; padding-top:18px; padding-bottom:18px; }
.works .k { flex:none; }
.works ul { display:flex; flex-wrap:wrap; gap:10px 22px; }
.works li { display:inline-flex; align-items:center; gap:8px; font-size:13.5px; color:var(--text-2); white-space:nowrap; }
.works li code { color:var(--ink); font-size:13px; }
.works .ic { width:15px; height:15px; }

/* a card that is a link (the Share card points at its section) */
.cells > a.cell-link { display:block; color:inherit; }
.cell-link:hover .more { color:var(--ink); }

/* steps: an icon in each label, and a second way in under step 1 */
.step .k .ic { width:14px; height:14px; }
.step-alt { margin-top:auto; display:grid; gap:7px; }
.step-alt .cmd { margin-top:0; }
.alt-k { display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--text-2); }
.alt-k .ic { width:15px; height:15px; }

/* a command with a Copy button (copy.js shows the button where the browser can copy) */
.cmd.cp { align-items:center; }
.cmd.cp code, .step .cmd.cp code { flex:1; min-width:0; white-space:normal; overflow-wrap:break-word; word-break:normal; }
.cp-b { flex:none; margin:-3px -4px -3px 0; font:500 11px/1 var(--f-text); color:var(--term-fg); background:none; border:1px solid #34404C; border-radius:var(--r-s); padding:6px 9px; cursor:pointer; }
.cp-b:hover { border-color:var(--term-muted); }
.cp-b.done { color:#5CC99A; }
.step .cp-b { padding:5px 6px; font-size:10.5px; }
@media (prefers-reduced-motion: no-preference) { .cp-b { transition:color .12s, border-color .12s; } }

/* same command, three routes: the old race as a still figure, one lane per engine */
.race .lane { display:grid; grid-template-columns:150px minmax(0, 1fr) 64px; gap:8px 18px; align-items:center; padding:16px; border-top:1px solid var(--line); }
.race .box-h + .lane { border-top:0; }
.race .lane-n { display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:500; color:var(--ink); }
.race .lane-n svg { width:15px; height:15px; }
.race .ms { font:400 13px/1 var(--f-mono); text-align:right; color:var(--text-2); }
.race .lane.kiri { background:var(--ember-soft); }
.race .lane.kiri .ms { color:var(--ember-text); font-weight:600; }
.race .lane-note { grid-column:2 / -1; font-size:12.5px; color:var(--muted); line-height:1.5; }
@media (max-width:760px) {
  .race .lane { grid-template-columns:minmax(0, 1fr) auto; padding:14px; }
  .race .hops { grid-column:1 / -1; grid-row:2; }
  .race .lane-note { grid-column:1 / -1; }
}

/* how it works: the facts' heading line, and an icon in each fact */
.facts-h { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; margin:56px 0 18px; }
.facts h3 { display:flex; align-items:center; gap:8px; }
.facts h3 .ic { width:15px; height:15px; color:var(--ember-text); }

/* home download section: Homebrew under the buttons */
.inst-alt { margin-top:26px; padding-top:20px; border-top:1px solid var(--line); display:grid; gap:8px; max-width:470px; }
.inst-alt .note code { color:var(--text-2); }

/* download page: Homebrew beside the Mac's disk images, labelled commands, icons in term lists */
.dl-brew { display:grid; grid-template-columns:150px minmax(0, 1fr); gap:16px; align-items:center; padding:12px 12px 12px 16px; border:1px dashed var(--line-strong); border-radius:var(--r); }
.dl-brew b { display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:500; color:var(--ink); }
.dl-brew small { display:block; font-size:12px; color:var(--muted); margin-top:2px; }
.dl-brew .ic { width:15px; height:15px; }
.cmd-k { display:flex; align-items:center; gap:8px; margin:0 0 8px; }
.cmd-k .ic { width:14px; height:14px; }
.cmd + .cmd-k { margin-top:18px; }
.pts.ico dt { display:flex; align-items:center; align-self:start; gap:8px; }
.pts.ico dt svg { width:14px; height:14px; flex:none; }
@media (max-width:640px) { .dl-brew { grid-template-columns:minmax(0, 1fr); gap:10px; padding:12px; } }

/* thanks: "Prefer Homebrew?" in the file box, for a Mac */
.ty-brew { padding:0 16px 16px; display:grid; gap:7px; font-size:12.5px; color:var(--text-2); }
/* ===== end of home and download additions ===== */

/* ---------- Platforms menu in the header (22 Nov 2026): Mac, Windows and Linux under one item.
   Opens on hover with a mouse, on click or Enter otherwise (site.js). Flat: 1px line, no shadow, no motion. ---------- */
.plat { position:relative; }
.plat-btn { display:flex; align-items:center; gap:6px; padding:8px 9px; font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
.plat-btn:hover, .plat.open .plat-btn { color:var(--ink); }
.plat.is-current .plat-btn { color:var(--ink); box-shadow:inset 0 -1px 0 var(--ink); }
.plat-btn .chev { width:9px; height:6px; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; opacity:.65; }
.plat.open .plat-btn .chev { transform:rotate(180deg); }
.plat-menu { display:none; position:absolute; z-index:60; left:-8px; top:calc(100% + 8px); width:264px; padding:6px; background:var(--surface); border:1px solid var(--line-strong); border-radius:var(--r); }
.plat-menu::before { content:""; position:absolute; left:0; right:0; top:-10px; height:10px; }
.plat.open .plat-menu { display:block; }
@media (hover:hover) and (min-width:1021px) { .plat:hover .plat-menu { display:block; } .plat:hover .plat-btn { color:var(--ink); } }
.plat-menu a { display:flex; align-items:flex-start; gap:12px; padding:9px 10px; border-radius:var(--r-s); color:var(--text-2); }
.plat-menu a:hover, .plat-menu a:focus-visible { background:var(--surface-2); color:var(--ink); }
.plat-menu a[aria-current="page"] { box-shadow:none; background:var(--surface-2); }
.plat-menu .lg { margin-top:1px; color:var(--ink); }
.plat-menu b { display:block; font-weight:500; font-size:13px; line-height:1.3; color:var(--ink); }
.plat-menu small { display:block; margin-top:2px; font-size:12px; line-height:1.4; color:var(--muted); }
.plat-menu .plat-all { display:block; margin:6px -6px -6px; padding:10px 16px; border-top:1px solid var(--line); border-radius:0 0 var(--r) var(--r); font-size:12px; }
.plat-menu .plat-all::after { content:" →"; color:var(--ember-text); }
@media (max-width:1020px) {
  .plat, .menu .plat-menu, .plat.open .plat-menu { display:contents; }
  .plat-btn, .plat-menu::before, .plat-menu small, .plat-menu .plat-all { display:none; }
  .plat-menu a { align-items:center; padding:11px 0; border-radius:0; border-bottom:1px solid var(--line); background:none; }
  .plat-menu a:hover, .plat-menu a:focus-visible, .plat-menu a[aria-current="page"] { background:none; }
  .plat-menu a[aria-current="page"] b { color:var(--ember-text); }
  .plat-menu b { font-size:14px; font-weight:400; }
}

/* 01 What's in it on home: the yard drawn in fine lines instead of the filled boxes (the owner, 22 Nov 2026).
   Outlined containers with ribs and corner castings, empty bays, a dashed lane and crane rails.
   One SVG used as a mask, coloured by the theme's line colour, fading out toward the text. */
:root { --yard-lines:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='264' height='128' fill='none' stroke='%23000' stroke-width='1'%3E%3Crect x='2.5' y='6.5' width='37' height='14' rx='1'/%3E%3Cpath d='M6.5 9v9M10.1 9v9M13.7 9v9M17.3 9v9M20.9 9v9M24.5 9v9M28.1 9v9M31.7 9v9M35.3 9v9' stroke-opacity='.38'/%3E%3Cpath d='M3 7h2v2h-2zM37 7h2v2h-2zM3 18h2v2h-2zM37 18h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='46.5' y='6.5' width='37' height='14' rx='1'/%3E%3Cpath d='M50.5 9v9M54.1 9v9M57.7 9v9M61.3 9v9M64.9 9v9M68.5 9v9M72.1 9v9M75.7 9v9M79.3 9v9' stroke-opacity='.38'/%3E%3Cpath d='M47 7h2v2h-2zM81 7h2v2h-2zM47 18h2v2h-2zM81 18h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='90.5' y='6.5' width='37' height='14' rx='1'/%3E%3Cpath d='M94.5 9v9M98.1 9v9M101.7 9v9M105.3 9v9M108.9 9v9M112.5 9v9M116.1 9v9M119.7 9v9M123.3 9v9' stroke-opacity='.38'/%3E%3Cpath d='M91 7h2v2h-2zM125 7h2v2h-2zM91 18h2v2h-2zM125 18h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='134.5' y='6.5' width='37' height='14' rx='1' stroke-opacity='.45' stroke-dasharray='2 2.5'/%3E%3Crect x='178.5' y='6.5' width='37' height='14' rx='1'/%3E%3Cpath d='M182.5 9v9M186.1 9v9M189.7 9v9M193.3 9v9M196.9 9v9M200.5 9v9M204.1 9v9M207.7 9v9M211.3 9v9' stroke-opacity='.38'/%3E%3Cpath d='M179 7h2v2h-2zM213 7h2v2h-2zM179 18h2v2h-2zM213 18h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='222.5' y='6.5' width='37' height='14' rx='1'/%3E%3Cpath d='M226.5 9v9M230.1 9v9M233.7 9v9M237.3 9v9M240.9 9v9M244.5 9v9M248.1 9v9M251.7 9v9M255.3 9v9' stroke-opacity='.38'/%3E%3Cpath d='M223 7h2v2h-2zM257 7h2v2h-2zM223 18h2v2h-2zM257 18h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='2.5' y='25.5' width='37' height='14' rx='1'/%3E%3Cpath d='M6.5 28v9M10.1 28v9M13.7 28v9M17.3 28v9M20.9 28v9M24.5 28v9M28.1 28v9M31.7 28v9M35.3 28v9' stroke-opacity='.38'/%3E%3Cpath d='M3 26h2v2h-2zM37 26h2v2h-2zM3 37h2v2h-2zM37 37h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='46.5' y='25.5' width='37' height='14' rx='1' stroke-opacity='.45' stroke-dasharray='2 2.5'/%3E%3Crect x='90.5' y='25.5' width='37' height='14' rx='1'/%3E%3Cpath d='M94.5 28v9M98.1 28v9M101.7 28v9M105.3 28v9M108.9 28v9M112.5 28v9M116.1 28v9M119.7 28v9M123.3 28v9' stroke-opacity='.38'/%3E%3Cpath d='M91 26h2v2h-2zM125 26h2v2h-2zM91 37h2v2h-2zM125 37h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='134.5' y='25.5' width='37' height='14' rx='1'/%3E%3Cpath d='M138.5 28v9M142.1 28v9M145.7 28v9M149.3 28v9M152.9 28v9M156.5 28v9M160.1 28v9M163.7 28v9M167.3 28v9' stroke-opacity='.38'/%3E%3Cpath d='M135 26h2v2h-2zM169 26h2v2h-2zM135 37h2v2h-2zM169 37h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='178.5' y='25.5' width='37' height='14' rx='1'/%3E%3Cpath d='M182.5 28v9M186.1 28v9M189.7 28v9M193.3 28v9M196.9 28v9M200.5 28v9M204.1 28v9M207.7 28v9M211.3 28v9' stroke-opacity='.38'/%3E%3Cpath d='M179 26h2v2h-2zM213 26h2v2h-2zM179 37h2v2h-2zM213 37h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='222.5' y='25.5' width='37' height='14' rx='1'/%3E%3Cpath d='M226.5 28v9M230.1 28v9M233.7 28v9M237.3 28v9M240.9 28v9M244.5 28v9M248.1 28v9M251.7 28v9M255.3 28v9' stroke-opacity='.38'/%3E%3Cpath d='M223 26h2v2h-2zM257 26h2v2h-2zM223 37h2v2h-2zM257 37h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='2.5' y='56.5' width='37' height='14' rx='1'/%3E%3Cpath d='M6.5 59v9M10.1 59v9M13.7 59v9M17.3 59v9M20.9 59v9M24.5 59v9M28.1 59v9M31.7 59v9M35.3 59v9' stroke-opacity='.38'/%3E%3Cpath d='M3 57h2v2h-2zM37 57h2v2h-2zM3 68h2v2h-2zM37 68h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='46.5' y='56.5' width='37' height='14' rx='1'/%3E%3Cpath d='M50.5 59v9M54.1 59v9M57.7 59v9M61.3 59v9M64.9 59v9M68.5 59v9M72.1 59v9M75.7 59v9M79.3 59v9' stroke-opacity='.38'/%3E%3Cpath d='M47 57h2v2h-2zM81 57h2v2h-2zM47 68h2v2h-2zM81 68h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='90.5' y='56.5' width='37' height='14' rx='1'/%3E%3Cpath d='M94.5 59v9M98.1 59v9M101.7 59v9M105.3 59v9M108.9 59v9M112.5 59v9M116.1 59v9M119.7 59v9M123.3 59v9' stroke-opacity='.38'/%3E%3Cpath d='M91 57h2v2h-2zM125 57h2v2h-2zM91 68h2v2h-2zM125 68h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='134.5' y='56.5' width='37' height='14' rx='1'/%3E%3Cpath d='M138.5 59v9M142.1 59v9M145.7 59v9M149.3 59v9M152.9 59v9M156.5 59v9M160.1 59v9M163.7 59v9M167.3 59v9' stroke-opacity='.38'/%3E%3Cpath d='M135 57h2v2h-2zM169 57h2v2h-2zM135 68h2v2h-2zM169 68h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='178.5' y='56.5' width='37' height='14' rx='1' stroke-opacity='.45' stroke-dasharray='2 2.5'/%3E%3Crect x='222.5' y='56.5' width='37' height='14' rx='1'/%3E%3Cpath d='M226.5 59v9M230.1 59v9M233.7 59v9M237.3 59v9M240.9 59v9M244.5 59v9M248.1 59v9M251.7 59v9M255.3 59v9' stroke-opacity='.38'/%3E%3Cpath d='M223 57h2v2h-2zM257 57h2v2h-2zM223 68h2v2h-2zM257 68h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='2.5' y='75.5' width='37' height='14' rx='1' stroke-opacity='.45' stroke-dasharray='2 2.5'/%3E%3Crect x='46.5' y='75.5' width='37' height='14' rx='1'/%3E%3Cpath d='M50.5 78v9M54.1 78v9M57.7 78v9M61.3 78v9M64.9 78v9M68.5 78v9M72.1 78v9M75.7 78v9M79.3 78v9' stroke-opacity='.38'/%3E%3Cpath d='M47 76h2v2h-2zM81 76h2v2h-2zM47 87h2v2h-2zM81 87h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='90.5' y='75.5' width='37' height='14' rx='1'/%3E%3Cpath d='M94.5 78v9M98.1 78v9M101.7 78v9M105.3 78v9M108.9 78v9M112.5 78v9M116.1 78v9M119.7 78v9M123.3 78v9' stroke-opacity='.38'/%3E%3Cpath d='M91 76h2v2h-2zM125 76h2v2h-2zM91 87h2v2h-2zM125 87h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='134.5' y='75.5' width='37' height='14' rx='1'/%3E%3Cpath d='M138.5 78v9M142.1 78v9M145.7 78v9M149.3 78v9M152.9 78v9M156.5 78v9M160.1 78v9M163.7 78v9M167.3 78v9' stroke-opacity='.38'/%3E%3Cpath d='M135 76h2v2h-2zM169 76h2v2h-2zM135 87h2v2h-2zM169 87h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='178.5' y='75.5' width='37' height='14' rx='1'/%3E%3Cpath d='M182.5 78v9M186.1 78v9M189.7 78v9M193.3 78v9M196.9 78v9M200.5 78v9M204.1 78v9M207.7 78v9M211.3 78v9' stroke-opacity='.38'/%3E%3Cpath d='M179 76h2v2h-2zM213 76h2v2h-2zM179 87h2v2h-2zM213 87h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='222.5' y='75.5' width='37' height='14' rx='1' stroke-opacity='.45' stroke-dasharray='2 2.5'/%3E%3Cpath d='M0 47.5H264' stroke-opacity='.55' stroke-dasharray='7 5'/%3E%3Cpath d='M0 104.5H264M0 108.5H264' stroke-opacity='.8'/%3E%3Cpath d='M6 103v7M18 103v7M30 103v7M42 103v7M54 103v7M66 103v7M78 103v7M90 103v7M102 103v7M114 103v7M126 103v7M138 103v7M150 103v7M162 103v7M174 103v7M186 103v7M198 103v7M210 103v7M222 103v7M234 103v7M246 103v7M258 103v7' stroke-opacity='.3'/%3E%3C/svg%3E"); }
main > section.sec.lines { --sec-art:var(--yard-lines); }
main > section.sec.rel-hist { --sec-art:var(--rail-lines); }
main > section.sec.lines::before, main > section.sec.rel-hist::before { background:var(--line-strong); opacity:.75;
  -webkit-mask-image:var(--sec-art), linear-gradient(to left, #000 0%, rgba(0,0,0,.5) 34%, transparent 70%);
  -webkit-mask-repeat:repeat, no-repeat; -webkit-mask-position:right 24px top 24px, 0 0; -webkit-mask-size:auto, 100% 100%; -webkit-mask-composite:source-in;
  mask-image:var(--sec-art), linear-gradient(to left, #000 0%, rgba(0,0,0,.5) 34%, transparent 70%);
  mask-repeat:repeat, no-repeat; mask-position:right 24px top 24px, 0 0; mask-size:auto, 100% 100%; mask-composite:intersect; }

/* ---------- Works with (home): runs slowly from left to right (the owner, 22 Nov 2026). The one moving thing on
   the site; site.js builds the row. Paused under the pointer or focus; still for reduced motion and without script. ---------- */
.works-run { flex:1 1 100%; min-width:0; }
.works-run.running { overflow:hidden; -webkit-mask-image:linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-image:linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.works-run.running .works-move { display:flex; width:max-content; animation:works-run 30s linear infinite; }
.works-run.running ul { flex-wrap:nowrap; padding-right:22px; }
.works-run.running:hover .works-move, .works-run.running:focus-within .works-move { animation-play-state:paused; }
@keyframes works-run { from { transform:translateX(calc(-1 * var(--works-shift, 50%))); } to { transform:translateX(0); } }
@media (prefers-reduced-motion: reduce) { .works-run .works-move { animation:none; } }

/* Releases (/releases/): container trains in side view, in fine lines (the owner, 22 Nov 2026), to go with the
   page-top viaduct. Ribbed containers on flatcars with wheels, an empty slot, the rail with its sleepers, a signal.
   Drawn by the same mask rule as home section 01 above. */
:root { --rail-lines:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='264' height='100' fill='none' stroke='%23000' stroke-width='1'%3E%3Cpath d='M0 42.5H264' stroke-opacity='.9'/%3E%3Cpath d='M3 43.5v3M9 43.5v3M15 43.5v3M21 43.5v3M27 43.5v3M33 43.5v3M39 43.5v3M45 43.5v3M51 43.5v3M57 43.5v3M63 43.5v3M69 43.5v3M75 43.5v3M81 43.5v3M87 43.5v3M93 43.5v3M99 43.5v3M105 43.5v3M111 43.5v3M117 43.5v3M123 43.5v3M129 43.5v3M135 43.5v3M141 43.5v3M147 43.5v3M153 43.5v3M159 43.5v3M165 43.5v3M171 43.5v3M177 43.5v3M183 43.5v3M189 43.5v3M195 43.5v3M201 43.5v3M207 43.5v3M213 43.5v3M219 43.5v3M225 43.5v3M231 43.5v3M237 43.5v3M243 43.5v3M249 43.5v3M255 43.5v3M261 43.5v3' stroke-opacity='.3'/%3E%3Cpath d='M4 35.5h80M6 35.5v2.5h76v-2.5' stroke-opacity='.9'/%3E%3Ccircle cx='13' cy='39.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='21' cy='39.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='67' cy='39.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='75' cy='39.5' r='2.2' stroke-opacity='.85'/%3E%3Cpath d='M0 37h4M84 37h4' stroke-opacity='.6'/%3E%3Crect x='5.5' y='21.5' width='37' height='13' rx='1'/%3E%3Cpath d='M9.5 24v8M13.1 24v8M16.7 24v8M20.3 24v8M23.9 24v8M27.5 24v8M31.1 24v8M34.7 24v8M38.3 24v8' stroke-opacity='.36'/%3E%3Cpath d='M6 22h2v2h-2zM40 22h2v2h-2zM6 32h2v2h-2zM40 32h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='45.5' y='21.5' width='37' height='13' rx='1'/%3E%3Cpath d='M49.5 24v8M53.1 24v8M56.7 24v8M60.3 24v8M63.9 24v8M67.5 24v8M71.1 24v8M74.7 24v8M78.3 24v8' stroke-opacity='.36'/%3E%3Cpath d='M46 22h2v2h-2zM80 22h2v2h-2zM46 32h2v2h-2zM80 32h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Cpath d='M92 35.5h80M94 35.5v2.5h76v-2.5' stroke-opacity='.9'/%3E%3Ccircle cx='101' cy='39.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='109' cy='39.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='155' cy='39.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='163' cy='39.5' r='2.2' stroke-opacity='.85'/%3E%3Cpath d='M88 37h4M172 37h4' stroke-opacity='.6'/%3E%3Crect x='93.5' y='21.5' width='37' height='13' rx='1'/%3E%3Cpath d='M97.5 24v8M101.1 24v8M104.7 24v8M108.3 24v8M111.9 24v8M115.5 24v8M119.1 24v8M122.7 24v8M126.3 24v8' stroke-opacity='.36'/%3E%3Cpath d='M94 22h2v2h-2zM128 22h2v2h-2zM94 32h2v2h-2zM128 32h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='133.5' y='21.5' width='37' height='13' rx='1' stroke-opacity='.4' stroke-dasharray='2 2.5'/%3E%3Cpath d='M180 35.5h80M182 35.5v2.5h76v-2.5' stroke-opacity='.9'/%3E%3Ccircle cx='189' cy='39.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='197' cy='39.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='243' cy='39.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='251' cy='39.5' r='2.2' stroke-opacity='.85'/%3E%3Cpath d='M176 37h4M260 37h4' stroke-opacity='.6'/%3E%3Crect x='181.5' y='21.5' width='37' height='13' rx='1'/%3E%3Cpath d='M185.5 24v8M189.1 24v8M192.7 24v8M196.3 24v8M199.9 24v8M203.5 24v8M207.1 24v8M210.7 24v8M214.3 24v8' stroke-opacity='.36'/%3E%3Cpath d='M182 22h2v2h-2zM216 22h2v2h-2zM182 32h2v2h-2zM216 32h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='221.5' y='21.5' width='37' height='13' rx='1'/%3E%3Cpath d='M225.5 24v8M229.1 24v8M232.7 24v8M236.3 24v8M239.9 24v8M243.5 24v8M247.1 24v8M250.7 24v8M254.3 24v8' stroke-opacity='.36'/%3E%3Cpath d='M222 22h2v2h-2zM256 22h2v2h-2zM222 32h2v2h-2zM256 32h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Cpath d='M0 92.5H264' stroke-opacity='.9'/%3E%3Cpath d='M3 93.5v3M9 93.5v3M15 93.5v3M21 93.5v3M27 93.5v3M33 93.5v3M39 93.5v3M45 93.5v3M51 93.5v3M57 93.5v3M63 93.5v3M69 93.5v3M75 93.5v3M81 93.5v3M87 93.5v3M93 93.5v3M99 93.5v3M105 93.5v3M111 93.5v3M117 93.5v3M123 93.5v3M129 93.5v3M135 93.5v3M141 93.5v3M147 93.5v3M153 93.5v3M159 93.5v3M165 93.5v3M171 93.5v3M177 93.5v3M183 93.5v3M189 93.5v3M195 93.5v3M201 93.5v3M207 93.5v3M213 93.5v3M219 93.5v3M225 93.5v3M231 93.5v3M237 93.5v3M243 93.5v3M249 93.5v3M255 93.5v3M261 93.5v3' stroke-opacity='.3'/%3E%3Cpath d='M30 85.5h80M32 85.5v2.5h76v-2.5' stroke-opacity='.9'/%3E%3Ccircle cx='39' cy='89.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='47' cy='89.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='93' cy='89.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='101' cy='89.5' r='2.2' stroke-opacity='.85'/%3E%3Cpath d='M26 87h4M110 87h4' stroke-opacity='.6'/%3E%3Crect x='71.5' y='71.5' width='37' height='13' rx='1'/%3E%3Cpath d='M75.5 74v8M79.1 74v8M82.7 74v8M86.3 74v8M89.9 74v8M93.5 74v8M97.1 74v8M100.7 74v8M104.3 74v8' stroke-opacity='.36'/%3E%3Cpath d='M72 72h2v2h-2zM106 72h2v2h-2zM72 82h2v2h-2zM106 82h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Cpath d='M118 85.5h80M120 85.5v2.5h76v-2.5' stroke-opacity='.9'/%3E%3Ccircle cx='127' cy='89.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='135' cy='89.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='181' cy='89.5' r='2.2' stroke-opacity='.85'/%3E%3Ccircle cx='189' cy='89.5' r='2.2' stroke-opacity='.85'/%3E%3Cpath d='M114 87h4M198 87h4' stroke-opacity='.6'/%3E%3Crect x='119.5' y='71.5' width='37' height='13' rx='1'/%3E%3Cpath d='M123.5 74v8M127.1 74v8M130.7 74v8M134.3 74v8M137.9 74v8M141.5 74v8M145.1 74v8M148.7 74v8M152.3 74v8' stroke-opacity='.36'/%3E%3Cpath d='M120 72h2v2h-2zM154 72h2v2h-2zM120 82h2v2h-2zM154 82h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Crect x='159.5' y='71.5' width='37' height='13' rx='1'/%3E%3Cpath d='M163.5 74v8M167.1 74v8M170.7 74v8M174.3 74v8M177.9 74v8M181.5 74v8M185.1 74v8M188.7 74v8M192.3 74v8' stroke-opacity='.36'/%3E%3Cpath d='M160 72h2v2h-2zM194 72h2v2h-2zM160 82h2v2h-2zM194 82h2v2h-2z' fill='%23000' fill-opacity='.8' stroke='none'/%3E%3Cpath d='M236.5 92V70M232 79.5h9' stroke-opacity='.8'/%3E%3Ccircle cx='236.5' cy='66' r='3.2' stroke-opacity='.9'/%3E%3Ccircle cx='236.5' cy='66' r='1.1' fill='%23000' stroke='none'/%3E%3C/svg%3E"); }
