@font-face { font-family: "Brygada 1918"; font-style: normal; font-weight: 500; font-display: swap; src: url("/projects/terrarium/fonts/brygada-1918-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/projects/terrarium/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("/projects/terrarium/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fragment Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/projects/terrarium/fonts/fragment-mono-latin-400-normal.woff2") format("woff2"); }

::selection { background: #bfe0a8; color: #10240f; }

:root {
  --paper: #fbfbfa;
  --ink: #141414;
  --ink2: #33382f;
  --mute: #767a72;
  --hair: #dfe5dc;
  --moss: #234a2e;
  --moss2: #2f5d3a;
  --leaf: #4f8a3a;
  --leaf-lt: #a8cf7a;
  --glass: #e6f1ed;
  --glass-line: #7fa99f;
  --soil: #5a3d29;
  --rose: #b8324f;
  --rose-lt: #f6e1e6;
  --amber: #c07f0c;
  --night: #0f2017;
  --night2: #16301f;
  --serif: "Brygada 1918", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--moss2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 3px; }
code { font: 400 .86em/1.4 var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
h1, h2 { font-family: var(--serif); font-weight: 500; color: var(--moss); }
h2 { font-size: clamp(32px, 3.1vw, 44px); line-height: 1.06; letter-spacing: -.012em; margin: 0 0 22px; text-wrap: balance; }
h3 { font: 600 19px/1.3 var(--sans); color: var(--moss); margin: 34px 0 10px; text-wrap: balance; }
p { margin: 0 0 16px; }

.back, .gh {
  position: fixed;
  top: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.back { left: 20px; padding: 7px 12px 7px 10px; font: 600 14px/1 var(--sans); }
.gh { right: 20px; padding: 7px; }
.back:hover, .gh:hover { color: var(--moss2); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px 13px 18px;
  border-radius: 999px;
  background: var(--moss);
  color: #fff;
  font: 600 17px/1 var(--sans);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 6px 18px -8px rgba(35, 74, 46, .7);
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--moss2); transform: translateY(-1px); }
.btn.light { background: #e9f4dd; color: var(--moss); box-shadow: none; }
.btn.light:hover { background: #fff; }

.garden { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-garden { overflow: hidden; }
.hero-text {
  --h: clamp(68px, 10.5vw, 156px);
  position: relative;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px var(--pad) 100px;
}
.hero h1 {
  font-size: var(--h);
  line-height: .92;
  letter-spacing: -.025em;
  margin: 0 0 calc(var(--h) * .2) calc(var(--h) * -.1745);
}
.lede {
  max-width: calc(var(--h) * 4.44);
  font-size: clamp(20px, calc(var(--h) * .163), 25.5px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 36px;
}
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.get p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink2); }
.get p span { display: block; }
.hero-text > * { animation: rise .9s both cubic-bezier(.2, .7, .2, 1); }
.hero-text > :nth-child(1) { animation-delay: .35s; }
.hero-text > :nth-child(2) { animation-delay: .55s; }
.hero-text > :nth-child(3) { animation-delay: .75s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.sec { position: relative; padding: clamp(96px, 13vh, 150px) 0 0; }
.sec > .wrap { position: relative; }
.sec-garden { left: 0; width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--pad); }
.split { display: grid; grid-template-columns: minmax(300px, 390px) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.split.rev { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); }
.split.rev > .copy { order: 2; }
.copy p { color: var(--ink2); max-width: 46ch; }
.copy.narrow { max-width: 760px; }
.copy.narrow p { max-width: 64ch; }

.copy p b { color: var(--ink); font-weight: 600; }

.case { margin: 0; }
.stage, .scene { position: relative; }
.stage { container-type: inline-size; }
.hl { margin: 0; }
.case-svg { display: block; width: 100%; height: auto; overflow: visible; }
.pane-fill { fill: url(#glass-fill); }
.depth { fill: #edf5f2; stroke: var(--glass-line); stroke-width: 1.2; stroke-opacity: .55; stroke-linejoin: round; }
.pane { fill: none; stroke: var(--glass-line); stroke-width: 2; transition: stroke-dasharray .3s; }
.case[data-kind="sim"] .pane { stroke-dasharray: 10 7; }
.glint { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .9; }
.soil { fill: url(#soil-fill); }
.pebbles ellipse { fill: #8a7563; }
.moss { fill: url(#moss-fill); }
.base { fill: #c9d8d2; stroke: var(--glass-line); stroke-width: 1.5; }
.wall { fill: none; stroke: transparent; stroke-width: 4; }
.lid { transform-box: view-box; transform-origin: 360px 131px; transition: transform .8s cubic-bezier(.3, .9, .25, 1.15); }
.lid-body { fill: #3d5a4a; }
.knob { fill: #2c4537; }
.vents rect { fill: var(--glass); opacity: 0; transition: opacity .4s; }
.case[data-net="reg"] .lid { transform: translateY(-14px); }
.case[data-net="reg"] .vents rect { opacity: 1; }
.case[data-net="web"] .lid { transform: translate(-8px, -40px) rotate(-3deg); }
.lid-in.bump { animation: bump .34s cubic-bezier(.3, .7, .3, 1); }
@keyframes bump { 30% { transform: translateY(-3px); } }
.host circle { fill: #fff; stroke: var(--glass-line); stroke-width: 2; transition: fill .3s, stroke .3s; }
.host path { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .3s; }
.host .m-ok { stroke: #fff; }
.host .m-no { stroke: var(--rose); }
.host.aim circle { stroke: var(--moss2); }
.host.ok circle { fill: #3f8a35; stroke: #3f8a35; }
.host.ok .m-ok, .host.no .m-no { opacity: 1; }
.host.no circle { fill: var(--rose-lt); stroke: var(--rose); }
.fx .aim { fill: none; stroke: #86a89d; stroke-width: 1.6; stroke-dasharray: 1 6; stroke-linecap: round; }
.fx .trail { fill: none; stroke: var(--moss2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fx .trail.ok { stroke: #3f8a35; }
.fx .trail.no { stroke: var(--rose); }
.fx .dot { fill: var(--moss2); stroke: #fff; stroke-width: 1.5; }
.fx .ring { fill: none; stroke: #3f8a35; stroke-width: 2; }
.fx .bar { fill: none; stroke: var(--rose); stroke-width: 5; stroke-linecap: round; }
.fx .stop circle { fill: var(--rose); stroke: #fff; stroke-width: 1.5; }
.fx .stop path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.tag, .origin { position: absolute; margin: 0; pointer-events: none; white-space: nowrap; }
.tag {
  padding: 4px 9px 5px;
  border-radius: 7px;
  background: var(--rose);
  color: #fff;
  font: 400 13px/1.2 var(--sans);
  box-shadow: 0 4px 12px -6px rgba(110, 26, 44, .7);
  opacity: 0;
}
.tag b { font-weight: 600; margin-right: 3px; }
.tag[data-at="top"] { transform: translate(-50%, -100%); }
.tag[data-at="left"] { transform: translate(-100%, -100%); }
.tag[data-at="right"] { transform: translate(0, -100%); }
.origin { left: 50%; top: 63.6%; transform: translate(-50%, -50%); padding: 3px 8px; border-radius: 6px; background: #fff; border: 1px solid #cfe1da; color: var(--ink); font-size: 12.5px; line-height: 1.3; }

.hl { position: absolute; transform: translate(-50%, 0); text-align: center; line-height: 1.2; white-space: nowrap; pointer-events: none; }
.hl b { display: block; font: 600 12.5px/1.3 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.hl span { font-size: 13px; color: var(--ink2); }
.hl b i { display: none; }
.h-reg { left: 10.8%; top: 9.8%; }
.h-web { left: 89.2%; top: 9.8%; }
.h-lan { left: 6.1%; top: 66.4%; }
.h-meta { left: 93.9%; top: 66.4%; }

.term {
  position: absolute;
  left: 22%;
  right: 26%;
  top: 30.4%;
  bottom: 19.2%;
  overflow: hidden;
  font-size: 12px;
  font-size: clamp(10px, 2cqw, 12px);
}
.lines { list-style: none; margin: 0; padding: 0; font: 400 1em/1.45 var(--mono); color: var(--ink); }
.lines li { margin: 0 0 2px; overflow-wrap: anywhere; }
.lines .task { font: 600 1.15em/1.4 var(--sans); color: var(--moss); margin-bottom: 6px; }
.lines .cmd::before { content: "$ "; color: var(--leaf); }
.lines .out { color: var(--ink2); }
.lines .out.no { color: var(--rose); }
.lines .out.ok { color: #2e7031; }
.lines .sum { font: 600 1.08em/1.4 var(--sans); color: var(--ink); margin: 6px 0 0; }
.lines .sum .no { color: var(--rose); }
.lines .caret { display: inline-block; width: .55em; height: 1.1em; vertical-align: -2px; background: var(--moss2); margin-left: 1px; }

.ctl { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 18px 0 16px; }
.seg { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; background: #edf1ec; }
.seg-l { font-size: 14px; color: var(--ink2); padding: 0 10px 0 9px; }
.seg button {
  font: 400 15px/1 var(--sans);
  color: var(--ink2);
  background: transparent;
  border: 0;
  border-radius: 7px;
  padding: 9px 12px;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { background: #fff; color: var(--moss); font-weight: 600; box-shadow: 0 1px 2px rgba(20, 40, 25, .14), 0 0 0 1px rgba(20, 40, 25, .06); }

.netlog { list-style: none; padding: 0; margin: 0 0 14px; font-size: 15px; min-height: calc(4 * 37px); }
.netlog li { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--hair); animation: logIn .35s both; }
.netlog li:last-child { border-bottom: 1px solid var(--hair); }
.netlog .st { font-weight: 600; font-size: 14px; }
.netlog .no .st { color: var(--rose); }
.netlog .ok .st { color: #2e7031; }
.netlog code { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.netlog .why { color: var(--ink2); font-size: 14px; white-space: nowrap; }
@keyframes logIn { from { opacity: 0; transform: translateX(-6px); } }
.case figcaption { font-size: 15px; color: var(--ink2); max-width: 60ch; }

#runs { background: #edf4ef; padding-bottom: clamp(80px, 11vh, 120px); margin-top: clamp(96px, 13vh, 150px); }
.run {
  margin-top: 40px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dbe4dc;
  box-shadow: 0 30px 60px -40px rgba(30, 60, 40, .35);
  overflow: hidden;
}
.run-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 18px 22px; border-bottom: 1px solid #e7ece6; }
.run-title { margin: 0; font-weight: 600; font-size: 19px; color: var(--ink); }
.run-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.chip { font-size: 13.5px; padding: 4px 10px; border-radius: 999px; background: #eef3ec; color: var(--ink); border: 1px solid #dfe8dc; }
.chip.dashed { border-style: dashed; border-color: var(--glass-line); background: var(--glass); }
.chip.off { background: var(--rose-lt); border-color: #efc9d2; color: #7d1f34; }
.replay { display: inline-flex; align-items: center; gap: 7px; font: 600 14px/1 var(--sans); color: var(--moss); background: #eef3ec; border: 0; border-radius: 999px; padding: 8px 13px; cursor: pointer; }
.replay:hover { background: #e2ecdf; }

.tl { display: grid; grid-template-columns: 82px minmax(0, 1fr); padding: 16px 22px 10px; border-bottom: 1px solid #e7ece6; background: #fbfcfa; }
.tl-lanes { display: grid; grid-template-rows: repeat(4, 26px); font-size: 13.5px; color: var(--ink2); align-items: center; }
.tl-plot { position: relative; height: calc(4 * 26px + 24px); }
.tl-grid { position: absolute; inset: 0 0 24px 0; }
.tl-grid i { position: absolute; top: 0; bottom: -4px; width: 1px; background: #e7ece6; }
.tl-grid i span { font-style: normal; white-space: nowrap; position: absolute; top: 100%; left: 0; transform: translate(-50%, 6px); font-size: 12px; color: var(--ink2); }
.tl-marks { position: absolute; inset: 0 0 24px 0; }
.tl-head { position: absolute; top: -6px; bottom: 18px; width: 2px; margin-left: -1px; background: var(--moss); border-radius: 2px; left: 0; pointer-events: none; }
.tl-head::before { content: ""; position: absolute; top: -2px; left: -4px; border: 5px solid transparent; border-top-color: var(--moss); }
.mk {
  position: absolute;
  border: 0;
  padding: 0;
  cursor: pointer;
  opacity: .22;
  transition: opacity .25s, transform .2s, box-shadow .2s;
  font: 600 12px/1 var(--sans);
}
.mk.on { opacity: 1; }
.mk.sel { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--moss); }
.mk.turn { height: 18px; border-radius: 4px; background: #3d7a35; color: #fff; text-align: left; padding: 0 7px; white-space: nowrap; overflow: hidden; }
.mk.tool { width: 6px; height: 18px; border-radius: 3px; background: var(--moss2); margin-left: -3px; }
.mk.tool.bad { background: var(--rose); }
.mk.file { width: 6px; height: 18px; border-radius: 3px; background: var(--amber); margin-left: -3px; }
.mk.net { width: 18px; height: 18px; margin-left: -9px; background: transparent; color: var(--rose); }
.mk.net svg { display: block; }
.mk:hover { transform: translateY(-1px); }

.run-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 430px; }
.tx { list-style: none; margin: 0; padding: 10px 0; border-right: 1px solid #e7ece6; max-height: 480px; overflow: auto; }
.tx li { display: none; }
.tx li.on { display: block; animation: logIn .35s both; }
.tx button {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 9px 22px;
  cursor: pointer;
  line-height: 1.45;
}
.tx button:hover { background: #f5f8f3; }
.tx li.sel button { background: #eef4ea; }
.tx .k { font-size: 13px; font-weight: 600; color: var(--moss2); padding-top: 2px; }
.tx .bad .k, .tx .k.bad { color: var(--rose); }
.tx .v { min-width: 0; }
.tx .v code { font-size: 13.5px; color: var(--ink); overflow-wrap: anywhere; }
.tx .v small { display: block; font-size: 13.5px; color: var(--ink2); }
.side { display: flex; flex-direction: column; background: #fbfcfa; }
.detail { flex: 1; padding: 20px 22px; min-height: 260px; }
.detail h4 { margin: 0 0 12px; font: 600 16px/1.3 var(--sans); color: var(--ink); }
.detail h4 .no { color: var(--rose); }
.detail dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 0 0 14px; font-size: 15px; }
.detail dt { color: var(--ink2); }
.detail dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.detail pre { margin: 0 0 12px; padding: 12px 14px; border-radius: 8px; background: #f0f4ee; font: 400 13px/1.55 var(--mono); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.detail pre.no { background: var(--rose-lt); color: #6e1a2c; }
.detail pre .add { display: block; background: #dcefd2; color: #1d4a22; margin: 0 -14px; padding: 0 14px; }
.detail p { font-size: 15.5px; color: var(--ink); margin: 0 0 10px; }
.detail .say { font-size: 16px; }
.detail table { border-collapse: collapse; font-size: 14.5px; margin: 4px 0 12px; font-variant-numeric: tabular-nums; }
.detail th, .detail td { text-align: left; padding: 3px 18px 3px 0; border-bottom: 1px solid #e3e9e1; }
.detail th { font-weight: 600; }
.detail .empty { color: var(--ink2); }
.files { padding: 14px 22px 18px; border-top: 1px solid #e7ece6; }
.files-h { margin: 0 0 6px; font-size: 13.5px; color: var(--ink2); }
.files ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.75; font-variant-numeric: tabular-nums; }
.files li { display: flex; justify-content: space-between; gap: 12px; }
.files li span:last-child { color: var(--ink2); }
.files li.new { opacity: .25; transition: opacity .4s, color .4s; }
.files li.new.on { opacity: 1; color: #2e7031; }
.files li.new.on span:first-child::after { content: "added"; font: 600 11.5px/1 var(--sans); background: #dcefd2; color: #1d4a22; padding: 2px 6px; border-radius: 4px; margin-left: 8px; vertical-align: 1px; }

.run-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 30px; padding: 16px 22px 18px; border-top: 1px solid #e7ece6; }
.tally { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; font-weight: 600; color: var(--ink); opacity: 0; transition: opacity .5s; }
.tally.on { opacity: 1; }
.tally .bad { color: var(--rose); }
.ctx { min-width: min(100%, 380px); }
.ctx-bar { display: flex; height: 8px; border-radius: 4px; background: #e9eee7; overflow: hidden; margin-bottom: 7px; }
.ctx-bar i { display: block; height: 100%; }
.ctx i.c-sys { background: var(--moss2); }
.ctx-bar i.c-sys { width: 3.34%; }
.ctx i.c-his { background: #6fae5e; }
.ctx-bar i.c-his { width: 4.01%; }
.ctx i.c-out { background: repeating-linear-gradient(135deg, #b9d6cd 0 3px, #dbe9e4 3px 6px); }
.ctx-bar i.c-out { width: 25%; }
.ctx p { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; color: var(--ink2); }
.ctx p span { white-space: nowrap; }
.ctx p i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.ctx .ctx-sum { color: var(--ink); font-weight: 600; margin-left: auto; }

.board { margin: 0; container-type: inline-size; }
.board-grid { display: grid; grid-template-columns: minmax(110px, auto) repeat(3, minmax(0, 1fr)); border-radius: 14px; background: #fff; border: 1px solid #dbe4dc; overflow: hidden; }
.board-grid [role="row"] { display: contents; }
.board-grid .ch, .board-grid .rh, .board-grid .cell { padding: 14px 12px; border-top: 1px solid #e9eee7; }
.board-grid .ch { border-top: 0; background: #f4f8f2; font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.25; }
.board-grid .ch small { display: block; font-weight: 400; color: var(--ink2); font-size: 13px; margin-top: 2px; }
.board-grid .rh { font-weight: 600; font-size: 15px; color: var(--ink); display: flex; align-items: center; }
.cell { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.cell .score { font: 600 15px/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.cell .score.none { font-weight: 400; color: #686c64; }
.dots { display: flex; flex-wrap: wrap; gap: 3px; }
@container (max-width: 600px) { .dots { max-width: 67px; } }
.dots i, .dots button { width: 11px; height: 11px; border-radius: 50%; background: #e7ebe5; border: 0; padding: 0; transform: scale(.7); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .2s; }
.dots .pass { background: #4e9a43; }
.dots .fail { background: var(--rose); }
.dots .err { background: var(--amber); }
.dots .pass, .dots .fail, .dots .err { transform: scale(1); }
.dots .run { background: transparent; box-shadow: inset 0 0 0 2px var(--leaf); transform: scale(1); animation: spin 1s linear infinite; }
.dots button { cursor: pointer; position: relative; }
.dots button::after { content: ""; position: absolute; inset: -8px -1.5px; }
.dots button.sel { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--moss); }
@keyframes spin { 50% { transform: scale(.6); } }
.board-note { min-height: 3.2em; margin: 14px 0 6px; font-size: 15.5px; color: var(--ink); }
.board-note b { font-weight: 600; }
.board-note .no { color: var(--rose); }
.board-note .ok { color: #2e7031; }
.board figcaption { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink2); align-items: center; }
.lg i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #e7ebe5; margin-right: 6px; vertical-align: -1px; }
.lg i.pass { background: #4e9a43; }
.lg i.fail { background: var(--rose); }
.lg i.err { background: var(--amber); }
.board .hint { margin-left: auto; }

.suites { list-style: none; padding: 0; margin: 18px 0 0; }
.suites li { padding: 10px 0 10px 22px; position: relative; color: var(--ink2); font-size: 16.5px; line-height: 1.45; border-top: 1px solid var(--hair); }
.suites li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf-lt); box-shadow: inset 0 0 0 2px var(--leaf); }
.suites b { color: var(--ink); font-weight: 600; }

.models { margin: 0; }
.models table { width: 100%; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.models caption { text-align: left; font-weight: 600; color: var(--moss); font-size: 17px; padding-bottom: 10px; }
.models th, .models td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--hair); }
.models thead th { font-weight: 400; font-size: 14px; color: var(--ink2); border-bottom-color: #c9d4c6; }
.models tbody th { font-weight: 600; color: var(--ink); }
.models td { color: var(--ink2); white-space: nowrap; }
.models td:last-child { color: var(--ink); min-width: 150px; }
.sz { display: inline-block; height: 8px; width: calc(var(--s) * 70px); min-width: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--leaf), #8fc06a); margin-right: 10px; vertical-align: 0; }
.sz[data-s=".128"] { --s: .128; }
.sz[data-s=".198"] { --s: .198; }
.sz[data-s=".337"] { --s: .337; }
.sz[data-s=".407"] { --s: .407; }
.sz[data-s=".698"] { --s: .698; }
.sz[data-s=".779"] { --s: .779; }
.sz[data-s="1"] { --s: 1; }
.built b { color: var(--ink); font-weight: 600; margin-right: 4px; }

.lab {
  position: relative;
  margin-top: clamp(110px, 15vh, 170px);
  background: radial-gradient(120% 90% at 70% 40%, #183424 0%, var(--night) 70%);
  color: #eef4ea;
  overflow: hidden;
  min-height: 100vh;
}
.lab .field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lab-garden { overflow: hidden; }
.lab-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 40px clamp(40px, 6vw, 110px);
  padding-top: clamp(100px, 14vh, 150px);
  padding-bottom: clamp(100px, 14vh, 150px);
}
.lab h2 { color: #eaf5df; }
.lab-copy p { color: #d3dfcf; max-width: 40ch; }
.lab-copy { grid-column: 1; grid-row: 1; }
.lab-tools { grid-column: 1; grid-row: 2; align-self: end; }
.lab-tools h3 { color: #cfe8b8; margin-top: 0; }
.lab-tools ul { list-style: none; margin: 0; padding: 0; }
.lab-tools li { padding: 8px 0; border-top: 1px solid rgba(207, 232, 184, .18); color: #dfe8da; font-size: 16px; line-height: 1.45; }
.probe { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; width: min(100%, 560px); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pick button, .qs button {
  font: 400 15.5px/1 var(--sans);
  color: #c4d3c0;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(207, 232, 184, .22);
  border-radius: 999px;
  padding: 9px 15px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.pick button:hover, .qs button:hover { color: #fff; border-color: rgba(207, 232, 184, .5); }
.pick button[aria-checked="true"], .qs button[aria-checked="true"] { background: #cfe8b8; border-color: #cfe8b8; color: var(--night); font-weight: 600; }
.pick button, .qs button { display: inline-grid; justify-items: center; }
.pick button::after, .qs button::after { content: attr(data-t); font-weight: 600; height: 0; overflow: hidden; visibility: hidden; }
.ask { display: flex; flex-direction: column; justify-content: flex-start; margin-bottom: 12px; }
.ask .qs { margin-bottom: 0; }
.ask .q { margin: 0; }
.lab :focus-visible { outline-color: #cfe8b8; }
.dose-row { display: grid; gap: 10px; margin-bottom: 26px; }
.nid { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.recipe { font-size: 17px; color: #f0d36b; }
.nid-t { font-size: 15px; color: #d3dfcf; }
.nid-t b { color: #fff; font-weight: 600; }
.dose { display: grid; grid-template-columns: 58px 1fr; grid-template-rows: auto auto; gap: 6px 14px; align-items: center; }
.dose-v { grid-row: 1; font: 400 18px/1 var(--mono); color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.dose input { grid-row: 1; grid-column: 2; }
.ends { grid-column: 2; display: flex; justify-content: space-between; font-size: 13.5px; color: #b7c7b3; }
.ends .on { color: #fff; font-weight: 600; }
.dose input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  background: transparent;
  cursor: pointer;
  --p: 100%;
}
.dose input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #a8cf7a var(--p), rgba(255, 255, 255, .14) var(--p)); }
.dose input::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.dose input::-moz-range-progress { height: 6px; border-radius: 3px; background: #a8cf7a; }
.dose input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 3px solid #a8cf7a; box-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.dose input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid #a8cf7a; }
.qs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.q[hidden] { display: none; }
.qs[hidden] { display: none; }
.q { font-size: 15.5px; color: #c4d3c0; margin: 0 0 6px; }
.reply {
  font: 500 clamp(28px, 2.9vw, 42px)/1.16 var(--serif);
  color: #fff;
  margin: 0 0 22px;
  min-height: 2.4em;
  letter-spacing: -.005em;
  text-wrap: pretty;
}
.reply .x { color: #8fb886; }
.unsteered { display: grid; grid-template-columns: 92px 1fr; gap: 12px; font-size: 15.5px; color: #dfe8da; padding: 12px 0; border-top: 1px solid rgba(207, 232, 184, .18); border-bottom: 1px solid rgba(207, 232, 184, .18); margin-bottom: 14px; }
.unsteered span:first-child { color: #b7c7b3; }
.fine { font-size: 14px; color: #c0cebc; line-height: 1.5; margin: 0; }
.fine code { color: #f0d36b; }

.foot { background: linear-gradient(#3d2a1d, #2c1f16); color: #f2ebe2; padding: 46px 0 52px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.foot-l { margin: 0; display: flex; align-items: center; gap: 14px; font: 500 24px/1.2 var(--serif); color: #fff; flex: 1 1 auto; }
.foot-l img { border-radius: 10px; }
.foot-src { flex-basis: 100%; margin: 0; font-size: 15.5px; color: #e6dccf; }
.foot-src a { color: #fff; }
.foot-src code { background: rgba(255, 255, 255, .1); padding: 2px 7px; border-radius: 5px; color: #fff; }

@media (max-width: 980px) {
  .split, .split.rev { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .term { right: 25%; }
  .split.rev > .copy { order: 0; }
  .copy p, .copy.narrow p { max-width: 62ch; }
  .lab-in { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .lab-copy, .lab-tools, .probe { grid-column: 1; grid-row: auto; justify-self: stretch; width: auto; }
  .probe { margin: 90px 0 20px; }
}
@media (min-width: 981px) and (max-width: 1120px) {
  .split:not(.rev) { grid-template-columns: minmax(280px, 330px) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .back { top: 12px; left: 10px; }
  .gh { top: 12px; right: 10px; }
  .hero-text { padding: 110px var(--pad) 150px; }
  .hero-text { --h: min(calc((100vw - 2 * var(--pad) - 6px) / 4.44), 84px); padding-left: calc(var(--pad) + 6px); }
  .hero h1 { margin-bottom: 24px; }
  .run { margin-left: calc(-1 * var(--pad) + 8px); margin-right: calc(-1 * var(--pad) + 8px); border-radius: 12px; }
  .run-head, .tl, .run-foot { padding-left: 14px; padding-right: 14px; }
  .tl { grid-template-columns: 58px minmax(0, 1fr); }
  .tl-lanes { font-size: 12px; }
  .mk.turn { font-size: 0; }
  .run-body { grid-template-columns: minmax(0, 1fr); }
  .tx { border-right: 0; border-bottom: 1px solid #e7ece6; height: 320px; max-height: none; }
  .tx button { padding: 8px 14px; grid-template-columns: 56px minmax(0, 1fr); font-size: 14.5px; }
  .detail, .files { padding-left: 14px; padding-right: 14px; }
  .ctx .ctx-sum { margin-left: 0; }
  .board-grid { grid-template-columns: minmax(84px, auto) repeat(3, minmax(0, 1fr)); }
  .board-grid .ch, .board-grid .rh, .board-grid .cell { padding: 10px 8px; }
  .board-grid .rh { font-size: 13.5px; }
  .board-grid .ch { font-size: 12.5px; }
  .board-grid .ch small { font-size: 11.5px; }
  .dots { gap: 3px; }
  .dots i, .dots button { width: 9px; height: 9px; }
  .board .hint { margin-left: 0; }
  .hl b { font-size: 11px; line-height: 1.25; }
  .hl b i { display: block; }
  .hl span { display: none; }
  .case[data-net="web"] .lid { transform: translate(-8px, -34px) rotate(-2.2deg); }
  .term { position: static; height: 224px; margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--glass); border: 1px solid #cfe1da; }
  .term { font-size: 11px; }
  .run-meta { flex-basis: 100%; order: 3; }
  .chip { white-space: nowrap; }
  .replay { margin-left: auto; }
  .netlog li { grid-template-columns: 62px minmax(0, 1fr); gap: 0 12px; }
  .netlog .why { grid-column: 2; white-space: normal; }
  .seg button { padding: 9px 9px; font-size: 14px; }
  .seg-l { display: none; }
  .models td:nth-child(3), .models thead th:nth-child(3) { display: none; }
  .models td:last-child { min-width: 0; }
  .sz { display: none; }
  .unsteered { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

@media (max-width: 380px) {
  .dots { gap: 2.5px; max-width: 51px; }
  .dots i, .dots button { width: 8px; height: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-text > * { animation: none; }
  .lid, .vents rect, .pane, .seg button, .mk, .tally, .files li.new, .btn { transition: none; }
  .netlog li, .tx li.on { animation: none; }
  .dots .run { animation: none; }
  .lid-in.bump { animation: none; }
}

code, pre, .lines, .dose-v { font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }
