/* Tandem — the site. The same system as mxscout.seajack.dev (design/HANDOVER.md there):
   numbers and proof in monospace, promises in a grotesque display, the text in a quiet sans. One accent —
   Tandem's is coral, the colour of its logo. Fonts self-hosted (fonts/, SIL OFL). */

@font-face { font-family: "Space Grotesk"; src: url("fonts/SpaceGrotesk-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #0B0E11; --bg-deep: #07090B; --surface: #11151A; --surface-2: #161B21; --panel: #0F1317;
  --border: rgba(255,255,255,0.08);
  --text: #E8ECEF; --text-2: #B8C0C8; --muted: #9AA4AE; --faint: #5F6B76;
  --accent: #FF8A5B; --glow: rgba(255,138,91,0.16);
  --ok: #7CE3B1; --warn: #F2B33D; --bad: #FF8A8A;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Space Grotesk", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.page { min-height: 100%; overflow: hidden; position: relative; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.03em; color: var(--text); margin: 0; text-wrap: balance; }
.h2-pair { font-size: clamp(34px, 3.6vw, 46px); }
.lead { font-size: 19px; line-height: 1.55; color: var(--text-2); margin: 0; max-width: 640px; text-wrap: pretty; }
.lead strong { color: var(--text); font-weight: 600; }
.lead-sm { font-size: 16px; }
.accent { color: var(--accent); }
.dim { color: var(--faint); }
.rule { height: 1px; background: var(--border); }
.stack { display: flex; flex-direction: column; }
.g12 { gap: 12px; } .g14 { gap: 14px; } .g22 { gap: 22px; } .g28 { gap: 28px; }
.head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font-family: var(--sans); font-size: 16px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { color: var(--bg); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.18); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-sm { height: 46px; font-size: 15px; }
.btn svg { flex: none; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; color: var(--text); }
.card p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.card .mono { font-size: 0.92em; color: var(--text-2); white-space: nowrap; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 64px; align-items: start; }

/* the atmosphere behind the hero */
.grid-bg { position: absolute; inset: 0; height: 1200px; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 60% 0%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 70% 50% at 60% 0%, #000 30%, transparent 100%); }
.glow { position: absolute; top: -300px; right: -200px; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; }

/* nav */
.topbar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 20px; height: 20px; background: url(img/logo.svg) center / contain no-repeat; }
.brand-name { font-family: var(--mono); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--text); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 14.5px; color: var(--text-2); }
.nav a:hover { color: var(--accent); }
.pill-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; font-size: 14.5px; color: var(--text-2); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { color: var(--text); border-color: rgba(255,255,255,0.3); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; display: flex; flex-direction: column; padding: 8px; background: var(--surface); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.menu-panel a { padding: 11px 14px; border-radius: 9px; font-size: 15.5px; color: var(--text); }
.menu-panel a:hover { background: rgba(255,255,255,0.05); color: var(--accent); }

/* hero */
.hero { position: relative; padding: 72px 32px 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { margin: 0; font-size: clamp(46px, 5.8vw, 80px); line-height: 1.0; color: var(--text); text-wrap: balance; }
.licence { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-left: 6px; }
.hero-visual { position: relative; min-height: 520px; }
.window { position: absolute; inset: 0; border-radius: 18px; background: var(--panel); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 40px 120px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.4); overflow: hidden; display: flex; flex-direction: column; }
.window-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg); font-family: var(--mono); }
.window-bar .file { font-size: 12px; color: var(--muted); }
.window-bar .addr { font-size: 11px; color: var(--faint); }
.window-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); flex: 1; min-height: 0; }
.side { border-right: 1px solid var(--border); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--muted); }
.side div { padding: 7px 10px; border-radius: 7px; }
.side .on { color: var(--text); background: rgba(255,255,255,0.06); }
.side .lit { color: var(--text); }
.side .cnt { display: flex; justify-content: space-between; align-items: center; }
.side .cnt b { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--faint); }
.main { position: relative; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.main-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.main-head .display { font-size: 22px; line-height: 1; color: var(--text); letter-spacing: -0.03em; }
.main-head .mono { font-size: 11px; color: var(--muted); }
.main-foot { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.main-foot .mono { font-size: 11px; color: var(--faint); margin-left: auto; }

/* the board in the hero window: four columns, a few cards, the scan */
.board { position: relative; flex: 1; min-height: 300px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; border-radius: 10px; background: var(--bg); border: 1px solid rgba(255,255,255,0.06); padding: 10px; overflow: hidden; }
.col { display: flex; flex-direction: column; gap: 6px; min-width: 0; border-radius: 8px; background: var(--surface); border: 1px solid rgba(255,255,255,0.06); padding: 8px; }
.col-h { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); padding: 2px 2px 6px; }
.col-h i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.col-h .todo { background: var(--faint); } .col-h .run { background: var(--accent); } .col-h .test { background: var(--warn); } .col-h .done { background: var(--ok); }
.col-h b { font-family: var(--mono); font-weight: 400; font-size: 10px; color: var(--faint); margin-left: auto; }
.bcard { background: var(--surface-2); border: 1px solid rgba(255,255,255,0.12); border-radius: 7px; padding: 8px 9px; display: flex; flex-direction: column; gap: 5px; font-size: 11px; color: var(--text); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.bcard .k { font-family: var(--mono); font-size: 10px; color: var(--accent); }
.bcard .t { line-height: 1.3; overflow-wrap: anywhere; }
.bcard .f { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9.5px; color: var(--faint); }
.bcard .who { margin-left: auto; width: 14px; height: 14px; border-radius: 4px; display: inline-grid; place-items: center; font-size: 8px; font-weight: 500; color: var(--text-2); background: rgba(255,255,255,0.08); }
.bcard .who.claude { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); }
.bcard.live { border-color: var(--accent); }
.bcard .bar { height: 3px; border-radius: 2px; background: rgba(255,255,255,0.1); overflow: hidden; }
.bcard .bar i { display: block; height: 100%; width: 60%; background: var(--accent); }
.drop { flex: 1; min-height: 34px; border: 1px dashed rgba(255,255,255,0.14); border-radius: 7px; }
.scan { position: absolute; top: 0; bottom: 0; width: 140px; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 0%, transparent) 0%, color-mix(in srgb, var(--accent) 12%, transparent) 70%, color-mix(in srgb, var(--accent) 90%, transparent) 100%); animation: scan 6s cubic-bezier(.4,0,.2,1) infinite; mix-blend-mode: screen; }
@keyframes scan { 0% { left: -140px; } 55% { left: 100%; } 100% { left: 100%; } }
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .28s; } .d4 { animation-delay: .4s; }
.badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .04em; }
.p1 { background: rgba(255,99,99,0.16); color: var(--bad); border: 1px solid rgba(255,99,99,0.3); }
.p2 { background: rgba(242,179,61,0.14); color: var(--warn); border: 1px solid rgba(242,179,61,0.3); }
.p3 { background: rgba(255,255,255,0.06); color: var(--text-2); border: 1px solid rgba(255,255,255,0.12); }
.ok { background: rgba(124,227,177,0.12); color: var(--ok); border: 1px solid rgba(124,227,177,0.3); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 64px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; }
.stat b { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -0.02em; color: var(--text); }
.stat span { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* problem */
.problem { position: relative; padding: 120px 32px 96px; }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 48px; align-items: end; }
.problem .h2 { font-size: clamp(40px, 5vw, 68px); }
.inline-code { font-family: var(--mono); font-size: 16px; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); padding: 2px 7px; border-radius: 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--mono); font-size: 13px; padding: 8px 14px; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; color: var(--text-2); }

/* tour: radio buttons drive it, no script */
.tour { position: relative; padding: 40px 32px 120px; }
.tour-input { position: absolute; opacity: 0; pointer-events: none; }
.tour-grid { display: grid; grid-template-columns: minmax(0, 390px) minmax(0, 1fr); gap: 40px; align-items: start; }
.screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 10px; }
.screen { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); color: var(--text); font-size: 15.5px; font-weight: 500; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.screen:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.screen .n { font-family: var(--mono); font-size: 12px; color: var(--muted); width: 22px; flex: none; }
.shots { min-width: 0; }
.shot { display: none; margin: 0; }
.shot img { border-radius: 16px; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 30px 90px rgba(0,0,0,0.5); }
.shot figcaption { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--muted); }
#t01:checked ~ .tour-grid .s01, #t02:checked ~ .tour-grid .s02, #t03:checked ~ .tour-grid .s03, #t04:checked ~ .tour-grid .s04, #t05:checked ~ .tour-grid .s05, #t06:checked ~ .tour-grid .s06 { display: block; }
#t01:checked ~ .tour-grid [for="t01"], #t02:checked ~ .tour-grid [for="t02"], #t03:checked ~ .tour-grid [for="t03"], #t04:checked ~ .tour-grid [for="t04"], #t05:checked ~ .tour-grid [for="t05"], #t06:checked ~ .tour-grid [for="t06"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
#t01:checked ~ .tour-grid [for="t01"] .n, #t02:checked ~ .tour-grid [for="t02"] .n, #t03:checked ~ .tour-grid [for="t03"] .n, #t04:checked ~ .tour-grid [for="t04"] .n, #t05:checked ~ .tour-grid [for="t05"] .n, #t06:checked ~ .tour-grid [for="t06"] .n { color: var(--accent); }
.tour-input:focus-visible ~ .tour-grid .screens { outline: 2px solid color-mix(in srgb, var(--accent) 50%, transparent); outline-offset: 6px; border-radius: 12px; }

/* pairs */
.pair { position: relative; padding: 0 32px 120px; }
.store-card { padding: 22px 24px; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.store-card svg { stroke: var(--accent); }
.audit { display: grid; grid-template-columns: 28px 1fr auto; gap: 0 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--border); font-size: 16px; color: var(--text); }
.audit.two { grid-template-columns: 1fr auto; }
.audit.first { border-top: none; }
.audit.top { padding-top: 6px; }
.audit .k { font-family: var(--mono); font-size: 13px; color: var(--muted); text-align: right; }
.audit strong { font-weight: 600; }
.audit .note { color: var(--muted); }
.audit .tick { font-family: var(--mono); color: var(--accent); }
.audit .opt { font-family: var(--mono); color: var(--muted); }
.audit.launch { grid-template-columns: 110px 1fr; }
.audit.launch .os { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.audit.launch .cmd { font-family: var(--mono); font-size: 15px; }

/* AI */
.ai { position: relative; padding: 0 32px 120px; }
.ai .rule { margin-bottom: 96px; }
.ai-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 48px; align-items: start; margin-bottom: 40px; }
.ai-head .lead { padding-top: 8px; }
.ai-card { display: flex; flex-direction: column; gap: 14px; min-height: 220px; }
.ai-card .tag { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.ai-card h3 { margin: 0; }

/* security */
.security { position: relative; background: var(--bg-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.security .wrap { padding: 120px 32px; }
.security .cols { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.sticky { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 32px; }
.sticky .btn { align-self: flex-start; }

/* family */
.family { position: relative; padding: 120px 32px; }
.family .head { margin-bottom: 48px; }
.sib { display: flex; flex-direction: column; gap: 16px; }
.sib .logo { width: 40px; height: 40px; }
.sib .when { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.sib h3 { margin: 0; }
.sib .btn { align-self: flex-start; margin-top: auto; }
.sib.first { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent), color-mix(in srgb, var(--accent) 0%, transparent) 60%), var(--surface); }

/* get it */
.get { position: relative; padding: 0 32px 140px; }
.get .rule { margin-bottom: 96px; }
.term { background: var(--bg-deep); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 26px 28px; font-family: var(--mono); font-size: 14.5px; line-height: 1.8; color: #C9D1D9; overflow-x: auto; }
.term .c { color: var(--faint); }
.term .p { color: var(--accent); }
.term .gap { height: 14px; }

/* footer */
.foot { position: relative; border-top: 1px solid var(--border); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; padding: 36px 32px 44px; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand .brand-mark { width: 16px; height: 16px; }
.foot-brand .mono { font-size: 14px; color: var(--text); }
.foot-brand .dim { font-family: var(--mono); font-size: 12.5px; }
.foot-links { font-family: var(--mono); font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: var(--text-2); }
.legal { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--faint); flex-basis: 100%; max-width: 720px; }

/* 404 */
.lost { position: relative; padding: 120px 32px; min-height: 70vh; }

/* One column: the window sits under the text and takes its own height. */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 0; }
  .window { position: relative; inset: auto; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .audit { grid-template-columns: 22px 1fr; row-gap: 4px; }
  .audit .k { grid-column: 2; text-align: left; }
  .audit.two { grid-template-columns: 1fr; }
  .audit.two .k { grid-column: 1; }
  .hero, .problem, .tour, .pair, .ai, .family, .get { padding-left: 20px; padding-right: 20px; }
  .security .wrap, .foot .wrap { padding-left: 20px; padding-right: 20px; }
  .card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .scan, .rise { animation: none; } .scan { display: none; } html { scroll-behavior: auto; } }

/* The hero window, by its own width (after the rules it changes, so it wins). */
.window { container-type: inline-size; container-name: window; }
@container window (max-width: 600px) { .window-body { grid-template-columns: minmax(0, 1fr); } .side { display: none; } }
.board { container-type: inline-size; }
@container (max-width: 380px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .col.todo, .col.running { display: none; } }

/* Tandem's hero window: Claude working through a story — steps, tokens, the last message. */
.run { position: relative; flex: 1; min-height: 300px; display: flex; flex-direction: column; gap: 10px; border-radius: 10px; background: var(--bg); border: 1px solid rgba(255,255,255,0.06); padding: 14px; overflow: hidden; }
.run-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--text); }
.run-top .k { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.run-top .live { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10px; color: var(--accent); padding: 2px 7px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.run-top .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.run-top .t { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-left: auto; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.step-c { display: flex; flex-direction: column; gap: 5px; padding: 8px; border-radius: 7px; background: var(--surface); border: 1px solid rgba(255,255,255,0.08); font-size: 10.5px; line-height: 1.3; color: var(--text-2); min-width: 0; }
.step-c .n { display: flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 9.5px; color: var(--faint); }
.step-c .n i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.18); display: inline-block; }
.step-c.done .n i { background: var(--ok); border-color: var(--ok); }
.step-c.now { border-color: var(--accent); color: var(--text); }
.step-c.now .n i { border: 3px solid var(--accent); }
.step-c.todo { opacity: .55; }
.step-c .tk { font-family: var(--mono); font-size: 9.5px; color: var(--faint); margin-top: auto; }
.msg { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 7px; background: var(--surface); border: 1px solid rgba(255,255,255,0.08); font-size: 11px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg b { color: var(--accent); font-weight: 500; }
.asks { display: flex; flex-direction: column; gap: 5px; }
.ask { display: grid; grid-template-columns: 14px 1fr; gap: 8px; align-items: start; font-size: 10.5px; color: var(--text-2); line-height: 1.35; }
.ask i { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid rgba(255,255,255,0.25); margin-top: 1px; }
.ask i.on { background: var(--ok); border-color: var(--ok); }
.tok { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: auto; }
.tok div { padding: 7px 9px; border-radius: 7px; background: var(--surface); border: 1px solid rgba(255,255,255,0.08); }
.tok b { display: block; font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--text); }
.tok span { font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.run { container-type: inline-size; }
@container (max-width: 380px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .step-c.todo { display: none; } .tok { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tok div:last-child { display: none; } }
