/* Ackermann Computing — plain CSS, no external resources. Dark by design. */
/* Fonts are bundled, unmodified, under the SIL Open Font License 1.1 (assets/fonts/OFL-*.md). */
@font-face { font-family: "Source Serif 4"; src: url("fonts/SourceSerif4-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/SourceSans3VF-Upright.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Code Pro"; src: url("fonts/SourceCodeVF-Upright.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
:root {
  --bg: #0e0e0d;
  --panel: #161614;
  --panel-2: #1d1d1a;
  --line: #2b2a26;
  --line-strong: #45443e;
  --ink: #f5f4ef;
  --soft: #d5d3ca;
  --muted: #a3a198;
  --link: #8ab4ff;
  --accent: #5e97f0;
  /* Latin from the bundled Source fonts; Japanese falls through to the system's Gothic and Mincho. */
  --sans: "Source Sans 3", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans CJK JP", "Noto Sans JP", Meiryo, system-ui, sans-serif;
  --serif: "Source Serif 4", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif CJK JP", "Noto Serif JP", serif;
  --mono: "Source Code Pro", ui-monospace, SFMono-Regular, Menlo, Consolas, "DejaVu Sans Mono", "Noto Sans Symbols 2", "Segoe UI Symbol", monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
html { background: var(--bg); }
body {
  margin: 0;
  background: transparent;
  color: var(--soft);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

/* Language switching: blocks marked .l carry lang="en" or lang="ja". */
html[data-lang="en"] .l[lang="ja"],
html[data-lang="ja"] .l[lang="en"] { display: none; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.wrap.narrow { max-width: 49rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: var(--bg); padding: .5rem .75rem; z-index: 30; }

a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
strong, b { color: var(--ink); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); z-index: 20; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 2rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand svg { width: 2.4rem; height: 2.4rem; flex: none; }
.brand .dot { fill: var(--accent); }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark b { font-size: 1.18rem; font-weight: 800; letter-spacing: .02em; }
.wordmark span { margin-top: .32rem; font-size: .62rem; letter-spacing: .44em; color: var(--muted); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .1rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: inline-block; padding: .4rem 0; color: var(--muted); text-decoration: none; font-size: .92rem; letter-spacing: .01em; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"], .site-nav a.on { color: var(--ink); border-bottom-color: var(--accent); }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 4px; overflow: hidden; }
.lang button { font: inherit; font-size: .8rem; letter-spacing: .04em; min-height: 2rem; padding: .2rem .7rem; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
@media (min-width: 62rem) {
  .site-header { position: sticky; top: 0; }
  .bar { flex-wrap: nowrap; }
}
@media (max-width: 61.99rem) {
  html { scroll-padding-top: 1rem; }
  .site-nav { order: 3; width: 100%; }
}

/* Type */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0; font-family: var(--serif); font-weight: 600; font-synthesis: none; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.2rem; }
li { margin-bottom: .4rem; }
li::marker { color: var(--muted); }
.eyebrow { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.2rem; }
.eyebrow::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); margin-right: .7rem; vertical-align: .05em; }
.note, .fine { color: var(--muted); font-size: .9rem; }
.lead { font-size: 1.2rem; color: var(--ink); line-height: 1.6; }
code { font-family: var(--mono); font-size: .9em; background: var(--panel-2); padding: .1em .35em; border-radius: 3px; color: var(--ink); }
pre { margin: 0 0 1.6rem; padding: 1.1rem 1.25rem; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow-x: auto; line-height: 1.55; }
pre code { background: none; padding: 0; font-size: .88rem; color: var(--soft); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 1rem; }
.btn { display: inline-block; padding: .6rem 1.05rem; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); color: var(--bg); text-decoration: none; font-size: .92rem; font-weight: 650; line-height: 1.3; }
.btn:hover { background: #fff; border-color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); font-weight: 500; }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }

/* Hero */
.hero { padding: 5.5rem 0 4rem; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(2.4rem, 6.6vw, 4.6rem); letter-spacing: -.02em; line-height: 1.08; max-width: 18ch; }
.hero .l[lang="ja"] h1 { letter-spacing: 0; line-height: 1.25; max-width: none; }
.hero-lead { max-width: 44rem; margin: 1.8rem 0 0; font-size: 1.15rem; line-height: 1.7; color: var(--soft); }
.principles { list-style: none; padding: 0; margin: 3.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 2rem; counter-reset: p; }
.principles li { counter-increment: p; border-top: 1px solid var(--line-strong); padding: 1rem 0 1.4rem; margin: 0; }
.principles li::before { content: "0" counter(p); display: block; font-family: var(--mono); font-size: .78rem; color: var(--accent); margin-bottom: .5rem; }
.principles b { display: block; font-size: 1.02rem; }
.principles span { display: block; color: var(--muted); font-size: .92rem; margin-top: .25rem; line-height: 1.6; }
.index, .tiles { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.index li, .tiles li { margin: 0; background: var(--panel); }
.index a, .tiles a { display: block; height: 100%; padding: 1.2rem 1.3rem 1.3rem; color: var(--soft); text-decoration: none; }
.index a:hover, .tiles a:hover { background: var(--panel-2); }
.index b, .tiles b { display: block; font-size: 1.15rem; }
.index b::after, .tiles b::after { content: "→"; float: right; color: var(--muted); font-weight: 400; }
.index a:hover b::after, .tiles a:hover b::after { color: var(--accent); }
.index span, .tiles span { display: block; margin-top: .3rem; font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* Product sections on the top page */
.product { padding: 5rem 0; border-bottom: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 62rem) {
  .product-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; }
  .p-head { position: sticky; top: 6.5rem; align-self: start; }
}
.p-head h2 { font-size: clamp(2.4rem, 6vw, 3.6rem); letter-spacing: -.02em; line-height: 1; }
.p-head .tag { margin: 1.1rem 0 1.2rem; font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.p-body h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 3rem 0 1.2rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.p-body > h3:first-child, .p-body > pre + h3 { margin-top: 0; }
.p-body > pre + h3 { margin-top: 2rem; }
.p-body h4 { font-size: 1.02rem; margin: 1.5rem 0 .4rem; }
.cards { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .8rem; }
.cards li { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 1.1rem 1.25rem 1.2rem; }
.cards h4 { margin: 0 0 .4rem; }
.cards p { margin: 0; font-size: .96rem; }
.next { padding: 4.5rem 0 5rem; }
.next h2 { font-size: 1.6rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }

/* Inner pages */
.page-head { padding: 4.5rem 0 1rem; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.02em; line-height: 1.12; margin-bottom: 1.3rem; }
.back { font-size: .92rem; margin-top: 1.4rem; }
.block { padding: 0 0 .6rem; }
.block h2 { font-size: 1.35rem; margin: 3rem 0 1.3rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.block h3 { font-size: 1.05rem; margin: 1.6rem 0 .4rem; }
main > .block:last-child { padding-bottom: 5rem; }
.mail { font-size: 1.25rem; font-weight: 700; overflow-wrap: anywhere; }

.status { border: 1px solid var(--line-strong); border-left: 3px solid var(--accent); background: var(--panel); padding: .9rem 1.1rem; border-radius: 4px; margin: 1.3rem 0; font-size: .96rem; }
.status p { margin: 0; }

.table-scroll { overflow-x: auto; margin: 0 0 .7rem; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .7rem .95rem; border-bottom: 1px solid var(--line); }
tbody th { font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { background: var(--panel-2); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
td.price { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: .15rem 0 .8rem 2.8rem; margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: .15rem; width: 1.8rem; height: 1.8rem; line-height: 1.75rem; text-align: center; border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--mono); font-size: .82rem; color: var(--accent); }

.todo { background: #ffe9a8; color: #151513; padding: 0 .3em; border-radius: 3px; font-size: .9em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.2rem 0 3rem; font-size: .88rem; color: var(--muted); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.site-footer a { color: var(--soft); }
.site-footer p { margin: 0 0 .3rem; }

@media (max-width: 30rem) {
  body { font-size: 1rem; }
  .wrap { padding: 0 1.15rem; }
  .hero { padding: 3.2rem 0 3rem; }
  .product { padding: 3.5rem 0; }
  th, td { padding: .55rem .65rem; }
  td.price { white-space: normal; }
  .actions .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Motion ----------
   Base styles are the final state; keyframes only say where things start.
   So with animations off (reduced motion, or no support) everything is simply shown. */
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.2); } }
@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } }
@keyframes slide { from { opacity: 0; transform: translateX(-38rem); } }
@keyframes flash { from { opacity: 0; } 45% { opacity: 1; } }

.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.3), #000 75%); mask-image: linear-gradient(90deg, rgba(0,0,0,.3), #000 75%); }
.hero .wrap { position: relative; }
.hero-logo { display: flex; align-items: center; gap: 1.1rem; color: var(--ink); margin-bottom: 3.2rem; }
.hero-logo svg { width: 4.6rem; height: 4.6rem; flex: none; }
.hero-logo path { stroke-dasharray: 1; }
.hero-logo .dot { fill: var(--accent); transform-box: fill-box; transform-origin: center; }
.hero-logo .wordmark b { font-size: 2.1rem; }
.hero-logo .wordmark span { font-size: 1rem; margin-top: .55rem; }

.fig { margin: 0 0 2.6rem; padding: 1.2rem 1.3rem; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; position: relative; }
.fig svg { display: block; width: 100%; height: auto; }
.fig text { font-family: var(--mono); font-size: 11px; fill: var(--muted); letter-spacing: .12em; }
.fig-rho { font-family: var(--mono); display: grid; gap: .5rem; }
.fig-rho .row { display: flex; align-items: baseline; gap: 1rem; position: relative; }
.fig-rho i { font-style: normal; font-size: .72rem; letter-spacing: .12em; color: var(--muted); width: 6.5rem; flex: none; }
.fig-rho .bits { display: flex; gap: .28em; font-size: clamp(.8rem, 2.6vw, 1.15rem); color: var(--ink); }
.fig-rho .bits b { font-weight: 500; }
.fig-rho .hl { position: absolute; inset: .7rem .8rem 2.6rem 7.6rem; border: 1px solid var(--accent); border-radius: 4px; background: rgba(94,151,240,.1); box-shadow: 0 0 24px rgba(94,151,240,.35); opacity: .55; }
.fig-rho .eq { margin: .2rem 0 0 7.5rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.fig-occam .mol { stroke: var(--muted); stroke-width: 1.4; }
.fig-occam .mem { stroke: var(--accent); stroke-width: 2; }
.fig-basis .d { fill: var(--line-strong); }
.fig-basis .hot { fill: var(--accent); transform-box: fill-box; transform-origin: center; }
@media (max-width: 30rem) { .fig-rho i { width: 100%; } .fig-rho .row { flex-wrap: wrap; gap: .1rem; } .fig-rho .hl { inset: .7rem .8rem 2.6rem .8rem; } .fig-rho .eq { margin-left: 0; }
  .hero-logo svg { width: 3.4rem; height: 3.4rem; } .hero-logo .wordmark b { font-size: 1.5rem; } .hero-logo .wordmark span { font-size: .72rem; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-logo path { animation: draw .9s cubic-bezier(.6,0,.2,1) both; }
  .hero-logo .a2 { animation-delay: .35s; }
  .hero-logo .br { animation-duration: .45s; animation-delay: 1.3s; }
  .hero-logo .dot { animation: pop .4s 1.8s cubic-bezier(.3,1.6,.5,1) both, pulse 7s ease-in-out 6s infinite; }
  .brand .dot { animation: pulse 7s ease-in-out 3s infinite; }
  .hero-logo .wordmark { animation: fade .9s 2.2s both; }

  .fig-rho .bits b { animation: fade .25s both; }
  .fig-rho .hl { animation: flash 1.4s 1.75s both; }
  .fig-rho .eq { animation: fade .6s 2s both; }
  .fig-occam .mol { animation: slide 2.4s cubic-bezier(.2,.7,.2,1) both; }
  .fig-basis .d { animation: fade .5s both; }
  .fig-basis .hot { animation: pop .5s 1.9s cubic-bezier(.3,1.6,.5,1) both; }
  .fig-rho .bits b:nth-child(1) { animation-delay: 0.09s; }
  .fig-rho .bits b:nth-child(2) { animation-delay: 0.18s; }
  .fig-rho .bits b:nth-child(3) { animation-delay: 0.27s; }
  .fig-rho .bits b:nth-child(4) { animation-delay: 0.36s; }
  .fig-rho .bits b:nth-child(5) { animation-delay: 0.45s; }
  .fig-rho .bits b:nth-child(6) { animation-delay: 0.54s; }
  .fig-rho .bits b:nth-child(7) { animation-delay: 0.63s; }
  .fig-rho .bits b:nth-child(8) { animation-delay: 0.72s; }
  .fig-rho .bits b:nth-child(9) { animation-delay: 0.81s; }
  .fig-rho .bits b:nth-child(10) { animation-delay: 0.90s; }
  .fig-rho .bits b:nth-child(11) { animation-delay: 0.99s; }
  .fig-rho .bits b:nth-child(12) { animation-delay: 1.08s; }
  .fig-rho .bits b:nth-child(13) { animation-delay: 1.17s; }
  .fig-rho .bits b:nth-child(14) { animation-delay: 1.26s; }
  .fig-rho .bits b:nth-child(15) { animation-delay: 1.35s; }
  .fig-rho .bits b:nth-child(16) { animation-delay: 1.44s; }
  .fig-rho .row + .row .bits b { animation-duration: .25s; }
  .fig-occam .mol:nth-child(1) { animation-delay: 0.84s; }
  .fig-occam .mol:nth-child(2) { animation-delay: 0.72s; }
  .fig-occam .mol:nth-child(3) { animation-delay: 0.60s; }
  .fig-occam .mol:nth-child(4) { animation-delay: 0.48s; }
  .fig-occam .mol:nth-child(5) { animation-delay: 0.36s; }
  .fig-occam .mol:nth-child(6) { animation-delay: 0.24s; }
  .fig-occam .mol:nth-child(7) { animation-delay: 0.12s; }
  .fig-occam .mol:nth-child(8) { animation-delay: 0.00s; }
  .fig-basis circle:nth-child(23n+1) { animation-delay: 0.07s; }
  .fig-basis circle:nth-child(23n+2) { animation-delay: 0.14s; }
  .fig-basis circle:nth-child(23n+3) { animation-delay: 0.21s; }
  .fig-basis circle:nth-child(23n+4) { animation-delay: 0.28s; }
  .fig-basis circle:nth-child(23n+5) { animation-delay: 0.35s; }
  .fig-basis circle:nth-child(23n+6) { animation-delay: 0.42s; }
  .fig-basis circle:nth-child(23n+7) { animation-delay: 0.49s; }
  .fig-basis circle:nth-child(23n+8) { animation-delay: 0.56s; }
  .fig-basis circle:nth-child(23n+9) { animation-delay: 0.63s; }
  .fig-basis circle:nth-child(23n+10) { animation-delay: 0.70s; }
  .fig-basis circle:nth-child(23n+11) { animation-delay: 0.77s; }
  .fig-basis circle:nth-child(23n+12) { animation-delay: 0.84s; }
  .fig-basis circle:nth-child(23n+13) { animation-delay: 0.91s; }
  .fig-basis circle:nth-child(23n+14) { animation-delay: 0.98s; }
  .fig-basis circle:nth-child(23n+15) { animation-delay: 1.05s; }
  .fig-basis circle:nth-child(23n+16) { animation-delay: 1.12s; }
  .fig-basis circle:nth-child(23n+17) { animation-delay: 1.19s; }
  .fig-basis circle:nth-child(23n+18) { animation-delay: 1.26s; }
  .fig-basis circle:nth-child(23n+19) { animation-delay: 1.33s; }
  .fig-basis circle:nth-child(23n+20) { animation-delay: 1.40s; }
  .fig-basis circle:nth-child(23n+21) { animation-delay: 1.47s; }
  .fig-basis circle:nth-child(23n+22) { animation-delay: 1.54s; }
  .fig-basis circle:nth-child(23n+23) { animation-delay: 1.61s; }
  .fig-basis .hot { animation-delay: 1.9s !important; }

  /* Sections arrive as they scroll into view, where the browser supports scroll-driven animation. */
  @supports (animation-timeline: view()) {
    .p-body > *, .block > .wrap, .tiles, .next h2 {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 30%;
    }
  }
}
/* Scroll-linked background, depth line, heading underlines, pausing and replay */
@keyframes pulse { 0%, 70%, 100% { opacity: 1; } 85% { opacity: .2; } }
canvas[data-depth] { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.depth { position: fixed; left: 0; top: 0; bottom: 0; width: 2px; z-index: 15; pointer-events: none; }
.depth i { display: block; height: 100%; background: var(--accent); opacity: .75; transform-origin: top; transform: scaleY(0); }
.depth b { position: fixed; left: .7rem; bottom: .6rem; font: 500 .68rem/1 var(--mono); letter-spacing: .14em; color: var(--muted); }
@media (max-width: 80rem) { .depth b { display: none; } }
.block h2, .p-body h3, .next h2 { position: relative; }
.block h2::after, .p-body h3::after, .next h2::after { content: ""; position: absolute; left: 0; bottom: -1.5px; width: 4.5rem; height: 2px; border-radius: 2px; background: var(--ink); transform-origin: left; }
.js .block h2:not(.in)::after, .js .p-body h3:not(.in)::after, .js .next h2:not(.in)::after { transform: scaleX(0); }
.block h2.in::after, .p-body h3.in::after, .next h2.in::after { transition: transform .9s cubic-bezier(.6,0,.2,1); }
.off, .off * { animation-play-state: paused !important; }
.fig.re * { animation: none !important; }
.fig-rho.re > *, .fig-occam.re .mols, .fig-basis.re svg { opacity: 0 !important; transition: opacity .5s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.tiles { grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); }
/* Tile grids: an empty cell in the last row looks like the tiles, not like a divider. */
.index, .tiles { background: var(--panel); }
.index li, .tiles li { box-shadow: 0 0 0 1px var(--line); }

/* "Where to go next": two columns of three plain links, read down each column. No boxes. */
.tiles { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: 0 4.5rem; background: none; border: 0; border-radius: 0; overflow: visible; margin-top: 1rem; }
.tiles li { background: none; box-shadow: none; border-bottom: 1px solid var(--line); }
.tiles a { padding: 1.35rem 0 1.4rem; }
.tiles a:hover { background: none; }
.tiles a:hover b { color: #fff; }
.tiles b { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; }
@media (max-width: 40rem) { .tiles { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } }

/* Product index in the hero: one row. Three fill the width; more scroll sideways. */
.index { display: flex; gap: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.index li { flex: 1 0 min(20rem, 82%); scroll-snap-align: start; }

/* ---- Verification: a recorded terminal log ---- */
.log { margin: 2rem 0 0; }
.term { font-family: var(--mono); font-size: .82rem; color: var(--soft); margin-bottom: .9rem; }
.term:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.log figcaption p { color: var(--muted); font-size: .9rem; margin: 0; }
