/* ==========================================================================
   CIVITAS//4D · HOJA DE ESTILO
   --------------------------------------------------------------------------
   Estética: telemetría cívica, cartografía orbital y fósforo frío. Carbón
   profundo, cian de instrumento, magenta de señal, ámbar de memoria y verde
   de horizonte. Todo el movimiento tiene una versión reducida.
   ========================================================================== */

@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fuentes/chakra-petch-400.woff2") format("woff2");
}
@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fuentes/chakra-petch-500.woff2") format("woff2");
}
@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fuentes/chakra-petch-600.woff2") format("woff2");
}
@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fuentes/chakra-petch-700.woff2") format("woff2");
}
@font-face {
  font-family: "Share Tech Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fuentes/share-tech-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fuentes/cormorant-garamond-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fuentes/cormorant-garamond-latin.woff2") format("woff2");
}

:root {
  --bg: #070b14;
  --bg-2: #0b0f19;
  --panel: rgba(10, 17, 29, .72);
  --panel-solid: #0d1624;
  --panel-soft: rgba(14, 25, 41, .56);
  --ink: #eefcff;
  --ink-soft: #c6e7ee;
  --muted: #7f9dad;
  --muted-2: #527182;
  --cyan: #22d3ee;
  --cyan-bright: #8ff8ff;
  --pink: #f472b6;
  --amber: #fbbf24;
  --green: #34d399;
  --danger: #ff6b7f;
  --line: rgba(135, 230, 255, .14);
  --line-strong: rgba(135, 230, 255, .3);
  --ui: "Chakra Petch", "Arial Narrow", Arial, sans-serif;
  --mono: "Share Tech Mono", "DM Mono", Consolas, monospace;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-width: 300px;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 700px at 82% -10%, rgba(34, 211, 238, .08), transparent 64%),
    radial-gradient(900px 720px at 0% 35%, rgba(244, 114, 182, .05), transparent 60%),
    linear-gradient(180deg, #070b14 0%, #080d17 55%, #060a12 100%);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(124, 248, 255, .024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 248, 255, .02) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
  pointer-events: none;
}
::selection { background: var(--cyan); color: #041016; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--ink); }
button, input { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan-bright); outline-offset: 4px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #060a12; }
::-webkit-scrollbar-thumb { background: #1d3a45; border: 2px solid #060a12; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 14px;
  background: var(--cyan);
  color: #02080c;
  font-family: var(--mono);
  font-size: 12px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.ambient { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.ambient__grain {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.ambient__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 3px, rgba(0, 0, 0, .11) 4px);
  opacity: .17;
}
.ambient__corner {
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: rgba(143, 248, 255, .38);
  border-style: solid;
}
.ambient__corner--tl { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
.ambient__corner--tr { top: 12px; right: 12px; border-width: 1px 1px 0 0; }
.ambient__corner--bl { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; }
.ambient__corner--br { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }

/* --------------------------------------------------------------------------
   CABECERA
   -------------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
  padding: 0 clamp(18px, 3.2vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 10, 18, .78);
  backdrop-filter: blur(16px) saturate(120%);
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 26%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: .55;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(143, 248, 255, .32);
  transform: rotate(45deg);
  background: rgba(34, 211, 238, .045);
  box-shadow: 0 0 24px rgba(34, 211, 238, .12);
}
.brand__mark i {
  position: absolute;
  background: var(--cyan-bright);
  opacity: .75;
}
.brand__mark i:nth-child(1) { left: 5px; right: 5px; top: 50%; height: 1px; }
.brand__mark i:nth-child(2) { top: 5px; bottom: 5px; left: 50%; width: 1px; background: var(--pink); }
.brand__mark i:nth-child(3) { left: 5px; top: 5px; width: 5px; height: 5px; }
.brand__mark i:nth-child(4) { right: 5px; bottom: 5px; width: 5px; height: 5px; background: var(--amber); }
.brand__text { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.brand__text b {
  font-family: var(--ui);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .08em;
}
.brand__text b span { color: var(--cyan); }
.brand__text small {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .25em;
  color: var(--muted);
}
.topbar__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 22px;
}
.topbar__nav a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding: 6px 0;
  transition: color .2s, border-color .2s;
}
.topbar__nav a:hover { color: var(--ink); border-color: var(--cyan); }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--muted);
}
.topbar__status i, .led {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
  animation: ledPulse 2.6s ease-in-out infinite;
}
body[data-view] .only-result,
body[data-view] .only-quiz { display: none; }
body[data-view="result"] .only-result { display: inline-flex; }
body[data-view="result"] .only-landing { display: none; }
body[data-view="quiz"] .only-quiz { display: inline-flex; }
body[data-view="quiz"] .only-landing { display: none; }
body[data-view="synthesis"] .only-landing { display: none; }
body[data-view="quiz"] .topbar__nav,
body[data-view="synthesis"] .topbar__nav,
body[data-view="result"] .topbar__nav { display: none; }

/* --------------------------------------------------------------------------
   BOTONES Y CONTROLES
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--cyan);
  border-right: 1px solid var(--cyan);
}
.btn:hover { transform: translateY(-2px); border-color: var(--cyan); }
.btn--primary {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #031015;
  font-weight: 600;
  box-shadow: 0 0 34px rgba(34, 211, 238, .2);
}
.btn--primary::before { border-color: #031015; }
.btn--primary:hover { background: var(--cyan-bright); border-color: var(--cyan-bright); color: #031015; box-shadow: 0 0 46px rgba(34, 211, 238, .35); }
.btn--line { background: rgba(34, 211, 238, .03); }
.btn--ghost { border-color: var(--line); color: var(--ink-soft); }
.btn--text {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  color: var(--muted);
  font-size: 10px;
}
.btn--text::before { display: none; }
.btn--text:hover { color: var(--ink); background: transparent; transform: none; }
.btn--mini { min-height: 34px; padding: 0 12px; font-size: 9px; }
.btn--solid { background: var(--ink); border-color: var(--ink); color: #041016; }
.btn--solid:hover { background: var(--cyan-bright); border-color: var(--cyan-bright); }
.btn--danger { border-color: var(--danger); color: var(--danger); }
.btn--danger:hover { background: var(--danger); color: #10050a; border-color: var(--danger); }
.btn__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #031015;
  box-shadow: 0 0 0 0 rgba(3, 16, 21, .5);
  animation: ctaPulse 2s infinite;
}
.resume-button { border-color: rgba(52, 211, 153, .46); color: var(--green); }
.resume-button__count { font-size: 9px; color: var(--muted); }
.icon-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}
.icon-btn:hover { border-color: var(--cyan); color: var(--ink); }
.text-btn {
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 4px 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--muted);
  text-align: left;
}
.text-btn:hover { color: var(--cyan-bright); border-color: var(--cyan); }
.text-btn:disabled { opacity: .28; cursor: not-allowed; pointer-events: none; border-color: transparent; }
kbd {
  display: inline-block;
  min-width: 18px;
  padding: 1px 4px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-soft);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow > span:first-child {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border: 1px solid var(--line-strong);
  color: var(--cyan-bright);
}
.eyebrow .jp { color: var(--muted-2); letter-spacing: .05em; }
.hud-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}
.microcopy {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   VISTAS / LANDING
   -------------------------------------------------------------------------- */
.view { animation: viewIn .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
  width: min(1560px, calc(100% - clamp(36px, 6.4vw, 104px)));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 64px 0 66px;
}
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  margin: 28px 0 30px;
  font-family: var(--ui);
  font-weight: 700;
  font-size: clamp(3.5rem, 7.1vw, 8.2rem);
  line-height: .84;
  letter-spacing: -.05em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__title span { display: block; color: var(--ink); }
.hero__title em {
  display: block;
  margin-top: .08em;
  font-family: var(--serif);
  font-size: .94em;
  font-weight: 400;
  font-style: italic;
  line-height: .82;
  letter-spacing: -.025em;
  text-transform: none;
  color: transparent;
  background: linear-gradient(98deg, var(--cyan-bright) 0%, #d5fdff 34%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 26px rgba(34, 211, 238, .16));
}
.hero__lead {
  max-width: 560px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.8;
}
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 560px;
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
}
.hero__metrics div {
  padding: 15px 0 0;
  border-right: 1px solid var(--line);
}
.hero__metrics div:not(:first-child) { padding-left: 18px; }
.hero__metrics div:last-child { border-right: 0; }
.hero__metrics dt {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .15em;
  color: var(--muted);
}
.hero__metrics dd {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 25px;
  color: var(--ink);
}
.hero__time {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  color: var(--muted-2);
}
.hero__visual {
  position: relative;
  min-width: 0;
  padding-bottom: 38px;
}
.hero__visual-frame {
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(65% 70% at 60% 40%, rgba(34, 211, 238, .08), transparent 70%),
    rgba(4, 9, 17, .5);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, .36);
}
.hero__visual-frame::before,
.hero__visual-frame::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 18px;
  border-color: var(--cyan);
  border-style: solid;
  pointer-events: none;
  z-index: 4;
}
.hero__visual-frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.hero__visual-frame::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; border-color: var(--pink); }
.scene3d {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 52%, rgba(34, 211, 238, .06), transparent 55%);
  isolation: isolate;
}
.scene3d--hero { height: clamp(460px, 56vw, 660px); min-height: 460px; }
.scene3d--result { height: clamp(420px, 40vw, 570px); min-height: 380px; border: 1px solid var(--line); background: rgba(3, 8, 15, .46); }
.scene3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; z-index: 1; }
.scene3d__canvas.is-grabbing { cursor: grabbing; }
.scene3d:not(.scene3d--ready) .scene3d__canvas { display: none; }
.scene3d--ready .scene-fallback { display: none; }
.scene3d--lost .scene3d__canvas { display: none; }
.scene3d--lost .scene-fallback { display: flex; }
body:has(dialog[open]) { overflow: hidden; }
.scene-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.scene-fallback__cube {
  width: 120px;
  height: 120px;
  border: 1px solid var(--cyan);
  transform: rotate(30deg) skew(-8deg);
  box-shadow: 0 0 40px rgba(34, 211, 238, .2);
}
.scene-fallback small { font-size: 8px; color: var(--muted-2); }
.scene3d__labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.scene-axis {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  translate: -50% -50%;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
  line-height: 1.2;
  color: rgba(197, 245, 255, .52);
  white-space: nowrap;
  transition: opacity .2s;
}
.scene-axis b { color: var(--cyan-bright); font-weight: 400; font-size: 8px; }
.scene-axis--left { text-align: right; translate: -100% -50%; }
.scene-axis--right { text-align: left; translate: 0 -50%; }
.scene-axis--center { text-align: center; }
.scene3d__landmarks { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.scene-landmark {
  position: absolute;
  top: 0;
  left: 0;
  translate: -50% -130%;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .02em;
  color: #ffd166;
  text-shadow: 0 0 8px rgba(0, 0, 0, .9), 0 0 2px rgba(0, 0, 0, .9);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .2s;
}
.scene3d__hint {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .1em;
  color: rgba(170, 230, 240, .35);
  pointer-events: none;
}
.scene-tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  padding: 2px 5px;
  border: 1px solid rgba(143, 248, 255, .4);
  background: rgba(3, 12, 19, .7);
  font-family: var(--mono);
  font-size: 7px;
  color: var(--cyan-bright);
  translate: -50% -160%;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.scene-tag--other { border-color: rgba(255, 122, 162, .55); color: #ffc4d4; }
.hero__hud {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .12em;
  color: var(--muted-2);
  pointer-events: none;
}
.hero__hud b { font-weight: 400; color: var(--ink-soft); }
.hero__hud--tl { top: 14px; left: 16px; flex-direction: column; align-items: flex-start; gap: 2px; }
.hero__hud--tr { top: 15px; right: 16px; }
.hero__hud--bl { left: 16px; bottom: 14px; flex-direction: column; align-items: flex-start; gap: 2px; }
.hero__hud--br { right: 16px; bottom: 14px; flex-direction: column; align-items: flex-end; gap: 2px; }
.hero__thermal {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .1em;
  color: var(--muted-2);
  pointer-events: none;
}
.hero__thermal i {
  width: 62px;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), #e8fdff 52%, var(--green));
  box-shadow: 0 0 10px rgba(52, 211, 153, .3);
}
.hero__side-note {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 12px;
  max-width: 390px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.7;
  color: var(--muted-2);
}
.hero__side-note span { color: var(--pink); }
.hero__side-note p { margin: 0; }
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(34, 211, 238, .025);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  padding: 10px 0;
  animation: ticker 38s linear infinite;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .16em;
  color: var(--muted);
  white-space: nowrap;
}
.ticker__track i { color: var(--cyan); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   SECCIONES
   -------------------------------------------------------------------------- */
.section {
  width: min(1520px, calc(100% - clamp(36px, 6.4vw, 104px)));
  margin: 0 auto;
  padding: clamp(100px, 12vw, 172px) 0;
  border-bottom: 1px solid var(--line);
}
.section__head { margin-bottom: clamp(40px, 5vw, 72px); }
.section__title-row {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, .78fr);
  gap: clamp(30px, 8vw, 140px);
  align-items: end;
  margin-top: 30px;
}
.section__title-row h2 {
  font-family: var(--ui);
  font-weight: 700;
  font-size: clamp(2.75rem, 5.8vw, 6.4rem);
  line-height: .87;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.section__title-row h2 em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.02em;
  text-transform: none;
  color: var(--cyan-bright);
}
.section__title-row > p {
  max-width: 520px;
  padding-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.9;
}
.section__head--compact { margin-bottom: 32px; }

.axis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.axis-card {
  position: relative;
  min-height: 300px;
  padding: 24px clamp(22px, 2.6vw, 38px) 28px;
  background: linear-gradient(150deg, rgba(12, 22, 36, .95), rgba(7, 13, 23, .98));
  overflow: hidden;
  transition: background .35s;
}
.axis-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at 15% 100%, rgba(var(--axis-rgb), .09), transparent 66%);
  opacity: .5;
  transition: opacity .3s;
}
.axis-card:hover::before { opacity: 1; }
.axis-card:hover { background: linear-gradient(150deg, rgba(14, 28, 45, .98), rgba(7, 13, 23, .98)); }
.axis-card__bar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(135, 230, 255, .1);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  color: var(--muted-2);
}
.axis-card__bar span:first-child { color: var(--axis); }
.axis-card h3 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--ink);
}
.axis-card h3 i { font-style: normal; color: var(--axis); opacity: .7; }
.axis-card h3 span:first-child { color: var(--axis); }
.axis-card p {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin-top: 15px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.axis-card__visual {
  position: relative;
  height: 30px;
  margin-top: 28px;
  z-index: 1;
}
.axis-card__visual::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--axis-rgb), .6) 20%, rgba(var(--axis-rgb), .6) 80%, transparent);
}
.axis-card__visual span, .axis-card__visual b {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--axis);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
}
.axis-card__visual span { left: 4%; }
.axis-card__visual b { left: 96%; box-shadow: 0 0 12px var(--axis); background: var(--axis); }
.axis-card__visual i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--axis);
  transform: translate(-50%, -50%);
  opacity: .25;
}
.axis-card__poles {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .12em;
  color: var(--muted-2);
}
.axis-card__poles span:first-child { color: var(--axis); opacity: .7; }

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 32px;
  margin-top: 50px;
}
.formula-panel {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line);
  background: linear-gradient(130deg, rgba(16, 31, 45, .58), rgba(7, 13, 23, .5));
  overflow: hidden;
}
.formula-panel::after {
  content: "Σ";
  position: absolute;
  right: 20px;
  bottom: -55px;
  font-family: var(--serif);
  font-size: 240px;
  line-height: 1;
  color: rgba(34, 211, 238, .045);
  pointer-events: none;
}
.formula {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 26px;
  font-family: var(--mono);
  font-size: clamp(19px, 2.1vw, 30px);
  color: var(--ink);
}
.formula__frac {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
  border-bottom: 1px solid var(--line-strong);
  font-size: .68em;
  line-height: 1.7;
}
.formula__frac span:first-child { padding-bottom: 6px; }
.formula__frac span:last-child { padding-top: 6px; border-top: 1px solid var(--line-strong); width: 100%; text-align: center; }
.formula-panel__note {
  position: relative;
  z-index: 1;
  max-width: 600px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.formula-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 26px;
}
.formula-panel__chips span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .12em;
  color: var(--muted-2);
}
.method-steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.method-steps article { padding: 21px 24px; background: rgba(8, 15, 25, .95); }
.method-steps span { font-family: var(--mono); font-size: 8px; color: var(--pink); letter-spacing: .12em; }
.method-steps h3 { margin-top: 5px; font-size: 18px; letter-spacing: .06em; font-weight: 600; }
.method-steps p { margin-top: 6px; font-family: var(--mono); font-size: 10px; line-height: 1.7; color: var(--muted); }

.lens-preview {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
  gap: 26px;
  margin-top: 18px;
}
.lens-preview__intro {
  padding: 26px;
  border: 1px solid rgba(167, 139, 250, .2);
  background: radial-gradient(80% 120% at 0 100%, rgba(167, 139, 250, .07), transparent 65%), rgba(8, 14, 24, .55);
}
.lens-preview__intro h3 {
  margin-top: 18px;
  font-size: clamp(1.7rem, 2.8vw, 3rem);
  line-height: .9;
  letter-spacing: -.035em;
}
.lens-preview__intro h3 em { font-family: var(--serif); font-weight: 400; font-style: italic; text-transform: none; color: #c4b5fd; }
.lens-preview__intro > p:last-child { margin-top: 16px; font-family: var(--mono); font-size: 9.5px; line-height: 1.8; color: var(--muted); }
.lens-preview__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.lens-preview__grid article { position: relative; padding: 24px; background: rgba(8, 15, 25, .96); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.lens-preview__grid article::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 100% at 0 100%, rgba(var(--lens-rgb), .08), transparent 70%); pointer-events: none; }
.lens-preview__grid article::before { content: ""; position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 20px; height: 1px; background: linear-gradient(90deg, rgba(var(--lens-rgb), .55), transparent); opacity: .35; }
.lens-preview__grid span, .lens-preview__grid h4, .lens-preview__grid p, .lens-preview__grid small { position: relative; z-index: 1; }
.lens-preview__grid span { font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: var(--lens); }
.lens-preview__grid h4 { margin-top: 20px; font-size: 19px; font-weight: 500; letter-spacing: .03em; color: var(--ink); }
.lens-preview__grid p { margin-top: 6px; font-family: var(--mono); font-size: 8.5px; line-height: 1.7; color: var(--muted); }
.lens-preview__grid small { display: block; margin-top: 18px; font-family: var(--mono); font-size: 7px; letter-spacing: .08em; color: var(--muted-2); }

.protocol-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: center;
}
.protocol-copy { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.protocol-copy article { padding: 22px 0; background: var(--bg); }
.protocol-copy article > span { font-family: var(--mono); font-size: 8px; letter-spacing: .14em; color: var(--pink); }
.protocol-copy h3 { margin-top: 4px; font-size: clamp(24px, 2.7vw, 36px); letter-spacing: -.02em; }
.protocol-copy p { max-width: 540px; margin-top: 8px; font-family: var(--mono); font-size: 11px; line-height: 1.8; color: var(--muted); }
.protocol-copy code { color: var(--cyan-bright); font-family: var(--mono); }
.protocol-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 30px; background: var(--bg); }
.protocol-orbit {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.protocol-orbit__rings { position: absolute; inset: 8%; animation: orbitRotate 34s linear infinite; }
.protocol-orbit__rings i {
  position: absolute;
  inset: calc(var(--i, 0) * 10%);
  border: 1px solid rgba(34, 211, 238, calc(.26 - var(--i, 0) * .045));
  border-radius: 50%;
}
.protocol-orbit__rings i:nth-child(1) { inset: 0; border-style: dashed; }
.protocol-orbit__rings i:nth-child(2) { inset: 12%; border-color: rgba(244, 114, 182, .24); }
.protocol-orbit__rings i:nth-child(3) { inset: 25%; border-color: rgba(251, 191, 36, .2); }
.protocol-orbit__rings i:nth-child(4) { inset: 38%; border-color: rgba(52, 211, 153, .28); }
.protocol-orbit__rings i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.protocol-orbit__rings i:nth-child(2)::after { background: var(--pink); box-shadow: 0 0 12px var(--pink); left: auto; right: -3px; top: 20%; }
.protocol-orbit__rings i:nth-child(3)::after { background: var(--amber); box-shadow: 0 0 12px var(--amber); top: auto; bottom: -3px; left: 50%; }
.protocol-orbit__rings i:nth-child(4)::after { background: var(--green); box-shadow: 0 0 12px var(--green); top: 50%; left: 20%; }
.protocol-orbit__core {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(143, 248, 255, .5);
  transform: rotate(45deg);
  background: radial-gradient(circle, rgba(34, 211, 238, .2), transparent 68%);
  box-shadow: 0 0 60px rgba(34, 211, 238, .2), inset 0 0 28px rgba(34, 211, 238, .1);
}
.protocol-orbit > b { position: relative; z-index: 2; margin-top: -58px; font-family: var(--mono); font-size: 52px; font-weight: 400; letter-spacing: -.05em; }
.protocol-orbit > small { position: relative; z-index: 2; font-family: var(--mono); font-size: 8px; letter-spacing: .2em; color: var(--muted); }
.protocol-orbit__label {
  position: absolute;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  color: var(--muted-2);
  padding: 4px 7px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 20, .8);
}
.protocol-orbit__label--1 { top: 8%; left: 4%; color: var(--cyan); }
.protocol-orbit__label--2 { top: 26%; right: 0; color: var(--pink); }
.protocol-orbit__label--3 { bottom: 23%; right: 8%; color: var(--amber); }
.protocol-orbit__label--4 { bottom: 7%; left: 8%; color: var(--green); }

.section--protocol { border-bottom: 0; }
.section--archetypes { padding-top: 0; border-bottom: 0; }
.archetype-marquee { overflow: hidden; margin-bottom: 100px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.archetype-marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding: 14px 0;
  white-space: nowrap;
  animation: ticker 52s linear infinite reverse;
  font-family: var(--mono);
  font-size: clamp(22px, 3.4vw, 48px);
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(143, 248, 255, .22);
}
.archetype-marquee__track i { font-style: normal; font-size: .5em; color: var(--cyan); -webkit-text-stroke: 0; opacity: .55; }
.archetype-teaser {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 66px);
  padding: clamp(32px, 4.4vw, 62px);
  border: 1px solid var(--line);
  background:
    radial-gradient(55% 130% at 18% 100%, rgba(244, 114, 182, .09), transparent 64%),
    linear-gradient(120deg, rgba(12, 23, 38, .82), rgba(6, 11, 19, .72));
}
.archetype-teaser__glyph { font-size: clamp(80px, 10vw, 160px); line-height: .7; color: var(--pink); text-shadow: 0 0 60px rgba(244, 114, 182, .25); }
.archetype-teaser p { font-family: var(--ui); font-size: clamp(32px, 4.8vw, 70px); line-height: .9; letter-spacing: -.04em; text-transform: uppercase; }
.archetype-teaser p em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--cyan-bright); }
.archetype-teaser__stats { margin-left: auto; display: flex; flex-direction: column; gap: 12px; font-family: var(--mono); font-size: 8px; letter-spacing: .12em; color: var(--muted); }
.archetype-teaser__stats span { display: flex; align-items: baseline; gap: 8px; }
.archetype-teaser__stats b { font-size: 20px; font-weight: 400; color: var(--ink); }

/* --------------------------------------------------------------------------
   CUESTIONARIO
   -------------------------------------------------------------------------- */
.view--quiz { min-height: calc(100vh - 76px); display: flex; align-items: stretch; }
.quiz-shell {
  width: min(1480px, calc(100% - clamp(36px, 6vw, 96px)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(42px, 7vw, 112px);
  padding: 58px 0 70px;
}
.quiz-side {
  position: sticky;
  top: 110px;
  align-self: start;
  padding-right: 30px;
  border-right: 1px solid var(--line);
}
.quiz-orbit {
  position: relative;
  width: 186px;
  height: 186px;
  margin: 34px 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.quiz-orbit::before, .quiz-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.quiz-orbit::before { inset: 12px; }
.quiz-orbit::after { inset: 30px; border-style: dashed; opacity: .6; }
.quiz-orbit__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--cyan) calc(var(--progress, 0) * 1%), rgba(135, 230, 255, .09) 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  transform: rotate(-90deg);
  transition: background .4s;
}
.quiz-orbit__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 12px var(--cyan);
  transform: translate(-50%, -50%);
  opacity: .5;
}
.quiz-orbit b {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -.04em;
}
.quiz-orbit small { font-family: var(--mono); font-size: 7px; letter-spacing: .15em; color: var(--muted); }
.quiz-side__readout {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quiz-side__readout > span { font-family: var(--mono); font-size: 8px; letter-spacing: .14em; color: var(--muted); }
.quiz-side__readout b { font-family: var(--mono); font-size: 24px; font-weight: 400; }
.quiz-side__readout b i { font-style: normal; color: var(--muted-2); font-size: 14px; padding: 0 3px; }
.quiz-side__module { margin: 9px 0 0; font-family: var(--mono); font-size: 7px; line-height: 1.6; letter-spacing: .07em; color: rgba(143, 248, 255, .55); }
body.lens-module .quiz-side__module { color: rgba(251, 113, 133, .8); }
body.lens-module .question-card::before { background: linear-gradient(90deg, var(--pink), #a78bfa); box-shadow: 0 0 16px rgba(244, 114, 182, .45); }
body.lens-module .question-card__top span:first-child { color: #a78bfa; }
.quiz-side__note { margin: 26px 0; font-family: var(--mono); font-size: 10px; line-height: 1.9; color: var(--muted); }
.quiz-side__meta { display: grid; gap: 9px; margin: 0 0 28px; }
.quiz-side__meta div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 7px; border-bottom: 1px dotted var(--line); }
.quiz-side__meta dt, .quiz-side__meta dd { font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: var(--muted-2); }
.quiz-side__meta dd { color: var(--ink-soft); }
.quiz-side > .text-btn { display: block; margin-top: 9px; }
.quiz-main { min-width: 0; display: flex; flex-direction: column; }
.quiz-progress { margin-bottom: 30px; }
.quiz-progress__labels { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 8px; letter-spacing: .12em; color: var(--muted); }
.quiz-progress__labels b { font-weight: 400; color: var(--ink-soft); }
.quiz-progress__bar { position: relative; height: 2px; margin-top: 10px; background: rgba(135, 230, 255, .1); overflow: hidden; }
.quiz-progress__bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--cyan-bright)); box-shadow: 0 0 12px var(--cyan); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.quiz-progress__bar span { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(7,11,20,.8) 39px, rgba(7,11,20,.8) 40px); pointer-events: none; }
.question-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 90% at 80% -10%, rgba(34, 211, 238, .07), transparent 60%),
    linear-gradient(150deg, rgba(11, 21, 35, .92), rgba(6, 11, 19, .94));
  padding: clamp(24px, 3.4vw, 48px);
  overflow: hidden;
}
.question-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}
.question-card.is-leaving { animation: cardOut .16s ease-in both; }
.question-card.is-entering { animation: cardIn .3s cubic-bezier(.2,.8,.2,1) both; }
.question-card__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  color: var(--muted-2);
}
.question-card__top span:first-child { color: var(--pink); }
.question-card__body { position: relative; flex: 1; display: flex; align-items: center; padding: 42px 0; }
.question-card__index {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: clamp(100px, 15vw, 220px);
  line-height: .7;
  letter-spacing: -.08em;
  color: rgba(143, 248, 255, .045);
  pointer-events: none;
  user-select: none;
}
.question-card h2 {
  position: relative;
  z-index: 1;
  max-width: 930px;
  font-family: var(--ui);
  font-size: clamp(1.7rem, 3.45vw, 3.35rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.question-card h2:focus { outline: none; }
.response-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.response {
  position: relative;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 16px 14px;
  border: 0;
  background: rgba(8, 16, 27, .96);
  text-align: left;
  overflow: hidden;
  transition: background .2s, color .2s;
}
.response:hover { background: rgba(17, 36, 51, .98); }
.response__key {
  position: absolute;
  top: 11px;
  right: 12px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted-2);
  transition: color .2s;
}
.response__glyph {
  font-family: var(--mono);
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  transition: transform .2s, color .2s;
}
.response__copy { display: flex; flex-direction: column; gap: 1px; font-family: var(--mono); }
.response__copy b { font-weight: 400; font-size: 10px; letter-spacing: .1em; color: var(--ink-soft); }
.response__copy small { font-size: 7px; letter-spacing: .1em; color: var(--muted-2); }
.response__bar { position: absolute; left: 16px; right: 16px; bottom: 10px; height: 2px; background: rgba(135, 230, 255, .09); }
.response__bar i { display: block; width: 0; height: 100%; background: var(--cyan); transition: width .25s; }
.response:hover .response__glyph { transform: translateY(-2px); color: var(--ink); }
.response[aria-checked="true"] { background: var(--ink); color: #031015; }
.response[aria-checked="true"] .response__copy b { color: #031015; }
.response[aria-checked="true"] .response__copy small { color: rgba(3, 16, 21, .6); }
.response[aria-checked="true"] .response__glyph { color: #031015; }
.response[aria-checked="true"] .response__key { color: rgba(3, 16, 21, .6); }
.response[aria-checked="true"] .response__bar { background: rgba(3, 16, 21, .15); }
.response[aria-checked="true"] .response__bar i { width: 100%; background: #031015; }
.question-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.question-card__foot p { font-family: var(--mono); font-size: 8px; letter-spacing: .08em; color: var(--muted-2); }
.question-card__foot > span { font-family: var(--mono); font-size: 7px; letter-spacing: .12em; color: var(--muted-2); }

/* --------------------------------------------------------------------------
   SÍNTESIS
   -------------------------------------------------------------------------- */
.view--synthesis { min-height: calc(100vh - 76px); display: flex; align-items: center; justify-content: center; }
.synth {
  position: relative;
  width: min(700px, calc(100% - 48px));
  padding: 60px 20px;
  text-align: center;
}
.synth__scanner { position: relative; width: 180px; height: 180px; margin: 0 auto 42px; }
.synth__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(34, 211, 238, .3);
  border-radius: 50%;
  border-top-color: var(--cyan-bright);
  animation: spin 2s linear infinite;
}
.synth__ring--2 { inset: 22px; border-color: rgba(244, 114, 182, .24); border-bottom-color: var(--pink); animation-duration: 2.8s; animation-direction: reverse; }
.synth__ring--3 { inset: 44px; border-color: rgba(251, 191, 36, .2); border-left-color: var(--amber); animation-duration: 1.6s; }
.synth__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid var(--cyan-bright);
  background: rgba(34, 211, 238, .14);
  box-shadow: 0 0 45px rgba(34, 211, 238, .45);
  animation: corePulse 1.8s ease-in-out infinite;
}
.synth h2 { margin-top: 24px; font-size: clamp(2.4rem, 5vw, 5.2rem); line-height: .9; letter-spacing: -.04em; }
.synth h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; text-transform: none; color: var(--cyan-bright); }
.synth > p { margin-top: 24px; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--muted); }
.synth__ticks { display: flex; justify-content: center; gap: 3px; flex-wrap: wrap; max-width: 500px; margin: 36px auto 0; }
.synth__ticks i { width: 8px; height: 16px; border: 1px solid rgba(34, 211, 238, .22); background: rgba(34, 211, 238, .03); animation: tickIn .4s ease both; }
.synth__ticks i.is-live { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* --------------------------------------------------------------------------
   RESULTADOS
   -------------------------------------------------------------------------- */
.view--result { padding-bottom: 100px; }
.result-shell { width: min(1540px, calc(100% - clamp(36px, 6vw, 96px))); margin: 0 auto; padding-top: 50px; }
.result-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.result-copy { padding-top: 5px; }
.result-core { display: flex; align-items: flex-start; gap: 22px; margin-top: 22px; }
.result-core__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(143, 248, 255, .3);
  color: var(--cyan-bright);
  font-size: 26px;
  background: rgba(34, 211, 238, .06);
  box-shadow: inset 0 0 20px rgba(34, 211, 238, .06);
}
.result-core h1:focus, .result-core h2:focus { outline: none; }
.result-core h1, .result-core h2 {
  margin-top: 2px;
  font-size: clamp(2.5rem, 4.7vw, 5.3rem);
  line-height: .92;
  letter-spacing: -.045em;
  font-weight: 600;
  text-wrap: balance;
}
.result-tagline {
  margin: 19px 0 0 70px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  color: var(--cyan-bright);
}
.result-description {
  max-width: 640px;
  margin: 18px 0 0 70px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.85;
  color: var(--muted);
}
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 33px 0 34px 70px; }
.result-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-left: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.result-meta div { padding: 12px 10px 12px 0; border-right: 1px solid var(--line); }
.result-meta div:not(:first-child) { padding-left: 12px; }
.result-meta div:last-child { border-right: 0; }
.result-meta dt { font-family: var(--mono); font-size: 7px; letter-spacing: .12em; color: var(--muted-2); }
.result-meta dd { margin-top: 3px; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 18px 0 0 70px; font-family: var(--mono); font-size: 8px; color: var(--muted-2); }
.result-visual { min-width: 0; }
.result-visual__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 10px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .09em;
  color: var(--muted-2);
}
.result-visual__head > span:first-child { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.result-visual__head .led { width: 5px; height: 5px; }
.scene-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--line);
}
.scene-tool {
  flex: 1 1 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  border: 0;
  background: rgba(8, 16, 27, .96);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .1em;
  color: var(--muted-2);
  transition: color .2s, background .2s;
}
.scene-tool:hover { color: var(--ink); background: rgba(20, 40, 54, .98); }
.scene-tool.is-on { color: var(--cyan-bright); }
.scene-tool.is-on .scene-tool__icon { border-color: rgba(34, 211, 238, .5); background: rgba(34, 211, 238, .12); }
.scene-tool--compare { color: var(--pink); }
.scene-tool__icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: 1px solid var(--line); font-size: 9px; }
.octant-panel { margin-top: 10px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.octant-grid { display: flex; gap: 3px; flex: 1; }
.octant-btn {
  flex: 1;
  min-width: 28px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid var(--line);
  background: rgba(8, 16, 27, .8);
  font-family: var(--mono);
  font-size: 8px;
  color: #9fb9c6;
  transition: background .2s, color .2s, border-color .2s;
}
.octant-btn i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--oct-color, var(--cyan));
  opacity: .3;
}
.octant-btn.is-on i { opacity: 1; box-shadow: 0 0 5px var(--oct-color, var(--cyan)); }
.octant-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.octant-btn.is-on { color: var(--cyan-bright); border-color: rgba(34, 211, 238, .36); background: rgba(34, 211, 238, .09); }
.octant-btn.is-core { color: #ffffff; border-color: rgba(34, 211, 238, .85); background: rgba(34, 211, 238, .2); box-shadow: inset 0 0 12px rgba(34, 211, 238, .3), 0 0 8px rgba(34, 211, 238, .25); }
.e4-legend { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--mono); font-size: 7px; letter-spacing: .08em; color: var(--muted-2); }
.e4-legend i { flex: 1; height: 3px; background: linear-gradient(90deg, var(--amber), #e8fdff 52%, var(--green)); }
.spatial-bars { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.spatial-bar { display: grid; grid-template-columns: 22px minmax(0, 1fr) 44px; align-items: center; gap: 8px; }
.spatial-bar__code { font-family: var(--mono); font-size: 8px; color: var(--axis); }
.spatial-bar__rail { position: relative; height: 12px; background: linear-gradient(90deg, rgba(var(--axis-rgb), .1), rgba(135, 230, 255, .03) 48%, rgba(135, 230, 255, .03) 52%, rgba(var(--axis-rgb), .1)); }
.spatial-bar__rail::after { content: ""; position: absolute; top: 3px; bottom: 3px; left: 50%; width: 1px; background: rgba(235, 253, 255, .25); }
.spatial-bar__fill { position: absolute; top: 4px; height: 4px; background: var(--axis); box-shadow: 0 0 10px rgba(var(--axis-rgb), .4); }
.spatial-bar__pin { position: absolute; top: 1px; width: 10px; height: 10px; border: 1px solid var(--axis); background: var(--bg); transform: translateX(-50%) rotate(45deg); }
.spatial-bar__value { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); text-align: right; }
.spatial-bar__value small { color: var(--muted); font-size: 7px; }
.spatial-bars__label { margin-top: 4px; font-family: var(--mono); font-size: 7px; letter-spacing: .1em; color: var(--muted-2); }
.result-visual__hint { margin-top: 10px; font-family: var(--mono); font-size: 7px; letter-spacing: .08em; color: var(--muted-2); }
.telemetry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 34px;
  border: 1px solid var(--line);
  background: var(--line);
}
.telemetry-card {
  position: relative;
  min-height: 132px;
  padding: 17px 18px;
  background: rgba(8, 15, 25, .96);
  overflow: hidden;
}
.telemetry-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--axis);
  opacity: .65;
}
.telemetry-card__top { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: var(--muted-2); }
.telemetry-card__top b { font-weight: 400; color: var(--axis); }
.telemetry-card__value { display: flex; align-items: baseline; gap: 5px; margin-top: 12px; font-family: var(--mono); font-size: 40px; line-height: 1; letter-spacing: -.05em; color: var(--ink); }
.telemetry-card__value small { font-size: 11px; color: var(--muted); }
.telemetry-card__name { margin-top: 8px; font-family: var(--ui); font-size: 10px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.telemetry-card__poles { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 7px; border-top: 1px dotted rgba(135,230,255,.12); font-family: var(--mono); font-size: 7px; color: var(--muted-2); }
.telemetry-card__poles span:first-child { color: var(--axis); opacity: .8; }
.telemetry-card__bar { position: absolute; right: 18px; bottom: 35px; left: 18px; height: 2px; background: rgba(135, 230, 255, .08); }
.telemetry-card__bar i { display: block; height: 100%; background: var(--axis); opacity: .7; }

.dashboard {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.panel {
  position: relative;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 90% at 90% 0%, rgba(34, 211, 238, .035), transparent 56%),
    linear-gradient(150deg, rgba(11, 20, 33, .74), rgba(6, 11, 19, .78));
  overflow: hidden;
}
.panel--radar { grid-column: span 7; }
.panel--axes { grid-column: span 5; }
.panel--hist { grid-column: span 4; }
.panel--affinity { grid-column: span 4; }
.panel--poles { grid-column: span 4; }
.panel--matrix { grid-column: span 7; }
.panel--reading { grid-column: span 5; }
.panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.panel__head > div { display: flex; align-items: flex-start; gap: 11px; }
.panel__no { padding-top: 4px; font-family: var(--mono); font-size: 8px; color: var(--pink); }
.panel__head h2 { font-size: clamp(15px, 1.5vw, 20px); font-weight: 500; letter-spacing: .04em; line-height: 1.2; }
.panel__head .hud-label { text-align: right; padding-top: 3px; }
.panel__lead { max-width: 690px; margin-top: 14px; font-family: var(--mono); font-size: 10.5px; line-height: 1.8; color: var(--muted); }
.chart { margin-top: 20px; opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.chart.is-visible, .affinity-list, .arch-matrix { opacity: 1; transform: none; }
.chart--radar { margin-top: 6px; }
.radar { width: 100%; max-height: 500px; overflow: visible; }
.radar__ring { fill: none; stroke: rgba(143, 248, 255, .12); stroke-width: 1; }
.radar__ring--outer { stroke: rgba(143, 248, 255, .24); }
.radar__spoke { stroke: rgba(143, 248, 255, .1); stroke-width: 1; }
.radar__scale { fill: rgba(143, 248, 255, .28); font-family: var(--mono); font-size: 7px; }
.radar__label text { font-family: var(--mono); font-size: 9px; letter-spacing: .04em; }
.radar__label-code { fill: var(--label-color); font-size: 9px; }
.radar__label-name { fill: rgba(214, 246, 252, .78); font-size: 8px; }
.radar__shape { stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.radar__shape--current { filter: drop-shadow(0 0 8px rgba(125, 249, 255, .22)); }
.radar__shape--compare { fill: rgba(255, 122, 162, .04); stroke: var(--pink); stroke-dasharray: 5 6; }
.radar__dot--current { fill: var(--ink); filter: drop-shadow(0 0 4px var(--cyan)); }
.radar__dot--compare { fill: var(--pink); }
.radar__center { fill: var(--ink); }
.radar__zero { fill: var(--muted-2); font-family: var(--mono); font-size: 7px; }
.radar__data--current { transform-origin: 350px 292px; animation: radarIn .75s cubic-bezier(.2,.8,.2,1) both; }
@keyframes radarIn { from { transform: scale(.35); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.chart-legend { display: flex; gap: 15px; margin-top: 8px; font-family: var(--mono); font-size: 7px; letter-spacing: .1em; color: var(--muted); }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { width: 5px; height: 5px; border-radius: 50%; }
.legend-dot--you { background: var(--cyan-bright); box-shadow: 0 0 8px var(--cyan); }
.legend-dot--other { background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.axis-bars { display: flex; flex-direction: column; gap: 22px; margin-top: 26px; }
.axis-row { min-width: 0; opacity: 0; transform: translateX(-8px); animation: axisRowIn .55s ease forwards; }
.axis-row:nth-child(1) { animation-delay: .08s; }
.axis-row:nth-child(2) { animation-delay: .16s; }
.axis-row:nth-child(3) { animation-delay: .24s; }
.axis-row:nth-child(4) { animation-delay: .32s; }
@keyframes axisRowIn { to { opacity: 1; transform: none; } }
.axis-row__head { display: flex; align-items: baseline; gap: 9px; }
.axis-row__code { font-family: var(--mono); font-size: 8px; color: var(--axis-color); }
.axis-row__name { font-family: var(--ui); font-size: 10px; letter-spacing: .05em; color: var(--ink-soft); text-transform: uppercase; }
.axis-row__value { margin-left: auto; font-family: var(--mono); font-size: 16px; color: var(--axis-color); }
.axis-row__value small { font-size: 8px; }
.axis-row__rail {
  position: relative;
  height: 27px;
  margin-top: 8px;
  background: linear-gradient(90deg, rgba(var(--axis-rgb), .09), rgba(135, 230, 255, .03) 48%, rgba(135, 230, 255, .03) 52%, rgba(var(--axis-rgb), .09));
}
.axis-row__center { position: absolute; top: 4px; bottom: 4px; left: 50%; width: 1px; background: rgba(235, 253, 255, .22); }
.axis-row__band { position: absolute; top: 8px; height: 11px; background: rgba(var(--axis-rgb), .15); border-left: 1px solid rgba(var(--axis-rgb), .22); border-right: 1px solid rgba(var(--axis-rgb), .22); }
.axis-row__fill { position: absolute; top: 11px; height: 5px; background: var(--axis-color); box-shadow: 0 0 12px rgba(var(--axis-rgb), .35); }
.axis-row__pin { position: absolute; top: 7px; width: 13px; height: 13px; border: 1px solid var(--axis-color); background: var(--bg); transform: translateX(-50%) rotate(45deg); box-shadow: 0 0 9px rgba(var(--axis-rgb), .3); }
.axis-row__compare-pin { position: absolute; top: 4px; width: 7px; height: 19px; background: var(--pink); transform: translateX(-50%); box-shadow: 0 0 7px var(--pink); }
.axis-row__poles { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; font-family: var(--mono); font-size: 8px; letter-spacing: .04em; color: var(--muted-2); }
.axis-row__meta { color: rgba(143, 248, 255, .38); }
.axis-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; padding-top: 13px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 7px; color: var(--muted-2); }
.axis-legend span { display: inline-flex; align-items: center; gap: 5px; }
.axis-legend__pin { width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--cyan); }
.axis-legend__band { width: 14px; height: 5px; background: rgba(34, 211, 238, .18); }
.axis-legend__other { width: 3px; height: 10px; background: var(--pink); }

.histogram__summary { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 27px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.histogram__summary > div { display: flex; flex-direction: column; gap: 2px; }
.histogram__summary strong { font-family: var(--mono); font-size: 17px; font-weight: 400; color: var(--ink); }
.histogram { display: flex; align-items: flex-end; gap: 8px; height: 205px; margin-top: 26px; padding-bottom: 0; }
.histogram__col { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; opacity: 0; animation: histIn .55s ease forwards; }
.histogram__col:nth-child(1) { animation-delay: .08s; }
.histogram__col:nth-child(2) { animation-delay: .14s; }
.histogram__col:nth-child(3) { animation-delay: .2s; }
.histogram__col:nth-child(4) { animation-delay: .26s; }
.histogram__col:nth-child(5) { animation-delay: .32s; }
@keyframes histIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.histogram__value { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }
.histogram__track { position: relative; width: 100%; height: 135px; display: flex; align-items: flex-end; background: rgba(135,230,255,.025); }
.histogram__bar { display: block; width: 100%; height: var(--height); background: rgba(143, 248, 255, .22); border-top: 1px solid rgba(143, 248, 255, .5); transition: height .5s; }
.histogram__ghost { position: absolute; bottom: 0; left: 50%; width: 3px; height: var(--height); background: var(--pink); opacity: .7; transform: translateX(-50%); }
.histogram__col.is-extreme .histogram__bar { background: rgba(244, 114, 182, .24); border-top-color: rgba(244, 114, 182, .6); }
.histogram__col.is-neutral .histogram__bar { background: rgba(251, 191, 36, .2); border-top-color: rgba(251, 191, 36, .55); }
.histogram__col.is-strongest .histogram__bar { box-shadow: 0 0 20px rgba(34, 211, 238, .18); }
.histogram__label { font-family: var(--mono); font-size: 8px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.histogram__pct { font-family: var(--mono); font-size: 7px; color: var(--muted-2); }
.chart-note { margin-top: 16px; font-family: var(--mono); font-size: 10px; line-height: 1.7; color: var(--muted-2); }

.affinity-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); margin-top: 22px; }
.affinity-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 10px;
  background: rgba(8, 15, 25, .97);
  transition: background .2s;
}
.affinity-row:hover { background: rgba(16, 31, 44, .97); }
.affinity-row.is-core { background: rgba(34, 211, 238, .06); box-shadow: inset 2px 0 0 var(--cyan); }
.affinity-row__rank { font-family: var(--mono); font-size: 7px; color: var(--muted-2); padding-top: 3px; }
.affinity-row__glyph { width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--cyan); font-size: 13px; flex: 0 0 auto; }
.affinity-row.is-core .affinity-row__glyph { border-color: rgba(34, 211, 238, .4); box-shadow: 0 0 16px rgba(34, 211, 238, .12); }
.affinity-row__copy { flex: 1; min-width: 0; }
.affinity-row__top { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 7px; color: var(--muted-2); }
.affinity-row__top span:last-child { color: var(--cyan-bright); }
.affinity-row h3 { margin-top: 2px; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.affinity-row p { font-family: var(--mono); font-size: 8.5px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.affinity-row__meter { height: 2px; margin-top: 8px; background: rgba(135, 230, 255, .08); }
.affinity-row__meter i { display: block; width: var(--width); height: 100%; background: var(--cyan); opacity: .65; }
.affinity-row.is-core .affinity-row__meter i { background: var(--cyan-bright); opacity: 1; box-shadow: 0 0 8px var(--cyan); }

.arch-matrix { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 23px; background: var(--line); border: 1px solid var(--line); }
.arch-tile { position: relative; min-height: 102px; padding: 10px; background: rgba(7, 13, 22, .97); overflow: hidden; }
.arch-tile__heat { position: absolute; inset: 0; background: linear-gradient(135deg, var(--cyan), var(--pink)); pointer-events: none; }
.arch-tile__code, .arch-tile__glyph, .arch-tile__name, .arch-tile__value { position: relative; z-index: 1; }
.arch-tile__code { display: block; font-family: var(--mono); font-size: 7px; color: var(--muted-2); }
.arch-tile__glyph { display: block; margin-top: 8px; font-size: 19px; color: var(--cyan); }
.arch-tile__name { display: block; max-width: 90%; margin-top: 2px; font-family: var(--ui); font-size: 10px; line-height: 1.25; color: var(--ink-soft); }
.arch-tile__value { position: absolute; right: 9px; bottom: 8px; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.arch-tile__value small { font-size: 7px; color: var(--muted); }
.arch-tile.is-core { box-shadow: inset 0 0 0 1px rgba(143, 248, 255, .6); }
.arch-tile.is-core .arch-tile__glyph { color: var(--cyan-bright); }

.readings { display: flex; flex-direction: column; gap: 1px; background: var(--line); margin-top: 22px; }
.reading { padding: 13px 14px; background: rgba(8, 15, 25, .97); border-left: 2px solid var(--axis); }
.reading__top { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 7px; color: var(--muted-2); }
.reading__top span:first-child { color: var(--axis); }
.reading h3 { margin-top: 3px; font-size: 14px; font-weight: 500; color: var(--ink); }
.reading__plain { margin-top: 5px; font-family: var(--mono); font-size: 8.5px; line-height: 1.6; color: var(--cyan-bright); }
.reading p { margin-top: 4px; font-family: var(--mono); font-size: 10px; line-height: 1.7; color: var(--muted); }
.tensions { margin-top: 18px; }
.tension { padding: 11px 13px; border: 1px solid rgba(244, 114, 182, .22); background: rgba(244, 114, 182, .04); }
.tension + .tension { margin-top: 7px; }
.tension span { font-family: var(--mono); font-size: 7px; color: var(--pink); letter-spacing: .1em; }
.tension p { margin-top: 5px; font-family: var(--mono); font-size: 9.5px; line-height: 1.7; color: var(--muted); }
.tension-empty { font-family: var(--mono); font-size: 8px; line-height: 1.7; color: var(--muted-2); }
.pole-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 23px; background: var(--line); }
.pole-chip { position: relative; padding: 11px; background: rgba(8, 15, 25, .97); overflow: hidden; }
.pole-chip::after { content: ""; position: absolute; bottom: 0; left: 0; width: var(--w, 0%); height: 1px; background: var(--axis); opacity: .7; }
.pole-chip > span { font-family: var(--mono); font-size: 7px; color: var(--axis); }
.pole-chip b { float: right; font-family: var(--mono); font-size: 14px; font-weight: 400; color: var(--ink); }
.pole-chip small { display: block; margin-top: 2px; font-family: var(--mono); font-size: 8px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reading-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.reading-note p { margin-top: 7px; font-family: var(--mono); font-size: 9.5px; line-height: 1.8; color: var(--muted-2); }

.legacy-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  margin: 0 0 18px;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid rgba(251, 191, 36, .3);
  background:
    radial-gradient(70% 140% at 0 100%, rgba(251, 191, 36, .08), transparent 65%),
    rgba(8, 14, 23, .84);
}
.legacy-notice__code {
  align-self: start;
  padding: 5px 8px;
  border: 1px solid rgba(251, 191, 36, .4);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  color: var(--amber);
  white-space: nowrap;
}
.legacy-notice h2 { font-size: clamp(1.5rem, 2.4vw, 2.4rem); line-height: .95; letter-spacing: -.035em; }
.legacy-notice h2 em { font-family: var(--serif); color: var(--amber); font-style: italic; font-weight: 400; text-transform: none; }
.legacy-notice p { max-width: 720px; margin-top: 9px; font-family: var(--mono); font-size: 9.5px; line-height: 1.75; color: var(--muted); }

.lens-section {
  position: relative;
  margin: 18px 0;
  padding: clamp(24px, 3.2vw, 42px);
  border: 1px solid rgba(167, 139, 250, .22);
  background:
    radial-gradient(70% 120% at 100% 0, rgba(167, 139, 250, .07), transparent 60%),
    radial-gradient(55% 100% at 0 100%, rgba(251, 113, 133, .055), transparent 65%),
    rgba(7, 13, 22, .72);
  overflow: hidden;
}
.lens-section::after {
  content: "L1—L4";
  position: absolute;
  right: 22px;
  bottom: -18px;
  font-family: var(--mono);
  font-size: 90px;
  line-height: 1;
  color: rgba(167, 139, 250, .035);
  pointer-events: none;
}
.lens-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(26px, 7vw, 120px);
  margin-bottom: 24px;
}
.lens-section__head h2 {
  margin-top: 20px;
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  line-height: .88;
  letter-spacing: -.04em;
}
.lens-section__head h2 em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  color: #c4b5fd;
}
.lens-section__head > p {
  max-width: 480px;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.8;
  color: var(--muted);
}
.lens-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.lens-card {
  position: relative;
  min-width: 0;
  padding: 16px;
  background: rgba(8, 15, 25, .97);
  overflow: hidden;
}
.lens-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 80% at 0 100%, rgba(var(--lens-rgb), .08), transparent 65%);
  pointer-events: none;
}
.lens-card > * { position: relative; z-index: 1; }
.lens-card__top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-family: var(--mono); font-size: 8px; color: var(--muted-2); }
.lens-card__top span:first-child { color: var(--lens); }
.lens-card__top span:nth-child(2) { color: var(--ink-soft); font-size: 9px; letter-spacing: .04em; }
.lens-card__top b { margin-left: auto; font-family: var(--mono); font-size: 21px; font-weight: 400; color: var(--lens); letter-spacing: -.04em; }
.lens-card__question { min-height: 32px; margin-top: 10px; font-family: var(--mono); font-size: 8px; line-height: 1.5; color: var(--muted); }
.lens-card__rail { position: relative; height: 25px; margin-top: 13px; background: linear-gradient(90deg, rgba(var(--lens-rgb), .07), rgba(135, 230, 255, .03) 48%, rgba(135, 230, 255, .03) 52%, rgba(var(--lens-rgb), .07)); }
.lens-card__center { position: absolute; top: 4px; bottom: 4px; left: 50%; width: 1px; background: rgba(235, 253, 255, .24); }
.lens-card__band { position: absolute; top: 7px; height: 11px; background: rgba(var(--lens-rgb), .12); border-left: 1px solid rgba(var(--lens-rgb), .23); border-right: 1px solid rgba(var(--lens-rgb), .23); }
.lens-card__fill { position: absolute; top: 10px; height: 5px; background: var(--lens); box-shadow: 0 0 12px rgba(var(--lens-rgb), .35); }
.lens-card__pin { position: absolute; top: 6px; width: 13px; height: 13px; border: 1px solid var(--lens); background: var(--bg); transform: translateX(-50%) rotate(45deg); }
.lens-card__poles { display: flex; justify-content: space-between; gap: 5px; margin-top: 6px; font-family: var(--mono); font-size: 7px; letter-spacing: .03em; color: var(--muted-2); }
.lens-card__poles span:first-child { color: rgba(143, 248, 255, .48); }
.lens-card__poles span:last-child { color: var(--lens); text-align: right; }
.lens-card__reading { margin-top: 14px; padding-top: 11px; border-top: 1px solid rgba(135, 230, 255, .1); font-family: var(--mono); font-size: 8.5px; line-height: 1.7; color: var(--muted); }
.lens-card__reading b { color: var(--ink-soft); font-weight: 400; }
.lens-card__items { display: block; margin-top: 10px; font-family: var(--mono); font-size: 7px; letter-spacing: .08em; color: var(--muted-2); }
.lens-section__note { position: relative; z-index: 1; margin-top: 18px; font-family: var(--mono); font-size: 8px; line-height: 1.7; color: var(--muted-2); }
.lens-delta-block { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(135, 230, 255, .12); }

.telemetry-card__plain {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.5;
  color: rgba(143, 248, 255, .52);
}

.mirror-section {
  margin: 18px 0;
  padding: clamp(24px, 3.2vw, 40px);
  border: 1px solid rgba(251, 191, 36, .22);
  background:
    radial-gradient(70% 120% at 100% 0, rgba(251, 191, 36, .06), transparent 60%),
    radial-gradient(50% 100% at 0 100%, rgba(251, 113, 133, .05), transparent 65%),
    rgba(7, 13, 22, .72);
}
.mirror-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: clamp(26px, 7vw, 120px); margin-bottom: 24px; }
.mirror-section__head h2 { margin-top: 20px; font-size: clamp(2rem, 3.4vw, 3.8rem); line-height: .88; letter-spacing: -.04em; }
.mirror-section__head h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; text-transform: none; color: var(--amber); }
.mirror-section__head > p { max-width: 480px; font-family: var(--mono); font-size: 9.5px; line-height: 1.8; color: var(--muted); }
.mirror-card {
  position: relative;
  padding: clamp(20px, 2.5vw, 30px);
  border: 1px solid var(--line);
  background: rgba(8, 15, 25, .8);
}
.mirror-card.is-friction { border-color: rgba(251, 191, 36, .28); }
.mirror-card.is-aligned { border-color: rgba(52, 211, 153, .30); }
.mirror-card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mirror-card__head span:first-child { font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: var(--amber); }
.mirror-card.is-aligned .mirror-card__head span:first-child { color: var(--green); }
.mirror-card__head span:last-child { font-family: var(--mono); font-size: 7px; color: var(--muted-2); }
.mirror-card > h3 { max-width: 900px; margin-top: 16px; font-size: clamp(1.2rem, 2.1vw, 2rem); line-height: 1.1; letter-spacing: -.02em; }
.mirror-card > p { max-width: 900px; margin-top: 10px; font-family: var(--mono); font-size: 10px; line-height: 1.8; color: var(--muted); }
.mirror-findings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 20px; background: var(--line); border: 1px solid var(--line); }
.mirror-finding { padding: 16px; background: rgba(8, 15, 25, .96); }
.mirror-finding > span { font-family: var(--mono); font-size: 7px; letter-spacing: .1em; color: var(--amber); }
.mirror-finding h4 { margin-top: 6px; font-size: 12px; line-height: 1.35; color: var(--ink); }
.mirror-finding p { margin-top: 7px; font-family: var(--mono); font-size: 9px; line-height: 1.75; color: var(--muted); }
.mirror-finding__codes { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 12px; }
.mirror-finding__codes span { padding: 3px 5px; border: 1px solid var(--line); font-family: var(--mono); font-size: 7px; color: var(--cyan); }
.mirror-card__note { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 8px; line-height: 1.7; color: var(--muted-2); }
.mirror-aligned-mark { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 9px 12px; border: 1px solid rgba(52, 211, 153, .3); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; color: var(--green); }
.mirror-aligned-mark i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.nexus {
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid rgba(52, 211, 153, .25);
  background: radial-gradient(80% 120% at 0 0, rgba(52, 211, 153, .06), transparent 65%), rgba(7, 15, 22, .62);
}
.nexus__head { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.nexus__head > span { font-family: var(--mono); font-size: 8px; letter-spacing: .12em; color: var(--green); }
.nexus__head h3 { font-size: clamp(1.3rem, 2.1vw, 2rem); letter-spacing: -.02em; }
.nexus > p { max-width: 880px; margin-top: 8px; font-family: var(--mono); font-size: 9px; line-height: 1.7; color: var(--muted); }
.nexus__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 15px; background: var(--line); border: 1px solid var(--line); }
.nexus__item { padding: 12px; background: rgba(8, 15, 25, .97); }
.nexus__item > span { font-family: var(--mono); font-size: 7px; letter-spacing: .08em; color: var(--green); }
.nexus__item h4 { margin-top: 4px; font-size: 12px; line-height: 1.25; color: var(--ink); }
.nexus__item small { display: block; margin-top: 2px; font-family: var(--mono); font-size: 7px; color: var(--muted-2); }
.nexus__values { display: flex; align-items: baseline; gap: 10px; margin-top: 9px; font-family: var(--mono); font-size: 8px; color: var(--muted); }
.nexus__values strong { margin-left: auto; font-weight: 400; color: var(--green); font-size: 12px; }

.comparison-panel {
  margin-bottom: 18px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 122, 162, .28);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(255, 122, 162, .08), transparent 55%),
    rgba(8, 14, 23, .84);
}
.comparison-panel__head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.comparison-panel__head h2 { margin-top: 18px; font-size: clamp(1.8rem, 3vw, 3.2rem); line-height: .9; letter-spacing: -.04em; }
.comparison-panel__head h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; text-transform: none; color: var(--pink); }
.comparison-panel__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 25px; background: var(--line); }
.compare-card { padding: 16px; background: rgba(10, 18, 29, .98); }
.compare-card--a { border-left: 2px solid var(--cyan); }
.compare-card--b { border-left: 2px solid var(--pink); }
.compare-card h3 { margin-top: 5px; font-size: 16px; font-weight: 500; }
.compare-card p { margin-top: 3px; font-family: var(--mono); font-size: 8.5px; color: var(--muted); }
.compare-card strong { display: block; margin-top: 8px; font-family: var(--mono); font-size: 18px; font-weight: 400; color: var(--ink); }
.delta-list { display: flex; flex-direction: column; gap: 7px; margin-top: 19px; }
.delta-row { display: grid; grid-template-columns: 24px 1.2fr 2fr 42px; align-items: center; gap: 9px; font-family: var(--mono); font-size: 9px; color: var(--muted); }
.delta-row__axis { color: var(--axis); }
.delta-row__bar { display: block; height: 2px; background: rgba(135, 230, 255, .08); position: relative; }
.delta-row__bar i { position: absolute; top: 0; height: 100%; width: var(--delta); max-width: 50%; background: var(--color); }
.delta-row__bar i.is-plus { left: 50%; }
.delta-row__bar i.is-minus { right: 50%; }
.delta-row b { text-align: right; font-weight: 400; color: var(--ink-soft); }

.result-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-top: 18px;
  padding: clamp(32px, 4.5vw, 64px);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 130% at 0 100%, rgba(34, 211, 238, .1), transparent 60%),
    linear-gradient(120deg, rgba(11, 23, 38, .88), rgba(6, 11, 19, .85));
  overflow: hidden;
}
.result-footer::after {
  content: "04";
  position: absolute;
  right: 4%;
  bottom: -30px;
  font-family: var(--mono);
  font-size: 280px;
  line-height: .8;
  color: rgba(143, 248, 255, .025);
  pointer-events: none;
}
.result-footer h2 { margin-top: 22px; font-size: clamp(2.4rem, 4.2vw, 4.8rem); line-height: .88; letter-spacing: -.045em; }
.result-footer h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--cyan-bright); }
.result-footer > div > p:not(.eyebrow) { max-width: 580px; margin-top: 19px; font-family: var(--mono); font-size: 10px; line-height: 1.8; color: var(--muted); }
.result-footer__actions { display: flex; flex-direction: column; gap: 8px; }
.result-footer__actions .btn { justify-content: space-between; }
.result-footer__code { grid-column: 1 / -1; margin-top: 20px; padding-top: 13px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; font-family: var(--mono); font-size: 7px; letter-spacing: .1em; color: var(--muted-2); }
.result-footer__code code { font-family: var(--mono); font-size: 8px; color: var(--cyan-bright); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.disclaimer {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(251, 191, 36, .18);
  background: rgba(251, 191, 36, .025);
}
.disclaimer__mark { flex: 0 0 20px; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(251, 191, 36, .4); color: var(--amber); font-family: var(--mono); font-size: 11px; }
.disclaimer p { font-family: var(--mono); font-size: 9.5px; line-height: 1.8; color: var(--muted); }
.disclaimer b { color: var(--amber); font-weight: 400; }

/* --------------------------------------------------------------------------
   MODALES / TOAST
   -------------------------------------------------------------------------- */
.modal {
  width: min(720px, calc(100% - 30px));
  max-height: calc(100vh - 30px);
  padding: 0;
  border: 1px solid var(--line-strong);
  background: #08111d;
  color: var(--ink);
  box-shadow: 0 30px 120px rgba(0, 0, 0, .65);
}
.modal::backdrop { background: rgba(2, 6, 12, .78); backdrop-filter: blur(8px); }
.modal--small { width: min(520px, calc(100% - 30px)); }
.modal__body { position: relative; padding: clamp(28px, 4vw, 48px); }
.modal__body::before { content: ""; position: absolute; top: 0; left: 0; width: 100px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--pink)); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 13px; }
.modal__close:hover { color: var(--ink); border-color: var(--cyan); }
.modal h2 { margin-top: 20px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: .9; letter-spacing: -.04em; }
.modal h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--cyan-bright); }
.modal__body > p:not(.eyebrow, .field-error, .modal__fine) { margin-top: 17px; max-width: 570px; font-family: var(--mono); font-size: 10px; line-height: 1.8; color: var(--muted); }
.copy-field { display: flex; gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); }
.copy-field input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 0; background: #07111c; color: var(--ink-soft); font-family: var(--mono); font-size: 9px; }
.copy-field .btn { min-height: 42px; border: 0; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.modal__fine { margin-top: 18px; font-family: var(--mono); font-size: 7px; letter-spacing: .04em; color: var(--muted-2); }
.field { display: block; margin-top: 22px; }
.field > span { display: block; margin-bottom: 7px; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: var(--muted); }
.field input {
  width: 100%;
  height: 45px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #07111c;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
}
.field input:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 20px rgba(34, 211, 238, .07); }
.field-error { min-height: 17px; margin-top: 7px; font-family: var(--mono); font-size: 8px; color: var(--danger); }
.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  background: rgba(6, 14, 23, .96);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-soft);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.toast.is-open { opacity: 1; transform: none; }
.toast__led { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.noscript { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; padding: 12px 20px; background: var(--amber); color: #171000; font-family: var(--mono); font-size: 10px; }

/* --------------------------------------------------------------------------
   PIE
   -------------------------------------------------------------------------- */
.site-footer {
  width: min(1520px, calc(100% - clamp(36px, 6.4vw, 104px)));
  margin: 0 auto;
  padding: 44px 0 30px;
  border-top: 1px solid var(--line);
}
.site-footer__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 5vw, 80px); }
.brand--footer .brand__mark { width: 30px; height: 30px; }
.brand--footer .brand__text b { font-size: 15px; }
.site-footer__top > p { font-family: var(--mono); font-size: 9px; line-height: 1.7; color: var(--muted-2); text-align: center; }
.site-footer__top nav { display: flex; gap: 17px; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; color: var(--muted); }
.site-footer__top nav a { color: var(--muted); }
.site-footer__top nav a:hover { color: var(--cyan-bright); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
  color: var(--muted-2);
}
body[data-view="quiz"] .site-footer,
body[data-view="synthesis"] .site-footer { display: none; }

/* --------------------------------------------------------------------------
   ANIMACIONES
   -------------------------------------------------------------------------- */
@keyframes ledPulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(3,16,21,.5); } 70% { box-shadow: 0 0 0 7px rgba(3,16,21,0); } 100% { box-shadow: 0 0 0 0 rgba(3,16,21,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbitRotate { to { transform: rotate(360deg); } }
@keyframes corePulse { 0%, 100% { opacity: .8; box-shadow: 0 0 35px rgba(34,211,238,.32); } 50% { opacity: 1; box-shadow: 0 0 65px rgba(34,211,238,.6); } }
@keyframes tickIn { from { opacity: 0; transform: scaleY(.1); } to { opacity: 1; transform: none; } }
@keyframes cardOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-18px); } }
@keyframes cardIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr); gap: 42px; }
  .result-hero { grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); gap: 40px; }
  .panel--radar { grid-column: span 7; }
  .panel--axes { grid-column: span 5; }
  .panel--hist { grid-column: span 6; }
  .panel--affinity { grid-column: span 6; }
  .panel--poles { grid-column: span 4; }
  .panel--matrix { grid-column: span 8; }
  .panel--reading { grid-column: span 8; }
  .panel--poles { grid-column: span 4; }
}
@media (max-width: 1020px) {
  .topbar__status { display: none; }
  .topbar { gap: 16px; }
  .topbar__nav { margin-left: 0; gap: 16px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 52px; }
  .hero__visual { max-width: 760px; width: 100%; }
  .hero__title { font-size: clamp(4rem, 12vw, 8rem); }
  .section__title-row { grid-template-columns: 1fr; gap: 20px; }
  .section__title-row > p { padding: 0; }
  .method-grid { grid-template-columns: 1fr; }
  .protocol-layout { grid-template-columns: 1fr; }
  .protocol-orbit { width: 340px; margin-top: 10px; }
  .quiz-shell { grid-template-columns: 220px minmax(0, 1fr); gap: 34px; }
  .quiz-side { padding-right: 20px; }
  .quiz-orbit { width: 150px; height: 150px; }
  .question-card { min-height: 550px; }
  .response { min-height: 124px; padding: 13px 11px; }
  .response__copy b { font-size: 9px; }
  .response__copy small { font-size: 6px; }
  .result-hero { grid-template-columns: 1fr; }
  .result-visual { max-width: 760px; }
  .result-core h1, .result-core h2 { font-size: clamp(2.6rem, 6.5vw, 4.7rem); }
  .dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel--radar, .panel--axes, .panel--hist, .panel--affinity, .panel--matrix, .panel--reading, .panel--poles { grid-column: span 1; }
  .panel--radar { grid-column: span 2; }
  .lens-section__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .lens-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lens-preview { grid-template-columns: 1fr; }
  .legacy-notice { grid-template-columns: 1fr; align-items: start; }
  .legacy-notice__code { justify-self: start; }
  .mirror-section__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .mirror-findings { grid-template-columns: 1fr; }
  .nexus__items { grid-template-columns: 1fr; }
  .arch-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-footer { grid-template-columns: 1fr; }
  .result-footer__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-footer__actions .btn { justify-content: center; }
  .result-footer__code { grid-column: auto; }
  .site-footer__top { grid-template-columns: 1fr; gap: 22px; }
  .site-footer__top > p { text-align: left; }
}
@media (max-width: 760px) {
  .topbar { height: 64px; padding: 0 16px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__text b { font-size: 15px; }
  .brand__text small { font-size: 6px; letter-spacing: .16em; }
  .topbar__nav { display: none; }
  .topbar__actions { gap: 5px; }
  .btn--mini { min-height: 30px; padding: 0 8px; font-size: 7px; }
  .hero { width: calc(100% - 32px); padding: 38px 0 42px; gap: 34px; }
  .hero__title { margin: 22px 0 24px; font-size: clamp(3.25rem, 15.7vw, 6.2rem); }
  .hero__lead { font-size: 11px; }
  .hero__actions { align-items: stretch; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__actions .btn--text { flex-basis: 100%; justify-content: flex-start; }
  .hero__metrics { margin-top: 32px; }
  .hero__metrics div:not(:first-child) { padding-left: 10px; }
  .hero__metrics dd { font-size: 20px; }
  .hero__side-note { position: static; margin-top: 14px; max-width: 100%; }
  .scene3d--hero { height: 400px; min-height: 400px; }
  .hero__hud--br, .hero__hud--bl, .hero__thermal { display: none; }
  .hero__hud { font-size: 6px; }
  .ticker__track { font-size: 7px; padding: 8px 0; }
  .section { width: calc(100% - 32px); padding: 82px 0; }
  .section__title-row h2 { font-size: clamp(2.55rem, 11vw, 4.6rem); }
  .section__title-row > p { font-size: 10px; }
  .axis-grid { grid-template-columns: 1fr; }
  .axis-card { min-height: 260px; padding: 21px 21px 24px; }
  .axis-card h3 { font-size: 10px; gap: 7px; }
  .formula { font-size: 17px; gap: 8px; flex-wrap: wrap; }
  .formula__frac { font-size: .7em; }
  .formula-panel { padding: 25px 22px; }
  .protocol-orbit { width: 280px; }
  .archetype-marquee { margin-bottom: 62px; }
  .archetype-teaser { flex-wrap: wrap; gap: 20px; padding: 28px 23px; }
  .archetype-teaser__glyph { font-size: 80px; }
  .archetype-teaser__stats { width: 100%; margin-left: 0; flex-direction: row; gap: 18px; flex-wrap: wrap; }
  .quiz-shell { width: calc(100% - 24px); grid-template-columns: 1fr; gap: 16px; padding: 22px 0 50px; }
  .quiz-side {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .quiz-side > .eyebrow { flex: 1 0 100%; }
  .quiz-orbit { flex: 0 0 72px; width: 72px; height: 72px; margin: 0; }
  .quiz-orbit::before { inset: 4px; }
  .quiz-orbit::after { display: none; }
  .quiz-orbit b { font-size: 17px; }
  .quiz-orbit small { font-size: 5px; }
  .quiz-side__readout { flex: 1 1 auto; border-top: 0; border-bottom: 0; padding: 0; }
  .quiz-side__readout b { font-size: 20px; }
  .quiz-side__note { display: none; }
  .quiz-side__module { flex: 1 0 100%; margin-top: 0; font-size: 6px; }
  .quiz-side__meta { display: flex; flex: 1 0 100%; gap: 14px; margin: 0; flex-wrap: wrap; }
  .quiz-side__meta div { flex: 0 0 auto; gap: 5px; border-bottom: 0; padding-bottom: 0; }
  .quiz-side > .text-btn { display: inline-block; margin: 0 16px 0 0; font-size: 8px; }
  .quiz-side > .text-btn + .text-btn { margin-left: 0; }
  .quiz-progress { margin-bottom: 16px; }
  .question-card { min-height: 0; padding: 20px 17px; }
  .question-card__top { gap: 8px; font-size: 6px; flex-wrap: wrap; }
  .question-card__body { min-height: 195px; padding: 28px 0; }
  .question-card h2 { font-size: clamp(1.4rem, 6.7vw, 2.1rem); }
  .question-card__index { font-size: 104px; }
  .response-scale { gap: 1px; }
  .response { min-height: 104px; padding: 11px 7px; gap: 7px; align-items: center; text-align: center; }
  .response__key { top: 6px; right: 7px; font-size: 7px; }
  .response__glyph { font-size: 21px; }
  .response__copy { align-items: center; }
  .response__copy b { font-size: 7px; letter-spacing: .04em; }
  .response__copy small { display: none; }
  .response__bar { left: 7px; right: 7px; bottom: 7px; }
  .question-card__foot { align-items: flex-start; }
  .question-card__foot p { order: 3; width: 100%; }
  .question-card__foot > span { display: none; }
  .result-shell { width: calc(100% - 24px); padding-top: 28px; }
  .result-core { gap: 12px; margin-top: 18px; }
  .result-core__glyph { width: 38px; height: 38px; flex-basis: 38px; font-size: 20px; }
  .result-core h1, .result-core h2 { font-size: clamp(2.1rem, 9.4vw, 3.2rem); }
  .result-tagline, .result-description, .result-actions, .result-meta, .result-hero-foot { margin-left: 0; }
  .result-tagline { margin-top: 15px; }
  .result-description { font-size: 9px; }
  .result-actions .btn { flex: 1 1 auto; }
  .result-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-meta div:nth-child(2n) { border-right: 0; }
  .result-meta div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .result-meta dd { font-size: 10px; }
  .result-hero { gap: 28px; padding-bottom: 30px; }
  .scene3d--result { height: 360px; min-height: 360px; }
  .scene-toolbar { flex-wrap: wrap; }
  .scene-tool { flex: 1 0 30%; }
  .octant-panel { align-items: flex-start; flex-direction: column; gap: 6px; }
  .octant-grid { width: 100%; }
  .result-visual__hint { line-height: 1.6; }
  .telemetry { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 22px 0 24px; }
  .telemetry-card { min-height: 120px; padding: 14px; }
  .telemetry-card__value { font-size: 33px; }
  .dashboard { grid-template-columns: 1fr; gap: 10px; }
  .panel, .panel--radar { grid-column: span 1; padding: 20px 17px; }
  .panel__head h2 { font-size: 15px; }
  .panel__lead { font-size: 8px; }
  .lens-section { padding: 20px 16px; }
  .lens-grid { grid-template-columns: 1fr; }
  .lens-card__question { min-height: 0; }
  .legacy-notice { padding: 20px 16px; }
  .legacy-notice .btn { justify-self: start; }
  .mirror-section { padding: 20px 16px; }
  .mirror-section__head h2 { font-size: 2.25rem; }
  .mirror-card { padding: 18px 15px; }
  .mirror-card__head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .nexus { padding: 14px; }
  .nexus__head { flex-direction: column; gap: 4px; }
  .radar { max-height: none; }
  .axis-bars { gap: 19px; }
  .axis-row__name { font-size: 9px; }
  .axis-row__poles { font-size: 6px; }
  .axis-row__meta { display: none; }
  .histogram { height: 190px; }
  .arch-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-grid { grid-template-columns: 1fr; }
  .comparison-panel { padding: 20px 17px; }
  .comparison-panel__head { flex-direction: column; }
  .comparison-panel__actions { justify-content: flex-start; }
  .result-footer { padding: 27px 20px; }
  .result-footer__actions { grid-template-columns: 1fr; }
  .result-footer__code { align-items: flex-start; flex-direction: column; gap: 5px; }
  .result-footer__code code { white-space: normal; word-break: break-all; }
  .disclaimer { padding: 14px 16px; }
  .site-footer { width: calc(100% - 32px); padding-top: 30px; }
  .site-footer__bottom { flex-direction: column; gap: 6px; }
  .modal__body { padding: 28px 20px; }
  .toast { right: 12px; bottom: 12px; left: 12px; justify-content: center; }
}
@media (max-width: 420px) {
  .hero__metrics dt { font-size: 7px; }
  .hero__metrics dd { font-size: 17px; }
  .hero__actions .btn { font-size: 9px; padding-inline: 12px; }
  .response { min-height: 92px; }
  .response__copy b { font-size: 6px; }
  .response__glyph { font-size: 18px; }
  .result-actions { flex-direction: column; }
  .result-actions .btn { width: 100%; justify-content: space-between; }
  .topbar__actions .btn--mini { padding: 0 7px; }
  .site-footer__top nav { flex-wrap: wrap; }
}

/* Posiciones explícitas del tablero en escritorio: sin huecos entre filas. */
@media (min-width: 1021px) {
  .panel--radar { grid-column: 1 / span 7; grid-row: 1; }
  .panel--axes { grid-column: 8 / span 5; grid-row: 1; }
  .panel--hist { grid-column: 1 / span 4; grid-row: 2; }
  .panel--affinity { grid-column: 5 / span 4; grid-row: 2; }
  .panel--poles { grid-column: 9 / span 4; grid-row: 2; }
  .panel--matrix { grid-column: 1 / span 7; grid-row: 3; }
  .panel--reading { grid-column: 8 / span 5; grid-row: 3; }
}

@media (max-width: 760px) {
  .scene-landmark { font-size: 6px; }
  .spatial-bar { grid-template-columns: 20px minmax(0, 1fr) 38px; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ticker__track, .archetype-marquee__track { animation: none; }
  .scene3d__canvas { cursor: default; }
}
