/* ═══════════════════════════════════════════════════════════════════════
   GeXOn AI — gx-visuals.css · diagrams & product interfaces (v6)
   ───────────────────────────────────────────────────────────────────────
   Loaded after gx.css on pages that explain how something works.

   One rule governs every component here: THE BASE STYLES ARE THE
   FINISHED STATE. JavaScript (gx.js) may hide the future — via
   [data-stage], .is-cine or [data-active] — but with no JS, reduced
   motion, or a script error, every visual renders complete and legible.

   Contents
     1  Frame           the window every mock interface sits in
     2  System map      hero: systems → GeXOn → outcomes
     3  Journey         fragmented → connected → understood → automated
     4  Capability art  three small explanatory drawings
     5  Dashboard       SolmiriX operations panel (cinematic)
     6  Architecture    sources → layers → modules strip
     7  Explorer        tabbed product / problem / path explorer
     8  Flow strip      a workflow as a chain of steps
     9  Mini UIs        compact product interfaces inside the explorer
    10  Lanes           today vs with GeXOn
    11  Timeline        engagement steps
    12  Calculator
    13  Staged chapter  scroll-driven process (ported from process.css)
    14  .pv primitives  rows, badges, fields, destinations, log
    15  Stage machine
    16  Form variants   phone, board, sync, shelf
    17  Ambient gates
   ═══════════════════════════════════════════════════════════════════════ */


/* ── 1 · Frame ──────────────────────────────────────────────────────── */
.frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  contain: layout;
  color: var(--ink);
  --text: var(--ink);
  --text-2: #3A4960;
  --text-3: #56647A;
  --line: #E3E8EE;
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 0.65rem 0.95rem;
  border-bottom: 1px solid var(--line);
  background: #F8FAFC;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-3);
}
.frame__bar b { color: var(--ink); font-weight: 600; }
.frame__mark {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 5px;
  background: var(--ink);
  display: grid;
  place-items: center;
}
.frame__mark::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--teal);
}
.frame__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--teal-ink);
}
.frame__status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: gx-pulse 2.4s var(--ease) infinite;
}
@keyframes gx-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(40, 192, 156, 0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(40, 192, 156, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 192, 156, 0); }
}
.frame__body { padding: clamp(0.9rem, 0.6rem + 1vw, 1.25rem); }

/* The illustrative label sits under a frame, outside the "product". */
.frame-note {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--s-3);
}
.on-dark .frame { border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7); }


/* ── 2 · System map (home hero) ─────────────────────────────────────────
   Three columns: source systems (buttons) → the GeXOn layer → outcomes.
   An SVG behind them draws one path per source into the layer and one
   per outcome out of it. [data-active] on the root lights the chosen
   source's path and the outcomes its workflow reaches. */
.sysmap {
  position: relative;
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-2);
}
.sysmap__head {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
/* Five tracks: sources | wires | layer | wires | outcomes (110fr total).
   The SVG's viewBox is 0 0 100 100 stretched over the same box, so the
   wire endpoints in the markup are percentages of these tracks:
   sources end at 27.3, the layer spans 38.2–65.5, outcomes start 76.4.
   Rows are equal fractions, so node centres sit at (i + 0.5) / n. */
.sysmap__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 30fr) minmax(0, 12fr) minmax(0, 30fr) minmax(0, 12fr) minmax(0, 26fr);
  min-height: 380px;
}
.sysmap__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sysmap__col { position: relative; min-width: 0; display: grid; }
.sysmap__col--src { grid-column: 1; grid-template-rows: repeat(6, minmax(0, 1fr)); align-items: center; }
.sysmap__col--core { grid-column: 3; align-content: center; }
.sysmap__col--out { grid-column: 5; grid-template-rows: repeat(5, minmax(0, 1fr)); align-items: center; }

.sysmap__node {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 560;
  text-align: left;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.sysmap__node:hover { border-color: var(--line-2); background: var(--white); }
.sysmap__node[aria-pressed="true"] {
  border-color: var(--teal-ink);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--teal-wash);
}
.sysmap__node small { display: block; font-size: 0.6875rem; font-weight: 400; color: var(--text-3); line-height: 1.3; }
.sysmap__ico {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--paper-2);
  color: var(--text-2);
}
.sysmap__ico svg { width: 15px; height: 15px; }
.sysmap__node[aria-pressed="true"] .sysmap__ico { background: var(--ink); color: var(--teal); }

.sysmap__core {
  position: relative;
  padding: var(--s-4);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: 0 20px 44px -18px rgba(15, 35, 64, 0.6);
}
.sysmap__core-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}
.sysmap__core-title::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--teal);
}
.sysmap__core-sub { margin-top: 2px; font-size: 0.75rem; color: var(--on-dark-3); }
.sysmap__layers { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: 6px; }
.sysmap__layer {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--on-dark-2);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.sysmap__layer b { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 560; color: var(--on-dark); }

.sysmap__out {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  align-items: start;
  gap: 0 0.6rem;
  padding: 0.35rem 0;
  font-size: var(--fs-sm);
  font-weight: 560;
  color: var(--text-3);
  transition: color var(--t-fast) var(--ease);
}
.sysmap__out::before {
  content: "";
  flex-shrink: 0;
  width: 10px; height: 10px;
  margin-top: 0.3em;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.sysmap__out small { grid-column: 2; display: block; font-weight: 400; font-size: 0.75rem; line-height: 1.35; color: var(--text-3); }

/* Wires */
.sysmap__wire {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  transition: stroke var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease);
}
.sysmap__pulse {
  fill: none;
  stroke: var(--teal-ink);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 2 10;
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
}

/* Active workflow. One rule per node keeps this authorable in HTML. */
.sysmap__caption {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.75rem;
  align-items: baseline;
  min-height: 4.6em;
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px dashed var(--line-2);
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.sysmap__caption b { color: var(--ink); font-weight: 600; }
.sysmap__caption a { color: var(--teal-ink); font-weight: 560; }
.sysmap__caption .mono { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-ink); }

/* Lit states: which wires, layers and outcomes belong to each source. */
[data-active="crm"]      [data-wire~="crm"],
[data-active="erp"]      [data-wire~="erp"],
[data-active="email"]    [data-wire~="email"],
[data-active="docs"]     [data-wire~="docs"],
[data-active="support"]  [data-wire~="support"],
[data-active="db"]       [data-wire~="db"] { stroke: var(--teal-ink); }

[data-active="crm"]      .sysmap__pulse[data-wire~="crm"],
[data-active="erp"]      .sysmap__pulse[data-wire~="erp"],
[data-active="email"]    .sysmap__pulse[data-wire~="email"],
[data-active="docs"]     .sysmap__pulse[data-wire~="docs"],
[data-active="support"]  .sysmap__pulse[data-wire~="support"],
[data-active="db"]       .sysmap__pulse[data-wire~="db"] { opacity: 1; animation: sm-flow 1.1s linear infinite; }

@keyframes sm-flow { to { stroke-dashoffset: -24; } }

[data-active="crm"]      .sysmap__layer[data-for~="crm"],
[data-active="erp"]      .sysmap__layer[data-for~="erp"],
[data-active="email"]    .sysmap__layer[data-for~="email"],
[data-active="docs"]     .sysmap__layer[data-for~="docs"],
[data-active="support"]  .sysmap__layer[data-for~="support"],
[data-active="db"]       .sysmap__layer[data-for~="db"] {
  border-color: rgba(40, 192, 156, 0.55);
  background: rgba(40, 192, 156, 0.1);
  color: var(--teal-2);
}

[data-active="crm"]      .sysmap__out[data-for~="crm"],
[data-active="erp"]      .sysmap__out[data-for~="erp"],
[data-active="email"]    .sysmap__out[data-for~="email"],
[data-active="docs"]     .sysmap__out[data-for~="docs"],
[data-active="support"]  .sysmap__out[data-for~="support"],
[data-active="db"]       .sysmap__out[data-for~="db"] { color: var(--ink); }
[data-active="crm"]      .sysmap__out[data-for~="crm"]::before,
[data-active="erp"]      .sysmap__out[data-for~="erp"]::before,
[data-active="email"]    .sysmap__out[data-for~="email"]::before,
[data-active="docs"]     .sysmap__out[data-for~="docs"]::before,
[data-active="support"]  .sysmap__out[data-for~="support"]::before,
[data-active="db"]       .sysmap__out[data-for~="db"]::before { background: var(--teal); border-color: var(--teal-ink); }

/* Narrow screens: no wires. Sources become a chip grid, the layer and
   outcomes stack beneath with a drawn connector between them. */
@media (max-width: 767.98px) {
  .sysmap { display: block; padding: var(--s-4); }
  .sysmap__stage { display: block; min-height: 0; }
  .sysmap__wires { display: none; }
  .sysmap__col--src { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 6px; }
  .sysmap__node small { display: none; }
  .sysmap__node { min-height: 44px; padding: 0.45rem 0.55rem; font-size: 0.8125rem; }
  .sysmap__ico { width: 24px; height: 24px; }
  .sysmap__col--core, .sysmap__col--out { margin-top: 26px; position: relative; }
  .sysmap__col--core::before, .sysmap__col--out::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -22px;
    height: 18px;
    border-left: 1.5px dashed var(--teal-ink);
  }
  .sysmap__col--out { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 4px 12px; }
  .sysmap__out small { display: none; }
  .sysmap__caption { grid-template-columns: 1fr; }
}


/* ── 3 · Journey: fragmented → connected → understood → automated ───────
   A fixed-ratio stage in which seven system tiles move between four
   arrangements. Tile positions are custom properties per stage; the base
   (no [data-stage]) is the final, automated arrangement. */
.jv {
  position: relative;
  aspect-ratio: 10 / 9;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.07) 1px, transparent 0) 0 0 / 22px 22px,
    var(--ink-2);
  overflow: hidden;
  contain: layout paint;
  font-size: clamp(0.625rem, 0.45rem + 0.55vw, 0.8125rem);
}
.jv__label {
  position: absolute;
  left: 4%; top: 3.5%;
  font-family: var(--font-mono);
  font-size: 0.85em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}
.jv__label b { color: var(--teal); font-weight: 500; }
.jv__label span { display: none; }
.jv__label span:last-child { display: inline; }
[data-stage] .jv__label span:last-child { display: none; }
[data-stage="0"] .jv__label span[data-s="0"],
[data-stage="1"] .jv__label span[data-s="1"],
[data-stage="2"] .jv__label span[data-s="2"],
[data-stage="3"] .jv__label span[data-s="3"] { display: inline; }

.jv__tile {
  --x: 4%; --y: 10%; --r: 0deg;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 30%;
  height: 9%;
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0 0.8em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--ink-3);
  color: var(--on-dark);
  font-weight: 560;
  transform: rotate(var(--r));
  transition: left 900ms var(--ease), top 900ms var(--ease), transform 900ms var(--ease);
  white-space: nowrap;
}
.jv__tile i {
  width: 0.7em; height: 0.7em;
  border-radius: 2px;
  background: var(--slate-hi);
  flex-shrink: 0;
}
[data-stage="0"] .jv__tile { border-color: rgba(240, 138, 120, 0.25); }
[data-stage="0"] .jv__tile i { background: var(--on-dark-3); }

/* Final (base) arrangement = connected column. */
.jv__tile:nth-of-type(1) { --x: 4%; --y: 12%; }
.jv__tile:nth-of-type(2) { --x: 4%; --y: 24%; }
.jv__tile:nth-of-type(3) { --x: 4%; --y: 36%; }
.jv__tile:nth-of-type(4) { --x: 4%; --y: 48%; }
.jv__tile:nth-of-type(5) { --x: 4%; --y: 60%; }
.jv__tile:nth-of-type(6) { --x: 4%; --y: 72%; }
.jv__tile:nth-of-type(7) { --x: 4%; --y: 84%; }

/* Stage 0: scattered, slightly askew, disconnected. */
[data-stage="0"] .jv__tile:nth-of-type(1) { --x: 6%;  --y: 14%; --r: -3deg; }
[data-stage="0"] .jv__tile:nth-of-type(2) { --x: 60%; --y: 11%; --r: 2deg; }
[data-stage="0"] .jv__tile:nth-of-type(3) { --x: 34%; --y: 32%; --r: 4deg; }
[data-stage="0"] .jv__tile:nth-of-type(4) { --x: 8%;  --y: 52%; --r: -2deg; }
[data-stage="0"] .jv__tile:nth-of-type(5) { --x: 64%; --y: 47%; --r: -4deg; }
[data-stage="0"] .jv__tile:nth-of-type(6) { --x: 30%; --y: 72%; --r: 3deg; }
[data-stage="0"] .jv__tile:nth-of-type(7) { --x: 66%; --y: 82%; --r: 1deg; }

/* The manual hops between systems, visible only while fragmented. */
.jv__hop {
  position: absolute;
  padding: 0.25em 0.6em;
  border: 1px dashed var(--red-hi);
  border-radius: 999px;
  background: rgba(240, 138, 120, 0.1);
  color: var(--red-hi);
  font-family: var(--font-mono);
  font-size: 0.85em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
}
.jv__hop:nth-of-type(1) { left: 20%; top: 25%; }
.jv__hop:nth-of-type(2) { left: 52%; top: 40%; }
.jv__hop:nth-of-type(3) { left: 14%; top: 65%; }
.jv__hop:nth-of-type(4) { left: 56%; top: 70%; }
[data-stage="0"] .jv__hop { opacity: 1; }

/* Connectors: a bus line from each tile into the layer. */
.jv__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity var(--t-slow) var(--ease) 300ms;
}
.jv__wires path { fill: none; stroke: rgba(40, 192, 156, 0.55); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.jv__wires .jv__bus { stroke: var(--teal); stroke-width: 2; }
.jv__wires .jv__flow { stroke: var(--teal); stroke-width: 2; stroke-dasharray: 2 12; animation: sm-flow 1.2s linear infinite; animation-play-state: paused; }
[data-in-view] .jv__wires .jv__flow { animation-play-state: running; }
[data-stage="0"] .jv__wires { opacity: 0; transition-delay: 0ms; }

/* The unified layer panel, and the actions panel beneath it. */
.jv__panel {
  position: absolute;
  left: 44%;
  right: 4%;
  padding: 3% 3.5%;
  border: 1px solid rgba(40, 192, 156, 0.35);
  border-radius: 10px;
  background: rgba(15, 35, 64, 0.85);
  color: var(--on-dark);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.jv__panel--data { top: 12%; }
.jv__panel--act { top: 57%; border-color: rgba(255, 255, 255, 0.12); }
.jv__panel .jv__h {
  font-family: var(--font-mono);
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.7em;
}
.jv__q {
  padding: 0.55em 0.75em;
  border-radius: 7px;
  background: var(--ink-3);
  color: var(--on-dark);
  font-size: 1em;
}
.jv__a { margin-top: 0.7em; font-size: 0.95em; line-height: 1.45; color: var(--on-dark-2); }
.jv__a b { color: var(--on-dark); font-weight: 600; }
.jv__src { margin-top: 0.6em; font-family: var(--font-mono); font-size: 0.8em; color: var(--on-dark-3); }
.jv__acts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5em; }
.jv__acts li {
  display: flex;
  justify-content: space-between;
  gap: 0.6em;
  padding: 0.45em 0.6em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.95em;
  color: var(--on-dark-2);
}
.jv__acts li b { color: var(--teal); font-family: var(--font-mono); font-weight: 500; font-size: 0.9em; }

[data-stage="0"] .jv__panel,
[data-stage="1"] .jv__panel,
[data-stage="2"] .jv__panel--act { opacity: 0; transform: translateY(8px); }
[data-stage="3"] .jv__acts li { animation: pv-row-in 480ms var(--ease) both; }
[data-stage="3"] .jv__acts li:nth-child(2) { animation-delay: 120ms; }
[data-stage="3"] .jv__acts li:nth-child(3) { animation-delay: 240ms; }
[data-stage="3"] .jv__acts li:nth-child(4) { animation-delay: 360ms; }


/* ── 4 · Capability drawings ────────────────────────────────────────── */
.caps { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .caps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cap {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: var(--s-4);
  padding: var(--s-8) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1024px) {
  .cap { padding: var(--s-8) var(--s-8) var(--s-4); border-bottom: 0; border-left: 1px solid var(--line); }
  .cap:first-child { border-left: 0; padding-left: 0; }
  .cap:last-child { padding-right: 0; }
}
.cap__art {
  height: 132px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.cap__art svg { width: 100%; height: 100%; }
.cap h3 { font-size: var(--fs-xl); }
.cap__problem { color: var(--ink); font-weight: 520; }
.cap__how { color: var(--text-2); }
.art-line { fill: none; stroke: var(--teal-ink); stroke-width: 1.75; vector-effect: non-scaling-stroke; }
.art-soft { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.art-accent { fill: none; stroke: var(--teal-ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.art-dash { stroke-dasharray: 4 4; }
.art-dot { fill: var(--teal); stroke: var(--teal-ink); stroke-width: 1; }
.art-box { fill: var(--paper); stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.art-box--ink { fill: var(--ink); stroke: var(--ink); }
.art-text { font-family: var(--font-mono); font-size: 9px; fill: var(--text-3); letter-spacing: 0.04em; }
.art-text--ink { fill: var(--ink); font-family: var(--font-sans); font-size: 10px; font-weight: 600; }
.art-text--on { fill: var(--on-dark); }
[data-in-view] .art-draw { stroke-dasharray: 300; stroke-dashoffset: 300; animation: art-draw 1.6s var(--ease) forwards; }
@keyframes art-draw { to { stroke-dashoffset: 0; } }


/* ── 5 · Dashboard (SolmiriX) ───────────────────────────────────────── */
.dash { display: grid; gap: 0.8rem; font-size: 0.8125rem; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.dash__kpi {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #F8FAFC;
}
.dash__k { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--text-3); letter-spacing: 0.02em; }
.dash__v { margin-top: 0.2rem; font-size: 1.2rem; font-weight: 620; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.dash__d { font-family: var(--font-mono); font-size: 0.6875rem; }
.dash__d--down { color: var(--red); }
.dash__d--up { color: var(--teal-ink); }
.dash__chart {
  position: relative;
  padding: 0.7rem 0.75rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.dash__chart-head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--text-3); }
.dash__chart svg { width: 100%; height: 118px; margin-top: 0.3rem; }
.dash__grid line { stroke: #E8EDF2; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dash__line { fill: none; stroke: var(--teal-ink); stroke-width: 2.25; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.dash__area { fill: url(#dashFill); }
.dash__fc { fill: none; stroke: var(--teal); stroke-width: 2; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.dash__dip { fill: var(--white); stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; }
.dash__axis { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.625rem; color: var(--text-3); padding: 0.2rem 0.1rem 0; }
.dash__ask {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--ink);
}
.dash__ask svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--text-3); }
.dash__caret { display: inline-block; width: 1px; height: 1em; margin-left: 1px; background: var(--ink); vertical-align: -0.15em; opacity: 0; }
.is-cine .dash__caret { animation: gx-blink 1s steps(1) infinite; }
@keyframes gx-blink { 50% { opacity: 1; } }
.dash__answer {
  padding: 0.75rem 0.85rem;
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: #F2FBF8;
  line-height: 1.5;
  color: var(--text-2);
}
.dash__answer b { color: var(--ink); font-weight: 620; }
.dash__answer-label { display: block; margin-bottom: 0.25rem; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--teal-ink); letter-spacing: 0.04em; }
.dash__sources { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.55rem; }
.dash__sources span {
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-3);
}
@media (max-width: 479.98px) {
  .dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash__kpi:nth-child(3) { display: none; }
}

/* Cinematic beats. Base = finished frame; .is-cine hides [data-at]. */
.is-cine [data-at] { opacity: 0; }
.is-cine.cb-0 [data-at="0"], .is-cine.cb-1 [data-at="1"], .is-cine.cb-2 [data-at="2"],
.is-cine.cb-3 [data-at="3"], .is-cine.cb-4 [data-at="4"], .is-cine.cb-5 [data-at="5"],
.is-cine.cb-6 [data-at="6"] {
  animation: pv-row-in 560ms var(--ease) both;
  animation-delay: calc(var(--i, 0) * 110ms);
}
.is-cine .dash__line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.is-cine.cb-1 .dash__line { animation: dash-draw 1.3s var(--ease) forwards; }
@keyframes dash-draw { to { stroke-dashoffset: 0; } }


/* ── 6 · Architecture strip ─────────────────────────────────────────── */
.arch { display: grid; gap: var(--s-3); }
@media (min-width: 1024px) { .arch { grid-template-columns: 1.1fr auto 1fr auto 1fr auto 1.4fr; align-items: stretch; gap: var(--s-3); } }
.arch__col {
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.on-dark .arch__col { background: var(--ink-2); }
.arch__col--core { border-color: var(--teal-ink); box-shadow: inset 0 0 0 1px var(--teal-wash); }
.on-dark .arch__col--core { border-color: rgba(40, 192, 156, 0.45); }
.arch__h { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.arch__t { margin-top: var(--s-2); font-weight: 600; letter-spacing: -0.01em; }
.arch__list { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.arch__list li {
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--text-2);
}
.arch__list--live li { display: inline-flex; align-items: center; gap: 0.35em; }
.arch__list--live li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.arch__arrow {
  display: grid;
  place-items: center;
  color: var(--teal-ink);
  font-family: system-ui, sans-serif;
  font-size: 1.1rem;
}
.on-dark .arch__arrow { color: var(--teal); }
@media (max-width: 1023.98px) { .arch__arrow { transform: rotate(90deg); height: 18px; } }


/* ── 7 · Explorer (tabbed) ──────────────────────────────────────────────
   Without JS: the tab list is hidden and every panel is shown in order.
   With JS (.is-tabbed): list visible, one panel at a time. */
.xp { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) {
  .xp--side.is-tabbed { grid-template-columns: 300px minmax(0, 1fr); gap: var(--s-10); align-items: start; }
}
.xp__tabs {
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding: 2px var(--gutter) 6px;
  scroll-padding-inline: var(--gutter);
}
.xp__tabs::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) {
  .xp--side .xp__tabs {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border-top: 1px solid var(--line);
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}
.xp__tab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-size: var(--fs-sm);
  font-weight: 560;
  text-align: left;
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.xp__tab:hover { border-color: var(--ink); color: var(--ink); }
.xp__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.on-dark .xp__tab:hover { border-color: var(--on-dark-2); color: var(--on-dark); }
.on-dark .xp__tab[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.xp__tab small { font-weight: 400; color: inherit; opacity: 0.7; }

@media (min-width: 1024px) {
  .xp--side .xp__tab {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
    min-height: 0;
    padding: var(--s-4) var(--s-2) var(--s-4) 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: none;
    white-space: normal;
  }
  .xp--side .xp__tab::after {
    content: "→";
    font-family: system-ui, sans-serif;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  }
  .xp--side .xp__tab strong { display: block; font-size: var(--fs-md); font-weight: 600; color: var(--text-2); letter-spacing: -0.01em; }
  .xp--side .xp__tab small { display: block; margin-top: 2px; font-size: var(--fs-sm); opacity: 1; color: var(--text-3); }
  .xp--side .xp__tab:hover strong { color: var(--ink); }
  .xp--side .xp__tab[aria-selected="true"] { background: none; color: var(--ink); }
  .xp--side .xp__tab[aria-selected="true"] strong { color: var(--ink); }
  .xp--side .xp__tab[aria-selected="true"]::after { opacity: 1; transform: none; color: var(--teal-ink); }
  .xp--side .xp__tab[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--teal-ink); padding-left: var(--s-4); }
}
@media (max-width: 1023.98px) {
  .xp--side .xp__tab small { display: none; }
}

.xp__panel { min-width: 0; }
.xp__panel + .xp__panel { margin-top: var(--s-12); }
.is-tabbed > .xp__panels > .xp__panel + .xp__panel,
.is-tabbed > .xp__panel + .xp__panel { margin-top: 0; }
.is-tabbed .xp__panel:not([hidden]) { animation: pv-panel-in var(--t-slow) var(--ease) both; }
.xp__panel:focus-visible { outline-offset: 8px; }

/* Product panel layout: copy + interface side by side. */
.xp__grid { display: grid; gap: var(--s-8); }
@media (min-width: 1280px) { .xp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-10); align-items: start; } }
.xp__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.xp__title { font-size: var(--fs-xl); letter-spacing: -0.02em; }
.xp__title span { color: var(--text-3); font-weight: 460; }
.xp__pair { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.xp__pair p { color: var(--text-2); }
.xp__pair b { display: block; margin-bottom: 0.2rem; font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.xp__pair b.is-good { color: var(--teal-ink); }
.on-dark .xp__pair b.is-good { color: var(--teal); }


/* ── 8 · Flow strip ─────────────────────────────────────────────────────
   A workflow as an ordered list of steps with drawn connectors. A single
   highlight travels along it (CSS only; paused off screen). */
.flow {
  --n: 6;
  list-style: none;
  margin: var(--s-6) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: flow;
}
.flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0 0 var(--s-4);
  counter-increment: flow;
}
.flow__step::before {
  content: counter(flow, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--text-3);
  z-index: 1;
}
.section--paper2 .flow__step::before { background: var(--paper-2); }
.on-dark .flow__step::before { background: var(--ink); }
.flow__step::after {
  content: "";
  position: absolute;
  left: 13.5px;
  top: 28px;
  bottom: 0;
  border-left: 1px solid var(--line-2);
}
.flow__step:last-child { padding-bottom: 0; }
.flow__step:last-child::after { display: none; }
.flow__step strong { display: block; font-size: var(--fs-sm); font-weight: 600; padding-top: 0.25rem; }
.flow__step span { display: block; font-size: var(--fs-sm); color: var(--text-3); line-height: 1.45; }
.flow__step--end::before { background: var(--ink); border-color: var(--ink); color: var(--teal); }
.on-dark .flow__step--end::before { background: var(--teal); border-color: var(--teal); color: var(--ink); }

/* Horizontal form, used when there is room and steps are short. */
@media (min-width: 768px) {
  .flow--h { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--s-2); }
  .flow--h .flow__step { grid-template-columns: 1fr; gap: var(--s-3); padding: 0; }
  .flow--h .flow__step::after { left: 36px; right: 4px; top: 13.5px; bottom: auto; border-left: 0; border-top: 1px solid var(--line-2); }
  .flow--h .flow__step:last-child::after { display: none; }
  .flow--h .flow__step strong { padding-top: 0; }
}

/* The traveling highlight. */
[data-in-view] .flow--live .flow__step::before { animation: flow-hi calc(var(--n) * 900ms) linear infinite; }
.flow--live .flow__step:nth-child(1)::before { animation-delay: 0ms; }
.flow--live .flow__step:nth-child(2)::before { animation-delay: 900ms; }
.flow--live .flow__step:nth-child(3)::before { animation-delay: 1800ms; }
.flow--live .flow__step:nth-child(4)::before { animation-delay: 2700ms; }
.flow--live .flow__step:nth-child(5)::before { animation-delay: 3600ms; }
.flow--live .flow__step:nth-child(6)::before { animation-delay: 4500ms; }
.flow--live .flow__step:nth-child(7)::before { animation-delay: 5400ms; }
@keyframes flow-hi {
  0%, 12% { border-color: var(--teal-ink); color: var(--teal-ink); box-shadow: 0 0 0 4px var(--teal-wash); }
  18%, 100% { box-shadow: 0 0 0 0 transparent; }
}


/* ── 9 · Mini UIs ───────────────────────────────────────────────────── */
.mini { font-size: 0.8125rem; display: grid; gap: 0.6rem; }
.mini__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.mini__ico {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-2);
}
.mini__name { display: block; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini__meta { display: block; font-size: 0.75rem; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.3rem 0.8rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.mini__field > span:first-child { color: var(--text-3); }
.mini__field > span:nth-child(2) { font-weight: 600; color: var(--ink); text-align: right; }
.mini__bar { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: #E8EDF2; overflow: hidden; }
.mini__bar > i { display: block; height: 100%; width: var(--v, 50%); background: var(--teal-ink); border-radius: inherit; }
.mini__field--warn { border-color: color-mix(in srgb, var(--amber) 40%, transparent); background: rgba(242, 181, 68, 0.08); }
.mini__field--warn .mini__bar > i { background: var(--amber); }
.mini__dest {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 0.8125rem;
}
.mini__dest span:last-child { font-family: var(--font-mono); font-size: 0.75rem; color: var(--teal); }
.mini__msg {
  padding: 0.65rem 0.8rem;
  border-radius: 12px 12px 12px 3px;
  background: var(--paper-2);
  color: var(--ink);
  max-width: 88%;
}
.mini__msg small { display: block; margin-top: 0.3rem; font-size: 0.6875rem; color: var(--text-3); }
.mini__msg--out { justify-self: end; border-radius: 12px 12px 3px 12px; background: #E1F5EF; }
.mini__chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-2);
  white-space: nowrap;
}
.chip--ok { background: var(--teal-wash); color: var(--teal-deep); }
.chip--warn { background: var(--amber-wash); color: var(--amber); }
.chip--hot { background: var(--red-wash); color: var(--red); }
.chip--ink { background: var(--ink); color: var(--on-dark); }
.mini__score {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.9rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.mini__score-n {
  grid-row: span 2;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--teal-ink) calc(var(--v) * 1%), #E8EDF2 0);
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--ink);
  position: relative;
}
.mini__score-n::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--white); }
.mini__score-n span { position: relative; }
.mini__log {
  list-style: none;
  margin: 0;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--on-dark-2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.8;
}
.mini__log .ok { color: var(--teal); }
.mini__log .warn { color: var(--amber-hi); }
.mini__log time { color: var(--on-dark-3); margin-right: 0.6em; }
.mini__sync { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; gap: 0.4rem; }
.mini__sys { padding: 0.6rem; border: 1px solid var(--line); border-radius: 8px; }
.mini__sys b { display: block; font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.mini__sys span { display: block; margin-top: 0.2rem; font-weight: 600; }
.mini__link { position: relative; height: 22px; }
.mini__link::before, .mini__link::after { content: ""; position: absolute; left: 2px; right: 2px; border-top: 1.5px solid var(--teal-ink); opacity: 0.4; }
.mini__link::before { top: 6px; } .mini__link::after { bottom: 6px; }
.mini__link i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); top: 3.5px; left: 0; animation: mini-sync 2.2s var(--ease) infinite; animation-play-state: paused; }
.mini__link i + i { top: auto; bottom: 3.5px; left: auto; right: 0; animation-name: mini-sync-back; animation-delay: 1.1s; }
[data-in-view] .mini__link i { animation-play-state: running; }
@keyframes mini-sync { 0% { left: 0; opacity: 0; } 20%, 80% { opacity: 1; } 100% { left: 36px; opacity: 0; } }
@keyframes mini-sync-back { 0% { right: 0; opacity: 0; } 20%, 80% { opacity: 1; } 100% { right: 36px; opacity: 0; } }
.mini__cite {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.45rem 0.6rem;
  border: 1px dashed var(--line-2);
  border-radius: 7px;
  font-size: 0.75rem;
  color: var(--text-2);
}
.mini__cite b { font-family: var(--font-mono); font-weight: 500; font-size: 0.6875rem; color: var(--teal-ink); }


/* ── 10 · Lanes: today vs with GeXOn ────────────────────────────────── */
.lanes { display: grid; gap: var(--s-4); }
@media (min-width: 1024px) { .lanes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); } }
.lane {
  padding: var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.lane--now { background: transparent; border-style: dashed; }
.lane--new { background: var(--white); border-color: var(--teal-ink); }
.on-dark .lane--new { background: var(--ink-2); border-color: rgba(40, 192, 156, 0.45); }
.lane__h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.lane--new .lane__h { color: var(--teal-ink); }
.on-dark .lane--new .lane__h { color: var(--teal); }
.lane ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.lane li {
  position: relative;
  padding: 0 0 var(--s-4) 1.7rem;
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.lane li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.32em;
  width: 11px; height: 11px;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  background: var(--paper);
  z-index: 1;
}
.on-dark .lane li::before { background: var(--ink); }
.lane li::after { content: ""; position: absolute; left: 5px; top: 1.2em; bottom: 0.1em; border-left: 1px solid var(--line-2); }
.lane li:last-child { padding-bottom: 0; }
.lane li:last-child::after { display: none; }
.lane li b { color: var(--text); font-weight: 600; }
.lane li.is-pain::before { border-color: var(--red); background: var(--red-wash); }
.on-dark .lane li.is-pain::before { border-color: var(--red-hi); }
.lane li.is-pain em { display: block; font-style: normal; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--red); margin-top: 0.15rem; }
.on-dark .lane li.is-pain em { color: var(--red-hi); }
.lane--new li::before { border-color: var(--teal-ink); }
.lane--new li.is-win::before { background: var(--teal); border-color: var(--teal-ink); }
.lane--new li em { display: block; font-style: normal; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--teal-ink); margin-top: 0.15rem; }
.on-dark .lane--new li em { color: var(--teal); }
.lane__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--text-3);
}

/* Problem picker: a wrapped grid of options above the lanes. */
.picker { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.picker .xp__tab { white-space: nowrap; }
@media (max-width: 767.98px) {
  .picker { flex-wrap: nowrap; }
}


/* ── 11 · Timeline (engagement steps) ───────────────────────────────── */
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: tl; }
@media (min-width: 1024px) { .tl { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tl__step {
  position: relative;
  padding: 0 0 var(--s-10) 56px;
  counter-increment: tl;
}
.tl__step::before {
  content: counter(tl, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-2);
  z-index: 1;
}
.section--paper2 .tl__step::before { background: var(--paper-2); }
.on-dark .tl__step::before { background: var(--ink); }
.tl__step::after {
  content: "";
  position: absolute;
  left: 19.5px; top: 40px; bottom: 0;
  border-left: 1px solid var(--line-2);
}
.tl__step:last-child::after { display: none; }
.tl__step:first-child::before { background: var(--ink); border-color: var(--ink); color: var(--teal); }
.on-dark .tl__step:first-child::before { background: var(--teal); border-color: var(--teal); color: var(--ink); }
@media (min-width: 1024px) {
  .tl__step { padding: 64px var(--s-6) 0 0; }
  .tl__step::after { left: 48px; right: 8px; top: 19.5px; bottom: auto; border-left: 0; border-top: 1px solid var(--line-2); }
}
.tl__when { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-ink); }
.on-dark .tl__when { color: var(--teal); }
.tl__step h3 { margin-top: var(--s-2); font-size: var(--fs-lg); }
.tl__step p { margin-top: var(--s-2); color: var(--text-2); font-size: var(--fs-sm); }
.tl__dl { margin-top: var(--s-4); display: grid; gap: var(--s-3); font-size: var(--fs-sm); }
.tl__dl dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.tl__dl dd { color: var(--text-2); margin-top: 2px; }


/* ── 12 · Calculator ────────────────────────────────────────────────── */
.calc { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-10); align-items: stretch; } }
.calc__inputs { display: grid; gap: var(--s-5); align-content: start; }
.calc__field { display: grid; gap: var(--s-2); }
.calc__field label { font-size: var(--fs-sm); font-weight: 600; }
.calc__field label span { font-weight: 400; color: var(--text-3); }
.calc__row { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: var(--s-3); align-items: center; }
.calc__row--cur { grid-template-columns: 110px minmax(0, 1fr); }
.calc input[type="number"], .calc select {
  width: 100%;
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--white);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-base);
}
.calc input[type="number"]:focus, .calc select:focus { outline: 2px solid var(--teal-ink); outline-offset: 1px; border-color: var(--teal-ink); }
.calc input[type="range"] { width: 100%; accent-color: var(--ink); height: 28px; }
.calc__out {
  display: grid;
  gap: var(--s-5);
  align-content: start;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--on-dark);
}
.calc__big { font-size: clamp(2.75rem, 2rem + 3vw, 4rem); font-weight: 620; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__big small { font-size: var(--fs-md); font-weight: 460; letter-spacing: 0; color: var(--on-dark-2); margin-left: 0.3em; }
.calc__meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.calc__meter i { display: block; height: 100%; width: var(--fill, 0%); background: var(--teal); border-radius: inherit; transition: width var(--t-slow) var(--ease); }
.calc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line-dark); }
.calc__grid dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-3); }
.calc__grid dd { margin-top: 0.3rem; font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.calc__note { font-size: var(--fs-sm); color: var(--on-dark-2); line-height: 1.55; }
.calc__note b { color: var(--amber-hi); font-weight: 600; }
@media (max-width: 479.98px) { .calc__grid { grid-template-columns: 1fr 1fr; } }


/* ── 13 · Staged chapter (scroll-driven) ────────────────────────────────
   Ported from process.css §2–3. `.is-scrubbed` is added by gx.js only at
   ≥1024px with motion allowed; every sticky/tall rule hangs off it. */
.chapter__grid { display: grid; gap: var(--s-10); }
@media (min-width: 1024px) {
  .chapter__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-16); align-items: start; }
  .chapter--flip .chapter__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .chapter--flip .chapter__visual { order: 2; }
  .is-scrubbed .chapter__visual { position: sticky; top: calc(var(--header-h) + 40px); }
  .is-scrubbed .stage-step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; }
  .is-scrubbed .stage-step:last-child { min-height: 50vh; }
  .is-scrubbed .stage-step { opacity: 0.4; transition: opacity var(--t-slow) var(--ease); }
  .is-scrubbed .stage-step.is-active { opacity: 1; }
}
.chapter__copy { min-width: 0; }

.stage-list { position: relative; list-style: none; margin: var(--s-8) 0 0; padding: 0; counter-reset: stage; }
.stage-list::before {
  content: "";
  position: absolute;
  left: 13.5px; top: 0; bottom: 0;
  border-left: 1px solid var(--line);
}
.stage-step { position: relative; counter-increment: stage; padding: 0 0 var(--s-8) 52px; }
.stage-step:last-child { padding-bottom: 0; }
.stage-step__title { position: relative; font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.stage-step__title::before {
  content: counter(stage, decimal-leading-zero);
  position: absolute;
  left: -52px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--stage-bg, var(--paper));
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--text-3);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.section--paper2 { --stage-bg: var(--paper-2); }
.on-dark { --stage-bg: var(--ink); }
.stage-step__body { color: var(--text-2); max-width: 48ch; }
.stage-step.is-active .stage-step__title::before { background: var(--ink); border-color: var(--ink); color: var(--teal); }
.on-dark .stage-step.is-active .stage-step__title::before { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.stage-step.is-active .stage-step__title { color: var(--teal-ink); }
.on-dark .stage-step.is-active .stage-step__title { color: var(--teal-2); }

/* Chips: the mobile progress indicator (and manual control once paused). */
.stage-chips { display: flex; gap: var(--s-2); margin: var(--s-4) 0 0; padding: 0 0 var(--s-2); list-style: none; overflow-x: auto; scrollbar-width: none; }
.stage-chips::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .stage-chips { display: none; } }
.stage-chip {
  flex: 0 0 auto;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: none;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-2);
  white-space: nowrap;
  cursor: pointer;
}
.stage-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.on-dark .stage-chip.is-active { background: var(--teal); border-color: var(--teal); color: var(--ink); }


/* ── 14 · .pv primitives (ported from process.css §4, restyled) ────────
   Rows, badges, key/values, destinations, bars and a log — the shared
   vocabulary every staged product visual is authored in. Text floor is
   12px; the old visuals went down to 8.6px. */
.pv__body { display: grid; gap: var(--s-4); padding: 1rem; min-height: 340px; align-content: start; font-size: 0.8125rem; }
@media (min-width: 560px) { .pv__body--split { grid-template-columns: 0.9fr 1.1fr; } }
.pv__side, .pv__main { min-width: 0; }
.pv__side-head, .pv__panel-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.pv__panel-label { color: var(--teal-ink); }
.pv__count { padding: 0.1rem 0.45rem; border-radius: 999px; background: var(--paper-2); color: var(--text-2); letter-spacing: 0; text-transform: none; }
.pv__rows, .pv__kvs, .pv__dests { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.pv__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.pv__row-icon {
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--text-2);
  flex-shrink: 0;
}
.pv__row-icon--dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px var(--teal-wash); }
.pv__row-main { min-width: 0; }
.pv__row-name { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv__row-meta { font-size: 0.75rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv__row--active { border-color: var(--teal-ink); background: #F2FBF8; }
.pv__row--ok { border-color: rgba(15, 122, 96, 0.35); }
.pv__row--warn { border-color: color-mix(in srgb, var(--amber) 45%, transparent); background: rgba(242, 181, 68, 0.08); }
.pv__row--muted { background: var(--paper); border-style: dashed; }
.pv__row--muted .pv__row-name, .pv__row--muted .pv__row-meta { color: var(--text-3); font-weight: 500; }
.pv__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}
.pv__badge--ok { background: var(--teal-wash); color: var(--teal-deep); }
.pv__badge--warn { background: var(--amber-wash); color: var(--amber); }
.pv__badge--hot { background: var(--red-wash); color: var(--red); }
.pv__badge--mono { font-family: var(--font-mono); font-weight: 500; }
.pv__kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.pv__kv-key { color: var(--text-3); }
.pv__kv-val { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; color: var(--ink); text-align: right; }
.pv__kv--ok { border-color: rgba(15, 122, 96, 0.3); background: #F4FBF9; }
.pv__kv--warn { border-color: color-mix(in srgb, var(--amber) 45%, transparent); background: rgba(242, 181, 68, 0.08); }
.pv__kv--total { border-color: var(--ink); font-weight: 650; }
.pv__kv--total .pv__kv-key { color: var(--ink); font-weight: 650; }
.pv__kv--muted { border-style: dashed; }
.pv__kv--muted .pv__kv-val { color: var(--text-3); font-weight: 500; }
.pv__tick { color: var(--teal-ink); font-weight: 700; }
.pv__flag { color: var(--amber); font-weight: 700; }
.pv__dest {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--on-dark-2);
}
.pv__dest-sys { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); }
.pv__dest-what { font-size: 0.75rem; color: var(--on-dark); }
.pv__dest .pv__tick { color: var(--teal); }
.pv__bar { height: 4px; border-radius: 4px; background: #E8EDF2; overflow: hidden; margin-top: 0.3rem; }
.pv__bar > span { display: block; height: 100%; width: var(--fill, 0%); border-radius: inherit; background: var(--teal-ink); }
.pv__bar--full > span { background: var(--amber); }
.pv__log {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
}
.pv__log li { display: flex; gap: 0.5rem; align-items: baseline; }
.pv__log-t { color: var(--on-dark-3); flex-shrink: 0; }
.pv__log-msg { color: var(--on-dark-2); }
.pv__log li[data-level="ok"] .pv__log-msg { color: var(--teal); }
.pv__log li[data-level="warn"] .pv__log-msg { color: var(--amber-hi); }
.pv__map { font-family: var(--font-mono); font-size: 0.75rem; }
.pv__map .pv__row { grid-template-columns: 1fr auto; }
.pv__note {
  margin: 0.7rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--line-2);
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-2);
}
.pv__note strong { color: var(--ink); }

/* Document with a scan line (DocTrace extract). */
.pv-doc {
  position: relative;
  padding: 0.9rem 0.8rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #F8FAFC;
  overflow: hidden;
}
.pv-doc i { display: block; height: 6px; margin-bottom: 0.55rem; border-radius: 3px; background: #DFE5EC; }
.pv-doc i:last-of-type { margin-bottom: 0; }
.pv-doc__scan {
  position: absolute;
  left: 0; right: 0; top: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: pv-scan 3.2s ease-in-out infinite;
  animation-play-state: paused;
  opacity: 0;
}
[data-in-view] .pv-doc__scan { animation-play-state: running; }
@keyframes pv-scan { 0% { top: 8%; opacity: 0; } 10%, 90% { opacity: 1; } 100% { top: 90%; opacity: 0; } }


/* ── 15 · Stage machine ─────────────────────────────────────────────────
   Base (no [data-stage]): every panel visible, stacked and labelled.
   Once a driver sets [data-stage], panels become one-at-a-time. */
.pv__panel + .pv__panel { margin-top: var(--s-5); }
[data-stage] .pv__panel { display: none; }
[data-stage] .pv__panel + .pv__panel { margin-top: 0; }
[data-stage="0"] .pv__panel[data-panel="0"],
[data-stage="1"] .pv__panel[data-panel="1"],
[data-stage="2"] .pv__panel[data-panel="2"],
[data-stage="3"] .pv__panel[data-panel="3"],
[data-stage="4"] .pv__panel[data-panel="4"],
[data-stage="5"] .pv__panel[data-panel="5"] { display: block; animation: pv-panel-in var(--t-slow) var(--ease) both; }

@keyframes pv-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pv-row-in { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }

[data-stage] [data-from] { opacity: 0; transition: opacity var(--t-slow) var(--ease); }
[data-stage="0"] [data-from="0"],
[data-stage="1"] [data-from="0"], [data-stage="1"] [data-from="1"],
[data-stage="2"] [data-from="0"], [data-stage="2"] [data-from="1"], [data-stage="2"] [data-from="2"],
[data-stage="3"] [data-from="0"], [data-stage="3"] [data-from="1"], [data-stage="3"] [data-from="2"], [data-stage="3"] [data-from="3"],
[data-stage="4"] [data-from] { opacity: 1; }

[data-stage] [data-only] { opacity: 0; }
[data-stage="0"] [data-only="0"], [data-stage="1"] [data-only="1"], [data-stage="2"] [data-only="2"],
[data-stage="3"] [data-only="3"], [data-stage="4"] [data-only="4"] { opacity: 1; }

[data-stage] .pv__panel > * > li { animation: pv-row-in var(--t-slow) var(--ease) both; }
[data-stage] .pv__panel > * > li:nth-child(2) { animation-delay: 70ms; }
[data-stage] .pv__panel > * > li:nth-child(3) { animation-delay: 140ms; }
[data-stage] .pv__panel > * > li:nth-child(4) { animation-delay: 210ms; }
[data-stage] .pv__panel > * > li:nth-child(n+5) { animation-delay: 280ms; }


/* ── 16 · Form variants — each product visual takes the form of the
   thing it is (DocTrace a console, SupportRoute a phone, ProspectRoute a
   board, UnifyCore two systems facing each other, KnowledgeAssist a
   shelf of your own documents). ───────────────────────────────────── */

/* Phone (SupportRoute) */
.phone {
  max-width: 340px;
  margin-inline: auto;
  padding: 10px;
  border-radius: 40px;
  background: var(--ink);
  box-shadow: var(--shadow-3);
}
.phone__screen { border-radius: 31px; overflow: hidden; background: #EEF2F6; }
.phone__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.6rem 1rem 0.8rem;
  background: var(--ink-2);
  color: var(--on-dark);
}
.phone__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--ink-3); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--teal); }
.phone__head strong { display: block; font-size: 0.8125rem; font-weight: 600; }
.phone__status { display: block; font-size: 0.6875rem; color: var(--teal-2); }
.phone .pv__main { padding: 0.7rem 0.6rem 0.9rem; min-height: 380px; }
.phone .pv__row, .phone .pv__kv, .phone .pv__dest { font-size: 0.75rem; }
.bubble p { margin: 0; }
.bubble {
  max-width: 84%;
  padding: 0.55rem 0.75rem;
  border-radius: 14px 14px 14px 4px;
  background: var(--white);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.bubble--out { margin-left: auto; border-radius: 14px 14px 4px 14px; background: #D9F2EA; }
.bubble__time, .bubble time { display: block; margin-top: 0.25rem; font-size: 0.6875rem; color: var(--text-3); text-align: right; }
.bubbles { display: grid; gap: 0.45rem; }
.bubbles .bubble:not(.bubble--out) { justify-self: start; }
.bubbles .bubble--out { justify-self: end; }
.bubble-src { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--teal-ink); margin: 0.1rem 0 0 auto; }

/* Board (ProspectRoute) */
.board { position: relative; min-height: 210px; }
.board__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.board__col {
  min-height: 200px;
  padding: 0.55rem;
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  background: #F8FAFC;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.board__col-label { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.board__card {
  position: absolute;
  top: 2.2rem;
  left: 68%;
  width: 30%;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-2);
  transition: left 700ms var(--ease);
  font-size: 0.75rem;
}
.board__name { font-size: 0.8125rem; font-weight: 600; color: var(--ink); }
.board__meta { color: var(--text-3); margin: 0.15rem 0 0.35rem; }
.board__card .chip { margin: 0.15rem 0.2rem 0 0; }
[data-stage="0"] .board__card, [data-stage="1"] .board__card { left: 1.5%; }
[data-stage="2"] .board__card { left: 34.8%; }
[data-stage="0"] .board__card .chip, [data-stage="1"] .board__card .chip--score, [data-stage="1"] .board__card .chip--rep,
[data-stage="2"] .board__card .chip--rep { opacity: 0; }
[data-stage="0"] .board__col:nth-child(1), [data-stage="1"] .board__col:nth-child(1),
[data-stage="2"] .board__col:nth-child(2),
[data-stage="3"] .board__col:nth-child(3), [data-stage="4"] .board__col:nth-child(3) { border-style: solid; border-color: var(--teal-ink); background: #F2FBF8; }
@media (max-width: 479.98px) {
  .board__card { position: static; width: 100%; margin-top: 0.5rem; }
  .board__col { min-height: 60px; }
}

/* Sync (UnifyCore) */
.sync__pair { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: center; gap: 0.4rem; margin-bottom: 0.7rem; }
.sync__box { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); }
.sync__box-bar { padding: 0.35rem 0.55rem; border-bottom: 1px solid var(--line); background: #F8FAFC; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.sync__box-body { padding: 0.5rem 0.55rem; font-size: 0.75rem; min-height: 50px; }
.sync__box-body span { display: block; }
.sync__box-body em { font-style: normal; font-size: 0.6875rem; color: var(--text-3); }

/* Shelf (KnowledgeAssist) */
.shelf {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FA 100%);
  box-shadow: var(--shadow-2);
}
.shelf__title { display: flex; justify-content: space-between; margin: 0 0 0.8rem; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.shelf .pv__rows { gap: 0.65rem; }
.shelf .pv__row { box-shadow: 0 2px 0 -1px var(--white), 0 3px 0 -1px var(--line), 0 5px 0 -2px var(--white), 0 6px 0 -2px var(--line); }
.answer {
  margin-top: 0.8rem;
  padding: 0.75rem 0.85rem;
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: var(--white);
  font-size: 0.8125rem;
  line-height: 1.5;
}


/* ── 17 · Ambient gates — infinite keyframes run only on screen. ────── */
.sysmap__pulse, .jv__flow, .pv-doc__scan, .mini__link i, .frame__status::before { animation-play-state: paused; }
[data-in-view] .sysmap__pulse, [data-in-view] .jv__flow, [data-in-view] .pv-doc__scan,
[data-in-view] .mini__link i, [data-in-view] .frame__status::before { animation-play-state: running; }


/* ── 18 · Report (SolmiriX auto-reports) ────────────────────────────── */
.report { display: grid; gap: 0.8rem; font-size: 0.875rem; }
.report__lead { font-size: 0.9375rem; line-height: 1.55; color: var(--text-2); }
.report__lead b { color: var(--ink); font-weight: 620; }
.report__points { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.35rem; color: var(--text-2); }
.mini__msg b { font-weight: 620; }


/* ── 19 · Path (capability pathfinder) ──────────────────────────────── */
.path {
  display: grid;
  gap: var(--s-8);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}
@media (min-width: 1024px) { .path { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--s-12); align-items: start; } }
.path .flow { margin-top: var(--s-8); }
.path__out { display: grid; gap: var(--s-4); padding-top: var(--s-6); border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .path__out { padding: 0 0 0 var(--s-8); border-top: 0; border-left: 1px solid var(--line); } }
.path__result { font-size: var(--fs-lg); font-weight: 560; letter-spacing: -0.015em; line-height: 1.35; }


/* ── 20 · Step detail (process page) ────────────────────────────────── */
.stepxs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.stepx { display: grid; gap: var(--s-5) var(--s-12); padding: var(--s-10) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .stepx { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.stepx__head { display: grid; gap: var(--s-2); align-content: start; }
.stepx__n { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--teal-ink); }
.stepx__head h3 { font-size: var(--fs-2xl); letter-spacing: -0.03em; }
.stepx__when { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.stepx__what { font-size: var(--fs-md); line-height: 1.55; max-width: 62ch; }
.stepx__dl { display: grid; gap: var(--s-4); margin: var(--s-6) 0 0; }
@media (min-width: 768px) { .stepx__dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); } }
.stepx__dl > div { padding-top: var(--s-3); border-top: 1px solid var(--line); }
.stepx__dl dt { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.stepx__dl dd { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--text-2); }
.stepx__dl .is-decide { border-top-color: var(--teal-ink); }
.stepx__dl .is-decide dt { color: var(--teal-ink); }
