/* PolarPath Intelligence. Same world as the rest of the site: ink, bone, one signal orange.
   The hero plays one call end to end; every section after it is the same call seen closer. */
.page-intelligence { --ok: #3fbf7f; --warn: #f2b84b; --line-ink: rgba(242,239,232,0.10); --panel: #121419; --panel-2: #181b21; }
.page-intelligence ::selection { background: var(--signal); color: var(--ink); }

/* ---------- Hero ---------- */
.ix-hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: 120px 0 28px; overflow: clip; background: var(--ink); isolation: isolate; }
.ix-field-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.9; }
.ix-hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(760px 520px at 76% 44%, rgba(255,77,28,0.13), transparent 62%),
  radial-gradient(900px 600px at 0% 100%, rgba(217,222,227,0.06), transparent 60%),
  linear-gradient(180deg, rgba(12,13,16,0.6), transparent 22%, transparent 78%, var(--ink)); }
.ix-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 740px); gap: clamp(32px, 5vw, 96px); align-items: center; }
.ix-title { font-size: clamp(2.75rem, 1rem + 3.9vw, 5.25rem); }
.ix-title .serif { font-size: 0.86em; color: #ffd9cc; }
.ix-lead { margin-top: clamp(26px, 3vw, 40px); max-width: 54ch; color: #c9ccd2; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); line-height: 1.55; }
.ix-actions { margin-top: 32px; }

/* the stage holds three layered objects: console, record, dispatch pill */
.ix-stage-hero { position: relative; padding: 0 0 64px 0; --rec: min(340px, 48%); }
.ix-console { position: relative; border-radius: 26px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: inset 0 0 0 1px var(--line-ink), 0 40px 80px -30px rgba(0,0,0,0.8), 0 18px 40px -20px rgba(255,77,28,0.12); overflow: hidden; }
.ix-console-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line-ink); font-size: 0.875rem; }
.ix-callstate { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; }
.ix-callstate i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(255,77,28,0.6); animation: ix-ping 1.6s var(--ease-out) infinite; }
.ix-callstate.is-live i { background: var(--ok); animation-name: ix-ping-ok; }
.ix-callstate.is-ended i { background: var(--mute-on-ink); animation: none; }
@keyframes ix-ping { 0% { box-shadow: 0 0 0 0 rgba(255,77,28,0.55); } 100% { box-shadow: 0 0 0 12px rgba(255,77,28,0); } }
@keyframes ix-ping-ok { 0% { box-shadow: 0 0 0 0 rgba(63,191,127,0.5); } 100% { box-shadow: 0 0 0 12px rgba(63,191,127,0); } }
.ix-caller { color: var(--mute-on-ink); font-variant-numeric: tabular-nums; }
.ix-timer { margin-left: auto; font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ix-wave { display: block; width: 100%; height: 76px; }
.ix-transcript { height: 268px; padding: 6px calc(var(--rec) - 14px) 18px 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; mask-image: linear-gradient(180deg, transparent 0, #000 70px); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 70px); }
.ix-line { display: grid; gap: 3px; max-width: 100%; font-size: 0.9375rem; line-height: 1.42; }
.ix-line small { font-size: 0.75rem; color: var(--mute-on-ink); }
.ix-line p { padding: 10px 14px; border-radius: 16px; background: rgba(242,239,232,0.06); color: #e6e3dc; }
.ix-line.is-agent { justify-self: start; }
.ix-line.is-agent p { border-top-left-radius: 6px; }
.ix-line.is-caller { align-self: flex-start; }
.ix-line.is-caller p { background: rgba(255,77,28,0.13); color: #ffe4da; border-top-left-radius: 6px; }
.ix-line.is-caller small { color: #ff9c7f; }
.ix-line mark { background: none; color: var(--bone); box-shadow: inset 0 -0.42em 0 rgba(255,77,28,0.38); border-radius: 2px; transition: box-shadow 600ms var(--ease); }
.ix-console-foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--line-ink); font-size: 0.8125rem; color: var(--mute-on-ink); }
.ix-agent-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--bone); font-weight: 500; }
.ix-agent-badge i { width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(from 0deg, var(--signal), #ffb199, var(--signal)); animation: ix-spin 3s linear infinite; }
@keyframes ix-spin { to { transform: rotate(360deg); } }

.ix-record { position: absolute; right: -40px; top: 92px; width: var(--rec); background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 30px 60px -24px rgba(0,0,0,0.75), 0 6px 18px -8px rgba(0,0,0,0.4); overflow: hidden; font-size: 0.875rem; z-index: 2; }
.ix-record header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; background: #faf9f6; border-bottom: 1px solid rgba(12,13,16,0.08); }
.ix-record header strong { font-weight: 700; letter-spacing: -0.01em; order: -1; }
.ix-record-chip { font-size: 0.75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255,77,28,0.12); color: #b8350d; white-space: nowrap; transition: background-color 400ms var(--ease), color 400ms var(--ease); }
.ix-record-chip.is-new { background: rgba(31,107,58,0.12); color: #1f6b3a; }
.ix-record dl { display: grid; padding: 6px 18px 10px; }
.ix-field { display: grid; grid-template-columns: 7.2em 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(12,13,16,0.06); align-items: baseline; }
.ix-field:last-child { border-bottom: 0; }
.ix-field dt { color: var(--mute-on-bone); font-size: 0.8125rem; }
.ix-field dd { font-weight: 600; min-height: 1.3em; position: relative; }
.ix-field.is-writing dd::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: var(--signal); animation: ix-blink 0.8s steps(1) infinite; }
.ix-field.is-set { animation: ix-flash 1.2s var(--ease-out); }
@keyframes ix-flash { 0% { background: rgba(255,77,28,0.14); } 100% { background: transparent; } }
@keyframes ix-blink { 50% { opacity: 0; } }
.ix-wo { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px; margin: 0 10px 10px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: var(--bone); transform-origin: 50% 100%; }
.ix-wo span { font-size: 0.75rem; color: var(--mute-on-ink); }
.ix-wo b { font-family: var(--display); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ix-wo em { font-style: normal; font-size: 0.8125rem; color: #ffd9cc; }
.ix-dispatch { position: absolute; left: 22px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--bone); color: var(--ink); box-shadow: 0 24px 50px -18px rgba(0,0,0,0.75); z-index: 3; font-size: 0.875rem; }
.ix-dispatch strong { display: block; font-weight: 700; letter-spacing: -0.01em; }
.ix-dispatch span { color: var(--mute-on-bone); font-size: 0.8125rem; }
.ix-dispatch-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 0.875rem; }

/* states driven by intelligence.js; without JS everything is visible */
.js .ix-wo, .js .ix-dispatch { opacity: 0; }
.js .ix-record { opacity: 0; transform: translateY(24px); }

.ix-rail { position: relative; display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
.ix-rail-steps { display: grid; grid-template-columns: repeat(5, 1fr); font-size: 0.8125rem; color: var(--mute-on-ink); }
.ix-rail-steps li { transition: color 500ms var(--ease); }
.ix-rail-steps li.is-on { color: var(--bone); }
.ix-rail-steps li.is-now { color: var(--signal); }
.ix-rail-track { position: relative; height: 1px; background: var(--hair-ink); }
.ix-rail-track i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, rgba(255,77,28,0.3), var(--signal)); }
.ix-rail-track i::after { content: ""; position: absolute; right: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(255,77,28,0.18), 0 0 18px rgba(255,77,28,0.75); }
.ix-note { font-size: 0.75rem; color: var(--mute-on-ink); }
.ix-rail .ix-note { justify-self: end; }

/* ---------- The call, second by second ---------- */
.ix-call { background: var(--ink); padding: clamp(100px, 12vw, 180px) 0 0; }
.ix-call-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: end; }
.ix-call-head p, .ix-ledger-head p, .ix-dispatch-copy > p, .ix-ask-copy > p, .ix-engine-copy > p { font-size: 1.0625rem; color: #c9ccd2; max-width: 52ch; }
.ix-call-pin { position: relative; }
.ix-call-stage { min-height: 100svh; display: grid; align-items: center; padding: 60px 0; }
.ix-wavewrap { position: relative; }
.ix-bigwave { position: relative; height: clamp(140px, 18vw, 220px); }
.ix-bigwave canvas { width: 100%; height: 100%; display: block; }
.ix-playhead { position: absolute; top: -18px; bottom: -18px; left: var(--ph, 0%); width: 2px; background: var(--signal); box-shadow: 0 0 24px rgba(255,77,28,0.8); transform: translateX(-1px); }
.ix-playhead::before { content: ""; position: absolute; top: -6px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--signal); }
.ix-moments { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.ix-moment { position: relative; padding-top: 22px; border-top: 1px solid var(--hair-ink); opacity: 0.32; transition: opacity 600ms var(--ease), border-color 600ms var(--ease); }
.ix-moment.is-on { opacity: 1; border-color: rgba(255,77,28,0.6); }
.ix-moment time { display: block; font-family: var(--display); font-weight: 700; font-size: 0.875rem; color: var(--signal); font-variant-numeric: tabular-nums; }
.ix-moment h3 { margin-top: 8px; font-size: clamp(1.25rem, 1rem + 0.7vw, 1.75rem); }
.ix-moment p { margin-top: 10px; font-size: 0.9375rem; color: #b9bdc4; line-height: 1.45; }
.ix-writes { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; padding: 6px 11px 6px 8px; border-radius: 999px; font-size: 0.8125rem; font-weight: 500; background: rgba(242,239,232,0.06); color: var(--mute-on-ink); transition: background-color 500ms var(--ease), color 500ms var(--ease); }
.ix-writes svg, .ix-step-mark svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ix-moment.is-on .ix-writes { background: var(--bone); color: var(--ink); }

/* ---------- Dispatch ---------- */
.ix-dispatchsec { background: var(--ink); padding: clamp(100px, 12vw, 180px) 0 clamp(60px, 7vw, 100px); }
.ix-dispatch-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.ix-dispatch-copy > p { margin-top: 26px; }
.ix-signals { margin-top: 36px; display: grid; }
.ix-signals li { display: grid; grid-template-columns: 11rem 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--hair-ink); font-size: 0.9375rem; }
.ix-signals b { font-weight: 500; }
.ix-signals span { color: var(--mute-on-ink); }
.ix-board { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); border-radius: 26px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-ink), 0 40px 80px -30px rgba(0,0,0,0.8); }
.ix-map { position: relative; aspect-ratio: 16 / 9; border-radius: 26px 26px 0 0; overflow: hidden; border-bottom: 1px solid var(--line-ink); background: radial-gradient(ellipse at 50% 50%, #191c22, #0f1115 75%); }
.ix-map svg { width: 100%; height: 100%; display: block; }
.ix-mapimg { opacity: 0.92; }
.ix-map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(18,20,25,0.75) 100%); }
.ix-map-credit { position: absolute; right: 12px; bottom: 8px; z-index: 1; font-size: 0.6875rem; color: var(--mute-on-ink); }
.ix-map-credit, .ix-map-label { z-index: 1; }
.ix-tech text, .ix-job text { paint-order: stroke; stroke: rgba(12,13,16,0.85); stroke-width: 4px; stroke-linejoin: round; }
.ix-radius-ring { fill: none; stroke: rgba(255,77,28,0.5); stroke-width: 1.2; stroke-dasharray: 4 6; }
.ix-route { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255,77,28,0.8)); }
.ix-job-dot { fill: var(--signal); stroke: var(--ink); stroke-width: 3; }
.ix-job-pulse { fill: none; stroke: var(--signal); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .ix-job-pulse { animation: ix-pulse 2s var(--ease-out) infinite; } }
@keyframes ix-pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(3.4); opacity: 0; } }
.ix-job text, .ix-tech text { font-family: var(--text); font-size: 15px; font-weight: 500; fill: var(--bone); }
.ix-tech-dot { fill: var(--bone); transition: fill 400ms var(--ease); }
.ix-tech-halo { fill: rgba(242,239,232,0.06); stroke: rgba(242,239,232,0.18); transition: fill 400ms var(--ease), stroke 400ms var(--ease); }
.ix-tech text { fill: #c9ccd2; }
.ix-board.is-ranked .ix-tech[data-group="rec"] .ix-tech-dot { fill: var(--ok); }
.ix-board.is-ranked .ix-tech[data-group="rec"] .ix-tech-halo { fill: rgba(63,191,127,0.16); stroke: rgba(63,191,127,0.6); }
.ix-board.is-ranked .ix-tech[data-group="warn"] .ix-tech-dot { fill: var(--warn); }
.ix-board.is-ranked .ix-tech[data-group="out"], .ix-board.is-ranked .ix-tech[data-group="off"] { opacity: 0.35; }
.ix-tech.is-scan .ix-tech-halo { stroke: var(--signal); fill: rgba(255,77,28,0.18); }
.ix-map-label { position: absolute; left: 18px; top: 16px; font-size: 0.75rem; color: var(--mute-on-ink); padding: 5px 10px; border-radius: 999px; background: rgba(12,13,16,0.6); box-shadow: inset 0 0 0 1px var(--line-ink); }
.ix-ranks { display: grid; padding: 8px 22px 14px; }
.ix-rank { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-ink); font-size: 0.875rem; transition: opacity 500ms var(--ease); }
.ix-rank:last-child { border-bottom: 0; }
.ix-rank-mark { width: 10px; height: 10px; border-radius: 50%; background: rgba(242,239,232,0.2); transition: background-color 400ms var(--ease), box-shadow 400ms var(--ease); }
.ix-rank-who strong { display: block; font-weight: 500; }
.ix-rank-who span, .ix-rank-why span { color: var(--mute-on-ink); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.ix-rank-why { display: grid; justify-items: end; text-align: right; gap: 2px; }
.ix-rank-why em { font-style: normal; font-size: 0.8125rem; font-weight: 500; padding: 2px 9px; border-radius: 999px; background: rgba(242,239,232,0.06); color: #c9ccd2; }
.ix-board.is-ranked .ix-rank[data-group="rec"] .ix-rank-mark { background: var(--ok); box-shadow: 0 0 0 4px rgba(63,191,127,0.18); }
.ix-board.is-ranked .ix-rank[data-group="rec"] em { background: var(--ok); color: var(--ink); }
.ix-board.is-ranked .ix-rank[data-group="warn"] .ix-rank-mark { background: var(--warn); }
.ix-board.is-ranked .ix-rank[data-group="warn"] em { background: rgba(242,184,75,0.14); color: var(--warn); }
.ix-board.is-ranked .ix-rank[data-group="out"], .ix-board.is-ranked .ix-rank[data-group="off"] { opacity: 0.45; }
.ix-phone { position: absolute; right: -28px; top: -34px; width: min(310px, 60%); z-index: 2; display: grid; gap: 3px; padding: 14px 16px; border-radius: 18px; background: rgba(242,239,232,0.94); color: var(--ink); box-shadow: 0 24px 50px -20px rgba(0,0,0,0.8); font-size: 0.8125rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ix-phone strong { font-size: 0.9375rem; letter-spacing: -0.01em; }
.ix-phone > span:not(.ix-phone-app) { color: var(--mute-on-bone); }
.ix-phone-app { display: flex; align-items: center; gap: 7px; font-size: 0.75rem; color: var(--mute-on-bone); margin-bottom: 3px; }
.ix-phone-app img { width: 18px; height: 18px; border-radius: 5px; background: var(--ink); padding: 2px; }
.js .ix-phone { opacity: 0; transform: translateY(-16px) scale(0.96); }
.ix-note-dark { margin-top: 18px; }

/* ---------- Assistant ---------- */
.ix-ask-sec { background: var(--bone); color: var(--ink); padding: clamp(100px, 12vw, 180px) 0; }
.ix-ask-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.ix-ask-sec .ix-ask-copy > p { color: var(--mute-on-bone); margin-top: 26px; }
.ix-ask-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.ix-ask-tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 0.9375rem; font-weight: 500; box-shadow: inset 0 0 0 1px var(--hair-bone); transition: background-color 300ms var(--ease), color 300ms var(--ease), box-shadow 300ms var(--ease); }
.ix-ask-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bone); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .ix-ask-tabs button[aria-selected="false"]:hover { box-shadow: inset 0 0 0 1px rgba(12,13,16,0.4); } }
.ix-terminal { border-radius: 26px; background: var(--ink); color: var(--bone); box-shadow: 0 40px 80px -36px rgba(12,13,16,0.55), 0 12px 30px -16px rgba(12,13,16,0.35); overflow: hidden; }
.ix-terminal header { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--line-ink); font-size: 0.875rem; }
.ix-terminal header span:last-child { margin-left: auto; color: var(--mute-on-ink); font-size: 0.8125rem; }
.ix-terminal-dot { width: 10px; height: 10px; border-radius: 50%; background: conic-gradient(var(--signal), #ffb199, var(--signal)); animation: ix-spin 3s linear infinite; }
.ix-runs { display: grid; min-height: 430px; padding: 26px 22px 22px; }
.ix-run { grid-area: 1 / 1; display: grid; gap: 22px; align-content: start; }
.ix-run[hidden] { display: none; }
.ix-ask { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.2; min-height: 2.4em; }
.ix-caret { display: inline-block; width: 3px; height: 1em; margin-left: 4px; vertical-align: -0.12em; background: var(--signal); animation: ix-blink 0.9s steps(1) infinite; }
.ix-steps { display: grid; gap: 2px; }
.ix-steps li { display: grid; grid-template-columns: 26px 11rem 1fr; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-ink); font-size: 0.9375rem; }
.ix-steps strong { font-weight: 500; }
.ix-steps li > span:last-child { color: var(--mute-on-ink); }
.ix-step-mark { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(63,191,127,0.16); color: var(--ok); }
.ix-gate { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 16px; background: rgba(255,77,28,0.1); box-shadow: inset 0 0 0 1px rgba(255,77,28,0.35); }
.ix-gate strong { display: block; font-weight: 500; }
.ix-gate div span { font-size: 0.8125rem; color: #ffb199; }
.ix-gate-btns { display: flex; gap: 8px; flex-shrink: 0; }
.ix-gate-btns b, .ix-gate-btns i { font-style: normal; font-size: 0.875rem; font-weight: 500; padding: 9px 16px; border-radius: 999px; }
.ix-gate-btns b { background: var(--signal); color: var(--ink); }
.ix-gate-btns i { box-shadow: inset 0 0 0 1px var(--hair-ink); }
.js .ix-steps li, .js .ix-gate { opacity: 0; transform: translateY(10px); }
.ix-run.is-shown .ix-steps li, .ix-run.is-shown .ix-gate { opacity: 1; transform: none; }

/* ---------- Ledger ---------- */
.ix-ledger-sec { background: var(--bone); color: var(--ink); padding: 0 0 clamp(100px, 12vw, 180px); }
.ix-ledger-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: end; padding-top: clamp(40px, 5vw, 80px); border-top: 1px solid var(--hair-bone); }
.ix-ledger-head p { color: var(--mute-on-bone); }
.ix-ledger { margin-top: clamp(48px, 6vw, 90px); }
.ix-stage { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; padding: 34px 0 38px; border-top: 1px solid var(--hair-bone); overflow: hidden; }
.ix-stage:last-child { border-bottom: 1px solid var(--hair-bone); }
.ix-stage-head { display: grid; grid-template-columns: 3rem 1fr; column-gap: 8px; align-content: start; }
.ix-stage-n { grid-row: span 2; font-family: var(--display); font-weight: 700; font-size: 0.9375rem; color: var(--signal); padding-top: 0.5em; font-variant-numeric: tabular-nums; }
.ix-stage-head h3 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 3rem); }
.ix-stage-head p { margin-top: 8px; color: var(--mute-on-bone); }
.ix-stage-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 36px; }
.ix-stage-list li { display: grid; gap: 4px; font-size: 0.9375rem; }
.ix-stage-list strong { font-weight: 700; letter-spacing: -0.005em; }
.ix-stage-list span { color: var(--mute-on-bone); line-height: 1.45; }
.ix-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,77,28,0.10) 70%, rgba(255,77,28,0.5) 99%, transparent); transform: translateX(-110%); opacity: 0; }

/* ---------- Engine and guardrails ---------- */
.ix-engine { background: var(--ink); padding: clamp(100px, 12vw, 180px) 0 clamp(80px, 9vw, 140px); }
.ix-engine-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.ix-engine-copy > p { margin-top: 26px; }
.ix-router { position: relative; aspect-ratio: 640 / 380; }
.ix-router svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ix-lane { fill: none; stroke: rgba(242,239,232,0.12); stroke-width: 2; }
.ix-lane-hot { stroke: var(--signal); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255,77,28,0.7)); opacity: 0; }
.ix-packet { fill: var(--bone); filter: drop-shadow(0 0 8px rgba(255,255,255,0.9)); opacity: 0; }
.ix-node { position: absolute; transform: translateY(-50%); padding: 12px 20px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: clamp(0.9375rem, 0.8rem + 0.4vw, 1.125rem); letter-spacing: -0.01em; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-ink); color: #c9ccd2; transition: background-color 400ms var(--ease), color 400ms var(--ease), box-shadow 400ms var(--ease); white-space: nowrap; }
.ix-node-in { background: var(--bone); color: var(--ink); box-shadow: none; }
.ix-node.is-hot { background: var(--signal); color: var(--ink); box-shadow: 0 10px 30px -8px rgba(255,77,28,0.7); }
.ix-guards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(70px, 9vw, 130px); }
.ix-guards li { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--hair-ink); font-size: 0.9375rem; }
.ix-guards b { font-weight: 500; font-size: 1.0625rem; }
.ix-guards span { color: var(--mute-on-ink); line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .ix-hero-grid { grid-template-columns: 1fr; }
  .ix-stage-hero { max-width: 740px; width: 100%; margin-right: 40px; }
  .ix-moments { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .ix-dispatch-grid, .ix-ask-grid, .ix-engine-grid { grid-template-columns: 1fr; }
  .ix-guards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ix-hero { padding-top: 104px; }
  .ix-title { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .ix-stage-hero { margin: 8px 0 0; padding-bottom: 0; --rec: 100%; }
  .ix-transcript { padding-right: 16px; }
  .ix-transcript { height: 230px; padding: 4px 16px 14px; }
  .ix-console-head, .ix-console-foot { padding-left: 16px; padding-right: 16px; }
  .ix-console-foot span:last-child { display: none; }
  .ix-record { position: relative; right: auto; top: auto; width: calc(100% - 24px); margin: -10px 12px 0; }
  .ix-dispatch { position: relative; left: auto; bottom: auto; width: max-content; max-width: calc(100% - 24px); margin: -22px 0 0 24px; }
  .ix-rail-steps li { font-size: 0.6875rem; }
  .ix-rail .ix-note { justify-self: start; }
  .ix-call-head, .ix-ledger-head { grid-template-columns: 1fr; gap: 22px; }
  .ix-call-stage { min-height: 0; padding: 50px 0 20px; }
  .ix-moments { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .ix-moment { display: grid; grid-template-columns: 3.4rem 1fr; column-gap: 12px; padding: 20px 0; opacity: 1; }
  .ix-moment > :not(time) { grid-column: 2; }
  .ix-moment h3 { margin-top: 0; }
  .ix-moment time { padding-top: 0.3em; }
  .ix-signals li { grid-template-columns: 1fr; gap: 4px; }
  .ix-phone { position: relative; right: auto; top: auto; width: auto; margin: 0 14px 14px; }
  .ix-map { aspect-ratio: 4 / 3; }
  .ix-map-label { top: auto; bottom: 12px; left: 12px; }
  .ix-rank { grid-template-columns: 12px minmax(0, 1fr); }
  .ix-rank-why { grid-column: 2; justify-items: start; text-align: left; }
  .ix-runs { min-height: 520px; padding: 22px 16px 18px; }
  .ix-steps li { grid-template-columns: 26px 1fr; }
  .ix-steps li > span:last-child { grid-column: 2; }
  .ix-gate { flex-direction: column; align-items: flex-start; }
  .ix-stage { grid-template-columns: 1fr; gap: 22px; }
  .ix-stage-list { grid-template-columns: 1fr; gap: 16px; }
  .ix-guards { grid-template-columns: 1fr; gap: 22px; }
  .ix-node { padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .ix-wo, .js .ix-dispatch, .js .ix-record, .js .ix-phone, .js .ix-steps li, .js .ix-gate { opacity: 1; transform: none; }
  .ix-callstate i, .ix-agent-badge i, .ix-terminal-dot, .ix-caret { animation: none; }
}
