/* brand-tokens:start */
:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef3fb;
  --surface-strong: #101827;
  --text: #111827;
  --text-muted: #526075;
  --line: #d7dfeb;
  --control-line: #7b879a;
  --accent: #1d4ed8;
  --accent-soft: #dbeafe;
  --accent-on: #f8fafc;
  --header: rgb(247 249 252 / 94%);
  --shadow: 0 24px 80px rgb(37 61 101 / 12%);
  --radius-surface: 14px;
  --radius-control: 10px;
  --max-width: 1240px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f1117;
    --surface: #181c26;
    --surface-soft: #202634;
    --surface-strong: #080b12;
    --text: #edf2f7;
    --text-muted: #aab5c6;
    --line: #30394a;
    --control-line: #74839c;
    --accent: #60a5fa;
    --accent-soft: #142b4e;
    --accent-on: #08111f;
    --header: rgb(15 17 23 / 94%);
    --shadow: 0 24px 80px rgb(0 0 0 / 32%);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1117;
  --surface: #181c26;
  --surface-soft: #202634;
  --surface-strong: #080b12;
  --text: #edf2f7;
  --text-muted: #aab5c6;
  --line: #30394a;
  --control-line: #74839c;
  --accent: #60a5fa;
  --accent-soft: #142b4e;
  --accent-on: #08111f;
  --header: rgb(15 17 23 / 94%);
  --shadow: 0 24px 80px rgb(0 0 0 / 32%);
}
/* brand-tokens:end */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; text-rendering: optimizeLegibility; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: .25em; }
img, svg { display: block; max-width: 100%; height: auto; }
button, a, summary, select { -webkit-tap-highlight-color: transparent; }
button, summary, select { cursor: pointer; }
button:disabled, fieldset:disabled { cursor: default; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
h1 { max-width: 14ch; margin-bottom: 28px; font-size: clamp(44px, 5.2vw, 84px); line-height: .98; letter-spacing: -.025em; word-spacing: .055em; font-weight: 750; }
h2 { max-width: 20ch; margin-bottom: 28px; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -.025em; word-spacing: .055em; }
h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
h4 { font-size: 18px; }
p { max-width: 60ch; margin-bottom: 20px; }
.shell, .nav-shell { width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; }
.shell > *, .nav-shell > *, .form-grid > * { min-width: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; background: var(--accent); color: var(--accent-on); transform: translateY(-160%); border-radius: var(--radius-control); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.preview-banner { padding: 10px 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; background: var(--accent-soft); color: var(--text); font-size: 13px; }
.preview-banner strong { color: var(--accent); }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: var(--header); backdrop-filter: blur(18px); }
.nav-shell { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 23px; letter-spacing: -.04em; }
.brand-copy small { margin-top: 5px; font-size: 10px; letter-spacing: .08em; color: var(--text-muted); font-weight: 650; }
.nav-links, .nav-controls { display: flex; align-items: center; gap: 18px; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; text-decoration: none; color: var(--text-muted); font-weight: 650; }
.nav-links a:hover { color: var(--accent); }
.nav-controls { gap: 8px; }
.nav-controls select, .theme-toggle, .currency-controls select { min-height: 44px; padding: 8px 10px; border: 1px solid var(--control-line); border-radius: var(--radius-control); background: var(--surface); font-size: 13px; }
.nav-controls select { max-width: 114px; }
.theme-toggle { min-width: 78px; }
.nav-install { min-height: 44px; display: flex; align-items: center; padding: 8px 14px; border: 1px solid var(--control-line); border-radius: var(--radius-control); text-decoration: none; font-size: 13px; font-weight: 700; }
.menu-toggle { display: none; }
.hero { min-height: calc(100svh - 120px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding-block: 80px 96px; }
.hero-body, .lead { color: var(--text-muted); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; }
.hero-body { max-width: 53ch; }
.hero-detail { max-width: 58ch; }
.eyebrow { margin-bottom: 24px; color: var(--accent); font: 650 11px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; letter-spacing: .12em; }
.scope, .field-help, .trial-note { color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px; }
.button { min-height: 48px; padding: 12px 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--control-line); border-radius: var(--radius-control); font-size: 15px; line-height: 1.4; font-weight: 700; text-decoration: none; text-align: center; transition: transform 160ms ease, border-color 160ms ease; }
.button.primary { background: var(--accent); color: var(--accent-on); border-color: var(--accent); }
.button.secondary { background: var(--surface); }
.button:hover, .nav-install:hover { transform: translateY(-2px); border-color: var(--accent); }
.button:active { transform: translateY(1px); }
.button:disabled { background: var(--surface-soft); color: var(--text-muted); border-color: var(--control-line); transform: none; }
.beta-label { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 12px; font-weight: 700; }
.beta-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.trial-note { margin: 0; }
.hero-visual { margin: 0; align-self: center; }
.brand-orbit { position: relative; display: grid; place-items: center; min-height: 540px; isolation: isolate; background: radial-gradient(ellipse at center, rgb(59 130 246 / 13%), transparent 66%); }
.brand-orbit > img { width: min(76%, 340px); position: relative; z-index: 1; filter: drop-shadow(0 32px 48px rgb(59 130 246 / 20%)); }
.orbit-ring { position: absolute; border: 1px solid var(--control-line); border-radius: 50%; opacity: .55; width: 96%; aspect-ratio: 1; transform: rotate(-30deg) scaleY(.68); }
.orbit-two { transform: rotate(42deg) scaleY(.75); width: 105%; }
.release-line { position: absolute; z-index: 2; padding: 9px 13px; border: 1px solid var(--line); background: var(--bg); color: var(--text-muted); border-radius: 7px; font: 12px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; box-shadow: var(--shadow); }
.release-line::before { content: ""; display: inline-block; vertical-align: middle; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; margin-right: 8px; }
.release-line-1 { top: 12%; right: 3%; }
.release-line-2 { bottom: 17%; left: 0; }
.release-line-3 { bottom: 4%; right: 3%; }
.section { padding-block: clamp(80px, 9vw, 140px); border-top: 1px solid var(--line); }
.section > .lead { max-width: 57ch; }
.problem-section { display: grid; grid-template-columns: 1fr 1fr; column-gap: 88px; }
.problem-section h2 { font-size: clamp(42px, 5vw, 68px); }
.problem-section > .lead { align-self: end; }
.problem-section > .product-visual { grid-column: 1 / -1; max-width: 900px; margin: 32px auto; width: 100%; }
.problem-section > .editorial-columns, .problem-section > .scope { grid-column: 1 / -1; }
.editorial-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-block: 32px; }
.editorial-columns p { color: var(--text-muted); }
.product-visual { margin: 48px 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-surface); background: var(--surface); }
.semantic-svg { width: 100%; color: var(--control-line); }
.semantic-svg .map-link { stroke: var(--control-line); stroke-width: 1.5; fill: none; }
.map-node rect { fill: var(--surface-soft); stroke: var(--control-line); stroke-width: 1; }
.map-node .node-pin { fill: var(--accent); }
.node-label { font: 600 17px/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); overflow-wrap: anywhere; }
.map-node:hover rect, .map-node:focus-visible rect { stroke: var(--accent); stroke-width: 2; }
.knowledge-map { margin: 56px 0; padding: 28px; border-block: 1px solid var(--line); background: radial-gradient(ellipse at 45% 50%, var(--accent-soft), transparent 64%); }
.knowledge-topics { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: 40px; }
.knowledge-topic { padding-left: 24px; border-left: 2px solid var(--control-line); }
.knowledge-topic:first-child { border-color: var(--accent); }
.knowledge-topic p { color: var(--text-muted); font-size: 16px; }
#conocimiento > .scope { max-width: 85ch; margin-top: 28px; }
.agents-section { position: relative; }
.agents-section::before { content: ""; position: absolute; z-index: -1; inset: 0 calc((min(100vw - 48px, 1240px) - 100vw) / 2); background: var(--surface-soft); }
.agents-section > h2 { max-width: 23ch; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-block: 48px 32px; }
.comparison article { border-top: 2px solid var(--control-line); padding-top: 28px; }
.comparison p { color: var(--text-muted); font-size: 16px; }
.context-flow { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.context-flow li { position: relative; padding: 14px; border: 1px solid var(--control-line); border-radius: 8px; font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.systems-section .product-visual { background: linear-gradient(125deg, var(--surface), var(--accent-soft)); }
.illustration { margin-top: 48px; border-left: 3px solid var(--accent); padding: 28px 36px; background: var(--surface); }
.illustration > h3 { max-width: 38ch; font-size: 30px; }
.illustration .editorial-columns { margin-bottom: 16px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--accent); font-weight: 650; }
.benchmark { padding-inline: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-surface); margin-block: 40px; box-shadow: var(--shadow); }
#benchmark-results { border-top: 1px solid var(--line); padding-top: 32px; }
#benchmark-results > h3 { font-size: 32px; }
.benchmark-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-block: 36px; }
.benchmark-metric { padding: 24px; border: 1px solid var(--control-line); border-radius: 10px; }
.benchmark-metric h3, .benchmark-metric p { font-size: clamp(21px, 2.2vw, 28px); font-weight: 650; line-height: 1.3; }
.benchmark-metric p { color: var(--text-muted); }
.evidence-stamp, .cohort { padding-block: 16px; border-block: 1px solid var(--line); }
.memory-cost { padding: 28px; background: var(--surface-soft); border-radius: 10px; margin-block: 36px; }
.token-chart { width: 100%; margin-block: 32px; }
.bar-A { fill: var(--text-muted); }
.bar-B { fill: var(--accent); }
.benchmark table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-block: 28px; font-size: 14px; }
.benchmark caption { text-align: left; color: var(--text-muted); margin-bottom: 16px; }
.benchmark td, .benchmark th { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.method-sequence { list-style: none; counter-reset: steps; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.method-sequence li { counter-increment: steps; padding-top: 24px; border-top: 1px solid var(--control-line); }
.method-sequence li::before { content: "0" counter(steps); display: block; margin-bottom: 32px; color: var(--accent); font: 14px ui-monospace, SFMono-Regular, Consolas, monospace; }
.method-sequence p { color: var(--text-muted); font-size: 16px; }
#planes { position: relative; }
#planes > .product-visual { max-width: 760px; border: 0; padding: 0; background: transparent; margin-block: 24px; }
.currency-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; font-size: 15px; }
.plan-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.plan { display: flex; flex-direction: column; padding: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-surface); }
.plan-index { display: block; font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--text-muted); margin-block: 24px; }
.plan h3 { font-size: 32px; }
.plan > p:not(.plan-price) { color: var(--text-muted); font-size: 16px; }
.plan-price { font-size: clamp(23px, 2.8vw, 36px); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; margin: 28px 0 8px; }
.plan-period { font-size: 13px; }
.plan ul { padding-left: 20px; font-size: 15px; margin-block: 20px 28px; }
.plan li { margin-bottom: 14px; }
.plan > .button { margin-top: auto; }
.plan-tiers-scroll { min-width: 0; overflow-x: auto; margin-block: 48px; }
.plan-tiers-scroll:empty { display: none; }
#plan-tiers table { width: 100%; min-width: 680px; border-collapse: collapse; margin-block: 28px; font-size: 15px; }
#plan-tiers th, #plan-tiers td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); }
#plan-tiers thead th { color: var(--text-muted); font-size: 13px; }
#plan-tiers tbody th { font-weight: 500; }
#plan-tiers td { white-space: nowrap; font-variant-numeric: tabular-nums; }
#plan-tiers > p { max-width: 80ch; color: var(--text-muted); font-size: 16px; }
#plan-tiers .plan-example { padding-block: 20px; border-block: 1px solid var(--line); color: var(--text); font-weight: 650; }
.plan-addon { padding: 32px; margin-block: 40px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--radius-surface); }
.plan-addon > p { max-width: 80ch; color: var(--text-muted); font-size: 16px; }
.plan-addon [data-price="addon"] { color: var(--text); font-weight: 650; }
.special-plan { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; padding: 32px 0; border-block: 1px solid var(--line); margin-top: 40px; }
.special-plan p { color: var(--text-muted); }
.special-price { font-size: 23px; font-weight: 650; }
.tax-note { margin-block: 24px 12px; font-size: 14px; }
.beta-timeline { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); padding: 0; margin-block: 56px 80px; border-top: 1px solid var(--control-line); }
.beta-timeline li { padding: 24px 24px 0 0; font-size: 16px; }
.timeline-index { display: block; color: var(--accent); font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; margin-bottom: 20px; }
.faq { max-width: 880px; margin-left: auto; }
details { padding-block: 22px; border-bottom: 1px solid var(--control-line); }
summary { min-height: 44px; align-content: center; font-weight: 650; padding-right: 16px; }
details p { margin: 18px 0 0; color: var(--text-muted); }
.invitation-section { padding-top: 96px; }
.invitation-section > h2 { font-size: clamp(42px, 6vw, 80px); max-width: 19ch; }
.invitation-columns { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; margin-top: 56px; }
form { min-width: 0; }
.invitation-mark { width: 144px; margin-top: 40px; fill: none; stroke: var(--accent); stroke-width: 1.5; }
fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
#invitation-disabled, .method-status { padding: 24px; border: 1px solid var(--control-line); border-radius: var(--radius-control); background: var(--surface); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { margin-bottom: 24px; }
.field label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; max-width: 100%; padding: 12px; background: var(--surface); border: 1px solid var(--control-line); border-radius: var(--radius-control); font-size: 16px; }
.field textarea { resize: vertical; }
.field-help { margin: 10px 0 0; font-size: 13px; }
.field-error { font-weight: 650; font-size: 14px; margin-top: 8px; }
[aria-invalid="true"] { border: 2px solid var(--text) !important; }
.error-summary { padding: 24px; border: 2px solid var(--text); border-radius: var(--radius-control); margin-bottom: 24px; }
.error-summary a { display: flex; min-height: 44px; align-items: center; }
.verification { margin-block: 32px; }
.js-only { display: none; }
.js-ready .js-only { display: inline-flex; }
#invitation-status { margin-top: 24px; }
footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; padding-block: 56px; font-size: 14px; color: var(--text-muted); }
.footer-inner > p { margin: 0; }
.footer-inner .brand { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.document { max-width: 900px; padding-block: 80px 120px; }
.document h1 { font-size: clamp(42px, 5vw, 64px); max-width: 22ch; }
.document h2 { font-size: 30px; max-width: 30ch; }
.document > section { padding-block: 32px; border-bottom: 1px solid var(--line); }
.document > section p { color: var(--text-muted); }
.error-main { min-height: 80svh; padding-block: 80px; display: grid; align-content: center; justify-items: start; }
.error-main h1 { margin-top: 32px; font-size: clamp(42px, 6vw, 80px); }
.diagram-mobile { display: none; }
@keyframes hero-entry { from { opacity: .5; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { [data-enter] .hero-copy, [data-enter] .hero-visual { animation: hero-entry 420ms ease-out both; } }
@media (max-width: 1180px) {
  .nav-shell { flex-wrap: wrap; gap: 8px 20px; padding-block: 12px; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 32px; }
  .hero { gap: 24px; }
  h1 { font-size: clamp(44px, 5.2vw, 84px); }
  .brand-orbit { min-height: 460px; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-block: 64px; }
  .hero-copy { max-width: 760px; }
  h1 { max-width: 17ch; }
  .hero-visual { width: min(100%, 600px); justify-self: center; }
  .knowledge-topics { grid-template-columns: 1fr; gap: 28px; }
  .knowledge-topic p { max-width: 64ch; }
  .invitation-columns { grid-template-columns: 1fr; gap: 32px; }
  .problem-section { column-gap: 32px; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 24px; }
  .shell, .nav-shell { width: calc(100% - 32px); }
  .site-header { position: relative; }
  .nav-shell { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .brand-copy small { font-size: 10px; }
  .menu-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; background: var(--surface); border: 1px solid var(--control-line); border-radius: 10px; }
  .menu-toggle span { display: block; width: 18px; height: 1px; background: var(--text); }
  .nav-links { grid-column: 1 / -1; flex-direction: column; gap: 4px; order: initial; }
  .js-ready .nav-links { display: none; }
  .js-ready .nav-links.is-open { display: flex; }
  .nav-controls { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
  .nav-install { font-size: 12px; padding-inline: 10px; }
  .nav-controls select { max-width: 104px; }
  .theme-toggle { min-width: 66px; }
  h1 { font-size: clamp(42px, 12vw, 58px); max-width: 15ch; }
  h2 { font-size: clamp(36px, 9vw, 48px); }
  .hero { gap: 36px; padding-block: 48px 64px; }
  .hero-body, .lead { font-size: 18px; }
  .hero .actions .button { width: 100%; }
  .brand-orbit { min-height: 380px; }
  .brand-orbit > img { width: 76%; max-width: 290px; }
  .orbit-two { width: 98%; }
  .release-line { font-size: 11px; padding: 8px 10px; }
  .release-line-1 { top: 1%; }
  .release-line-2 { bottom: 8%; }
  .release-line-3 { bottom: 0; }
  .section { padding-block: 64px; }
  .problem-section { display: block; }
  .problem-section h2 { font-size: 48px; }
  .editorial-columns, .comparison, .method-sequence, .plan-columns, .special-plan, .form-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-visual { margin-block: 32px; padding: 12px; }
  .diagram-desktop { display: none; }
  .diagram-mobile { display: block; }
  .node-label { font-size: 21px; }
  .knowledge-map { padding: 12px 0; margin-block: 32px; }
  .agents-section::before { inset-inline: -16px; }
  .illustration { padding: 24px; }
  .illustration > h3 { font-size: 26px; }
  .benchmark { width: calc(100% - 32px); padding-inline: 20px; }
  .benchmark-metrics { grid-template-columns: 1fr; }
  .benchmark-metric { padding: 20px; }
  .benchmark td, .benchmark th { padding: 8px 3px; font-size: 12px; }
  .memory-cost { padding: 20px; }
  .plan { padding: 28px; }
  .plan h3 { font-size: 28px; }
  .plan-price { font-size: 28px; }
  .beta-timeline { grid-template-columns: 1fr; border: 0; margin-block: 40px; }
  .beta-timeline li { border-top: 1px solid var(--control-line); padding-block: 20px; display: grid; grid-template-columns: 32px 1fr; gap: 16px; }
  .timeline-index { margin: 0; padding-top: 6px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; align-items: flex-start; }
  .document { padding-block: 48px 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* r4.1: la marca conserva su degradado; el conocimiento usa tres matices. */
:root {
 --c-biz:#0079A6; --c-biz-2:#00A3D9; --c-onto:#B45309; --c-onto-2:#E58A00; --c-sys:#7E22CE; --c-sys-2:#A855F7;
 --g-icon:linear-gradient(90deg,#0079A6,#3F4DBA 50%,#7E22CE); --g-logo:linear-gradient(90deg,#1397FF,#2864FF 43%,#8100FF);
 --c-bad:#C2410C; --c-good:#15803D; --l1:#9E366F; --l2:#A83634; --l3:#B45309; --l4:#297613; --l5:#007D66; --l6:#007598; --l7:#0065B4; --l8:#5D52B4; --l9:#874197; --radius-surface:22px;
}
@media(prefers-color-scheme:dark) { :root:not([data-theme="light"]) {
 --c-biz:#12BFEA; --c-biz-2:#7CDCF6; --c-onto:#FFB224; --c-onto-2:#FFD27A; --c-sys:#B95CFF; --c-sys-2:#DDA6FF;
 --g-icon:linear-gradient(90deg,#12BFEA,#6C8CF5 50%,#B95CFF); --c-bad:#FF7A6B; --c-good:#4ADE80;
 --l1:#F594C3; --l2:#FF958D; --l3:#FFB224; --l4:#89CC7B; --l5:#36D2BA; --l6:#2CCCEB; --l7:#73BDFF; --l8:#AFABFF; --l9:#DC9BEB;
} }
:root[data-theme="dark"] {
 --c-biz:#12BFEA; --c-biz-2:#7CDCF6; --c-onto:#FFB224; --c-onto-2:#FFD27A; --c-sys:#B95CFF; --c-sys-2:#DDA6FF;
 --g-icon:linear-gradient(90deg,#12BFEA,#6C8CF5 50%,#B95CFF); --c-bad:#FF7A6B; --c-good:#4ADE80;
 --l1:#F594C3; --l2:#FF958D; --l3:#FFB224; --l4:#89CC7B; --l5:#36D2BA; --l6:#2CCCEB; --l7:#73BDFF; --l8:#AFABFF; --l9:#DC9BEB;
}
.hero { gap:0; padding-block:64px; }
.hero h1 { max-width:13ch; }
.hero-body { font-size:18px; }
.hero-visual { position:relative; width:calc(100% + 40px); margin-left:-20px; }
.hero-visual svg { width:100%; }
.hero-mobile,.layers-mobile,.review-mobile { display:none; }
.hero-territories { display:flex; justify-content:center; gap:8px; }
.hero-territories button { background:transparent; border:1px solid var(--line); border-radius:24px; padding:8px 12px; min-height:44px; font-size:12px; }
.hero-territories button:nth-child(1) { color:var(--c-biz); }
.hero-territories button:nth-child(2) { color:var(--c-onto); }
.hero-territories button:nth-child(3) { color:var(--c-sys); }
.hero-territories button[aria-pressed=true] { border-color:currentColor; background:var(--surface); }
.hero-motion-control { position:absolute; right:16px; bottom:66px; width:28px; height:28px; padding:5px; border:1px solid var(--line); border-radius:50%; background:var(--surface); color:var(--text-muted); }
.hero-motion-control::after { content:""; position:absolute; width:44px; height:44px; inset:-8px; }
.hero-motion-control svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; }
.hero-motion-control .play-symbol { display:none; }
.hero-motion-control[aria-pressed=true] .pause-symbol { display:none; }
.hero-motion-control[aria-pressed=true] .play-symbol { display:block; }
.hero-visual [data-territory] { transition:opacity 160ms ease; }
.hero-visual[data-focus-territory=business] [data-territory]:not([data-territory=business]),.hero-visual[data-focus-territory=systems] [data-territory]:not([data-territory=systems]),.hero-visual[data-focus-territory=ontology] [data-territory]:not([data-territory=ontology]) { opacity:.35; }
.r4-icon { width:48px; height:48px; flex-shrink:0; }
.r4-section > h2 { max-width:28ch; }
.r4-section > .lead { max-width:78ch; font-size:18px; }
.problem-section { display:block; }
.problem-section h2 { font-size:clamp(32px,3.6vw,52px); max-width:28ch; }
.problem-lead { font-size:24px; }
/* Fragment labels carry different facts; interrupted edges mark the missing common base. */
.fragmented-brain { margin:36px 0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.fragment-group { min-width:0; color:var(--c-biz); }
.fragment-systems { color:var(--c-sys); }
.fragment-group h3 { color:currentColor; }
.fragment-group > p { font-size:14px; }
.fragment-pieces { display:grid; gap:18px; padding:0; margin:24px 0 0; list-style:none; }
.fragment-piece { display:flex; align-items:flex-start; gap:14px; padding:18px 14px; background:var(--surface); border:1px solid currentColor; border-radius:16px; position:relative; min-height:112px; }
.fragment-piece::after { content:""; position:absolute; height:12px; bottom:-14px; left:38px; border-left:2px dashed currentColor; }
.fragment-piece .r4-icon { width:36px; height:36px; }
.fragment-piece strong { display:block; font-size:15px; line-height:1.4; }
.fragment-piece span { display:block; margin-top:8px; font-size:13px; line-height:1.5; color:var(--text-muted); overflow-wrap:anywhere; }
.fragment-gap { grid-column:1/-1; display:flex; align-items:center; justify-content:center; gap:18px; color:var(--c-onto); font-size:15px; margin-top:10px; }
.fragment-gap::before,.fragment-gap::after { content:""; width:48px; border-top:2px dashed currentColor; flex-shrink:0; }
.term-line { max-width:none; font:12px/1.7 ui-monospace,monospace; color:var(--text-muted); }
/* Rails and card connectors stay in the gutters, outside every text box. */
.anatomy { display:grid; grid-template-columns:minmax(0,1fr) 220px minmax(0,1fr); grid-template-rows:repeat(3,minmax(120px,1fr)) auto; gap:18px 40px; padding:40px 0; }
.anatomy-center { grid-column:2; grid-row:1/4; display:grid; align-items:center; position:relative; }
.anatomy-center::before,.anatomy-center::after { content:""; position:absolute; top:calc((100% - 36px)/6); bottom:calc((100% - 36px)/6); width:1px; background:var(--c-onto); }
.anatomy-center::before { left:-20px; }.anatomy-center::after { right:-20px; }
.anatomy-product { border:2px solid var(--c-biz); border-radius:22px; padding:22px; background:var(--surface); position:relative; }
.anatomy-product::before,.anatomy-product::after { content:""; position:absolute; top:50%; width:20px; height:1px; background:var(--c-onto); }
.anatomy-product::before { right:100%; }.anatomy-product::after { left:100%; }
.anatomy-product h3 { margin-top:16px; }
.anatomy-product p { font-size:15px; }
.validated-pill,.evidence-pill,.system-pill { display:inline-block; font:12px/1.6 ui-monospace,monospace; padding:4px 9px; border:1px solid currentColor; border-radius:16px; color:var(--c-good); }
.evidence-pill { color:var(--c-onto); }.system-pill { color:var(--c-sys); }
.anatomy-links { display:contents; }
.anatomy-link { grid-column:1; display:grid; grid-template-columns:40px minmax(0,1fr); align-content:start; gap:5px 12px; padding:18px; border:1px solid var(--line); border-radius:16px; background:var(--surface); position:relative; }
.anatomy-link:nth-child(n+4) { grid-column:3; }
.anatomy-link:nth-child(1),.anatomy-link:nth-child(4) { grid-row:1; }.anatomy-link:nth-child(2),.anatomy-link:nth-child(5) { grid-row:2; }.anatomy-link:nth-child(3),.anatomy-link:nth-child(6) { grid-row:3; }
.anatomy-link::before { content:""; position:absolute; top:50%; left:100%; width:20px; height:1px; background:var(--c-onto); }
.anatomy-link:nth-child(n+4)::before { right:100%; left:auto; }
.anatomy-link svg { grid-column:1; grid-row:1/3; width:40px; height:40px; }
.anatomy-link dt { grid-column:2; grid-row:1; color:var(--text-muted); font-size:13px; }
.anatomy-link dd { grid-column:2; grid-row:2; margin:0; font-size:15px; line-height:1.45; }
.anatomy-link dd small { display:block; width:fit-content; margin-top:8px; }
.anatomy-sources { grid-column:1/-1; display:grid; grid-template-columns:40px 1fr; gap:4px 14px; margin-top:18px; padding:24px; border-top:1px solid var(--line); }
.anatomy-sources > .r4-icon { width:36px; height:36px; grid-row:1/3; }
.anatomy-sources h4 { margin:0; font-size:16px; }
.anatomy-sources ul { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px 24px; list-style:none; padding:0; margin:12px 0 0; font-size:13px; }
.anatomy-sources cite { font-style:normal; color:var(--c-onto); white-space:nowrap; }
.knowledge-topics,.team-controls { display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.knowledge-topics h3 { font-size:21px; }
.knowledge-topics p { font-size:15px; color:var(--text-muted); }
.team-comparison { display:grid; grid-template-columns:1fr 1fr; gap:64px; margin-block:40px 64px; }
.ping-pong { display:grid; grid-template-columns:1fr 1fr; gap:0 32px; counter-reset:jumps; padding:0; list-style:none; }
.ping-pong li { position:relative; counter-increment:jumps; display:flex; align-items:center; gap:10px; border-bottom:1px dashed var(--c-bad); padding:12px 0; font-size:13px; }
.ping-pong li:nth-child(odd) { transform:translateY(24px); }
.ping-pong li::before { content:counter(jumps); color:var(--c-bad); font:12px ui-monospace,monospace; }
.ping-pong .r4-icon { width:30px; height:30px; }
.ping-pong .wait-icon { width:20px; height:20px; margin-left:auto; }
.team-orbit { position:relative; width:300px; max-width:100%; margin:32px auto; }
.team-brain { width:220px; margin:auto; }
.team-orbit > .r4-icon { position:absolute; width:32px; height:32px; }
.team-orbit > .r4-icon:nth-child(1) { left:0; top:0; }.team-orbit > .r4-icon:nth-child(2) { right:0; top:0; }.team-orbit > .r4-icon:nth-child(3) { left:45%; top:-24px; }.team-orbit > .r4-icon:nth-child(4) { left:0; bottom:0; }.team-orbit > .r4-icon:nth-child(5) { right:0; bottom:0; }
.single-query { padding-left:24px; font-size:15px; }
.answer-pill { padding:10px 14px; border:1px solid var(--c-biz); border-radius:24px; color:var(--c-biz); margin-top:12px; }
.team-controls { grid-template-columns:repeat(3,1fr); }
.team-controls h3 { margin-top:16px; font-size:22px; }
.team-controls p { font-size:16px; color:var(--text-muted); }
.review-scene { margin-top:80px; }
.review-desktop,.review-mobile figure { margin:0; }
.review-scene > h3 { font-size:32px; }
.layers-visual { margin:24px 0; }
.layers-visual svg,.review-scene svg { width:100%; }
.layer-definitions { display:grid; grid-template-columns:repeat(3,1fr); gap:24px 40px; padding-left:24px; font-size:15px; }
.layer-definitions h3 { font-size:18px; }
.layer-definitions li { padding:12px; border-radius:12px; }
.platform-band { margin-top:64px; padding-top:40px; border-top:1px solid var(--line); }
.platform-metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-block:32px; font-variant-numeric:tabular-nums; }
.platform-metrics > div:nth-child(-n+2) { grid-column:span 2; }
.platform-metrics dt { font-size:14px; color:var(--text-muted); }
.platform-metrics dd { margin:4px 0; font:clamp(20px,2.4vw,30px) ui-monospace,monospace; padding-bottom:12px; border-bottom:3px solid var(--l4); }
.platform-metrics > div:nth-child(-n+2) dd { font-size:clamp(30px,4.2vw,56px); border-color:var(--l9); }
.agent-lanes { display:grid; gap:22px; margin-block:36px; }
.agent-lane { display:grid; grid-template-columns:270px 1fr 200px; gap:8px 24px; border-block-start:1px solid var(--line); padding-top:24px; }
.agent-lane h3 { font-size:18px; margin-bottom:0; }.agent-lane p { font-size:14px; }
.agent-lane > p:first-of-type { grid-column:1; grid-row:2/5; color:var(--text-muted); }
.lane-items { list-style:none; display:flex; padding:0; margin:0; gap:8px; grid-column:2; grid-row:1/4; align-self:center; }
.lane-items .r4-icon { width:32px; height:32px; }
.lane-none { color:var(--c-bad); }.lane-cortex { color:var(--c-biz); }
.context-bar { background:var(--surface-soft); height:18px; border-radius:12px; align-self:center; }
.context-bar span { display:block; height:100%; width:100%; background:currentColor; border-radius:inherit; }.lane-search .context-bar span { width:50%; }.lane-cortex .context-bar span { width:16%; background:var(--g-icon); }
.agent-lane small { grid-column:3; font:11px ui-monospace,monospace; }.lane-loop { grid-column:2/4; color:var(--text-muted); }
.mcp-terminal { max-width:820px; margin:40px auto; padding:24px; border:1px solid var(--line); border-radius:20px; background:var(--surface); }
.mcp-terminal pre { white-space:pre-wrap; overflow-wrap:anywhere; font:13px/2 ui-monospace,monospace; margin:0; }.mcp-terminal pre span { display:block; }
.compatibility-band { margin-top:64px; }.compatibility-list { padding:0; list-style:none; display:grid; grid-template-columns:repeat(6,1fr); gap:12px; margin-block:28px; }
.compatibility-list li { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:14px; padding:16px; border:1px solid var(--line); border-radius:16px; background:var(--surface); font-size:13px; transition:transform 160ms; }
.compatibility-list li:hover { transform:translateY(-2px); }.compatibility-list img { width:28px; height:28px; }.compatibility-list .r4-icon { width:32px; height:32px; }
.expert-quotes,[data-quotes-track] { display:flex; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x mandatory; gap:24px; padding:8px 4px 24px; margin:32px -4px; scrollbar-width:thin; }
.expert-quote { flex:0 0 min(560px,46%); scroll-snap-align:start; border:1px solid var(--line); border-radius:22px; background:var(--surface); padding:28px; min-width:0; }
.expert-quote blockquote { font-size:20px; line-height:1.4; margin:20px 0 12px; letter-spacing:-.02em; }.expert-original { font-size:14px; line-height:1.5; font-style:italic; color:var(--text-muted); }
html[lang=en] .expert-original { display:none; }.expert-author { font-size:16px; font-weight:700; margin-bottom:4px; }.expert-affiliation { font-size:14px; color:var(--text-muted); margin-bottom:8px; }
.expert-portrait,.expert-initials { width:72px; height:72px; border-radius:50%; border:2px solid var(--c-biz); object-fit:cover; flex-shrink:0; }.expert-initials { display:grid; place-items:center; font-weight:700; font-size:20px; color:var(--c-onto); background:var(--surface-soft); }
.expert-quote a { display:inline-flex; align-items:center; min-height:44px; font-size:13px; color:var(--c-biz); }.quotes-controls { display:flex; align-items:center; justify-content:flex-end; gap:12px; }.quotes-controls button { width:44px; height:44px; border:1px solid var(--control-line); border-radius:50%; background:var(--surface); }
.experts-disclaimer { font-size:14px; color:var(--text-muted); }.context-economy,.context-example { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-block:32px; }.context-economy > *, .context-example > * { min-width:0; }
.context-value { font:27px ui-monospace,monospace; font-variant-numeric:tabular-nums; }.illustrative-tag { color:var(--c-onto); border:1px solid currentColor; border-radius:12px; padding:3px 8px; font:11px ui-monospace,monospace; display:inline-block; margin:8px 0; }
.context-economy progress,.context-example progress { width:100%; accent-color:var(--c-biz); }.context-economy small,.context-example small { display:block; font:11px/1.6 ui-monospace,monospace; }
.systems-bridge { margin:32px 0; }
.bridge-labels,.bridge-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(200px,.9fr) minmax(0,1fr); gap:24px; }
.bridge-labels { font-size:13px; color:var(--text-muted); margin-bottom:16px; }
.bridge-row { align-items:center; margin-bottom:20px; }
.bridge-business,.bridge-systems { display:flex; align-items:center; gap:14px; padding:20px; min-height:104px; border:1.5px solid currentColor; border-radius:18px; background:var(--surface); font-size:16px; line-height:1.4; }
.bridge-business { color:var(--c-biz); }.bridge-systems { color:var(--c-sys); }
.bridge-business .r4-icon,.bridge-systems .r4-icon { width:36px; height:36px; }
.bridge-evidence { position:relative; padding:12px; border-block:1px solid var(--c-onto); color:var(--c-onto); text-align:center; font-size:14px; }
.bridge-evidence::before,.bridge-evidence::after { content:""; position:absolute; width:24px; height:1px; top:50%; background:var(--c-onto); }
.bridge-evidence::before { right:100%; }.bridge-evidence::after { left:100%; }
.bridge-evidence cite { display:block; font-size:12px; line-height:1.6; font-style:normal; color:var(--text-muted); margin-top:6px; }
.story-lane { list-style:none; padding:0; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; margin-block:24px; }.story-lane[data-story-arm=B] { grid-template-columns:repeat(4,minmax(0,1fr)); }
.story-lane li { min-width:0; }.story-lane button { display:flex; flex-direction:column; text-align:left; width:100%; min-height:232px; height:100%; padding:16px; border:1.4px solid var(--c-bad); border-radius:20px; background:var(--surface); }.story-lane[data-story-arm=B] button { border-color:var(--c-biz); }
.story-lane button h4 { font-size:16px; margin:14px 0 10px; }.story-lane button p { font-size:13px; }.story-lane button .r4-icon { width:48px; height:48px; }.story-lane button[aria-current=step] { outline:3px solid var(--c-onto); outline-offset:3px; }.story-lane [data-story-counter] { font:11px/1.6 ui-monospace,monospace; }
.story-panel { padding:28px; border:1px solid var(--line); border-radius:22px; background:var(--surface); }.story-panel dl { display:grid; grid-template-columns:1fr 1fr; gap:24px; }.story-panel dd { margin:0; font:27px ui-monospace,monospace; }.story-panel progress { width:100%; accent-color:var(--c-biz); }
.incident-cost { margin-block:32px; }.cost-columns { display:grid; grid-template-columns:1fr 1fr; gap:32px; }.cost-value { font:40px ui-monospace,monospace; }.method-sequence { grid-template-columns:repeat(5,minmax(0,1fr)); gap:24px; }.method-sequence h3 { font-size:20px; }.method-sequence p { font-size:15px; }.plan-brain { width:64px; height:64px; margin-bottom:24px; }
.document-example { margin-block:24px; }.document-comparison { display:grid; grid-template-columns:1fr 1fr; gap:24px; }.footer-credit { grid-column:1/-1; font-size:12px; max-width:none; }
@keyframes scene-entry { 0% { opacity:.25; transform:translateY(8px); } 100% { opacity:1; transform:none; } }
@keyframes cascade-entry { 0% { stroke-dashoffset:120; opacity:.25; } 100% { stroke-dashoffset:0; opacity:1; } }
@media(prefers-reduced-motion:no-preference) {
 [data-motion-entered=running] .fragment-group { animation:scene-entry 2.4s ease-out both; }
 [data-motion-entered=running] .anatomy-link { animation:scene-entry 2.6s ease-out both; }
 [data-motion-entered=running] .ping-pong li { animation:scene-entry 4.4s ease-out both; }
 [data-motion-entered=running] .layer-band { animation:scene-entry 900ms ease-out both; }
 [data-motion-entered=running] .query-path { animation:cascade-entry 4.4s ease-out both; }
 [data-motion-entered=running] .review-step { animation:scene-entry 3.6s ease-out both; }
 [data-motion-entered=running] .agent-lane .r4-icon { animation:scene-entry 4.5s ease-out both; }
}
@media(max-width:980px) { .hero { grid-template-columns:1fr 1fr; }.knowledge-topics { grid-template-columns:1fr 1fr; }.agent-lane { grid-template-columns:220px 1fr 150px; }.lane-items { flex-wrap:wrap; }.compatibility-list { grid-template-columns:repeat(3,1fr); }.anatomy { column-gap:24px; grid-template-columns:minmax(0,1fr) 190px minmax(0,1fr); }.anatomy-center::before { left:-12px; }.anatomy-center::after { right:-12px; }.anatomy-product::before,.anatomy-product::after,.anatomy-link::before { width:12px; }.anatomy-link { grid-template-columns:32px minmax(0,1fr); padding:14px; }.anatomy-link svg { width:32px; height:32px; }.story-lane { grid-template-columns:repeat(3,1fr); }.method-sequence { grid-template-columns:repeat(3,1fr); } }
@media(max-width:767px) {
 .shell,.nav-shell { width:calc(100% - 32px); }.hero { grid-template-columns:1fr; gap:24px; padding-block:40px; }.hero h1 { font-size:clamp(44px,10vw,64px); }.hero-visual { width:100%; margin:0; }.hero-desktop,.layers-desktop,.review-desktop { display:none; }.hero-mobile,.layers-mobile,.review-mobile { display:block; }.hero-visual { max-width:420px; justify-self:center; }.hero-territories { flex-wrap:wrap; }.hero-motion-control { bottom:112px; right:8px; }.hero-territories button { flex:1; font-size:12px; padding:8px; }
 .fragmented-brain { grid-template-columns:1fr; gap:24px; }.fragment-group { padding-block:10px; }.fragment-pieces { gap:16px; }.fragment-piece { min-height:0; }.fragment-gap { text-align:center; gap:10px; }.fragment-gap::before,.fragment-gap::after { width:24px; }
 .anatomy { grid-template-columns:1fr; grid-template-rows:auto; gap:24px; }.anatomy-center { grid-column:auto; grid-row:auto; max-width:300px; width:100%; margin:auto; }.anatomy-center::before,.anatomy-center::after,.anatomy-product::before,.anatomy-product::after,.anatomy-link::before { display:none; }.anatomy-links { display:grid; gap:16px; margin:0; }.anatomy-link:nth-child(n) { grid-column:auto; grid-row:auto; }.anatomy-sources { grid-column:auto; padding:20px 0; }.anatomy-sources ul { grid-template-columns:1fr; }.knowledge-topics,.team-controls,.team-comparison { grid-template-columns:1fr; gap:24px; }.ping-pong { grid-template-columns:1fr; }.ping-pong li:nth-child(odd) { transform:none; }.team-orbit { margin-top:60px; }.review-mobile { list-style:none; padding:0; }.review-mobile li { margin-block:24px; }.review-mobile figure { overflow:visible; }.review-mobile svg { width:100%; }.layer-definitions { grid-template-columns:1fr; }.platform-metrics { grid-template-columns:1fr; }.platform-metrics > div:nth-child(-n+2) { grid-column:auto; }.platform-metrics > div:nth-child(-n+2) dd { font-size:clamp(25px,8vw,40px); }
 .agent-lane { grid-template-columns:1fr; padding-top:24px; gap:12px; }.agent-lane > p:first-of-type,.lane-items,.agent-lane small,.lane-loop { grid-column:1; grid-row:auto; }.lane-items { flex-wrap:wrap; }.agent-lane h3 { font-size:20px; }.context-bar { max-width:220px; width:100%; }.compatibility-list { grid-template-columns:1fr 1fr; }.compatibility-list li:last-child { grid-column:auto; }.expert-quote { flex-basis:86%; padding:24px; }.expert-quote blockquote { font-size:18px; }.expert-portrait,.expert-initials { width:56px; height:56px; }.context-economy,.context-example,.document-comparison { grid-template-columns:1fr; }.story-lane,.story-lane[data-story-arm=B] { grid-template-columns:1fr; }.story-lane button { min-height:0; }.story-panel dl,.cost-columns { grid-template-columns:1fr; }.method-sequence { grid-template-columns:1fr; }.bridge-labels { display:none; }.bridge-row { grid-template-columns:1fr; gap:20px; margin-bottom:32px; }.bridge-business,.bridge-systems { min-height:0; padding:18px; font-size:16px; }.bridge-evidence { margin-inline:30px; }.bridge-evidence::before,.bridge-evidence::after { width:1px; height:20px; left:50%; right:auto; }.bridge-evidence::before { bottom:100%; top:auto; }.bridge-evidence::after { top:100%; }
}
@media(max-width:359px) { .compatibility-list { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { .hero-visual [data-territory] { transition:none; } }

:root { --c-icon-mid:#3F4DBA; }
@media(prefers-color-scheme:dark) { :root:not([data-theme="light"]) { --c-icon-mid:#6C8CF5; } }
:root[data-theme="dark"] { --c-icon-mid:#6C8CF5; }
.expert-person { display:flex; gap:16px; align-items:center; }
.context-economy { grid-template-columns:220px 140px minmax(0,1fr); align-items:center; gap:28px; margin:32px 0; }
.context-documents { display:grid; grid-template-columns:repeat(8,1fr); gap:6px; }
.context-documents svg { width:22px; height:27px; }.context-question { font-size:16px; }
.context-bar-row h3 { font-size:17px; margin:0 0 4px; }.context-value { display:flex; flex-wrap:wrap; gap:4px 16px; align-items:center; }.context-bar-row .context-bar { display:block; width:100%; height:18px; background:transparent; margin:8px 0; }
.context-bar-track { fill:var(--surface-soft); }.context-bar-all { fill:var(--c-bad); }.context-bar-needed { fill:var(--c-biz); }.context-arithmetic { font:11px/1.6 ui-monospace,monospace; margin:4px 0 16px; }.context-economy figcaption { grid-column:1/-1; font-size:12px; color:var(--text-muted); }
.story-question { font-size:24px; font-weight:650; max-width:none; }.incident-story { margin-top:48px; }.story-layout { display:grid; grid-template-columns:minmax(0,1fr) 230px; gap:24px; margin-top:32px; }.story-arm-A { grid-column:1; grid-row:1; }.story-arm-B { grid-column:1; grid-row:2; }.story-summary { grid-column:2; grid-row:1/3; background:var(--surface); border:1px solid var(--line); border-radius:22px; padding:20px; }.story-summary h4 { font-size:21px; }.story-summary-row { margin-bottom:24px; }.story-summary-row strong { display:block; font:25px ui-monospace,monospace; }.story-summary-row > span { font-size:12px; }.story-summary-row svg { width:100%; margin-top:8px; }.story-bar-A { fill:var(--c-bad); }.story-bar-B { fill:var(--c-biz); }
.story-lane { gap:10px; }.story-lane button { padding:12px; }.story-card strong { font-size:14px; line-height:1.3; margin-block:12px; }.story-card > span:not(.story-step-number) { font-size:12px; line-height:1.45; }.story-icon { width:48px; height:48px; margin-top:12px; }.story-step-number { font:11px ui-monospace,monospace; color:var(--text-muted); }.story-outcome { border-bottom:2px dashed var(--c-bad); padding:8px 0 12px; font:12px ui-monospace,monospace; }.story-arm-B .story-outcome { border-color:var(--c-biz); color:var(--c-biz); }.story-counters { display:flex; gap:20px; }.story-counters strong { display:block; font:18px ui-monospace,monospace; }.story-counters > div > span:first-child { display:block; font-size:12px; }.incident-cost-columns { display:grid; grid-template-columns:1fr 1fr; gap:32px; }.incident-cost-columns section > p { font:40px ui-monospace,monospace; }.incident-cost-columns dd { margin-left:0; font:12px/1.8 ui-monospace,monospace; }
.js-ready [data-motion-scene][data-motion-active=false] * { animation-play-state:paused!important; }
[data-layer][data-dimmed=true] { opacity:.45; }
@media(prefers-reduced-motion:no-preference) {
 [data-motion-entered=running] .r4-layers-cascade [data-layer] { animation:scene-entry 900ms ease-out both; }
 [data-motion-entered=running] .r4-layers-cascade [data-layer-link] { animation:cascade-entry 2.9s ease-out both; }
 [data-motion-entered=running] [data-review-step] { animation:scene-entry 600ms ease-out both; }
 [data-motion-entered=running] [data-review-step="2"] { animation-delay:600ms; }
 [data-motion-entered=running] [data-review-step="3"] { animation-delay:2700ms; }
}
@media(max-width:1023px) { .story-layout { grid-template-columns:1fr; }.story-summary { grid-column:1; grid-row:2; }.story-arm-B { grid-row:3; }.story-summary { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }.story-summary h4,.story-summary > p { grid-column:1/-1; } }
@media(max-width:767px) { .context-economy { grid-template-columns:1fr; }.context-documents { max-width:220px; grid-template-columns:repeat(5,1fr); }.context-documents svg:nth-child(n+21) { display:none; }.context-economy figcaption { grid-column:1; }.story-summary { display:block; }.story-layout { grid-template-columns:1fr; }.story-card { display:grid!important; grid-template-columns:48px 1fr; gap:8px 16px; }.story-card .story-icon { grid-column:1; grid-row:2/4; }.story-card > strong,.story-card > span:not(.story-step-number) { grid-column:2; }.story-step-number { grid-column:1/-1; }.incident-cost-columns { grid-template-columns:1fr; } }

@keyframes hero-draw { from { stroke-dashoffset:100; } to { stroke-dashoffset:0; } }
@media(prefers-reduced-motion:no-preference) {
 .js-ready [data-hero-motion] .he-s path { stroke-dasharray:100; animation:hero-draw 600ms cubic-bezier(.4,0,.2,1) both; }
 .js-ready [data-hero-motion] .he-t { stroke-dasharray:100; animation:hero-draw 800ms 300ms ease-out both; }
 .js-ready [data-hero-motion] .he-b { animation:scene-entry 800ms 300ms ease-out both; }
 .js-ready [data-hero-motion] .he-n { animation:scene-entry 1s 500ms ease-out both; }
 .js-ready [data-hero-motion] [data-hero-hub] { animation:scene-entry 1s 500ms ease-out both; }
 .js-ready [data-hero-motion] .he-q path { stroke-dasharray:100; animation:hero-draw 1.1s 900ms cubic-bezier(.4,0,.2,1) both; }
 .js-ready [data-hero-motion][data-motion-active=false] * { animation-play-state:paused!important; }
 [data-motion-entered=running] .r4-layers-cascade [data-layer] { animation:scene-entry 320ms ease-out both; }
 [data-motion-entered=running] [data-layer-node], [data-motion-entered=running] [data-layer-link] { animation:scene-entry 220ms ease-out both; }
 [data-motion-entered=running] .layer-pruned-slash { animation:scene-entry 600ms 2900ms ease-out both; }
 [data-motion-entered=running] .layer-return { animation:scene-entry 900ms 3500ms ease-out both; }
 [data-motion-entered=running] .review-selection { animation:scene-entry 1.2s 1500ms ease-out both; }
}

@media(prefers-reduced-motion:no-preference) { [data-motion-entered=running] .r4-layers-cascade [data-layer="1"] { animation-delay:560ms; } [data-motion-entered=running] [data-layer-node="1"],[data-motion-entered=running] [data-layer-link="1"] { animation-delay:900ms; } }
@media(prefers-reduced-motion:no-preference) { [data-motion-entered=running] .r4-layers-cascade [data-layer="2"] { animation-delay:490ms; } [data-motion-entered=running] [data-layer-node="2"],[data-motion-entered=running] [data-layer-link="2"] { animation-delay:1120ms; } }
@media(prefers-reduced-motion:no-preference) { [data-motion-entered=running] .r4-layers-cascade [data-layer="3"] { animation-delay:420ms; } [data-motion-entered=running] [data-layer-node="3"],[data-motion-entered=running] [data-layer-link="3"] { animation-delay:1340ms; } }
@media(prefers-reduced-motion:no-preference) { [data-motion-entered=running] .r4-layers-cascade [data-layer="4"] { animation-delay:350ms; } [data-motion-entered=running] [data-layer-node="4"],[data-motion-entered=running] [data-layer-link="4"] { animation-delay:1560ms; } }
@media(prefers-reduced-motion:no-preference) { [data-motion-entered=running] .r4-layers-cascade [data-layer="5"] { animation-delay:280ms; } [data-motion-entered=running] [data-layer-node="5"],[data-motion-entered=running] [data-layer-link="5"] { animation-delay:1780ms; } }
@media(prefers-reduced-motion:no-preference) { [data-motion-entered=running] .r4-layers-cascade [data-layer="6"] { animation-delay:210ms; } [data-motion-entered=running] [data-layer-node="6"],[data-motion-entered=running] [data-layer-link="6"] { animation-delay:2000ms; } }
@media(prefers-reduced-motion:no-preference) { [data-motion-entered=running] .r4-layers-cascade [data-layer="7"] { animation-delay:140ms; } [data-motion-entered=running] [data-layer-node="7"],[data-motion-entered=running] [data-layer-link="7"] { animation-delay:2220ms; } }
@media(prefers-reduced-motion:no-preference) { [data-motion-entered=running] .r4-layers-cascade [data-layer="8"] { animation-delay:70ms; } [data-motion-entered=running] [data-layer-node="8"],[data-motion-entered=running] [data-layer-link="8"] { animation-delay:2440ms; } }
@media(prefers-reduced-motion:no-preference) { [data-motion-entered=running] .r4-layers-cascade [data-layer="9"] { animation-delay:0ms; } [data-motion-entered=running] [data-layer-node="9"],[data-motion-entered=running] [data-layer-link="9"] { animation-delay:2660ms; } }

.r4-icon-sprite { position:absolute; width:0; height:0; overflow:hidden; }
.r4-icon,.story-icon,.plan-brain,.team-brain,.context-documents svg { fill:none; stroke-linecap:round; stroke-linejoin:round; }
.story-lane li { display:flex; flex-direction:column; }
.story-lane button { height:auto; min-height:220px; flex:1; }
.story-card .story-icon { width:100%; height:74px; margin-top:8px; }


button.text-link { background:transparent; border:0; color:var(--accent); padding:12px 0; font-size:14px; text-decoration:underline; min-height:44px; }
@media(max-width:767px) { .story-lane button { min-height:0; }.story-card .story-icon { width:100%; grid-column:1/-1; grid-row:auto; max-width:180px; }.story-card > strong,.story-card > span:not(.story-step-number) { grid-column:1/-1; } }

.fragmented-brain { isolation:isolate; }

.method-sequence { position:relative; }.method-sequence::after { content:""; position:absolute; left:24px; right:24px; top:24px; height:1px; background:var(--g-icon); z-index:-1; }.method-sequence .r4-icon { background:var(--bg); }
@keyframes incident-fail { 50% { opacity:.3; transform:scale(.97); } }
@media(prefers-reduced-motion:no-preference) { .story-card[data-story-step="A-6"][aria-current=step] .story-icon { animation:incident-fail 600ms ease-out; } }

.story-controls { display:flex; flex-wrap:wrap; gap:12px; margin-block:24px 12px; }
.story-controls .button { max-width:100%; min-width:44px; overflow-wrap:anywhere; background:var(--surface); }
.story-controls .button.primary { background:var(--accent); }
.story-controls .button:disabled { background:var(--surface-soft); color:var(--text-muted); border-color:var(--control-line); }
.story-position { color:var(--text-muted); font-size:15px; }
.story-moments { list-style:none; display:grid; gap:24px; padding:0; margin:24px 0; }
.story-moments > li { min-width:0; padding:24px; border:1px solid var(--line); border-radius:var(--radius-surface); background:var(--surface); }
.story-moments > li[aria-current=step] { border-color:var(--c-onto); box-shadow:inset 4px 0 var(--c-onto); }
.story-moments h4 { display:flex; align-items:center; gap:16px; margin:0 0 20px; font-size:21px; overflow-wrap:anywhere; }
.story-select { flex-shrink:0; min-width:44px; min-height:44px; align-items:center; justify-content:center; border:1px solid var(--control-line); border-radius:var(--radius-control); background:var(--surface-soft); }
.story-paths { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.story-path { min-width:0; border-top:2px solid var(--c-biz); padding-top:16px; }
.story-path-A { border-color:var(--c-bad); }
.story-path h5 { font-size:16px; line-height:1.5; margin:0 0 16px; color:var(--text-muted); }
.story-path > strong { display:block; margin-block:16px 8px; font-size:18px; line-height:1.4; }
.story-path p { margin-bottom:0; font-size:16px; overflow-wrap:anywhere; }
.story-link-art { width:100%; max-width:280px; height:auto; fill:none; stroke:var(--c-onto); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.story-link { stroke-dasharray:100; stroke-dashoffset:0; }
.story-path-A .story-link { stroke:var(--c-bad); stroke-dasharray:5 4; }
.story-path-B .story-link { stroke:var(--c-biz); }
.story-moments [data-story-step="5"] .story-path-A .story-link { stroke-dasharray:100; }
.story-moments [data-story-step="4"] .story-dependency { --c-sys:var(--c-onto); }
.story-message { fill:var(--surface); }
.story-consequence { stroke:var(--c-onto); }
.story-conclusion { max-width:75ch; padding-left:20px; border-left:4px solid var(--c-onto); font-weight:600; }
.savings-estimate { margin-top:40px; padding-block:24px; border-block:1px solid var(--line); }
.savings-estimate h3 { font-size:clamp(26px,3vw,40px); max-width:28ch; }
.savings-estimate p { max-width:75ch; }
@keyframes story-link-draw { from { stroke-dashoffset:100; } to { stroke-dashoffset:0; } }
@keyframes story-message-travel { from { transform:translateX(0); } to { transform:translateX(40px); } }
@keyframes story-pieces-join { from { transform:translateX(-12px); } to { transform:translateX(0); } }
@keyframes story-consequence-seen { from { opacity:.4; } to { opacity:1; } }
@media(prefers-reduced-motion:no-preference) {
 .story-narrative[data-story-manual=false] [aria-current=step] .story-path-B .story-link { animation:story-link-draw 1800ms ease-out both; }
 .story-narrative[data-story-manual=false] [data-story-step="5"][aria-current=step] .story-path-A .story-link { animation:story-link-draw 1800ms ease-out both; }
 .story-narrative[data-story-manual=false] [data-story-step="4"][aria-current=step] .story-dependency { animation:story-consequence-seen 1800ms ease-out both; }
 .story-narrative[data-story-manual=false] [aria-current=step] .story-message { animation:story-message-travel 1800ms ease-out both; }
 .story-narrative[data-story-manual=false] [aria-current=step] .story-pieces,.story-narrative[data-story-manual=false] [aria-current=step] .story-piece { animation:story-pieces-join 1800ms ease-out both; }
 .story-narrative[data-story-running=false] .story-link,.story-narrative[data-story-running=false] .story-message,.story-narrative[data-story-running=false] .story-pieces,.story-narrative[data-story-running=false] .story-piece,.story-narrative[data-story-running=false] .story-dependency { animation-play-state:paused; }
}
@media(max-width:767px) {
 .story-moments > li { padding:18px; }
 .story-paths { grid-template-columns:1fr; gap:24px; }
 .story-controls .button { flex:1 1 180px; }
 .story-question { font-size:21px; }
}
@media(max-width:767px) { .method-sequence::after { display:none; } }

.compatibility-list img { box-sizing:content-box; background:#fff; padding:6px; border-radius:8px; }
