    /* ── Design tokens — Brand System v2 (Branding/guidelines/Onefy_Brand_System.md §5) ──
       Monochrome: color never in UI, only via real assets. Light canvas 70/20/10.
       Copied 2026-09-24 from diagnostico-intake (OneScan 360° KPI Pack) for OneScan™. */
    :root {
      --white:      #FFFFFF;
      --pure-black: #000000;
      --black:      #0A0A0A;
      --gray-900:   #1A1A1A;
      --gray-700:   #3D3D3D;
      --gray-500:   #737373;
      --gray-300:   #D4D4D4;
      --gray-100:   #F4F4F4;
      --ink-100: rgba(10,10,10,1.00);
      --ink-85:  rgba(10,10,10,0.85);
      --ink-60:  rgba(10,10,10,0.62);
      --ink-50:  rgba(10,10,10,0.52);
      --ink-30:  rgba(10,10,10,0.34);
      --ink-10:  rgba(10,10,10,0.12);
      --ink-05:  rgba(10,10,10,0.05);
      --ease: cubic-bezier(0.16,1,0.3,1);
      --font-display: 'Space Grotesk', sans-serif;
      --font-sans: 'Inter', -apple-system, sans-serif;
      --font-mono: 'JetBrains Mono', Menlo, monospace;
      --radius-card: 14px; --radius-btn: 9px;
    }
    *, *::before, *::after { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; background: var(--white);
      color: var(--gray-700); font-family: var(--font-sans); font-size: 16px;
      line-height: 1.65; -webkit-font-smoothing: antialiased; }
    ::selection { background: var(--black); color: var(--white); }

    /* ── Layout ── */
    .wizard-wrap { max-width: 680px; margin: 0 auto; padding: 40px 24px 80px; }

    /* ── Header ── */
    .wizard-header { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; }
    .logo-text { font-family: var(--font-display); font-size: 18px; font-weight: 700;
      color: var(--black); letter-spacing: -0.02em; }
    .logo-text span { color: var(--black); }
    .header-meta { margin-left: auto; font-family: var(--font-mono);
      font-size: 11px; color: var(--gray-500); letter-spacing: 0.12em;
      text-transform: uppercase; }

    /* ── Progress bar ── */
    .progress-wrap { margin-bottom: 40px; }
    .progress-label { display: flex; justify-content: space-between;
      font-size: 13px; color: var(--gray-500); margin-bottom: 10px; }
    .progress-track { height: 2px; background: var(--ink-10); border-radius: 2px; overflow: hidden; }
    .progress-fill { height: 100%; background: var(--black);
      border-radius: 2px; transition: width 0.32s var(--ease); width: 0%; }

    /* ── Step card ── */
    .step { display: none; }
    .step.active { display: block; animation: fadeIn 0.2s ease; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
    .step-eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 600;
      letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 12px; }
    .step-title { font-family: var(--font-display); font-size: 28px; font-weight: 600;
      letter-spacing: -0.005em; color: var(--black); margin-bottom: 8px; line-height: 1.2; }
    .step-desc { font-size: 15px; color: var(--gray-700); margin-bottom: 32px; }

    /* ── Card (v2 §8: white, 1px gray border, no default shadow) ── */
    .card { position: relative; background: var(--white);
      border: 1px solid var(--gray-300); border-radius: var(--radius-card);
      padding: 24px; margin-bottom: 12px; overflow: hidden; }

    /* ── Metric field ── */
    .metric-field { margin-bottom: 20px; }
    .metric-header { display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 8px; flex-wrap: wrap; gap: 8px; }
    .metric-label { font-size: 14px; font-weight: 500; color: var(--ink-85); }
    .input-row { display: flex; align-items: center; gap: 10px; }
    /* v2 §8 inputs: bottom line, transparent, focus = black line */
    .metric-input { flex: 1; background: transparent; border: none;
      border-bottom: 1px solid var(--gray-300); border-radius: 0;
      padding: 10px 2px; font-family: var(--font-mono);
      font-size: 15px; color: var(--black); outline: none;
      transition: border-color 0.2s; }
    .metric-input:focus { border-bottom-color: var(--black); }
    .metric-input:disabled { opacity: 0.35; cursor: not-allowed; }
    .metric-input::placeholder { color: var(--ink-30); }
    /* ── Navigation ── */
    .wizard-nav { display: flex; gap: 12px; margin-top: 36px; }
    .btn { padding: 12px 28px; border-radius: var(--radius-btn); font-size: 15px;
      font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; }
    .btn-primary { background: var(--black); color: var(--white); }
    .btn-primary:hover { transform: translateY(-1px) scale(1.01);
      box-shadow: 0 0 28px rgba(10,10,10,0.22); }
    .btn-secondary { background: transparent; color: var(--gray-700);
      border: 1px solid var(--gray-300); }
    .btn-secondary:hover { border-color: var(--black); background: var(--ink-05); }

    /* ── Score screen ── */
    .score-display { text-align: center; padding: 40px 24px; }
    .score-number { font-family: var(--font-mono); font-size: 72px; font-weight: 700;
      color: var(--black); line-height: 1; }
    .score-label { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.18em;
      text-transform: uppercase; color: var(--gray-500); margin-top: 8px; font-weight: 600; }
    .score-interpretation { font-size: 18px; color: var(--ink-85);
      margin: 20px auto 32px; max-width: 440px; line-height: 1.5; }
/* ── Futuristic AI-analysis loader overlay — the one dark band (v2 hero-band pattern) ── */
#ai-loader { position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(20,20,20,.92) 0%, rgba(0,0,0,.98) 70%);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#ai-loader.active { display: flex; animation: aiFade .25s ease; }
@keyframes aiFade { from { opacity: 0; } to { opacity: 1; } }

.ai-loader-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* scrolling perspective grid */
.ai-loader-grid { position: absolute; inset: -50% 0 0 0; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 72%);
  animation: aiGrid 6s linear infinite; }
@keyframes aiGrid { from { background-position: 0 0; } to { background-position: 0 44px; } }

/* vertical scanning beam — white light, not color (v2: la interacción se expresa con luz) */
.ai-loader-beam { position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: linear-gradient(90deg, transparent, var(--white), transparent);
  box-shadow: 0 0 18px 2px rgba(255,255,255,.55); opacity: .85;
  animation: aiBeam 2.4s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes aiBeam { 0% { top: 12%; } 50% { top: 88%; } 100% { top: 12%; } }

.ai-loader-core { position: relative; z-index: 2; text-align: center; padding: 24px; }
.ai-loader-ring { width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25); border-top-color: var(--white);
  box-shadow: 0 0 28px rgba(255,255,255,.40), inset 0 0 18px rgba(255,255,255,.16);
  animation: aiSpin 1.1s linear infinite, aiPulse 2s ease-in-out infinite; }
@keyframes aiSpin { to { transform: rotate(360deg); } }
@keyframes aiPulse { 0%,100% { box-shadow: 0 0 22px rgba(255,255,255,.30), inset 0 0 14px rgba(255,255,255,.12); }
  50% { box-shadow: 0 0 40px rgba(255,255,255,.55), inset 0 0 22px rgba(255,255,255,.24); } }
.ai-loader-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.ai-loader-status { font-family: var(--font-mono); font-size: 16px; font-weight: 500; color: var(--white);
  min-height: 24px; animation: aiBlink 700ms steps(1) infinite; }
@keyframes aiBlink { 0%,100% { opacity: 1; } 92% { opacity: 1; } 96% { opacity: .72; } }

@media (prefers-reduced-motion: reduce) {
  .ai-loader-grid, .ai-loader-beam, .ai-loader-ring, .ai-loader-status { animation: none; }
  .ai-loader-ring { border-top-color: var(--white); }
}

/* ── OneScan™ ── */
.logo-link { display: inline-flex; position: relative; }
.logo-img { height: 28px; width: auto; display: block; transition: opacity .4s var(--ease); }
.logo-light { position: absolute; left: 0; top: 0; opacity: 0; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  margin-right: 8px; vertical-align: 1px; animation: dotPulse 2.4s ease-in-out infinite; }
@keyframes dotPulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.screen { display: none; }
.screen.active { display: block; animation: fadeIn 0.3s var(--ease); }
.mono { font-family: var(--font-mono); }

/* landing */
#screen-landing { position: relative; }
.hero-scan { position: absolute; left: -24px; right: -24px; top: 0; height: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--black), transparent);
  animation: heroScan 1.8s .3s var(--ease) 1 both; }
@keyframes heroScan { 0% { top: 0; opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { top: 330px; opacity: 0; } }
.hero-title { font-family: var(--font-display); font-size: clamp(34px, 6vw, 52px); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.08; color: var(--black); margin: 0 0 20px; }
.hero-sub { font-size: 18px; color: var(--gray-700); margin: 0 0 32px; max-width: 560px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-meta { font-family: var(--font-mono); font-size: 12px; color: var(--gray-500); letter-spacing: .04em; }
.audience { font-size: 14px; color: var(--gray-700); margin-bottom: 40px; }
.audience span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-500); margin-right: 6px; }
.audience i { font-style: normal; color: var(--gray-300); margin: 0 4px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.deliverables { border-top: 1px solid var(--gray-300); }
.deliverable { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--gray-300); }
.deliverable-num { font-family: var(--font-mono); font-size: 12px; color: var(--gray-500); padding-top: 3px; }
.deliverable strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--black); }
.deliverable div > span { display: block; font-size: 15px; color: var(--gray-700); }
.fine-print { font-size: 13px; color: var(--gray-500); margin-top: 24px; }

/* questions */
.options { display: grid; gap: 10px; margin-top: 20px; }
.option { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 16px 18px; background: var(--white); border: 1px solid var(--gray-300);
  border-radius: 12px; cursor: pointer; font: inherit; font-size: 16px; color: var(--ink-85);
  transition: border-color .15s, background .15s, box-shadow .25s, transform .15s, color .15s; }
.option:hover { border-color: var(--black); box-shadow: 0 0 22px rgba(10,10,10,.08); }
.option:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.option.selected { background: var(--black); border-color: var(--black); color: var(--white); }
.option-key { flex-shrink: 0; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-300); border-radius: 6px; font-family: var(--font-mono); font-size: 12px; color: var(--gray-500); }
.option.selected .option-key { border-color: rgba(255,255,255,.4); color: var(--white); }
.open-input { width: 100%; background: transparent; border: 1px solid var(--gray-300); border-radius: 12px;
  padding: 14px 16px; font-family: var(--font-sans); font-size: 16px; color: var(--black); outline: none; resize: vertical; }
.open-input:focus { border-color: var(--black); }
.open-input::placeholder { color: var(--ink-30); }
.quiz-nav { margin-top: 28px; }
.btn-link { background: none; border: none; padding: 8px 0; font: inherit; font-size: 14px;
  color: var(--gray-500); cursor: pointer; }
.btn-link:hover { color: var(--black); }
.btn:focus-visible, .btn-link:focus-visible, .chip:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.btn:disabled { opacity: .5; cursor: wait; transform: none; box-shadow: none; }
.step-title { min-height: 1.2em; }

/* HUD */
.hud { margin-bottom: 40px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--gray-500); }
.hud-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.hud-row span:nth-child(2) { text-align: center; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud-bar { display: flex; gap: 3px; height: 3px; }
.hud-bar i { flex: 1; background: var(--ink-10); border-radius: 1px; transition: background .3s, box-shadow .3s; }
.hud-bar i.on { background: var(--black); }
.hud-bar i.now { background: var(--black); animation: segBlink 1s steps(2) infinite; }
.hud-bar.full { background: var(--black); border-radius: 1px; }
@keyframes segBlink { 50% { opacity: .35; } }

/* question transitions (fx.js) */
.q-body.q-out { animation: qOut .24s ease-in forwards; }
@keyframes qOut { to { clip-path: inset(0 0 100% 0); filter: blur(6px); opacity: .2; transform: translateY(-6px); } }
.q-body.q-in .option, .q-body.q-in .chip { animation: optIn .5s var(--ease) both; animation-delay: calc(120ms + var(--i, 0) * 55ms); }
.q-body.q-in .step-desc { animation: optIn .5s var(--ease) both; animation-delay: 80ms; }
@keyframes optIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.option.lock { animation: lock .34s var(--ease); }
@keyframes lock { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.0); } 40% { box-shadow: 0 0 34px 2px rgba(255,255,255,.55); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* AI follow-ups: terminal-like bubble */
.chat-who { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--gray-500); margin-bottom: 14px; }
.chat-q.typing::after, .analyzing-text.typing::after { content: '▍'; margin-left: 2px; animation: segBlink .8s steps(2) infinite; }
.chat-answer { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.chat-answer.pending { opacity: 0; transform: translateY(8px); pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font: inherit; font-size: 13px; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--gray-300); color: var(--gray-700); transition: border-color .15s, color .15s, box-shadow .2s; }
.chip:hover { border-color: var(--black); color: var(--black); }
.analyzing { text-align: center; padding: 40px 0 20px; }
.analyzing-ring { width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%;
  border: 2px solid var(--ink-10); border-top-color: var(--black); animation: aiSpin 1.1s linear infinite; }
.analyzing-text { font-family: var(--font-mono); font-size: 15px; color: var(--black); min-height: 1.5em; }

/* contact */
.contact-card { padding: 28px; }
.field { display: block; margin-bottom: 20px; }
.field-label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-85); margin-bottom: 2px; }
.field-label em { font-style: normal; color: var(--gray-500); font-weight: 400; }
.field .metric-input { width: 100%; font-family: var(--font-sans); font-size: 16px; }
.form-error { min-height: 20px; margin: 0; font-size: 14px; font-weight: 600; color: var(--black); }
.form-error:not(:empty)::before { content: '● '; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ═══ Scanner mode (dark): quiz + follow-ups + contact ═══ */
#scan-scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; visibility: hidden;
  background: var(--pure-black); transition: opacity .5s var(--ease), visibility 0s .5s; --mx: 50vw; --my: 40vh; }
.mode-scan #scan-scene { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.scene-grid { position: absolute; left: -20%; right: -20%; bottom: -10%; height: 70%; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 56px 56px; transform: perspective(520px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: gridRun 3.2s linear infinite; }
@keyframes gridRun { to { background-position: 0 56px; } }
.scene-light { position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.075), transparent 70%); }
.scene-beam { position: absolute; left: 0; right: 0; height: 1px; top: 0; opacity: .5;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
  box-shadow: 0 0 14px 1px rgba(255,255,255,.35); animation: aiBeam 7s cubic-bezier(.5,0,.5,1) infinite; }
.reticle { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(255,255,255,.45); }
.reticle.tl { top: 16px; left: 16px; border-top-width: 1px; border-left-width: 1px; }
.reticle.tr { top: 16px; right: 16px; border-top-width: 1px; border-right-width: 1px; }
.reticle.bl { bottom: 16px; left: 16px; border-bottom-width: 1px; border-left-width: 1px; }
.reticle.br { bottom: 16px; right: 16px; border-bottom-width: 1px; border-right-width: 1px; }
.wizard-wrap { position: relative; z-index: 1; }

html.mode-scan, .mode-scan body { background: var(--pure-black); color: rgba(255,255,255,.72); }
.mode-scan ::selection { background: var(--white); color: var(--pure-black); }
.mode-scan .logo-dark { opacity: 0; }
.mode-scan .logo-light { opacity: 1; }
.mode-scan .header-meta, .mode-scan .hud, .mode-scan .step-eyebrow, .mode-scan .chat-who { color: rgba(255,255,255,.5); }
.mode-scan .step-title, .mode-scan .analyzing-text { color: var(--white); }
.mode-scan .step-desc { color: rgba(255,255,255,.62); }
.mode-scan .hud-bar i { background: rgba(255,255,255,.14); }
.mode-scan .hud-bar i.on { background: var(--white); }
.mode-scan .hud-bar i.now { background: var(--white); box-shadow: 0 0 10px rgba(255,255,255,.8); }
.mode-scan .hud-bar.full { background: var(--white); box-shadow: 0 0 10px rgba(255,255,255,.5); }
.mode-scan .option { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mode-scan .option:hover { border-color: rgba(255,255,255,.7); box-shadow: 0 0 26px rgba(255,255,255,.14); }
.mode-scan .option:focus-visible { outline-color: var(--white); }
.mode-scan .option.selected { background: var(--white); border-color: var(--white); color: var(--pure-black); }
.mode-scan .option-key { border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.55); }
.mode-scan .option.selected .option-key { border-color: rgba(0,0,0,.3); color: var(--pure-black); }
.mode-scan .btn-link { color: rgba(255,255,255,.5); }
.mode-scan .btn-link:hover { color: var(--white); }
.mode-scan .btn-primary { background: var(--white); color: var(--pure-black); }
.mode-scan .btn-primary:hover { box-shadow: 0 0 30px rgba(255,255,255,.45); }
.mode-scan .open-input { border-color: rgba(255,255,255,.2); color: var(--white); background: rgba(255,255,255,.03); }
.mode-scan .open-input:focus { border-color: rgba(255,255,255,.8); box-shadow: 0 0 22px rgba(255,255,255,.1); }
.mode-scan .open-input::placeholder, .mode-scan .metric-input::placeholder { color: rgba(255,255,255,.3); }
.mode-scan .chip { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.7); }
.mode-scan .chip:hover { border-color: var(--white); color: var(--white); box-shadow: 0 0 18px rgba(255,255,255,.18); }
.mode-scan .analyzing-ring { border-color: rgba(255,255,255,.18); border-top-color: var(--white); box-shadow: 0 0 22px rgba(255,255,255,.3); }
.mode-scan .card { background: rgba(26,26,26,.55); border-color: rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.mode-scan .field-label { color: rgba(255,255,255,.8); }
.mode-scan .metric-input { color: var(--white); border-bottom-color: rgba(255,255,255,.25); }
.mode-scan .metric-input:focus { border-bottom-color: var(--white); }
.mode-scan .form-error { color: var(--white); }
.mode-scan .fine-print { color: rgba(255,255,255,.45); }
.mode-scan .option.lock { animation: lock .34s var(--ease); }

/* boot: black layer sweeps down with a light edge */
.boot-layer { position: fixed; inset: 0; z-index: 50; pointer-events: none; background: var(--pure-black);
  clip-path: inset(0 0 100% 0); visibility: hidden; }
.boot-layer::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: var(--white); box-shadow: 0 0 24px 4px rgba(255,255,255,.7); opacity: 0; }
.boot-layer.run { visibility: visible; animation: bootSweep .62s cubic-bezier(.7,0,.2,1) forwards; }
.boot-layer.run::after { animation: bootEdge .62s cubic-bezier(.7,0,.2,1) forwards; }
.boot-layer.fade { opacity: 0; transition: opacity .32s ease; }
@keyframes bootSweep { to { clip-path: inset(0 0 0 0); } }
@keyframes bootEdge { 0% { top: 0; opacity: 1; } 95% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* custom cursor — difference blend reads on white and on black */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 10000; pointer-events: none; border-radius: 50%;
  opacity: 0; mix-blend-mode: difference; transition: opacity .2s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--white); }
.cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid var(--white);
  transition: opacity .2s, width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s; }
.cursor-on .cursor-dot, .cursor-on .cursor-ring { opacity: 1; }
.cursor-hover .cursor-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(255,255,255,.08); }
.cursor-down .cursor-ring { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }

/* results */
.card-eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gray-500); margin-bottom: 14px; }
.score-display .score-number { font-size: 96px; }
.gauge { position: relative; max-width: 440px; margin: 26px auto 0; padding-top: 26px; }
.gauge-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; height: 8px; }
.gauge-track > i { display: block; border-radius: 2px; }
/* monochrome intensity = friction: light gray → black */
.gauge-track > i:nth-child(1) { background: var(--gray-100); }
.gauge-track > i:nth-child(2) { background: var(--gray-300); }
.gauge-track > i:nth-child(3) { background: var(--gray-500); }
.gauge-track > i:nth-child(4) { background: var(--black); }
.gauge-marker { position: absolute; top: 0; left: var(--score, 0%); transform: translateX(-50%);
  transition: left 1.4s var(--ease); display: flex; flex-direction: column; align-items: center; }
.gauge-marker span { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--white);
  background: var(--black); border-radius: 4px; padding: 1px 6px; line-height: 16px; }
.gauge-marker::after { content: ''; width: 1px; height: 20px; background: var(--black); margin-top: -1px; }
.gauge-scale { display: flex; justify-content: space-between; margin-top: 6px;
  font-family: var(--font-mono); font-size: 11px; color: var(--gray-500); }
.gauge-caption { font-size: 13px; color: var(--gray-500); margin: 12px auto 0; max-width: 440px; }
.pillar-row { display: grid; grid-template-columns: minmax(120px, 190px) 1fr 36px; align-items: center; gap: 14px; padding: 8px 0; }
.pillar-name strong { display: block; font-family: var(--font-display); font-size: 15px; color: var(--black); }
.pillar-name span { display: block; font-size: 12px; color: var(--gray-500); line-height: 1.35; }
.pillar-track { height: 6px; background: var(--gray-100); border-radius: 3px; overflow: hidden; }
.pillar-fill { height: 100%; width: 0; background: var(--black); border-radius: 3px; transition: width 1.2s var(--ease); }
.pillar-val { font-family: var(--font-mono); font-size: 13px; color: var(--black); text-align: right; }
.results-h2 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--black); margin: 36px 0 14px; }
.cuello h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--black); margin: 0 0 8px; line-height: 1.25; }
.cuello-why { margin: 0 0 12px; font-size: 15px; }
.cuello-relief { margin: 0; font-size: 15px; color: var(--black); border-left: 2px solid var(--black); padding-left: 12px; }

/* legend: how to read the report */
.legend { margin-top: 28px; }
.band-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.band-table th { text-align: left; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gray-500); padding: 0 10px 8px 0; border-bottom: 1px solid var(--gray-300); }
.band-table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--gray-100); vertical-align: top; color: var(--gray-700); }
.band-table td:first-child { white-space: nowrap; width: 70px; color: var(--black); }
.band-table td strong { color: var(--black); font-weight: 600; white-space: nowrap; }
.band-table tr.current td { background: var(--black); color: rgba(255,255,255,.8); }
.band-table tr.current td strong, .band-table tr.current td:first-child { color: var(--white); }
.band-table tr.current td:first-child { padding-left: 10px; border-radius: 6px 0 0 6px; }
.band-table tr.current td:last-child { border-radius: 0 6px 6px 0; }
.legend-sub { margin-top: 28px; }
.legend-intro { font-size: 14px; margin: -6px 0 14px; }
.pillar-glossary { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.pillar-glossary dt { display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  border-top: 1px solid var(--gray-300); padding-top: 12px; }
.pillar-glossary dt strong { font-family: var(--font-display); font-size: 16px; color: var(--black); }
.pillar-glossary dt span { font-size: 12px; color: var(--gray-500); }
.pillar-glossary dd { margin: 4px 0 18px; font-size: 14px; line-height: 1.55; }
.pillar-glossary dt:nth-of-type(1) { grid-column: 1; grid-row: 1; } .pillar-glossary dd:nth-of-type(1) { grid-column: 1; grid-row: 2; }
.pillar-glossary dt:nth-of-type(2) { grid-column: 2; grid-row: 1; } .pillar-glossary dd:nth-of-type(2) { grid-column: 2; grid-row: 2; }
.pillar-glossary dt:nth-of-type(3) { grid-column: 1; grid-row: 3; } .pillar-glossary dd:nth-of-type(3) { grid-column: 1; grid-row: 4; }
.pillar-glossary dt:nth-of-type(4) { grid-column: 2; grid-row: 3; } .pillar-glossary dd:nth-of-type(4) { grid-column: 2; grid-row: 4; }

.cta-band { background: var(--black); color: var(--white); border-radius: var(--radius-card); padding: 32px 28px; margin-top: 32px;
  position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at 85% 0%, rgba(255,255,255,.09), transparent 60%); }
.cta-band h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.2; margin: 0 0 10px; position: relative; }
.cta-band p { color: rgba(255,255,255,.72); margin: 0 0 22px; position: relative; }
.cta-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; position: relative; }
.btn-invert { display: inline-block; background: var(--white); color: var(--pure-black); text-decoration: none; }
.btn-invert:hover { box-shadow: 0 0 30px rgba(255,255,255,.45); transform: translateY(-1px) scale(1.01); }
.btn-link-invert { color: rgba(255,255,255,.72); font-size: 14px; }
.btn-link-invert:hover { color: var(--white); }

/* the report "prints" top → bottom */
.print { clip-path: inset(0 0 100% 0); opacity: 0; transform: translateY(6px); }
.print.printed { clip-path: inset(0 0 0 0); opacity: 1; transform: none;
  transition: clip-path .7s var(--ease) var(--d, 0ms), opacity .4s ease var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }

@media (max-width: 520px) {
  .wizard-wrap { padding: 24px 16px 64px; }
  .wizard-header { margin-bottom: 32px; }
  .hero-sub { font-size: 16px; }
  .step-title { font-size: 24px; }
  .pillar-row { grid-template-columns: 1fr 36px; }
  .pillar-row .pillar-track { grid-column: 1 / -1; grid-row: 2; }
  .score-display .score-number { font-size: 80px; }
  .cta-band { padding: 26px 20px; }
  .hud-row span:nth-child(2) { display: none; }
  .pillar-glossary { grid-template-columns: 1fr; }
  .pillar-glossary dt, .pillar-glossary dd { grid-column: 1 !important; grid-row: auto !important; }
  .band-table td:last-child { font-size: 13px; }
  .reticle { display: none; }
}
#r-lectura { text-align: left; max-width: 520px; font-size: 17px; }

@media (prefers-reduced-motion: reduce) {
  .scene-grid, .scene-beam, .status-dot, .hero-scan, .hud-bar i.now, .analyzing-ring { animation: none; }
  .hero-scan { display: none; }
  .print, .print.printed { clip-path: none; opacity: 1; transform: none; transition: none; }
  .gauge-marker, .pillar-fill { transition: none; }
}
.chat-q { margin: 0 0 20px; }
