/* landmine.tech: one stylesheet for every page. */

@font-face { font-family: 'Sora'; font-weight: 400 800; font-display: swap; src: url(/fonts/sora.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 400 700; font-display: swap; src: url(/fonts/manrope.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400 600; font-display: swap; src: url(/fonts/jetbrainsmono.woff2) format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #000;
  --surface-1: #0d0d0d;
  --surface-2: #151515;
  --surface-3: #1d1d1d;
  --rule: #262626;
  --rule-strong: #3a3a3a;
  --text: #f4f4f2;
  --text-2: #b4b4ae;
  --text-3: #7c7c76;
  --accent: #ffb224;        /* hazard amber: landmine */
  --accent-ink: #120c00;
  --accent-soft: rgba(255, 178, 36, .12);
  --danger: #ff6159;
  --ok: #3ddc97;
  --info: #5aa9ff;
  --grid: rgba(255, 255, 255, .045);
  --display: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --body: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --wrap: 1200px;
  --nav-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
code, kbd, pre { font-family: var(--mono); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- grid backdrop ---------- */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
}
.glow::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 0; width: 900px; height: 520px; transform: translate(-50%, -30%);
  background: radial-gradient(closest-side, rgba(255, 178, 36, .13), transparent);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: stretch;
  background: rgba(0, 0, 0, .72); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav .inner { display: flex; align-items: center; gap: 28px; width: 100%; padding-left: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.02em; }
.brand svg { width: 26px; height: 26px; }
.nav .links { display: flex; gap: 6px; margin: 0 auto; }
.nav .links a { color: var(--text-2); text-decoration: none; font-size: 14.5px; padding: 8px 14px; transition: color .15s; }
.nav .links a:hover, .nav .links a[aria-current='page'] { color: var(--text); }
.nav .right { display: flex; align-items: stretch; height: 100%; }
.nav .stars { display: flex; align-items: center; gap: 8px; padding: 0 20px; border-left: 1px solid var(--rule); color: var(--text-2); text-decoration: none; font-size: 14px; }
.nav .stars:hover { color: var(--text); }
.nav .stars svg { width: 18px; height: 18px; }
.nav .stars .count { font-family: var(--mono); font-size: 12.5px; color: var(--text-3); border: 1px solid var(--rule-strong); padding: 1px 7px; }
.nav .cta { display: flex; align-items: center; padding: 0 26px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14.5px; text-decoration: none; transition: filter .15s; }
.nav .cta:hover { filter: brightness(1.08); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); padding: 0 18px; cursor: pointer; border-left: 1px solid var(--rule); }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .nav .links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; background: #000; border-bottom: 1px solid var(--rule); padding: 8px 0; }
  .nav.open .links { display: flex; }
  .nav .links a { padding: 14px 24px; font-size: 16px; }
  .nav .inner { gap: 12px; }
  .brand { margin-right: auto; }
  .nav .stars .label { display: none; }
  .nav .cta { display: none; }
  .menu-btn { display: block; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px; font: 600 16.5px/1 var(--body); text-decoration: none;
  border: 1px solid var(--text); color: var(--text); background: transparent; cursor: pointer;
  transition: background .15s, color .15s, filter .15s;
}
.btn:hover { background: var(--text); color: #000; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); background: var(--accent); color: var(--accent-ink); }
.btn svg { width: 18px; height: 18px; }

/* ---------- copy command ---------- */
.cmd {
  display: flex; align-items: stretch; border: 1px solid var(--rule-strong); background: var(--surface-1);
  font: 500 15px/1 var(--mono); max-width: 100%;
}
.cmd code { display: flex; align-items: center; gap: 10px; padding: 0 20px; min-height: 54px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; flex: 1; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd code .p { color: var(--text-3); user-select: none; }
.cmd button {
  flex: none; display: flex; align-items: center; justify-content: center; gap: 8px; width: 56px;
  background: var(--accent); border: 0; color: var(--accent-ink); cursor: pointer; transition: filter .15s;
}
.cmd button:hover { filter: brightness(1.08); }
.cmd button svg { width: 19px; height: 19px; }
.cmd button[data-done] { background: var(--ok); }

/* ---------- hero ---------- */
.hero { padding: 120px 0 64px; text-align: center; overflow: hidden; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2);
  border: 1px solid var(--rule-strong); padding: 6px 14px 6px 8px; text-decoration: none; background: rgba(0,0,0,.5);
  transition: border-color .15s;
}
.eyebrow:hover { border-color: var(--text-3); }
.eyebrow .tag { background: var(--accent); color: var(--accent-ink); font: 700 11.5px/1 var(--mono); padding: 4px 7px; text-transform: uppercase; letter-spacing: .04em; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; margin: 0; text-wrap: balance; line-height: 1.2; }
.hero h1 { font-size: clamp(40px, 6.6vw, 76px); line-height: 1.04; font-weight: 700; margin: 28px auto 0; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: clamp(17px, 2vw, 19px); color: var(--text-2); max-width: 62ch; margin: 26px auto 0; text-wrap: pretty; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.hero .actions .cmd { width: min(580px, 100%); }
.hero .note { font-size: 14px; color: var(--text-3); margin-top: 18px; }
.hero .note code { color: var(--text-2); font-size: 13px; }

/* ---------- product window ---------- */
.window { margin-top: 72px; border: 1px solid var(--rule-strong); background: #0a0a0a; padding: 12px; text-align: left; box-shadow: 0 40px 120px -40px rgba(255, 178, 36, .12); }
.window .chrome { display: grid; grid-template-columns: 1fr 340px; gap: 12px; }
.pane { background: var(--surface-2); border: 1px solid var(--rule); min-width: 0; display: flex; flex-direction: column; }
.pane-head { display: flex; align-items: center; gap: 12px; padding: 0 16px; min-height: 48px; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--text-2); }
.pane-head .title { color: var(--text); font-weight: 600; }
.pane-head .chip { font: 600 11.5px/1 var(--mono); padding: 4px 7px; background: var(--accent); color: var(--accent-ink); }
.pane-head .chip.mute { background: var(--surface-3); color: var(--text-2); border: 1px solid var(--rule-strong); }
.pane-head .live { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: 13px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(61, 220, 151, .15); }
.dot.amber { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.session { padding: 22px 22px 26px; font: 400 13.5px/1.65 var(--mono); min-height: 480px; color: var(--text-2); }
.session .step { opacity: 1; transition: opacity .35s, transform .35s; }
.session.play .step { opacity: 0; transform: translateY(6px); }
.session.play .step.on { opacity: 1; transform: none; }
.session .who { font: 600 11.5px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin: 0 0 8px; }
.session .user { color: var(--text); border-left: 2px solid var(--rule-strong); padding: 2px 0 2px 14px; margin-bottom: 22px; font-family: var(--body); font-size: 15px; }
.session .edit { background: #0b0b0b; border: 1px solid var(--rule); margin-bottom: 14px; }
.session .edit .bar { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--text-3); }
.session .edit pre { margin: 0; padding: 12px 14px; overflow-x: auto; white-space: pre; color: var(--text); }
.session .edit.bad { border-color: rgba(255, 97, 89, .45); }
.session .edit.good { border-color: rgba(61, 220, 151, .4); }
.session .status { font-weight: 600; }
.session .status.blocked { color: var(--danger); }
.session .status.applied { color: var(--ok); }
.session .warn { border: 1px solid rgba(255, 178, 36, .45); background: rgba(255, 178, 36, .06); padding: 12px 14px; margin-bottom: 14px; color: var(--text); white-space: pre-wrap; word-break: break-word; }
.session .warn b { color: var(--accent); font-weight: 600; }
.session .warn .q { color: var(--text-2); border-left: 2px solid var(--rule-strong); padding-left: 10px; display: block; margin-top: 8px; }
.session .said { font-family: var(--body); font-size: 14.5px; color: var(--text); padding-left: 14px; border-left: 2px solid var(--ok); }
.kw { color: #c792ea; } .fn { color: #82aaff; } .str { color: #c3e88d; } .cm { color: var(--text-3); } .del { background: rgba(255, 97, 89, .14); } .ins { background: rgba(61, 220, 151, .12); }

.index-list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 8px; }
.index-list li { background: var(--surface-3); border: 1px solid var(--rule); padding: 12px 14px; }
.index-list .pkg { font: 600 13.5px/1.2 var(--mono); color: var(--text); display: flex; justify-content: space-between; gap: 8px; }
.index-list .pkg span { color: var(--accent); }
.index-list .meta { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.index-list li.hit { border-color: rgba(255, 178, 36, .55); background: rgba(255, 178, 36, .07); }
.index-foot { margin-top: auto; padding: 14px 16px; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--text-3); }
.caption { font-size: 14px; color: var(--text-3); text-align: center; margin: 18px auto 0; max-width: 70ch; }
.caption a { color: var(--text-2); }
@media (max-width: 960px) {
  .window .chrome { grid-template-columns: 1fr; }
  .session { min-height: 0; }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 128px 0; }
.section.tight { padding: 88px 0; }
.kicker { font: 600 12.5px/1 var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; font-weight: 700; }
.sub { color: var(--text-2); font-size: 17.5px; max-width: 60ch; margin-top: 20px; text-wrap: pretty; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }
.rule-top { border-top: 1px solid var(--rule); }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); background: var(--surface-1); }
.stat { padding: 34px 32px; border-left: 1px solid var(--rule); }
.stat:first-child { border-left: 0; }
.stat .big { font: 700 clamp(38px, 4.6vw, 54px)/1 var(--display); letter-spacing: -.03em; }
.stat .big .arrow { color: var(--text-3); font-weight: 500; margin: 0 .1em; }
.stat .big .hl { color: var(--accent); }
.stat p { margin: 14px 0 0; color: var(--text-2); font-size: 15px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } .stat { border-left: 0; border-top: 1px solid var(--rule); } .stat:first-child { border-top: 0; } }

/* split rows (text + visual) */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: end; }
.split.rev { grid-template-columns: 7fr 5fr; }
.split .text .cmd { margin-top: 36px; }
@media (max-width: 960px) { .split, .split.rev { grid-template-columns: 1fr; gap: 40px; } }

/* terminal */
.term { border: 1px solid var(--rule-strong); background: var(--surface-2); padding: 12px; }
.term .lights { display: flex; gap: 7px; padding: 2px 2px 12px; }
.term .lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule-strong); }
.term pre { margin: 0; background: #0b0b0b; border: 1px solid var(--rule); padding: 20px 22px; font: 400 13px/1.7 var(--mono); color: var(--text-2); overflow-x: auto; white-space: pre; }
.term pre .p { color: var(--text-3); user-select: none; }
.term pre .c { color: var(--text); }
.term pre .a { color: var(--accent); }
.term pre .g { color: var(--ok); }
.term pre .d { color: var(--text-3); }

/* agent chips */
.agents { display: flex; align-items: center; gap: 0; border: 1px solid var(--rule-strong); background: var(--surface-1); margin-top: 36px; }
.agents .faces { display: flex; gap: 6px; padding: 12px 16px; border-right: 1px solid var(--rule); }
.mono-badge { width: 34px; height: 34px; display: grid; place-items: center; font: 700 12px/1 var(--display); background: var(--surface-3); border: 1px solid var(--rule-strong); color: var(--text-2); }

/* marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 10px; width: max-content; animation: scroll 60s linear infinite; padding: 5px 0; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee { mask-image: none; -webkit-mask-image: none; } }
.tile { display: flex; align-items: center; gap: 12px; height: 72px; padding: 0 22px; background: var(--surface-2); border: 1px solid var(--rule); white-space: nowrap; font-weight: 600; font-size: 15px; color: var(--text-2); }
.tile .mono-badge { width: 36px; height: 36px; }
.tile .kind { font: 500 11px/1 var(--mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.tile.live .kind { color: var(--ok); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 64px; }
.card { background: var(--surface-1); border: 1px solid var(--rule); padding: 32px 28px 34px; transition: border-color .2s, background .2s; }
.card:hover { border-color: var(--rule-strong); background: var(--surface-2); }
.card .num { font: 600 13px/1 var(--mono); color: var(--accent); }
.card h3 { font-size: 22px; margin: 18px 0 12px; }
.card p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.card code { font-size: 13.5px; color: var(--text); background: var(--surface-3); padding: 1px 5px; border: 1px solid var(--rule); }
.card .tagline { display: inline-block; margin-top: 18px; font: 600 12px/1 var(--mono); color: var(--ok); }
.card .tagline.muted { color: var(--text-3); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; } }

/* bar chart */
.chart { position: relative; border: 1px solid var(--rule); background: var(--surface-1); padding: 32px 32px 26px; }
.chart h3 { font-size: 19px; }
.chart .desc { color: var(--text-3); font-size: 14px; margin: 8px 0 28px; }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 210px 1fr 76px; align-items: center; gap: 16px; font-size: 15px; outline: none; }
.bar-row .name { color: var(--text-2); }
.bar-row.hl .name { color: var(--text); font-weight: 700; }
.bar-row .track { height: 34px; background: var(--surface-3); position: relative; }
.bar-row .fill { position: absolute; inset: 0 auto 0 0; width: 0; background: #4a4a46; transition: width 1.1s cubic-bezier(.2, .7, .2, 1); }
.bar-row.hl .fill { background: var(--accent); }
.bar-row .val { font: 600 14px/1 var(--mono); text-align: right; color: var(--text-2); }
.bar-row.hl .val { color: var(--accent); }
.bar-row:hover .track, .bar-row:focus-visible .track { outline: 1px solid var(--rule-strong); }
.axis { display: grid; grid-template-columns: 210px 1fr 76px; gap: 16px; margin-top: 10px; font: 400 12px/1 var(--mono); color: var(--text-3); }
.axis .ticks { display: flex; justify-content: space-between; }
.tip { position: absolute; pointer-events: none; opacity: 0; transition: opacity .12s; background: #000; border: 1px solid var(--rule-strong); padding: 10px 12px; font-size: 13.5px; max-width: 280px; z-index: 5; }
.tip b { display: block; margin-bottom: 4px; }
.tip span { color: var(--text-2); display: block; }
@media (max-width: 640px) {
  .chart { padding: 24px 18px; }
  .bar-row, .axis { grid-template-columns: 1fr 56px; }
  .bar-row .name { grid-column: 1 / -1; margin-bottom: -8px; }
  .axis > span:first-child { display: none; }
}

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); background: var(--surface-1); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font: 600 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); background: var(--surface-2); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: var(--mono); white-space: nowrap; }
tr.hl td { background: rgba(255, 178, 36, .06); }
tr.hl td:first-child { box-shadow: inset 2px 0 var(--accent); }
td code, li code, p code { font-size: .88em; background: var(--surface-3); border: 1px solid var(--rule); padding: 1px 5px; color: var(--text); }
.pill { display: inline-block; font: 600 11px/1 var(--mono); padding: 4px 6px; border: 1px solid var(--rule-strong); color: var(--text-2); white-space: nowrap; }
.pill.live { color: var(--ok); border-color: rgba(61, 220, 151, .4); }
.pill.lm { color: var(--accent); border-color: rgba(255, 178, 36, .4); }

/* fine print */
.fine { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 48px; }
.fine .card h3 { font-size: 18px; margin-top: 0; }
@media (max-width: 860px) { .fine { grid-template-columns: 1fr; } }

/* final cta */
.final { text-align: center; padding: 140px 0; border-top: 1px solid var(--rule); overflow: hidden; }
.final .h2 { max-width: 18ch; margin-inline: auto; }
.final .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.final .cmd { width: min(460px, 100%); }

/* footer */
footer { border-top: 1px solid var(--rule); padding: 56px 0 64px; color: var(--text-3); font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
footer h4 { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); margin: 4px 0 16px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer a { text-decoration: none; color: var(--text-3); }
footer a:hover { color: var(--text); }
footer .blurb { max-width: 36ch; margin-top: 16px; }
footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .cols > div:first-child { grid-column: 1 / -1; } }

/* ---------- docs / long-form pages ---------- */
.page-head { padding: 96px 0 56px; border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.05; font-weight: 700; max-width: 20ch; }
.page-head .sub { font-size: 18px; }
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding: 56px 0 120px; }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; font-size: 14px; }
.toc h4 { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin: 0 0 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; color: var(--text-3); text-decoration: none; border-left: 1px solid transparent; }
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--text); border-left-color: var(--accent); }
@media (max-width: 960px) { .doc { grid-template-columns: 1fr; gap: 32px; } .toc { position: static; } .toc ol { display: flex; flex-wrap: wrap; border: 0; gap: 4px; } .toc a { border: 1px solid var(--rule); padding: 6px 10px; margin: 0; } }
.prose { max-width: 78ch; }
.prose > section { padding-top: 8px; margin-bottom: 72px; }
.prose h2 { font-size: 30px; line-height: 1.15; margin: 0 0 20px; }
.prose h3 { font-size: 19px; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--text-2); font-size: 16px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--text-3); }
.prose strong { color: var(--text); }
.prose a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose .table-wrap { margin: 20px 0 24px; }
.prose table { font-size: 14px; }
.prose td { color: var(--text-2); }
.prose td:first-child { color: var(--text); }
.code { position: relative; margin: 18px 0 24px; border: 1px solid var(--rule); background: #0b0b0b; }
.code pre { margin: 0; padding: 18px 20px; font: 400 13.5px/1.7 var(--mono); color: var(--text); overflow-x: auto; }
.code pre .c { color: var(--text-3); }
.code .copy { position: absolute; top: 8px; right: 8px; background: var(--surface-3); border: 1px solid var(--rule-strong); color: var(--text-2); font: 600 12px/1 var(--body); padding: 7px 10px; cursor: pointer; opacity: 0; transition: opacity .15s; }
.code:hover .copy, .code .copy:focus-visible { opacity: 1; }
.code .copy[data-done] { color: var(--ok); }
.callout { border: 1px solid var(--rule); border-left: 2px solid var(--accent); background: var(--surface-1); padding: 16px 20px; margin: 20px 0 24px; }
.callout p:last-child { margin-bottom: 0; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .session.play .step { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* 404 */
.lost { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.lost .code-404 { font: 700 clamp(80px, 16vw, 180px)/1 var(--display); letter-spacing: -.05em; color: var(--accent); }

/* ---------- small-screen fixes ---------- */
footer .brand { color: var(--text); }
.nowrap { white-space: nowrap; }
.prose td:first-child code { white-space: nowrap; }
.pane-head .chip { white-space: nowrap; }
@media (max-width: 640px) {
  .hero { padding-top: 72px; }
  .hero .actions .cmd code, .final .cmd code { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; padding: 14px 16px; font-size: 14px; }
  .hero .actions .btn { width: 100%; }
  .window { padding: 6px; margin-top: 48px; }
  .pane-head { flex-wrap: wrap; padding: 10px 12px; gap: 8px; }
  .pane-head .path { display: none; }
  .session { padding: 16px 14px 20px; font-size: 12.5px; }
  .section { padding: 88px 0; }
  .agents .faces { display: none; }
  .stat { padding: 28px 22px; }
}
