/* Siper landing page. Black and white, flat, framed. Mona Sans + Geist Mono. Logo in brand/. */

@font-face { font-family: 'Mona Sans'; src: url(fonts/mona-sans.woff2) format('woff2'); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(fonts/geist-mono.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F4F4F4; --card: #FFFFFF; --rule: #DADADA; --rule2: #C6C6C6;
  --ink: #0A0A0A; --ink2: #3A3A3A; --muted: #6B6B6B; --faint: #959595;
  --accent: #0A0A0A; --accent-ink: #0A0A0A; --accent-hover: #2B2B2B; --accent-soft: #ECECEC; --accent-line: #CACACA; --accent-light: #B8B8B8;
  --dark: #0A0A0A; --dark2: #171717; --on-dark: #EDEDED; --muted-dark: #9B9B9B; --rule-dark: #2C2C2C;
  --ok: #12855A; --ok-soft: #E2F4EA; --risk: #C8323C; --risk-soft: #FBE9EA; --warn: #9A6400; --warn-soft: #FBF1DC;
  /* Old names the demo stage uses. */
  --paper: var(--bg); --paper2: #E8E8E8; --line: var(--rule); --muted-on: var(--muted);
  --sans: 'Mona Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: 64px;
  /* Logo colors (the chevron, the bar and the word). */
  --mk-a: var(--ink); --mk-b: var(--ink); --mk-w: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* overflow-x: clip, not hidden, so the body never becomes a scroll box of its own
   (the 3D view on /box sets html { overflow: hidden }, and the nav and the box would stop sticking). */
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; overflow-x: clip; }
h1, h2, h3 { font-weight: 650; font-stretch: 110%; line-height: 1.02; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { display: block; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -0.02em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Mac and Windows as logos in a line of text (#apple and #windows in the page sprite). */
.os { white-space: nowrap; }
.os svg { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.19em; fill: currentColor; }
.os svg + svg { margin-left: .4em; }
.mk-a { fill: var(--mk-a); } .mk-b { fill: var(--mk-b); } .mk-w { fill: var(--mk-w); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* The page sits in a frame with lines down both sides. */
.page { max-width: 1280px; margin: 0 auto; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); }

/* Buttons: square, flat. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 13px 20px; border-radius: 3px; border: 1px solid var(--accent); transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn span { transition: transform .2s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn-sm { font-size: 14px; padding: 8px 14px; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Small monospace labels with a black square. */
.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.label i { width: 8px; height: 8px; background: var(--accent); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(244, 244, 244, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--rule); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 64px; padding: 0 24px 0 var(--pad); }
.brand { display: inline-flex; text-decoration: none; }
.logo { height: 27px; width: auto; aspect-ratio: 135.87 / 43.6; }
.nav-links { display: flex; gap: 32px; margin-left: auto; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.nav-links a { text-decoration: none; color: var(--ink2); }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 660px; }
.hero-text { display: flex; flex-direction: column; padding: 80px 56px 48px var(--pad); }
.hero h1 { font-size: clamp(46px, 5.8vw, 82px); font-weight: 700; font-stretch: 106%; line-height: 1.02; letter-spacing: -0.04em; margin-top: 28px; }
.hero h1 mark { background: linear-gradient(transparent 17%, var(--accent) 17%, var(--accent) 92%, transparent 92%); color: #fff; padding: 0 .08em; margin: 0 -.02em; }
.lead { font-size: 19px; color: var(--ink2); max-width: 34em; margin-top: 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-foot { margin-top: auto; padding-top: 48px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hero-art { position: relative; border-left: 1px solid var(--rule); background: var(--card); overflow: hidden; }
.hero-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.corner { position: absolute; z-index: 2; width: 16px; height: 16px; border: 0 solid var(--ink); }
.corner.tl { top: 20px; left: 20px; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 20px; right: 20px; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 20px; left: 20px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 20px; right: 20px; border-bottom-width: 1px; border-right-width: 1px; }
.spec { position: absolute; z-index: 2; left: 50%; bottom: 40px; transform: translateX(-50%); min-width: 280px; background: #fff; border: 1px solid var(--ink); padding: 12px 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; display: grid; gap: 6px; }
.spec div { display: flex; justify-content: space-between; gap: 24px; }
.spec span { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.spec b { font-weight: 500; color: var(--ink); }
.spec b.hl { color: var(--accent); }
.spec b.mono { font-size: 1em; }

/* Works-in strip */
.works { display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--rule); }
.works-h { display: flex; align-items: center; padding: 0 28px 0 var(--pad); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--rule); }
.works ul { display: grid; grid-template-columns: repeat(8, 1fr); list-style: none; margin: 0; padding: 0; }
.works li { display: grid; place-items: center; padding: 24px 8px; font-size: 16px; font-weight: 600; font-stretch: 108%; letter-spacing: -0.02em; color: var(--ink2); }
.works li + li { border-left: 1px solid var(--rule); }

/* ---------- The demo stage ---------- */
.stage { position: relative; height: 580px; border-radius: 18px; overflow: hidden; user-select: none; -webkit-user-select: none;
  background: radial-gradient(800px 420px at 75% 10%, #4A4A4A 0%, transparent 65%), radial-gradient(600px 400px at 10% 90%, #2E2E2E 0%, transparent 70%), linear-gradient(160deg, #262626, #0B0B0B);
  box-shadow: 0 50px 100px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .06); transition: opacity .5s; font-size: 14px; line-height: 1.4; color: var(--ink); }
.stage.fading { opacity: 0; }
.stage.instant, .stage.instant * { transition: none !important; animation: none !important; }

.menubar { position: absolute; left: 0; right: 0; top: 0; height: 28px; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 13px; color: #EDEDED; background: rgba(10, 10, 10, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mb-app { font-weight: 700; }
.mb-right { display: flex; align-items: center; gap: 16px; }
.mb-siper { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; padding: 2px 7px; border-radius: 6px; transition: background .25s; --mk-a: #fff; --mk-b: #fff; }
.mb-siper svg { width: 15px; height: 15px; }
.mb-siper i { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; }
.mb-siper.busy { background: rgba(255, 255, 255, .2); }
.demo-tag { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(237, 237, 237, .55); }

/* Windows */
.win { position: absolute; display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; z-index: 2;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 0, 0, .06);
  transition: opacity .4s var(--ease), transform .5s var(--ease), box-shadow .3s; }
.win.front { z-index: 6; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .08); }
.win.gone { opacity: 0; transform: translateY(18px) scale(.98); pointer-events: none; }
.win > .bar, .skillapp > .bar { flex: none; height: 34px; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: #F2F2F2; border-bottom: 1px solid #E4E4E4; font-size: 12.5px; color: var(--muted); }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.dots i:nth-child(2) { background: #FEBC2E; }
.dots i:nth-child(3) { background: #28C840; }
.win:not(.front) .dots i { background: #D8D8D8; }
.bar .title { font-weight: 600; }
.bar .url { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #E4E4E4; border-radius: 7px; padding: 3px 12px; min-width: 40%; color: var(--ink); }
.bar .url svg { width: 11px; height: 11px; color: var(--muted); }

.w-sheet { left: 3%; top: 52px; width: 54%; height: 318px; }
.w-chat { right: 3%; top: 72px; width: 56%; height: 488px; }
.w-notes { left: 5%; top: 268px; width: 44%; height: 250px; }
.w-dash { left: 5%; right: 5%; top: 56px; height: 470px; }

/* Spreadsheet */
.sheet { flex: 1; overflow: hidden; background: #fff; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sheet th { text-align: left; font-weight: 600; color: var(--muted); background: #F7F7F7; border-bottom: 1px solid #E4E4E4; padding: 8px 12px; font-size: 12px; }
.sheet td { padding: 9px 12px; border-bottom: 1px solid #F0F0F0; white-space: nowrap; transition: background .15s; }
.sheet .num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet tr.sel td { background: #E2E2E2; }
.sheet tr.copied td { background: #E2E2E2; box-shadow: inset 0 1px 0 rgba(0, 0, 0, .18); }

/* Chat */
.chat { flex: 1; display: flex; flex-direction: column; background: #fff; min-height: 0; }
.msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 16px 18px 6px; overflow: hidden; }
.m { max-width: 90%; font-size: 13.5px; animation: rise .4s var(--ease) both; }
.m.user { align-self: flex-end; background: #F2F2F2; border-radius: 16px; padding: 10px 12px; }
.m.user > p { margin-top: 6px; }
.m.ai { align-self: flex-start; padding: 0 4px; }
.m.ai ul { margin: 6px 0 0; padding-left: 18px; }
.m.ai li { margin: 2px 0; }
.m.ai .ln { opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease); }
.m.ai .ln.in { opacity: 1; transform: none; }
.m.ai.selected { background: #DADADA; border-radius: 6px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.typing { display: flex; gap: 4px; padding: 6px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #A0A0A0; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

.composer { position: relative; margin: 8px 14px 14px; border: 1px solid #E0E0E0; border-radius: 18px; padding: 10px 52px 10px 14px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.prompt { min-height: 22px; font-size: 14px; display: flex; align-items: center; }
.prompt .ph { color: #A0A0A0; }
.prompt .ph[hidden] { display: none; }
.send { position: absolute; right: 10px; bottom: 9px; width: 30px; height: 30px; border-radius: 50%; background: #D8D8D8; color: #fff; display: grid; place-items: center; transition: background .2s, transform .15s; }
.send svg { width: 16px; height: 16px; }
.send.on { background: var(--ink); }
.send.pressed, .pb.pressed, .sk-btn.pressed { transform: scale(.93); }

/* Pasted rows, in the composer and in the sent message */
.pblock { display: grid; gap: 2px; font-size: 12px; margin-bottom: 8px; padding: 8px 10px; background: #F7F7F7; border: 1px solid #EBEBEB; border-radius: 10px; }
.pblock[hidden] { display: none; }
.m .pblock { background: #fff; margin: 0; }
.pr { display: grid; grid-template-columns: 1.15fr 1.45fr 1fr .6fr; gap: 10px; white-space: nowrap; }
.pr .num { text-align: right; font-variant-numeric: tabular-nums; }
.si { background: var(--ink); color: #fff; border-radius: 4px; padding: 0 2px; }
b.si { font-weight: 600; }
.pop { animation: pop .5s var(--ease) both; }
@keyframes pop { 0% { opacity: 0; transform: translateY(-3px) scale(.96); } 100% { opacity: 1; transform: none; } }

/* Notes */
.notes { flex: 1; padding: 16px 20px; font-size: 14px; background: #FFFDF7; }
.notes ul { margin: 6px 0 0; padding-left: 18px; }
.notes li { margin: 2px 0; }
.back { background: var(--ok-soft); color: #0F6B47; border-radius: 4px; padding: 0 2px; font-weight: 600; }
.back-tag { display: inline-flex; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--ok); background: var(--ok-soft); padding: 4px 10px; border-radius: 999px; animation: rise .4s var(--ease) both; }

/* Dashboard */
.dash { flex: 1; display: flex; min-height: 0; background: var(--paper); }
.dash-nav { flex: none; width: 150px; padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; background: #fff; border-right: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.dash-nav span { padding: 6px 10px; border-radius: 7px; }
.dash-nav .on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.dash-main { flex: 1; padding: 18px 22px; min-width: 0; }
.dash-h { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 12px; }
.dash-h b { font-weight: 600; letter-spacing: -0.02em; }
.dash-live { font-size: 11px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 2px 8px; border-radius: 999px; }
.arow { display: grid; grid-template-columns: 52px 1.1fr 1.2fr 1.3fr 1.6fr; gap: 12px; align-items: center; padding: 11px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; font-size: 13px; }
.arow.head { background: none; border: 0; padding: 0 12px 2px; margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.arow .t { color: var(--muted); font-variant-numeric: tabular-nums; }
.arow .who { font-weight: 600; display: flex; flex-direction: column; }
.arow .who small { font-weight: 400; color: var(--muted); font-size: 11.5px; }
.arow .choice { font-size: 12px; font-weight: 600; color: var(--muted); }
.arow .choice.ok { color: var(--ok); }
.arow .choice.warn { color: var(--warn); }
.arow.new { max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; opacity: 0; border-width: 0; overflow: hidden; transition: max-height .5s var(--ease), padding .5s var(--ease), margin .5s var(--ease), opacity .4s .1s, box-shadow 1.2s; }
.arow.new.show { max-height: 90px; padding-top: 11px; padding-bottom: 11px; margin-bottom: 8px; opacity: 1; border-width: 1px; border-color: #C8C8C8; box-shadow: 0 0 0 4px rgba(0, 0, 0, .08); }
.never { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.never svg { width: 12px; height: 12px; }
.never.show { opacity: 1; transform: none; }

/* The "Hold on a sec." pop-up: the real pop-up's words and layout */
.popup { position: absolute; z-index: 12; right: 9%; bottom: 96px; width: 392px; background: #fff; border-radius: 14px; padding: 18px 20px 14px; font-size: 13px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .08); opacity: 0; transform: translateY(10px) scale(.97); pointer-events: none; transition: opacity .25s, transform .35s var(--ease); }
.popup.show { opacity: 1; transform: none; }
.pp-brand { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--accent-ink); }
.pp-brand svg { width: 13px; height: 13px; }
.pp-title { font-size: 21px; font-weight: 700; margin-top: 4px; letter-spacing: -0.02em; }
.pp-body { margin-top: 4px; font-weight: 500; }
.pp-dest { margin-top: 8px; color: #333; }
.pp-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pb { background: #EAEAEA; border-radius: 7px; padding: 5px 12px; font-size: 13px; font-weight: 500; transition: transform .15s, background .15s; }
.pb.primary { background: var(--ink); color: #fff; }
.pp-note { margin-top: 8px; font-size: 12px; color: #333; }
.pp-changes { margin-top: 10px; font-size: 12.5px; }
.pp-ch-h { font-size: 12px; color: #5E5E5E; margin-bottom: 3px; }
.pp-ch { display: grid; grid-template-columns: 148px 14px 1fr; gap: 6px; line-height: 1.6; white-space: nowrap; }
.pp-ch > span:first-child { color: #5E5E5E; }
.pp-ch b { color: #9A9A9A; font-weight: 400; }
.pp-ch .fake { font-weight: 600; }
.pp-ch .mono { font-size: 11.5px; }
.pp-ch-more { font-size: 12px; color: #8C8C8C; }
.pp-foot { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 11px; color: #8C8C8C; }
.pp-foot svg { width: 10px; height: 10px; }

/* The explainer showing what was swapped */
.ledger { position: absolute; z-index: 11; left: 4%; top: 140px; width: 330px; padding: 14px 16px; border-radius: 14px; background: #111111; color: #EDEDED; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); font-size: 13px;
  opacity: 0; transform: translateX(-12px); pointer-events: none; transition: opacity .35s, transform .45s var(--ease); }
.ledger.show { opacity: 1; transform: none; }
.lg-h { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 8px; }
.lg-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 4px 0; white-space: nowrap; }
.lg-row b { color: var(--accent-light); }
.lg-row .fake { color: #fff; font-weight: 600; }
.lg-row .mono { font-size: 11px; }
.lg-more { margin-top: 6px; font-size: 12px; color: var(--muted-dark); }

/* Keys and cursor */
.keys { position: absolute; z-index: 30; left: 50%; bottom: 18px; display: flex; gap: 6px; transform: translate(-50%, 8px); opacity: 0; transition: opacity .2s, transform .25s var(--ease); pointer-events: none; }
.keys.show { opacity: 1; transform: translate(-50%, 0); }
.keys kbd { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 10px; font: 600 17px/1 var(--sans); color: var(--ink); background: #fff; border-radius: 8px; box-shadow: 0 3px 0 #BDBDBD, 0 10px 24px rgba(0, 0, 0, .35); }
.cursor { position: absolute; z-index: 40; left: 0; top: 0; width: 22px; height: 22px; margin: -3px 0 0 -5px; pointer-events: none; will-change: transform; }
.cursor svg { width: 22px; height: 22px; transition: transform .12s; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.cursor.press svg { transform: scale(.82); }
.cursor::after { content: ''; position: absolute; left: 5px; top: 3px; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 2px solid rgba(10, 10, 10, .5); opacity: 0; transform: scale(.4); }
.cursor.press::after { animation: ripple .45s ease-out; }
@keyframes ripple { 0% { opacity: 1; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.4); } }

/* Help: the skills app */
.skillapp { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .05); font-size: 13.5px; line-height: 1.4; }
.sk-body { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 430px; }
.sk-work { padding: 18px; background: var(--paper); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.sk-h { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sk-steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.sk-steps li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 12.5px; transition: opacity .3s, transform .35s var(--ease); }
.anim .sk-steps li:not(.in) { opacity: 0; transform: translateY(6px); }
.tag { font-size: 10.5px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: 1px 6px; border-radius: 999px; margin-left: 4px; }
.sk-meta { margin-top: 10px; font-size: 12px; color: var(--muted); transition: opacity .4s; }
.anim .sk-meta:not(.in) { opacity: 0; }
.sk-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-weight: 600; font-size: 12.5px; padding: 8px 12px; border-radius: 8px; transition: transform .15s, background .2s, opacity .3s; }
.sk-btn.ghost { background: #fff; color: var(--accent-ink); border: 1px solid var(--accent-line); }
.sk-work .sk-btn { margin-top: auto; }
.sk-progress { height: 4px; margin-top: 10px; border-radius: 999px; background: var(--paper2); overflow: hidden; }
.sk-progress i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .12s linear; }
.sk-skill { padding: 18px 20px; transition: opacity .4s, transform .45s var(--ease); display: flex; flex-direction: column; }
.anim .sk-skill:not(.in) { opacity: 0; transform: translateY(8px); }
.sk-title { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.sk-list { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.sk-list li { transition: opacity .3s, background .6s; border-radius: 5px; }
.anim .sk-list li:not(.in) { opacity: 0; }
.sk-list li.flash { background: var(--ok-soft); color: #0F6B47; font-weight: 600; }
.sk-ask { margin-top: 12px; font-size: 12.5px; background: var(--warn-soft); color: #6B4700; padding: 7px 10px; border-radius: 8px; transition: opacity .35s; }
.anim .sk-ask:not(.in) { opacity: 0; }
.sk-q { margin-top: 8px; font-size: 12.5px; background: var(--accent-soft); color: #0A0A0A; padding: 8px 10px; border-radius: 8px; transition: opacity .35s, background .4s; }
.anim .sk-q:not(.in) { opacity: 0; }
.sk-q.answered { background: var(--paper); color: var(--muted); }
.sk-a { margin-top: 6px; background: #fff; color: var(--ink); border: 1px solid var(--accent-line); border-radius: 6px; padding: 4px 8px; min-height: 26px; }
.sk-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; transition: opacity .35s; }
.anim .sk-actions:not(.in) { opacity: 0; }
.sk-btn.done { background: var(--ok); }
.sk-saved { margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--ok); transition: opacity .35s, transform .35s var(--ease); }
.anim .sk-saved:not(.in) { opacity: 0; transform: translateY(4px); }


/* Under the stage (light page) */
.controls { margin-top: 20px; }
.chapters { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.chapters button { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--rule); color: var(--ink2); padding: 7px 12px 7px 8px; border-radius: 3px; font-size: 14px; font-weight: 500; transition: background .15s, color .15s, border-color .15s; }
.chapters button b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 2px; background: var(--bg); font-family: var(--mono); font-size: 11.5px; font-weight: 500; }
.chapters button:hover { border-color: var(--ink); }
.chapters button.done { color: var(--ink); }
.chapters button.done b { background: var(--accent-soft); color: var(--accent-ink); }
.chapters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chapters button.on b { background: var(--accent); color: #fff; }
.caption-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; min-height: 34px; }
.caption { font-size: 17px; color: var(--ink); font-weight: 500; text-align: center; }
.playpause { flex: none; width: 32px; height: 32px; border-radius: 3px; border: 1px solid var(--rule2); background: var(--card); color: var(--ink); display: grid; place-items: center; padding: 0; }
.playpause svg { width: 13px; height: 13px; }
.playpause .i-play, .playpause.paused .i-pause { display: none; }
.playpause.paused .i-play { display: block; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 104px var(--pad); border-top: 1px solid var(--rule); }
/* A small cross where each section line meets the frame. */
.section::before, .section::after, .cta::before, .cta::after { content: ''; position: absolute; top: -6px; width: 11px; height: 11px; z-index: 3;
  background: linear-gradient(var(--ink2), var(--ink2)) center / 1px 100% no-repeat, linear-gradient(var(--ink2), var(--ink2)) center / 100% 1px no-repeat; }
.section::before, .cta::before { left: -6px; }
.section::after, .cta::after { right: -6px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 54px); margin-top: 20px; max-width: 16ch; }
.sub { font-size: 18px; color: var(--ink2); max-width: 46ch; margin-top: 20px; }
.sub a { color: var(--accent-ink); font-weight: 600; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.split .sub { margin-top: 0; }

/* Demo */
.demo-wrap { margin-top: 56px; }
.player { margin: 0; }
.demo-wrap .stage { border-radius: 6px; box-shadow: 0 0 0 1px rgba(10, 10, 10, .12), 0 30px 60px -20px rgba(10, 10, 10, .35); }
/* Scroll mode (site.js): the demo stays on screen and each step plays as
   the visitor scrolls. JS sets the track height, the sticky top and, on short
   screens, the stage's scale. */
.demo-wrap.scrolly .player { position: sticky; }
.nextstep { display: none; }
.nextstep svg { width: 15px; height: 15px; }
.demo-wrap.scrolly .playpause { display: none; }
.demo-wrap.scrolly .nextstep { display: grid; }
.nextstep.off { visibility: hidden; }

/* Problem */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.stat { padding: 32px 32px 36px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--rule); }
.stat b { display: block; font-size: clamp(56px, 6.4vw, 92px); font-weight: 700; font-stretch: 115%; letter-spacing: -0.05em; line-height: 1; }
.stat span { display: block; margin-top: 16px; font-size: 17px; color: var(--ink2); max-width: 24ch; }
.source { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Feature rows: text left, product right, split by a line. */
.how { padding-bottom: 0; }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; margin: 0 calc(-1 * var(--pad)); border-top: 1px solid var(--rule); }
.sec-head + .feature { margin-top: 64px; }
.f-text { padding: 64px 56px 64px var(--pad); }
.fnum { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.feature h3 { font-size: clamp(28px, 2.9vw, 40px); margin-top: 18px; }
.f-text > p:not(.fnum) { margin-top: 18px; color: var(--ink2); max-width: 46ch; }
.points { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--rule); }
.points li { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid var(--rule); font-size: 15.5px; font-weight: 500; }
.points li::before { content: ''; position: absolute; left: 2px; top: 21px; width: 8px; height: 8px; background: var(--ink); }
.f-vis { position: relative; display: grid; place-items: center; padding: 56px 48px; border-left: 1px solid var(--rule);
  background: radial-gradient(circle at 1px 1px, #CCCCCC 1px, transparent 1.3px) 0 0 / 16px 16px, var(--bg); }
.f-vis > * { width: 100%; max-width: 560px; }

/* Swap card */
.swapcard { background: var(--card); border: 1px solid var(--rule2); border-radius: 4px; }
.sc-head { display: flex; padding: 10px; border-bottom: 1px solid var(--rule); }
.sc-toggle { display: inline-flex; border: 1px solid var(--rule2); border-radius: 3px; padding: 2px; }
.sc-toggle button { border: 0; background: none; padding: 6px 12px; border-radius: 2px; font-size: 13px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.sc-toggle button.on { background: var(--ink); color: #fff; }
.sc-rows { padding: 4px 16px; }
.sc-row { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; min-height: 48px; }
.sc-row:last-child { border-bottom: 0; }
.sc-row .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sc-row .v { justify-self: start; padding: 2px 7px; border-radius: 2px; background: var(--ink); color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; transition: background .3s, color .3s; }
.sc-row .v.mono { font-size: 14px; }
.swapcard.you .sc-row .v { background: var(--ok-soft); color: #0F6B47; }
.sc-row.keep .v, .swapcard.you .sc-row.keep .v { background: none; color: var(--ink); padding-left: 0; }
.sc-row .same { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.sc-foot { padding: 11px 16px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 12px; color: var(--ink2); }

/* Alert card */
.alertcard { background: var(--card); border: 1px solid var(--rule2); border-radius: 4px; padding: 6px 16px 14px; }
.ac-head { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.ac-head b { font-weight: 650; font-stretch: 108%; }
.live { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); }
.live::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: var(--ok); vertical-align: 1px; }
.ac-item { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--ink2); }
.ac-item.fresh { margin: 0 -16px; padding: 13px 16px; background: var(--accent-soft); border-bottom-color: var(--accent-line); }
.ac-main { min-width: 0; line-height: 1.45; }
.ac-main b { font-weight: 600; color: var(--ink); }
.ac-main > span { display: block; color: var(--muted); font-size: 13px; }
.ac-main em { display: block; font-style: normal; color: var(--warn); font-size: 12.5px; }
.ac-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ac-side small { font-family: var(--mono); color: var(--muted); font-size: 11.5px; }
.pill { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 2px; background: var(--paper2); color: var(--ink2); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.ac-never { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--accent-ink); }

/* Skills app: flatter on this page. */
.f-vis .skillapp { border-radius: 4px; border-color: var(--rule2); box-shadow: none; }
.f-vis .skillapp .sk-btn { border-radius: 3px; }

/* Comparison table */
.table-wrap { margin-top: 56px; overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.cmp thead th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
.cmp thead th.us { color: var(--accent); }
.cmp tbody th { font-weight: 600; width: 34%; padding-left: 0; }
.cmp td.us { background: var(--accent-soft); }
.cmp .y, .cmp .n, .cmp .p { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.cmp .y::before, .cmp .n::before, .cmp .p::before { content: ''; width: 8px; height: 8px; }
.cmp .y::before { background: var(--accent); }
.cmp .n::before { background: var(--risk); }
.cmp .p::before { background: var(--warn); }
.cmp td.ex { font-size: 14.5px; color: var(--ink2); }
.cmp mark { background: #fff; color: var(--ink); font-weight: 600; padding: 0 3px; border-radius: 2px; }
.blk { color: var(--ink); letter-spacing: -1px; }
.note { margin-top: 20px; font-size: 16px; color: var(--ink2); }
.note b { color: var(--ink); font-weight: 650; }

/* Security team: the one dark band. */
.section.dark { background: var(--dark); color: var(--on-dark); border-top-color: var(--dark); }
.section.dark h2 { color: #fff; }
.section.dark .label { color: var(--muted-dark); }
.section.dark .label i { background: var(--accent-light); }
.flow { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 56px; border: 1px solid var(--rule-dark); }
.flow-col { padding: 28px; }
.flow-col + .flow-col { border-left: 1px solid var(--rule-dark); }
.flow-col.here { background: var(--dark2); --mk-a: #fff; --mk-b: #fff; }
.flow-k { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.flow-col.here .flow-k { color: #fff; }
.flow-k svg { width: 18px; height: 18px; }
.flow ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.flow li { position: relative; padding-left: 20px; font-size: 16.5px; color: #CFCFCF; }
.flow li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--accent-light); }
.flow-col.here li::before { background: #4ADE80; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--rule-dark); }
.features > div { padding: 24px 28px 28px 0; display: grid; gap: 6px; align-content: start; border-bottom: 1px solid var(--rule-dark); }
.features > div:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--rule-dark); }
.features b { font-size: 17px; font-weight: 600; font-stretch: 106%; color: #fff; }
.features span { color: var(--muted-dark); font-size: 15px; }

/* Coverage */
/* Coverage: six places Siper works, each with a small picture. */
.surfaces { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid var(--ink); }
.surf { padding: 28px 28px 36px; border-bottom: 1px solid var(--rule); min-width: 0; }
.surf:nth-child(3n + 1) { padding-left: 0; }
.surf:nth-child(3n) { padding-right: 0; }
.surf:not(:nth-child(3n + 1)) { border-left: 1px solid var(--rule); }
.surf h3 { font-size: 22px; letter-spacing: -0.02em; margin-top: 0; }
.surf > p:not(.fnum):not(.surf-list) { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--ink2); }
.surf-list { margin-top: 14px; font-family: var(--mono); font-size: 12px; line-height: 1.7; letter-spacing: .02em; color: var(--muted); }
.surf-vis { height: 176px; margin: 16px 0 22px; padding: 18px; display: grid; place-items: center; border: 1px solid var(--rule); overflow: hidden;
  background: radial-gradient(circle at 1px 1px, #CCCCCC 1px, transparent 1.3px) 0 0 / 16px 16px, var(--bg); }
.surf-vis > * { width: 100%; max-width: 330px; }
/* A small app or browser window. */
.mini-win { background: var(--card); border: 1px solid var(--rule2); border-radius: 6px; overflow: hidden; }
.mini-bar { display: flex; align-items: center; gap: 10px; height: 26px; padding: 0 9px; background: #F2F2F2; border-bottom: 1px solid var(--rule); }
.mini-bar .dots { gap: 4px; }
.mini-bar .dots i { width: 7px; height: 7px; }
.mini-url { flex: 1; background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 1px 8px; font-size: 10.5px; color: var(--ink2); }
.mini-app { flex: 1; text-align: center; margin-right: 30px; font-size: 11px; font-weight: 600; color: var(--ink2); }
.mini-body { padding: 14px 12px; min-height: 86px; }
.mini-prompt { font-size: 12.5px; line-height: 1.7; border: 1px solid var(--rule2); border-radius: 8px; padding: 9px 11px; }
.mini-prompt .si { font-size: 12px; }
.mini-app-body { display: grid; place-items: center; background: #FAFAFA; }
.mini-pop { width: 82%; background: #fff; border: 1px solid var(--rule2); border-radius: 8px; padding: 10px 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }
.mini-pop-tag { display: flex; align-items: center; gap: 4px; font-size: 8.5px; font-weight: 700; letter-spacing: .08em; }
.mini-pop-tag svg { width: 9px; height: 9px; }
.mini-pop-h { margin-top: 4px; font-size: 13px; font-weight: 700; }
.mini-pop-t { font-size: 10.5px; color: var(--ink2); }
.mini-btn { display: inline-block; margin-top: 7px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 600; padding: 4px 8px; border-radius: 4px; }
/* A terminal. */
.term { background: #0A0A0A; color: #EDEDED; border-radius: 6px; padding: 12px 14px; font-family: var(--mono); font-size: 11px; line-height: 1.75; white-space: nowrap; overflow: hidden; }
.term .t-dim { color: #8C8C8C; }
.term .t-out { color: #A8A8A8; padding-left: 12px; }
/* Files going in and coming back. */
.files { display: grid; gap: 8px; }
.file-row { display: grid; grid-template-columns: auto 18px 1fr; align-items: center; gap: 8px; font-size: 12px; }
.file { display: inline-flex; align-items: center; gap: 7px; background: var(--card); border: 1px solid var(--rule2); border-radius: 3px; padding: 5px 8px; font-weight: 600; white-space: nowrap; }
.file b { font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: .06em; color: #fff; background: var(--ink); padding: 1px 4px; border-radius: 2px; }
.files .arrow { font-family: var(--mono); color: var(--muted); text-align: center; }
.file-to { font-family: var(--mono); font-size: 11px; color: var(--ink2); white-space: nowrap; }
.file-to.ok { color: #0F6B47; }
/* A screenshot with stand-ins painted on. */
.shot { background: var(--card); border: 1px solid var(--rule2); border-radius: 4px; padding: 10px 12px 12px; }
.shot-name { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-bottom: 6px; }
.shot-line { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 8px; padding: 4px 0; font-size: 12px; border-top: 1px solid var(--rule); }
.shot-k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.shot-v { justify-self: start; background: var(--ink); color: #fff; font-weight: 600; padding: 1px 5px; }
.shot-plain { font-weight: 600; }
/* Uploads to personal accounts. */
.uploads { display: grid; background: var(--card); border: 1px solid var(--rule2); border-radius: 4px; padding: 2px 12px; }
.up-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 12px; font-weight: 600; line-height: 1.35; }
.up-row + .up-row { border-top: 1px solid var(--rule); }
.up-row small { display: block; font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--muted); }
.tag-held, .tag-pass { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 2px; }
.tag-held { background: var(--warn-soft); color: var(--warn); }
.tag-pass { background: var(--ok-soft); color: #0F6B47; }
#where .cmp tbody th { width: 40%; }
#where .cmp td { width: 30%; }

/* The voice page: one call turn, as the caller and the LLM see it. */
.v-art { display: grid; place-items: center; padding: 64px 32px; background: radial-gradient(circle at 1px 1px, #CCCCCC 1px, transparent 1.3px) 0 0 / 16px 16px, var(--card); }
.callcard { position: relative; z-index: 2; width: min(440px, 100%); background: var(--card); border: 1px solid var(--ink); }
.cc-head { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cc-row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: baseline; padding: 14px 16px; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.6; }
.cc-row.llm { background: #F7F7F7; }
.cc-row .k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cc-row .si, .cc-row .back { white-space: nowrap; }
.cc-foot { padding: 11px 16px; font-family: var(--mono); font-size: 12px; color: var(--ink2); }

/* /fines: the fines table and the sources list. */
.fines td.law { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.fines td.fine { color: var(--ink); }
.sources { margin: 56px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); counter-reset: src; }
.sources li { display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; color: var(--ink2); counter-increment: src; }
.sources li::before { content: counter(src, decimal-leading-zero); padding-top: 3px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.sources a { color: var(--ink); font-weight: 600; }

/* Privacy page: plain reading text. */
.legal-head h1 { font-size: clamp(40px, 5.2vw, 72px); margin-top: 20px; max-width: 14ch; }
.legal { max-width: 46em; margin-top: 48px; }
.legal p, .legal li { color: var(--ink2); }
.legal h3 { font-size: 22px; letter-spacing: -0.02em; margin: 44px 0 14px; }
.legal h3:first-of-type { margin-top: 36px; }
.legal ul { margin: 14px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 10px; }
.legal p + ul, .legal p + p { margin-top: 14px; }
.legal b { color: var(--ink); font-weight: 650; }
.legal a { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) {
  .cmp.fines thead { display: none; }
  .cmp.fines tbody tr:first-child { border-top: 1px solid var(--ink); }
  .cmp.fines tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .cmp.fines tbody th, .cmp.fines tbody td { padding: 0; border: 0; width: auto; }
  .cmp.fines td.fine { grid-column: 1 / -1; }
}
/* Numbered steps in a row. */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--ink); }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step { padding: 24px 24px 8px 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--rule); }
.step h3 { font-size: 21px; letter-spacing: -0.02em; margin-top: 14px; }
.step > p:not(.fnum) { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--ink2); }
.note a { color: var(--ink); font-weight: 600; }
/* The main page's pointer to the voice page. */
.next-band { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding: 26px var(--pad); border-top: 1px solid var(--rule); background: var(--card); }
.next-band p:not(.label) { font-size: 17px; color: var(--ink2); }
.next-band p b { color: var(--ink); font-weight: 650; }
.next-band a { margin-left: auto; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); white-space: nowrap; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 104px; }
.faq-side h2 { font-size: clamp(32px, 4vw, 54px); margin-top: 20px; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; font-stretch: 104%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-family: var(--mono); font-size: 20px; font-weight: 400; color: var(--accent); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink2); max-width: 60ch; }
.faq details p a { color: var(--ink); font-weight: 600; }

/* CTA: the closing black band. */
.cta { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding: 96px var(--pad); background: var(--accent); color: #fff; }
.cta h2 { font-size: clamp(36px, 5vw, 68px); font-weight: 700; font-stretch: 112%; letter-spacing: -0.04em; max-width: 14ch; }
.cta p { margin-top: 20px; font-size: 18px; color: #D6D6D6; max-width: 40ch; }
.cta .cta-row { margin-top: 0; }
.cta .btn { background: #fff; color: var(--accent-ink); border-color: #fff; }
.cta .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.cta .btn-line:hover { background: #fff; color: var(--accent-ink); border-color: #fff; }

/* Footer, with a big logo cut off at the bottom. */
.foot { overflow: hidden; border-top: 1px solid var(--rule); --mk-a: #DEDEDE; --mk-b: #DEDEDE; --mk-w: #DEDEDE; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: 28px var(--pad); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; text-transform: uppercase; letter-spacing: .08em; }
.foot-links a { text-decoration: none; color: var(--ink2); }
.foot-links a:hover { color: var(--accent); }
.foot-logo { display: block; width: calc(100% - 2 * var(--pad)); height: auto; aspect-ratio: 135.87 / 43.6; margin: 12px var(--pad) var(--pad); }

/* ---------- Smaller screens ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { height: 460px; border-left: 0; border-top: 1px solid var(--rule); }
  .hero-art.v-art { height: auto; padding: 56px 20px; }
  .hero-foot { margin-top: 40px; padding-top: 0; }
  .works { grid-template-columns: 1fr; }
  .works-h { padding: 14px var(--pad); border-right: 0; border-bottom: 1px solid var(--rule); }
  .works ul { grid-template-columns: repeat(4, 1fr); }
  .works li:nth-child(5) { border-left: 0; }
  .works li:nth-child(n + 5) { border-top: 1px solid var(--rule); }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .feature { grid-template-columns: 1fr; }
  .f-vis { border-left: 0; border-top: 1px solid var(--rule); }
  .flow { grid-template-columns: 1fr; }
  .flow-col + .flow-col { border-left: 0; border-top: 1px solid var(--rule-dark); }
  .flow-col.here { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .features > div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .features > div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--rule-dark); }
  .surfaces { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.three { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(n) { padding: 24px 24px 8px 0; border-left: 0; }
  .step:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
  .step:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .surf:nth-child(n) { padding: 28px 0 32px; border-left: 0; }
  .surf:nth-child(odd) { padding-right: 24px; }
  .surf:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-side { position: static; }
  .cta { grid-template-columns: 1fr; }
  .w-sheet { width: 62%; }
  .w-chat { width: 64%; }
  .popup { right: 5%; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }
  body { font-size: 16px; }
  .page { border-left: 0; border-right: 0; }
  .nav-in { padding: 0 16px 0 var(--pad); }
  .hero-text { padding: 48px var(--pad) 40px; }
  .hero h1 { font-size: 42px; }
  .lead { font-size: 17px; }
  .hero-art { height: 360px; }
  .spec { display: none; }
  .works ul { grid-template-columns: repeat(2, 1fr); }
  .works li:nth-child(odd) { border-left: 0; }
  .works li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .section { padding: 72px var(--pad); }
  .section::before, .section::after, .cta::before, .cta::after { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--rule); }
  .f-text { padding: 44px var(--pad); }
  .f-vis { padding: 32px 14px; }
  .sc-row { grid-template-columns: 56px 1fr; }
  .sc-row .same { display: none; }
  .sc-row .v.mono { font-size: 12.5px; }
  .ac-side small { display: none; }
  .cmp { font-size: 14.5px; }
  .cmp th, .cmp td { padding: 14px 10px; }
  #why .cmp tbody tr:last-child { display: none; }
  .features { grid-template-columns: 1fr; }
  .features > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .surfaces { grid-template-columns: 1fr; }
  .steps, .steps.three { grid-template-columns: 1fr; }
  .step:nth-child(n) { padding: 22px 0 6px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--rule); }
  .cc-row { grid-template-columns: 1fr; gap: 4px; }
  .next-band a { margin-left: 0; }
  .surf:nth-child(n) { padding: 28px 0 32px; border-left: 0; }
  .faq summary { font-size: 17px; }
  .cta { padding: 72px var(--pad); }
  .foot-in { flex-direction: column; align-items: flex-start; }
  /* The demo stage: one window at a time, like switching apps on a phone. */
  .stage { height: 520px; font-size: 13px; }
  .win, .w-sheet, .w-chat, .w-notes, .w-dash { left: 8px; right: 8px; top: 38px; width: auto; height: auto; bottom: 40px; }
  .win:not(.front) { opacity: 0; pointer-events: none; }
  .c-claim { display: none; }
  .sheet td, .sheet th { padding: 9px 8px; }
  .composer { padding: 10px 12px; margin: 6px 10px 10px; }
  .prompt { padding-right: 40px; }
  .pblock { font-size: 11px; padding: 7px 8px; }
  .pr { grid-template-columns: auto auto auto; justify-content: space-between; gap: 6px; }
  .pr .c-claim { display: none; }
  .m { font-size: 13px; max-width: 96%; }
  .msgs { padding: 12px 12px 4px; }
  .popup { left: 16px; right: 16px; width: auto; bottom: 64px; padding: 16px; }
  .pp-title { font-size: 19px; }
  .pp-ch { grid-template-columns: 118px 12px 1fr; gap: 5px; }
  .pp-ch .mono { font-size: 10.5px; }
  .ledger { left: 16px; right: 16px; width: auto; top: 46px; }
  .dash-nav { display: none; }
  .dash-main { padding: 14px; }
  .arow, .arow.new.show { grid-template-columns: 1fr 1fr; gap: 4px 10px; font-size: 12.5px; }
  .arow.head { display: none; }
  .arow .t { display: none; }
  .arow.new.show { max-height: 140px; }
  .keys { bottom: 52px; }
  .caption { font-size: 15.5px; }
  .chapters button { font-size: 13px; padding: 5px 9px 5px 6px; }
  .sk-body { grid-template-columns: 1fr; }
  .sk-work { border-right: 0; border-bottom: 1px solid var(--line); }
  .sk-work .sk-btn { margin-top: 12px; align-self: flex-start; }
}

/* /analyst and the home page's Siper Analyst section. */
.an-show { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; margin-top: 56px; }
.an-why { color: var(--ink2) !important; font-size: 13px !important; }
.an-undo { font-size: 12px; font-weight: 600; padding: 2px 8px; border: 1px solid var(--rule2); border-radius: 2px; color: var(--ink2); }
.an-note { background: var(--card); border: 1px solid var(--rule2); border-radius: 10px; padding: 18px 20px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.08); font-size: 14px; }
.an-note-k { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; }
.an-note-k svg { width: 12px; height: 12px; }
.an-note-t { margin-top: 6px; font-weight: 700; font-size: 16px; }
.an-note-b { margin-top: 6px; color: var(--ink); line-height: 1.5; }
.an-note-f { margin-top: 12px; border: 1px solid var(--rule2); border-radius: 6px; padding: 6px 10px; color: var(--muted); }
.an-note-btns { display: flex; gap: 8px; margin-top: 12px; }
.an-note-btns span { font-size: 13px; padding: 4px 12px; border-radius: 6px; background: var(--paper2); color: var(--ink); }
.an-note-btns span.on { background: var(--ink); color: #fff; }
.an-results td { font-family: var(--mono); font-size: 15px; }
.an-cases { margin-top: 40px; }
.an-cases .step p:not(.fnum) { margin-top: 12px; }
.an-jobs li b { font-weight: 650; }
.an-jobs li { font-weight: 400 !important; color: var(--ink2); }
@media (max-width: 1080px) {
  .an-show { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cmp.an-results thead { display: none; }
  .cmp.an-results tbody tr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .cmp.an-results tbody tr:first-child { border-top: 1px solid var(--ink); }
  .cmp.an-results tbody th { grid-column: 1 / -1; width: auto; padding: 0; border: 0; }
  .cmp.an-results tbody td { padding: 0; border: 0; font-size: 13px; }
  .cmp.an-results tbody td::before { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .cmp.an-results tbody td:nth-of-type(1)::before { content: "Main"; }
  .cmp.an-results tbody td:nth-of-type(2)::before { content: "Holdout"; }
  .cmp.an-results tbody td:nth-of-type(3)::before { content: "Per call"; }
  .cmp.an-results td.us { background: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* The pilot form (/pilot) and the thank-you page. */
.form-sec { padding-top: 88px; }
.form-h { font-size: clamp(38px, 4.6vw, 64px); font-weight: 700; font-stretch: 106%; line-height: 1.02; letter-spacing: -0.035em; margin-top: 22px; }
.form-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.form-side .points { margin-top: 28px; }
.pilot { display: grid; gap: 18px; background: var(--card); border: 1px solid var(--rule2); padding: 28px; }
.f-row { display: grid; gap: 16px; }
.f-row.two { grid-template-columns: 1fr 1fr; }
.f-row.three { grid-template-columns: repeat(3, 1fr); }
.pilot label { display: grid; gap: 7px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pilot .opt { text-transform: none; letter-spacing: 0; color: var(--faint); }
.pilot input, .pilot select, .pilot textarea { font: inherit; font-family: var(--sans); font-size: 15.5px; letter-spacing: 0; text-transform: none; color: var(--ink); background: #fff; border: 1px solid var(--rule2); border-radius: 0; padding: 11px 12px; width: 100%; min-width: 0; }
.pilot textarea { resize: vertical; min-height: 96px; }
.pilot input:focus, .pilot select:focus, .pilot textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.f-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.f-note { flex: 1; min-width: 220px; font-size: 13.5px; color: var(--muted); }
.form-error { background: var(--risk-soft); color: var(--risk); padding: 10px 12px; font-size: 14.5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; gap: 36px; }
  .f-row.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .f-row.two, .f-row.three { grid-template-columns: 1fr; }
  .pilot { padding: 20px; }
}

/* ---------- Siper Box (/box), and "where your Siper hub runs" on the home page ---------- */
/* The 3D box stays on screen (sticky) while the steps scroll over it (box/src/story.js). */
.box-story { position: relative; border-top: 1px solid var(--rule); }
.box-stage { position: sticky; top: 64px; height: calc(100vh - 64px); height: calc(100svh - 64px); overflow: hidden; background: var(--bg); transition: background-color .7s var(--ease); }
.box-stage.night { background: #0A0A0A; }
.box-stage canvas, .box-stage .fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.box-stage .fallback { object-fit: contain; object-position: 78% 50%; mix-blend-mode: multiply; }
.box-stage.gl .fallback { display: none; }
/* The steps lie over the stage; clicks go through them to "Turn it around", and the cards take their own. */
.beats { position: relative; z-index: 2; margin-top: calc(64px - 100vh); margin-top: calc(64px - 100svh); pointer-events: none; }
.beat { display: flex; align-items: center; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); padding: 48px var(--pad); pointer-events: none; }
.beat-card { max-width: 440px; pointer-events: auto; transition: opacity .4s var(--ease), color .5s var(--ease); }
.box-stage.gl + .beats .beat:not(.on) .beat-card { opacity: .3; }
.beat h1 { font-size: clamp(48px, 6vw, 88px); font-weight: 700; font-stretch: 106%; line-height: 1; letter-spacing: -0.04em; margin-top: 24px; }
.beat h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; font-stretch: 106%; line-height: 1.05; letter-spacing: -0.03em; margin-top: 16px; }
.beat-card > p.copy, .beat-card > p:not([class]) { margin-top: 18px; font-size: 17px; line-height: 1.55; color: var(--ink2); }
.beat-card a:not(.btn) { color: var(--ink); font-weight: 600; }
.scroll-hint { margin-top: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.scroll-hint::after { content: ' ↓'; }
.states { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--rule); }
.states li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; color: var(--muted); transition: color .3s; }
.states li b { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.states li.on { color: var(--ink); }
/* Lights off for the light step. */
.box-stage.night + .beats .beat-night .beat-card { color: var(--on-dark); }
.box-stage.night + .beats .beat-night h2 { color: #fff; }
.box-stage.night + .beats .beat-night .fnum { color: var(--accent-light); }
.box-stage.night + .beats .beat-night .beat-card > p:not([class]) { color: var(--muted-dark); }
.box-stage.night + .beats .beat-night .states, .box-stage.night + .beats .beat-night .states li { border-color: var(--rule-dark); }
.box-stage.night + .beats .beat-night .states li { color: #6F6F6F; }
.box-stage.night + .beats .beat-night .states li.on { color: #fff; }
@media (max-width: 899px) {
  .beat { align-items: flex-end; padding: 20px 16px; }
  .beat-card { width: 100%; max-width: none; padding: 20px; background: rgba(244, 244, 244, .92); border: 1px solid var(--rule); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .box-stage.night + .beats .beat-night .beat-card { background: rgba(10, 10, 10, .86); border-color: var(--rule-dark); }
  .beat h1 { font-size: 46px; margin-top: 16px; }
  .beat h2 { font-size: 27px; margin-top: 12px; }
  .beat .lead { margin-top: 14px; font-size: 17px; }
  .beat .cta-row { margin-top: 20px; }
  .beat .scroll-hint { margin-top: 16px; }
  .states li { grid-template-columns: 100px 1fr; padding: 9px 0; font-size: 14.5px; }
}

/* Small team or enterprise: two framed columns. */
.run-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px; border: 1px solid var(--ink); background: var(--card); }
.run-col { display: flex; flex-direction: column; min-width: 0; padding: 28px; }
.run-col + .run-col { border-left: 1px solid var(--ink); }
.run-col h3 { font-size: 26px; letter-spacing: -0.02em; margin-top: 14px; }
.run-col > p:not(.fnum) { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--ink2); }
.run-col .points { margin-top: 20px; }
/* The links line up at the bottom of each column. */
.more { align-self: flex-start; margin-top: auto; padding-top: 24px; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); }
/* On the home page, a third cell shows the box on the page's own grey. */
.run-grid.with-shot { grid-template-columns: 1fr 1fr 1.05fr; }
.run-shot { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 20px 0; overflow: hidden; border-left: 1px solid var(--ink); background: var(--bg); color: var(--ink); text-decoration: none; }
/* The picture has room around the box for its shadow; show the box larger. */
.run-shot img { display: block; width: 130%; max-width: none; height: auto; margin-left: -15%; transition: transform .5s var(--ease); }
.run-shot:hover img { transform: scale(1.03); }
.run-shot .label { position: absolute; left: 20px; top: 18px; }
.run-shot .shot-go { position: absolute; right: 20px; bottom: 18px; font-weight: 600; border-bottom: 1px solid var(--ink); }
.spec-list { margin-top: 48px; border-top: 1px solid var(--ink); }
.spec-list div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.spec-list dt { padding-top: 3px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec-list dd { margin: 0; font-size: 16.5px; }
/* Siper Box on the home page: the box and what it learned, side by side in one frame. */
.bx-show { display: grid; grid-template-columns: 1.05fr 1fr; margin-top: 56px; border: 1px solid var(--ink); background: var(--card); }
/* The picture has empty room above and below the box: crop it to the frame. */
.bx-show .run-shot { height: 500px; padding: 0; border-left: 0; border-right: 1px solid var(--ink); }
.bx-show .an-feed { align-self: center; border: 0; border-radius: 0; padding: 18px 28px 22px; }
#box .steps { margin-top: 40px; }
@media (max-width: 900px) {
  .bx-show { grid-template-columns: 1fr; }
  .bx-show .run-shot { height: auto; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .bx-show .run-shot img { width: 100%; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .bx-show .an-feed { padding: 10px 18px 16px; }
}
@media (max-width: 1080px) {
  .run-grid.with-shot { grid-template-columns: 1fr 1fr; }
  .run-shot { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--ink); }
  .run-shot img { width: 100%; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .run-grid, .run-grid.with-shot { grid-template-columns: 1fr; }
  .run-col { padding: 22px 18px; }
  .run-col + .run-col { border-left: 0; border-top: 1px solid var(--ink); }
  .spec-list div { grid-template-columns: 1fr; gap: 4px; }
}

/* Turning the box yourself on /box: the stage goes full screen. */
html.examining { overflow: hidden; }
.box-stage.free { position: fixed; inset: 0; z-index: 100; height: 100vh; height: 100svh; cursor: grab; }
.box-stage.free:active { cursor: grabbing; }
.box-stage.free canvas { touch-action: none; }
.ex-open { position: absolute; right: 24px; bottom: 24px; z-index: 3; padding: 10px 14px; font: 600 14px/1 var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--ink); border-radius: 3px; cursor: pointer; }
.ex-open:hover { background: var(--ink); color: #fff; }
.box-stage:not(.gl) .ex-open, .box-stage.free .ex-open, [data-examine][hidden] { display: none; }
.examine-ui:not([hidden]) { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: space-between; padding: 20px 24px; pointer-events: none; }
.ex-top, .ex-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; pointer-events: auto; }
.ex-top { flex-wrap: nowrap; justify-content: space-between; }
.ex-top .label { flex: 1; min-width: 0; }
.ex-bar { justify-content: center; }
.ex-group { display: flex; align-items: center; }
.ex-group .label { margin-right: 10px; }
.ex-group button { margin-left: -1px; padding: 9px 10px; font: 500 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: var(--card); border: 1px solid var(--ink); cursor: pointer; }
.ex-group button:first-of-type { margin-left: 0; }
.ex-group button.on { background: var(--ink); color: #fff; }
.box-stage.night .examine-ui .label { color: var(--muted-dark); }
.box-stage.night .ex-group button { background: #111111; color: #EDEDED; border-color: #555555; }
.box-stage.night .ex-group button.on { background: #fff; color: var(--ink); border-color: #fff; }
.box-stage.night #examine-done { background: #fff; color: var(--ink); border-color: #fff; }
.linkish { margin-top: 18px; padding: 0; font: inherit; font-weight: 600; color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--ink); cursor: pointer; }
@media (max-width: 899px) {
  .ex-open { top: 14px; right: 14px; bottom: auto; padding: 8px 12px; font-size: 13px; }
  .examine-ui:not([hidden]) { padding: 14px; }
  .ex-bar { justify-content: flex-start; gap: 10px; }
  .ex-group .label { display: none; }
  .ex-top .label { font-size: 11px; letter-spacing: .04em; }
  .ex-group button { padding: 8px; font-size: 11px; }
}
