/* ============================================================
   PRAXIS — marketing page styles (landing, pricing, docs)
   ============================================================ */

/* ---------- HERO ---------- */
.hero { position: relative; padding: 92px 0 56px; overflow: hidden; }
.hero .grid-bg { background-size: 72px 72px; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1.25fr; gap: 56px; align-items: center; }
@media (max-width: 1000px) { .hero-inner { grid-template-columns: 1fr; gap: 44px; } }

.hero h1 {
  font-size: clamp(42px, 5.6vw, 76px); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98;
  margin: 24px 0 0; max-width: 14ch;
}
.hero h1 .serif-em { color: var(--acc); }
.hero-sub { margin-top: 26px; max-width: 50ch; font-size: 18px; line-height: 1.55; color: var(--fg-1); }
.hero-sub b { color: var(--fg-0); font-weight: 600; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-cta .meta { font-size: 13px; color: var(--fg-3); font-family: var(--f-mono); }
.hero-trust { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-1); display: flex; flex-wrap: wrap; gap: 28px; }
.hero-trust .t { display: flex; flex-direction: column; gap: 3px; }
.hero-trust .t .v { font-size: 15px; font-weight: 600; color: var(--fg-0); }
.hero-trust .t .l { font-size: 12px; color: var(--fg-2); }

/* ---------- LIVE DEMO (chat -> canvas) ---------- */
.demo {
  position: relative; background: var(--bg-1); border: 1px solid var(--line-2);
  border-radius: var(--r-4); overflow: hidden; box-shadow: var(--shadow-xl);
}
.demo-chrome { display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-bottom: 1px solid var(--line-1); background: var(--bg-2); }
.demo-chrome .lights { display: flex; gap: 6px; }
.demo-chrome .lights span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.demo-chrome .url {
  margin-left: 6px; flex: 1; max-width: 320px; display: flex; align-items: center; gap: 7px;
  padding: 5px 12px; background: var(--bg-0); border: 1px solid var(--line-1); border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: 11.5px; color: var(--fg-2);
}
.demo-chrome .url b { color: var(--fg-0); font-weight: 500; }
.demo-chrome .live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 11px; color: var(--fg-1); padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--bg-1); }
.demo-chrome .live .d { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 1.8s infinite; }

.demo-body { display: grid; grid-template-columns: 0.92fr 1.08fr; min-height: 440px; }
@media (max-width: 620px) { .demo-body { grid-template-columns: 1fr; } }

/* chat side */
.chat { padding: 18px; border-right: 1px solid var(--line-1); display: flex; flex-direction: column; gap: 13px; background: var(--bg-0); }
.msg { display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateY(8px); }
.msg.show { opacity: 1; transform: none; transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.msg .who { display: flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); }
.msg .who .av { width: 17px; height: 17px; border-radius: 5px; display: grid; place-items: center; font-size: 9px; font-weight: 600; }
.msg.you .who .av { background: var(--bg-3); color: var(--fg-1); }
.msg.ai .who .av { background: var(--acc); color: var(--acc-fg); position: relative; }
.msg.ai .who .av::after { content:''; width: 6px; height: 6px; border-radius: 1.5px; background: var(--acc-fg); transform: rotate(45deg); }
.msg .who b { color: var(--fg-1); font-weight: 600; }
.msg .bubble { padding: 11px 13px; border-radius: var(--r-3); font-size: 13.5px; line-height: 1.5; color: var(--fg-0); border: 1px solid var(--line-1); background: var(--bg-1); }
.msg.you .bubble { background: var(--bg-2); }
.msg.ai .bubble { background: var(--acc-soft); border-color: var(--acc-line); }
.msg .bubble code { font-family: var(--f-mono); font-size: 12px; padding: 1px 5px; border-radius: 4px; background: color-mix(in oklch, var(--acc) 14%, transparent); color: var(--acc); }
.msg .reason { margin-top: 5px; padding-left: 11px; border-left: 2px solid var(--acc-line); font-size: 12px; color: var(--fg-2); line-height: 1.5; }
.typing { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: var(--r-3); background: var(--bg-2); border: 1px solid var(--line-1); font-family: var(--f-mono); font-size: 11.5px; color: var(--fg-2); align-self: flex-start; }
.typing .dots { display: flex; gap: 3px; }
.typing .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--acc); animation: bounce 1.2s infinite; }
.typing .dots i:nth-child(2){ animation-delay: .15s; } .typing .dots i:nth-child(3){ animation-delay: .3s; }
@keyframes bounce { 0%,80%,100%{ transform: translateY(0); opacity:.4;} 40%{ transform: translateY(-3px); opacity:1;} }
.chat-input { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--line-2); border-radius: var(--r-3); background: var(--bg-1); }
.chat-input .ph { flex: 1; font-size: 13px; color: var(--fg-3); }
.chat-input .send { width: 28px; height: 28px; border-radius: var(--r-2); background: var(--acc); display: grid; place-items: center; color: var(--acc-fg); }

/* canvas side */
.canvas { position: relative; padding: 20px; background:
  radial-gradient(circle at 1px 1px, var(--grid-line) 1.2px, transparent 0) 0 0 / 22px 22px, var(--bg-1); overflow: hidden; }
.canvas-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.canvas-hd .nm { font-size: 14px; font-weight: 600; color: var(--fg-0); }
.canvas-hd .ver { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); }
.canvas-hd .sync { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10.5px; color: var(--acc); }
.flow { display: flex; flex-direction: column; gap: 11px; }
.flow-row { display: grid; gap: 10px; }
.flow-row.c1 { grid-template-columns: 1fr; }
.flow-row.c2 { grid-template-columns: 1fr 1fr; position: relative; }
.flow-row.c3 { grid-template-columns: 1fr 1fr 1fr; }
.node {
  padding: 11px 13px; border-radius: var(--r-3); background: var(--bg-1); border: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(-8px) scale(0.97);
}
.node.show { opacity: 1; transform: none; transition: all 0.55s var(--ease-out); }
.node .kind { font-family: var(--f-mono); font-size: 10px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.05em; }
.node .ttl { font-size: 13.5px; font-weight: 600; color: var(--fg-0); }
.node .meta { font-family: var(--f-mono); font-size: 10.5px; color: var(--fg-2); }
.node.ai { border-color: var(--acc-line); background: var(--acc-soft); }
.node.ai .kind { color: var(--acc); }
.connector { height: 14px; width: 1px; background: var(--line-2); margin: -6px auto; }
.branch-lbl { position: absolute; top: -9px; transform: translateX(-50%); padding: 2px 9px; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--r-pill); font-family: var(--f-mono); font-size: 9.5px; color: var(--fg-2); z-index: 2; }
.branch-lbl.l { left: 25%; } .branch-lbl.r { left: 75%; }
.canvas-foot { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line-1); display: flex; gap: 22px; flex-wrap: wrap; }
.canvas-foot .s .v { font-family: var(--f-mono); font-size: 14px; font-weight: 600; color: var(--fg-0); }
.canvas-foot .s .l { font-size: 10px; color: var(--fg-2); margin-top: 1px; }
.demo-cap { margin-top: 16px; text-align: center; font-size: 13px; color: var(--fg-3); }
.demo-cap b { color: var(--fg-1); font-weight: 600; }

/* ---------- logo strip ---------- */
.logos { padding: 26px 0; border-top: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1); }
.logos .row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.logos .lbl { font-family: var(--f-mono); font-size: 11.5px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.07em; }
.logos .marks { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.logos .marks span { font-size: 17px; font-weight: 600; color: var(--fg-3); letter-spacing: -0.02em; opacity: 0.85; }

/* ---------- section scaffold ---------- */
.sec { padding: 120px 0; border-top: 1px solid var(--line-1); position: relative; }
.sec-hd { max-width: 720px; margin-bottom: 56px; }
.sec-hd .eyebrow { margin-bottom: 20px; }
.sec-hd h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.sec-hd h2 .serif-em { color: var(--fg-2); }
.sec-hd p { margin-top: 18px; font-size: 17px; color: var(--fg-1); line-height: 1.6; max-width: 60ch; }

/* ---------- feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  background: var(--bg-1); border: 1px solid var(--line-1); border-radius: var(--r-4);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card:hover { border-color: var(--line-3); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .ic { width: 38px; height: 38px; border-radius: var(--r-2); background: var(--bg-2); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--acc); }
.card .ic svg { width: 19px; height: 19px; }
.card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.card p { font-size: 14.5px; color: var(--fg-1); line-height: 1.6; }
.card .foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-1); font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.02em; }
.card.col-3 { grid-column: span 3; }
.card.col-2 { grid-column: span 2; }
.card.col-6 { grid-column: span 6; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } .card.col-3, .card.col-2, .card.col-6 { grid-column: span 1; } }

/* mini visuals inside cards */
.kv { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.kv .r { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; }
.kv .r .lbl { color: var(--fg-3); width: 64px; flex-shrink: 0; }
.kv .r .bar { flex: 1; height: 5px; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.kv .r .bar i { display: block; height: 100%; background: var(--acc); border-radius: 3px; }
.kv .r .end { color: var(--fg-2); }
.tenants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 4px; }
.tn { padding: 10px; border-radius: var(--r-2); background: var(--bg-2); border: 1px solid var(--line-1); display: flex; flex-direction: column; gap: 3px; }
.tn .id { font-family: var(--f-mono); font-size: 9.5px; color: var(--fg-3); }
.tn .nm { font-size: 12px; font-weight: 600; }
.tn .db { font-family: var(--f-mono); font-size: 9.5px; color: var(--fg-2); margin-top: 4px; }
.tn.dim { opacity: 0.45; }
.codeblk { font-family: var(--f-mono); font-size: 12px; line-height: 1.65; background: var(--bg-inset); border: 1px solid var(--line-1); border-radius: var(--r-3); padding: 14px 16px; color: var(--fg-1); overflow-x: auto; }
.codeblk .c { color: var(--fg-3); } .codeblk .k { color: var(--acc); font-weight: 600; } .codeblk .s { color: var(--ok); }
.stmt { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: var(--r-2); background: var(--bg-2); border: 1px solid var(--line-1); font-size: 12.5px; color: var(--fg-1); }
.stmt .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-1); border-radius: var(--r-4); overflow: hidden; background: var(--bg-1); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px 26px; border-right: 1px solid var(--line-1); display: flex; flex-direction: column; gap: 11px; }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--f-mono); font-size: 12px; color: var(--acc); letter-spacing: 0.04em; }
.step h3 { font-size: 18px; font-weight: 600; }
.step p { font-size: 13.5px; color: var(--fg-1); line-height: 1.55; }
.step .t { margin-top: auto; font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); padding-top: 8px; }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1.15fr 1fr; border: 1px solid var(--line-1); border-radius: var(--r-4); overflow: hidden; }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }
.cc { padding: 32px 28px; border-right: 1px solid var(--line-1); display: flex; flex-direction: column; gap: 12px; background: var(--bg-0); }
.cc:last-child { border-right: 0; }
.cc.feat { background: var(--bg-1); position: relative; }
.cc.feat::before { content: ''; position: absolute; inset: 0; border: 1.5px solid var(--acc-line); border-radius: var(--r-3); margin: -1px; pointer-events: none; }
.cc .nm { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; }
.cc.feat .nm { color: var(--acc); }
.cc h4 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.cc .d { font-size: 14px; color: var(--fg-1); line-height: 1.6; }
.cc ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line-1); }
.cc li { font-size: 13.5px; color: var(--fg-1); padding-left: 22px; position: relative; line-height: 1.5; }
.cc li::before { content: ''; position: absolute; left: 0; top: 8px; width: 10px; height: 1px; background: var(--fg-4); }
.cc.feat li::before { background: var(--acc); width: 11px; }
@media (max-width: 820px) { .cc { border-right: 0; border-bottom: 1px solid var(--line-1); } .cc:last-child { border-bottom: 0; } }

/* ---------- quote ---------- */
.quote { border: 1px solid var(--line-1); border-radius: var(--r-5); padding: 64px; background: var(--bg-1); position: relative; overflow: hidden; }
.quote .grid-bg { opacity: 0.6; }
.quote blockquote { position: relative; font-family: var(--f-serif); font-size: clamp(24px, 3vw, 36px); font-weight: 400; line-height: 1.32; letter-spacing: -0.015em; color: var(--fg-0); max-width: 26ch; }
.quote blockquote em { color: var(--acc); font-style: italic; }
.quote cite { position: relative; display: flex; align-items: center; gap: 13px; margin-top: 36px; font-style: normal; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--fg-1); }
.quote .who { font-size: 14px; font-weight: 600; }
.quote .role { font-size: 13px; color: var(--fg-2); margin-top: 1px; }

/* ---------- CTA ---------- */
.cta { border: 1px solid var(--acc-line); border-radius: var(--r-5); padding: 80px 56px; background: linear-gradient(155deg, var(--acc-soft), var(--bg-1) 55%); position: relative; overflow: hidden; text-align: center; }
.cta .grid-bg { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 25%, transparent 75%); }
.cta-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.0; max-width: 18ch; }
.cta h2 .serif-em { color: var(--acc); }
.cta p { margin-top: 20px; max-width: 52ch; font-size: 16.5px; color: var(--fg-1); line-height: 1.6; }
.cta .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }
.qa { padding: 24px 26px; border: 1px solid var(--line-1); border-radius: var(--r-3); background: var(--bg-1); }
.qa h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 9px; }
.qa p { font-size: 14px; color: var(--fg-1); line-height: 1.6; }
.qa code { font-family: var(--f-mono); font-size: 12.5px; padding: 1px 6px; border-radius: 4px; background: var(--bg-2); color: var(--acc); }

/* Safety net for the hero demo under Blazor enhanced navigation: once the
   global reveal-fallback fires (1.6s after first load, persists on <html>),
   force the chat/canvas demo visible too so a re-visited landing page never
   shows the blank pre-animation state. */
html.reveal-fallback .msg,
html.reveal-fallback .node { opacity: 1 !important; transform: none !important; }

/* ---------- ⌘K command palette (MarketingPalette / CommandPalette) ----------
   Styles used to live in the retired Aurora site.css; rebuilt on the Praxis
   tokens so the palette themes with light/dark automatically. */
.cmdk-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: flex-start; justify-content: center;
  padding: 14vh 20px 0;
  background: oklch(0.15 0.01 264 / 0.45);
  backdrop-filter: blur(4px);
}
.cmdk-overlay.is-open { display: flex; }
.cmdk-panel {
  width: min(560px, 100%);
  background: var(--bg-1); border: 1px solid var(--line-2);
  border-radius: var(--r-4); box-shadow: var(--shadow-xl);
  overflow: hidden; display: flex; flex-direction: column;
}
.cmdk-input {
  width: 100%; padding: 15px 18px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-1);
  font-size: 15px; color: var(--fg-0);
}
.cmdk-input:focus { outline: none; }
.cmdk-input::placeholder { color: var(--fg-4); }
.cmdk-results { max-height: 320px; overflow-y: auto; padding: 6px; }
.cmdk-result {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-2);
  font-size: 14px; color: var(--fg-1); text-align: left;
}
.cmdk-result:hover, .cmdk-result.is-highlighted { background: var(--bg-2); color: var(--fg-0); }
.cmdk-icon { width: 22px; text-align: center; color: var(--acc); flex-shrink: 0; }
.cmdk-label { flex: 1; }
.cmdk-hint { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; }
.cmdk-empty { padding: 22px 14px; text-align: center; font-size: 13.5px; color: var(--fg-3); }
.cmdk-footer {
  display: flex; gap: 18px; padding: 9px 16px;
  border-top: 1px solid var(--line-1);
  font-size: 11.5px; color: var(--fg-3); font-family: var(--f-mono);
}
.cmdk-footer kbd {
  display: inline-block; min-width: 17px; text-align: center;
  padding: 1px 4px; margin-right: 3px;
  border: 1px solid var(--line-2); border-bottom-width: 2px;
  border-radius: 4px; background: var(--bg-2); font-family: inherit; font-size: 10.5px;
}

/* ===== WHY PRAXIS · AI-code-tool contrast ledger ===== */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.vs-col { border: 1px solid var(--line-1); border-radius: var(--r-4); padding: 28px 26px; background: var(--bg-0); }
.vs-col.b { background: var(--bg-1); position: relative; }
.vs-col.b::before { content: ''; position: absolute; inset: 0; border: 1.5px solid var(--acc-line); border-radius: var(--r-4); margin: -1px; pointer-events: none; }
.vs-tag { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-3); }
.vs-col.b .vs-tag { color: var(--acc); }
.vs-col ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.vs-col li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; color: var(--fg-1); }
.vs-col li b { color: var(--fg-0); font-weight: 600; }
.vs-col.a li::before { content: '\2715'; position: absolute; left: 0; top: 1px; color: var(--fg-4); font-size: 12px; }
.vs-col.b li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--acc); font-weight: 700; }
.vs-foot { max-width: 780px; margin: 28px auto 0; text-align: center; font-size: 16px; line-height: 1.6; color: var(--fg-1); }
.vs-foot b { color: var(--fg-0); font-weight: 600; }
@media (max-width: 820px) { .vs { grid-template-columns: 1fr; } }

/* ===== WHY PRAXIS · animated explainer reel ===== */
.explainer { margin-top: 10px; --toil: oklch(0.78 0.13 62); --toil-soft: oklch(0.78 0.13 62 / 0.13); --toil-line: oklch(0.78 0.13 62 / 0.32); --live: oklch(0.80 0.15 155); --live-soft: oklch(0.80 0.15 155 / 0.14); }
.explainer .reel { background: var(--bg-1); border: 1px solid var(--line-1); border-radius: var(--r-4); overflow: hidden; box-shadow: 0 30px 80px -48px rgba(0,0,0,.5); }
.explainer .chrome { display:flex; align-items:center; gap:12px; padding:12px 16px; border-bottom:1px solid var(--line-1); background:var(--bg-0); }
.explainer .lights { display:flex; gap:7px; }
.explainer .lights span { width:11px; height:11px; border-radius:50%; background:var(--bg-2); border:1px solid var(--line-1); }
.explainer .rl-url { font-family:var(--f-mono); font-size:12px; color:var(--fg-2); background:var(--bg-1); border:1px solid var(--line-1); border-radius:7px; padding:4px 12px; }
.explainer .rl-url b { color:var(--fg-1); font-weight:600; }
.explainer .rl-live { margin-left:auto; display:inline-flex; align-items:center; gap:7px; font-family:var(--f-mono); font-size:11px; color:var(--fg-2); border:1px solid var(--line-1); border-radius:999px; padding:4px 11px; }
.explainer .rl-live .d { width:7px; height:7px; border-radius:50%; background:var(--fg-3); transition:background .4s ease; }
.explainer .reel.done .rl-live { color:var(--live); border-color:var(--live-soft); }
.explainer .reel.done .rl-live .d { background:var(--live); box-shadow:0 0 10px var(--live); }
.explainer .body { padding:22px 24px 20px; }
.explainer .promptrow { display:flex; align-items:center; gap:12px; background:var(--bg-0); border:1px solid var(--line-1); border-radius:12px; padding:12px 15px; }
.explainer .promptrow .who { font-family:var(--f-mono); font-size:11px; color:var(--fg-3); white-space:nowrap; }
.explainer .typed { font-family:var(--f-mono); font-size:14px; color:var(--fg-0); white-space:nowrap; overflow:hidden; width:0; border-right:2px solid var(--acc); box-sizing:content-box; }
.explainer .typed.in { animation: pxtw 1.5s steps(41,end) forwards, pxcaret .8s step-end 6; }
@keyframes pxtw { to { width: 41ch; } }
@keyframes pxcaret { 50% { border-color: transparent; } }
.explainer .go { margin-left:auto; font-family:var(--f-mono); font-size:11px; color:var(--acc); border:1px solid var(--acc-line); background:var(--acc-soft); border-radius:7px; padding:5px 10px; white-space:nowrap; }
.explainer .split { margin-top:20px; display:grid; grid-template-columns:1fr 88px 1fr; max-height:0; opacity:0; overflow:hidden; transition:max-height .6s ease, opacity .5s ease; }
.explainer .split.in { max-height:620px; opacity:1; }
.explainer .lane { padding:4px 2px; }
.explainer .lane-tag { font-family:var(--f-mono); font-size:10.5px; letter-spacing:.07em; text-transform:uppercase; color:var(--fg-3); }
.explainer .lane.run .lane-tag { color:var(--acc); }
.explainer .lane-name { font-size:16px; font-weight:640; letter-spacing:-0.01em; margin-top:3px; color:var(--fg-0); }
.explainer .lane-sub { font-family:var(--f-mono); font-size:11px; color:var(--fg-3); margin-top:2px; }
.explainer .divider { position:relative; }
.explainer .divider::before { content:""; position:absolute; left:50%; top:6px; bottom:6px; width:1px; background:linear-gradient(var(--line-1), transparent); }
.explainer .divider span { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); font-family:var(--f-serif); font-style:italic; font-size:13px; color:var(--fg-3); background:var(--bg-1); padding:6px 3px; white-space:nowrap; }
.explainer .stack { margin-top:14px; display:flex; flex-direction:column; gap:9px; }
.explainer .rise { opacity:0; transform:translateY(8px); transition:opacity .45s ease, transform .45s ease; }
.explainer .rise.in { opacity:1; transform:none; }
.explainer .repo { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:10px; border:1px solid var(--toil-line); background:var(--toil-soft); }
.explainer .repo .ic { font-family:var(--f-mono); color:var(--toil); font-size:12px; }
.explainer .repo .nm { font-family:var(--f-mono); font-size:12.5px; color:var(--fg-1); }
.explainer .repo .mt { margin-left:auto; font-family:var(--f-mono); font-size:11px; color:var(--fg-3); }
.explainer .chip { display:flex; align-items:center; gap:9px; font-size:13.5px; color:var(--fg-2); }
.explainer .chip .x { width:17px; height:17px; border-radius:5px; flex:none; display:grid; place-items:center; background:var(--toil-soft); color:var(--toil); font-size:10px; border:1px solid var(--toil-line); }
.explainer .pager { margin-top:2px; align-self:flex-start; display:inline-flex; align-items:center; gap:8px; font-family:var(--f-mono); font-size:12px; color:var(--toil); border:1px solid var(--toil-line); background:var(--toil-soft); border-radius:999px; padding:5px 12px; }
.explainer .node { display:flex; align-items:center; gap:11px; padding:9px 12px; border-radius:10px; border:1px solid var(--line-1); background:var(--bg-0); }
.explainer .node .kd { font-family:var(--f-mono); font-size:9px; letter-spacing:.05em; text-transform:uppercase; color:var(--fg-3); border:1px solid var(--line-1); border-radius:5px; padding:3px 6px; white-space:nowrap; }
.explainer .node.ai .kd { color:var(--acc); border-color:var(--acc-line); background:var(--acc-soft); }
.explainer .node .tl { font-size:13px; color:var(--fg-1); }
.explainer .node .dot { margin-left:auto; width:7px; height:7px; border-radius:50%; background:var(--live); box-shadow:0 0 8px var(--live); }
.explainer .link { height:10px; width:1px; background:var(--line-1); margin-left:22px; }
.explainer .tenants { display:flex; gap:6px; flex-wrap:wrap; }
.explainer .tn { font-family:var(--f-mono); font-size:10.5px; color:var(--fg-2); border:1px solid var(--line-1); background:var(--bg-0); border-radius:7px; padding:5px 9px; }
.explainer .tn.more { color:var(--acc); border-color:var(--acc-line); background:var(--acc-soft); }
.explainer .audit { font-family:var(--f-mono); font-size:11px; color:var(--fg-3); }
.explainer .audit b { color:var(--live); font-weight:500; }
.explainer .live-tag { margin-top:2px; align-self:flex-start; display:inline-flex; align-items:center; gap:8px; font-family:var(--f-mono); font-size:12px; color:var(--live); border:1px solid var(--live-soft); background:var(--live-soft); border-radius:999px; padding:5px 12px; }
.explainer .live-tag .d { width:7px; height:7px; border-radius:50%; background:var(--live); box-shadow:0 0 10px var(--live); }
.explainer .thesis { margin-top:20px; padding-top:18px; border-top:1px solid var(--line-1); font-size:clamp(17px,2.4vw,22px); letter-spacing:-0.02em; color:var(--fg-0); }
.explainer .thesis .serif-em { color:var(--acc); }
@media (max-width: 820px) {
  .explainer .split { grid-template-columns:1fr; }
  .explainer .divider { display:none; }
  .explainer .lane.run { margin-top:18px; padding-top:16px; border-top:1px solid var(--line-1); }
}
@media (prefers-reduced-motion: reduce) {
  .explainer .rise { opacity:1; transform:none; transition:none; }
  .explainer .split { max-height:none; opacity:1; }
  .explainer .typed { width:auto; border-right:0; }
  .explainer .typed.in { animation:none; }
}
