/* app.css — LIVEWARE. A living-system look: deep substrate, bioluminescent hyphae, glass panels with a lit edge.
   Dark by default; a light theme under [data-theme="light"]. Honours prefers-reduced-motion. Mobile floor: one
   column under 760px, 16px gutter, no horizontal scroll. No external fonts or assets — system stack only. */
:root {
  --bg: #05070a; --bg2: #0a0e14; --panel: rgba(16, 22, 30, 0.72); --panel-solid: #11161e;
  --ink: #e8f0f2; --soft: #93a3ad; --faint: #5c6b75; --line: rgba(120, 200, 180, 0.14);
  --spore: #38ffc6; --spore-dim: #1f8f78; --hypha: #2de0ff; --warn: #ffd166; --bad: #ff5d73; --ok: #38ffc6;
  --violet: #b98cff; --amber: #ffb470;
  --glow: 0 0 24px rgba(56, 255, 198, 0.28); --glow-soft: 0 0 14px rgba(45, 224, 255, 0.18);
  --r: 16px; --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
:root[data-theme="light"] {
  --bg: #eef3f1; --bg2: #e2eae7; --panel: rgba(255, 255, 255, 0.78); --panel-solid: #ffffff;
  --ink: #0d1613; --soft: #455750; --faint: #7d9088; --line: rgba(20, 120, 95, 0.18);
  --spore: #0a9b76; --spore-dim: #0a9b76; --hypha: #0a7fa8; --warn: #a66a00; --bad: #c22f44; --ok: #0a9b76;
  --violet: #7c3aed; --amber: #a85a16; --glow: 0 0 20px rgba(10, 155, 118, 0.18); --glow-soft: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; } }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; line-height: 1.55; overflow-x: hidden;
}
#myc { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(1200px 700px at 70% -10%, rgba(45, 224, 255, 0.10), transparent 60%),
              radial-gradient(900px 600px at 10% 20%, rgba(56, 255, 198, 0.08), transparent 55%),
              linear-gradient(180deg, transparent 0%, var(--bg) 92%); }
main, header, nav, footer { position: relative; z-index: 2; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 760px) { .wrap { padding: 0 16px; } }

/* header + nav */
.top { padding: 22px 0 10px; }
.brandbar { display: flex; align-items: center; gap: 14px; }
.mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(var(--glow)); }
.brandbar h1 { font-size: 22px; letter-spacing: 0.18em; margin: 0; font-weight: 700; }
.theme { margin-left: auto; background: var(--panel); border: 1px solid var(--line); color: var(--ink);
  border-radius: 999px; width: 38px; height: 38px; cursor: pointer; font-size: 16px; }
nav.tabs { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(5,7,10,0.86), rgba(5,7,10,0.5)); border-bottom: 1px solid var(--line); }
:root[data-theme="light"] nav.tabs { background: linear-gradient(180deg, rgba(238,243,241,0.9), rgba(238,243,241,0.6)); }
nav.tabs .in { display: flex; gap: 6px; overflow-x: auto; padding: 10px 24px; scrollbar-width: none; }
nav.tabs .in::-webkit-scrollbar { display: none; }
nav.tabs a { color: var(--soft); text-decoration: none; font-size: 13.5px; padding: 6px 12px; border-radius: 999px;
  white-space: nowrap; border: 1px solid transparent; transition: color .2s, border-color .2s, background .2s; }
nav.tabs a:hover { color: var(--ink); }
nav.tabs a.on { color: var(--spore); border-color: var(--line); background: var(--panel); }

/* hero */
.hero { padding: 64px 0 40px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; color: var(--spore); margin: 0 0 14px; }
.hero h2 { font-size: clamp(38px, 7vw, 76px); line-height: 1.02; margin: 0 0 18px; font-weight: 800; letter-spacing: -0.02em; }
.hero h2 .live { background: linear-gradient(120deg, var(--spore), var(--hypha) 60%, var(--violet));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lede { font-size: clamp(16px, 2.3vw, 20px); color: var(--soft); max-width: 60ch; margin: 0 0 12px; }
.hero .sub { color: var(--faint); max-width: 64ch; margin: 0 0 28px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn { font: inherit; font-weight: 650; cursor: pointer; border-radius: 999px; padding: 13px 24px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); transition: transform .12s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.go { background: linear-gradient(120deg, var(--spore), var(--hypha)); color: #04110d; border: none; box-shadow: var(--glow); }
.btn.go:hover { box-shadow: 0 0 34px rgba(56, 255, 198, 0.5); }
.btn.ghost { background: transparent; }
.btn:disabled { opacity: .5; cursor: progress; transform: none; }
.hero .runline { color: var(--faint); font-size: 13px; margin-top: 14px; font-family: var(--mono); }

/* scoreboard */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 10px 0 8px; }
@media (max-width: 760px) { .board { grid-template-columns: 1fr 1fr; } }
.chip { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; position: relative; overflow: hidden; }
.chip .k { font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: .08em; }
.chip .t { font-weight: 650; margin: 4px 0 10px; font-size: 15px; }
.chip .state { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); box-shadow: 0 0 0 0 transparent; }
.state.run .dot { background: var(--hypha); animation: pulse 1s infinite; }
.state.pass .dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.state.fail .dot { background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.state.run { color: var(--hypha); } .state.pass { color: var(--ok); } .state.fail { color: var(--bad); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.chip .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--spore), var(--hypha)); transition: width .6s ease; }

/* sections + panels */
section { padding: 56px 0 8px; scroll-margin-top: 64px; }
section > h3 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 6px; font-weight: 750; letter-spacing: -0.01em; }
section > .claim { color: var(--soft); max-width: 64ch; margin: 0 0 22px; font-size: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset; }
.panel + .panel { margin-top: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } }
.scope { color: var(--faint); font-size: 13px; border-left: 2px solid var(--line); padding-left: 12px; margin-top: 16px; }
.scope b { color: var(--soft); font-weight: 600; }
.pill { display: inline-block; font-family: var(--mono); font-size: 11.5px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--soft); }
.rhash { font-family: var(--mono); font-size: 12px; color: var(--faint); word-break: break-all; }
.rhash b { color: var(--spore); }
.verdict { font-weight: 700; } .verdict.pass { color: var(--ok); } .verdict.fail { color: var(--bad); }
.out { color: var(--faint); font-style: italic; }
.quote { border-left: 2px solid var(--line); padding: 8px 0 8px 14px; color: var(--soft); font-size: 14px; margin: 10px 0; white-space: pre-wrap; word-break: break-word; }

/* T5 race bars */
.race { display: grid; gap: 10px; margin: 8px 0 6px; }
.race .row { display: grid; grid-template-columns: 78px 1fr 92px; align-items: center; gap: 12px; }
.race .name { font-family: var(--mono); font-size: 13px; color: var(--soft); }
.race .track { height: 22px; background: rgba(255,255,255,0.04); border-radius: 6px; overflow: hidden; position: relative; }
.race .fill { display: block; height: 100%; border-radius: 6px; width: 100%; transition: width 1.1s cubic-bezier(.22,1,.36,1); }
.race .fill.light { background: linear-gradient(90deg, var(--spore), var(--hypha)); }
.race .fill.gzip { background: #44525c; } .race .fill.zstd { background: #5b6b76; } .race .fill.brotli { background: #6f818c; }
.race .val { font-family: var(--mono); font-size: 13px; text-align: right; color: var(--ink); }
.race .val b { color: var(--spore); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.scroll { overflow-x: auto; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--faint); font-weight: 600; font-size: 12px; letter-spacing: .04em; }
td.num, th.num { text-align: right; font-family: var(--mono); }
td .best { color: var(--spore); font-weight: 700; }
.drop { border: 1.5px dashed var(--line); border-radius: var(--r); padding: 22px; text-align: center; color: var(--soft); transition: border-color .2s, background .2s; cursor: pointer; }
.drop.over { border-color: var(--spore); background: rgba(56,255,198,0.06); color: var(--ink); }

/* T4 attack grid + counter */
.attacks { display: flex; flex-wrap: wrap; gap: 8px; }
.attacks button { font: inherit; font-size: 13px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--panel-solid); color: var(--ink); cursor: pointer; transition: border-color .2s, transform .1s; }
.attacks button:hover { border-color: var(--hypha); }
.attacks button:active { transform: scale(.97); }
.counter { display: flex; gap: 26px; margin: 16px 0; }
.counter .n { font-family: var(--mono); font-size: 30px; font-weight: 700; }
.counter .n.bad0 { color: var(--ok); } .counter .n.hot { color: var(--bad); }
.counter .lab { font-size: 12px; color: var(--faint); letter-spacing: .06em; }
.families { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fam { font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--soft); opacity: .4; transition: opacity .3s, color .3s, border-color .3s; }
.fam.lit { opacity: 1; color: var(--spore); border-color: var(--spore-dim); box-shadow: var(--glow-soft); }
.feed { font-family: var(--mono); font-size: 12.5px; max-height: 220px; overflow-y: auto; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.feed .ln { padding: 2px 0; color: var(--soft); }
.feed .ln .stage { color: var(--amber); }
.feed .ln.admit { color: var(--ok); }
.feed .ln.breach { color: var(--bad); font-weight: 700; }

/* T1 seed lamps + T6 mesh */
.lamps { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.lamp { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--soft); padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; }
.lamp .d { width: 10px; height: 10px; border-radius: 50%; background: var(--faint); }
.lamp.ok .d { background: var(--ok); box-shadow: 0 0 9px var(--ok); } .lamp.ok { color: var(--ink); }
.lamp.no .d { background: var(--bad); box-shadow: 0 0 9px var(--bad); } .lamp.no { color: var(--ink); }
.nodes { display: flex; gap: 40px; justify-content: center; padding: 20px; flex-wrap: wrap; }
.node { text-align: center; }
.node .ring { width: 90px; height: 90px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; margin: 0 auto 8px; position: relative; transition: border-color .3s, box-shadow .3s; }
.node.on .ring { border-color: var(--spore); box-shadow: var(--glow); }
.node .ring span { font-family: var(--mono); font-size: 12px; color: var(--soft); }

/* code + lists */
pre { background: var(--panel-solid); border: 1px solid var(--line); border-radius: 12px; padding: 16px; overflow-x: auto; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 0 0 14px 40px; color: var(--soft); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px; width: 26px; height: 26px;
  border-radius: 50%; border: 1px solid var(--spore-dim); color: var(--spore); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; }
.steps li b { color: var(--ink); }
a.link { color: var(--hypha); }
footer { padding: 50px 0 70px; color: var(--faint); font-size: 13px; border-top: 1px solid var(--line); margin-top: 60px; }
footer a { color: var(--soft); }
.cap { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.cap .c { font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); }
.cap .c.yes { color: var(--ok); } .cap .c.no { color: var(--faint); }
.boot { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); z-index: 100; color: var(--soft); }

/* how it works — one organ per panel: plain English, a mechanism diagram, and a line traced from a real run */
.hiw { display: grid; gap: 16px; }
.organ h4 { font-size: 19px; margin: 0; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.organ h4 .tag { font-family: var(--mono); font-size: 11px; color: var(--spore); border: 1px solid var(--spore-dim); border-radius: 999px; padding: 2px 9px; letter-spacing: .04em; }
.organ > p { color: var(--soft); margin: 10px 0; font-size: 15px; max-width: 72ch; }
.organ > p.why { color: var(--faint); font-size: 14px; }
.organ > p b { color: var(--ink); font-weight: 600; }
.trace { font-family: var(--mono); font-size: 12.5px; color: var(--soft); background: rgba(56,255,198,0.05); border: 1px solid var(--line); border-radius: 10px; padding: 9px 13px; margin: 12px 0 0; }
.trace::before { content: "from a real run  "; color: var(--faint); }
.trace b { color: var(--spore); }
.dg { width: 100%; height: auto; display: block; margin: 14px 0 4px; }
.dg text { font-family: var(--mono); font-size: 12px; fill: var(--soft); }
.dg text.t-sm { font-size: 10.5px; fill: var(--faint); }
.dg text.t-on { fill: var(--spore); }
.dg text.t-ink { fill: var(--ink); }
.dg .box { fill: var(--panel-solid); stroke: var(--line); stroke-width: 1.2; }
.dg .box.lit { stroke: var(--spore-dim); }
.dg .box.core { fill: rgba(255,93,115,0.08); stroke: var(--bad); }
.dg .box.grow { fill: rgba(56,255,198,0.08); stroke: var(--spore-dim); }
.dg .seg { fill: var(--panel-solid); stroke: var(--line); stroke-width: 1.1; }
.dg .seg.k { fill: rgba(45,224,255,0.10); stroke: rgba(45,224,255,0.4); }
.dg .seg.s { fill: rgba(56,255,198,0.10); stroke: var(--spore-dim); }
.dg .edge { stroke: var(--faint); stroke-width: 1.5; fill: none; marker-end: url(#aHd); }
.dg .edge.good { stroke: var(--spore); marker-end: url(#aGd); }
.dg .edge.bad { stroke: var(--bad); stroke-dasharray: 4 3; marker-end: url(#aBd); }
.dgdefs { position: absolute; width: 0; height: 0; }
#aHd path { fill: var(--faint); } #aGd path { fill: var(--spore); } #aBd path { fill: var(--bad); }

/* one-line idea strip */
.oneliner { position: relative; z-index: 2; text-align: center; padding: 30px 24px; margin: 6px auto 0; max-width: 860px; font-size: clamp(18px, 2.6vw, 24px); color: var(--soft); line-height: 1.4; }
.oneliner b { color: var(--ink); } .oneliner .brk { color: var(--spore); }

/* section intro label (scoreboard + each block) */
.sectlabel { color: var(--soft); font-size: 15.5px; margin: 0 0 20px; max-width: 66ch; }
.sectlabel b { color: var(--ink); font-weight: 650; }

/* proven / in-build status tags on a section heading */
h3 .tag, h4 .tag { font-family: var(--mono); font-size: 11px; border-radius: 999px; padding: 3px 10px; letter-spacing: .04em; vertical-align: middle; margin-left: 10px; white-space: nowrap; }
.tag.proven { color: var(--spore); border: 1px solid var(--spore-dim); }
.tag.build { color: var(--amber); border: 1px solid var(--amber); }
.prove-line { font-size: 13.5px; color: var(--soft); margin: 14px 0 0; }
.prove-line .p { color: var(--spore); font-weight: 600; } .prove-line .d { color: var(--amber); font-weight: 600; }
.wave2 .panel { border-style: dashed; }
.inbuild { font-family: var(--mono); font-size: 12px; color: var(--amber); margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.btn.wait { opacity: .5; cursor: not-allowed; border-style: dashed; }
.btn.wait:hover { transform: none; }

/* FAQ + business */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 2px 18px; margin-bottom: 10px; background: var(--panel); backdrop-filter: blur(10px); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 650; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--spore); font-family: var(--mono); }
.faq details[open] summary::before { content: "− "; }
.faq details p { color: var(--soft); margin: 0 0 14px; font-size: 14.5px; }
.biz { text-align: center; }
.biz .steps { max-width: 560px; margin: 0 auto 20px; text-align: left; }

/* T11 · the guarantee, run for real */
.t11bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.runs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .runs { grid-template-columns: 1fr; } }
.run { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: rgba(255, 255, 255, 0.02); min-width: 0; }
.run.due { border-color: var(--spore-dim); box-shadow: var(--glow); }
.runtop { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.charge { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--soft); white-space: nowrap; }
.charge.due { color: var(--spore); border-color: var(--spore-dim); }
.charge.waived { color: var(--amber); border-color: var(--amber); }
.run .meta { font-size: 13px; color: var(--soft); margin: 6px 0; }
.run .nums { font-family: var(--mono); font-size: 14px; margin: 10px 0 6px; color: var(--soft); }
.run .nums b { color: var(--ink); }
.run .stats { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin: 12px 0 8px; }
.run .stat { display: grid; gap: 1px; }
.run .stat small { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.run .stat b { font-family: var(--mono); font-size: 21px; color: var(--ink); line-height: 1.1; }
.run .arrow { color: var(--faint); padding-bottom: 2px; }
.run .imp { font-family: var(--mono); font-size: 13px; color: var(--soft); padding-bottom: 3px; }
.run.due .imp { color: var(--spore); font-weight: 700; }
.run.due .stat.grown b { color: var(--spore); }
.run .why { font-size: 13.5px; color: var(--ink); margin: 8px 0 10px; }
.run .rhash { margin: 4px 0 0; }
.run .rhash a.link, .bizproof a.link { color: var(--hypha); }
#t11race .row { grid-template-columns: 96px 1fr 70px; }
.race .fill.base { background: #5b6b76; }
.race .fill.grown { background: linear-gradient(90deg, var(--spore), var(--hypha)); }
td.mono { font-family: var(--mono); font-size: 12.5px; color: var(--soft); }
details.reply { margin-top: 14px; }
details.reply summary { cursor: pointer; color: var(--hypha); font-size: 14px; }
details.reply pre { max-height: 280px; overflow: auto; margin: 10px 0 0; white-space: pre-wrap; }
.warnline { font-size: 13px; color: var(--amber); margin: 14px 0 0; border-left: 2px solid var(--amber); padding-left: 12px; }
.t11out { margin-top: 14px; display: grid; gap: 6px; font-size: 14px; color: var(--soft); }
.t11out p { margin: 0; } .t11out b { color: var(--ink); }
.t11out .bad { color: var(--bad); } .t11out .good { color: var(--ok); }
.t11out .out { font-size: 13px; }
.hiwsteps { margin-top: 18px; }
.bizproof { font-size: 14px; color: var(--soft); max-width: 560px; margin: 0 auto 18px; }

/* For business · the brochure */
.costin { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 16px; margin-bottom: 16px; }
.costin label { display: grid; gap: 6px; font-size: 13px; color: var(--soft); align-content: start; }
.costin input { font: inherit; font-family: var(--mono); font-size: 15px; color: var(--ink); background: var(--panel-solid); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; width: 100%; }
.costin input:focus { outline: 2px solid var(--spore-dim); outline-offset: 1px; }
.costin small { font-size: 11.5px; color: var(--faint); }
.costhead { font-size: 17px; color: var(--ink); margin: 4px 0 14px; }
.costhead .win { color: var(--spore); }
td.wrap { white-space: normal; min-width: 240px; color: var(--soft); }
tr.ownrow td { background: rgba(56, 255, 198, 0.06); }
tr.ownrow td b, tr.ownrow td.num { color: var(--spore); }
ul.srcs { margin: 10px 0 0; padding-left: 18px; font-size: 13px; color: var(--soft); display: grid; gap: 4px; }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .roles { grid-template-columns: 1fr; } }
.roles .panel + .panel { margin-top: 0; }
.role b { color: var(--spore); font-size: 15px; }
.role p { margin: 8px 0 0; font-size: 14px; color: var(--soft); }
ul.facts { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 10px; font-size: 14px; color: var(--soft); }
ul.facts b { color: var(--ink); }
dl.risks { margin: 10px 0 0; display: grid; gap: 4px; }
dl.risks dt { color: var(--ink); font-weight: 650; margin-top: 10px; }
dl.risks dd { margin: 0; color: var(--soft); font-size: 14px; }
.boardcase p { font-size: 16px; color: var(--ink); margin: 10px 0 0; max-width: 72ch; }
.boardcase { border-color: var(--spore-dim); }
#business .grid2 .panel + .panel { margin-top: 0; }
/* the cost table on a phone: each route a card — name and both figures first, what happens underneath */
@media (max-width: 600px) {
  #c-table thead { display: none; }
  #c-table, #c-table tbody { display: block; }
  #c-table tr { display: grid; grid-template-columns: 1fr auto auto; gap: 4px 14px; align-items: end; padding: 12px 8px; border-bottom: 1px solid var(--line); }
  #c-table td { display: block; border: none; padding: 0; white-space: normal; }
  #c-table td:nth-child(1) { grid-column: 1; grid-row: 1; }
  #c-table td:nth-child(3) { grid-column: 2; grid-row: 1; }
  #c-table td:nth-child(4) { grid-column: 3; grid-row: 1; }
  #c-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; min-width: 0; font-size: 13px; text-align: left; }
  #c-table tr.ownrow { background: rgba(56, 255, 198, 0.06); border-radius: 10px; }
  #c-table tr.ownrow td { background: none; }
  #c-table td.num::before { content: attr(data-label); display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
}

/* start here · blueprint · white paper · adoption — the page explains itself, in the same look */
.hero .sub b { color: var(--soft); font-weight: 650; }
.dg.bp { max-width: 640px; margin: 6px auto 0; }
.dg.bp text { font-size: 13px; }
.dg.bp text.t-sm { font-size: 11px; }
.organs .role .file { display: block; font-family: var(--mono); font-size: 12px; color: var(--hypha); margin: 4px 0 0; word-break: break-all; text-decoration: none; }
.organs .role .file:hover { text-decoration: underline; }
.organs .role p.gate { font-family: var(--mono); font-size: 12px; color: var(--faint); border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 10px; }
.organs .role p.gate b { color: var(--spore); font-weight: 650; }
.organs .role p.gate.plain b { color: var(--soft); }
#bp-vendor td.wrap { min-width: 220px; }
/* on a phone the blueprint keeps a readable size and scrolls sideways inside its panel, like the tables */
@media (max-width: 600px) { .bpwrap .dg.bp { min-width: 520px; } .bpwrap { padding-bottom: 6px; } }
#bp-baseline { margin-top: 10px; }
.paper h4 { font-size: 17px; margin: 22px 0 8px; color: var(--ink); font-weight: 700; }
.paper h4:first-child { margin-top: 0; }
.paper > p { color: var(--soft); margin: 0 0 10px; font-size: 15px; max-width: 72ch; }
.paper .steps li { font-size: 15px; }
.faq code, .paper code { font-family: var(--mono); font-size: 0.92em; color: var(--spore); }
/* the vendored-pins table on a phone: each file a card — path, what it is, then where from and its pin */
@media (max-width: 600px) {
  #bp-vendor thead { display: none; }
  #bp-vendor, #bp-vendor tbody, #bp-vendor tr, #bp-vendor td { display: block; }
  #bp-vendor tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  #bp-vendor td { border: none; padding: 2px 0; white-space: normal; text-align: left; min-width: 0; word-break: break-all; }
  #bp-vendor td.wrap { word-break: normal; font-size: 13px; }
  #bp-vendor td:nth-child(3), #bp-vendor td:nth-child(4) { display: inline-block; margin-right: 12px; font-size: 12px; }
}
/* the sample picker never pushes the page sideways on a narrow phone: it shrinks to its row and truncates long names */
#t5pick { max-width: 100%; min-width: 0; text-overflow: ellipsis; }
