/* =============================================================================
   StealthProtocol — Story (scrollytelling). Tokens vêm de theme-premium.css.
   Sem JS ou com movimento reduzido: tudo legível e estático (estado final).
   ============================================================================= */

/* A história não carrega o style.css: sem isto, min-height de 100svh + padding passa da tela */
.story *, .story *::before, .story *::after { box-sizing: border-box; }

body.story {
  --st-bg: #06121C;
  --st-bg-2: #0A1A27;
  --st-text: #E6F4F7;
  --st-soft: #A9C2CB;
  --st-line: rgba(111, 216, 234, 0.16);
  background: var(--st-bg);
  color: var(--st-text);
  display: block;
  min-height: 100svh;
}
body.story::before { background: radial-gradient(circle at 40% 40%, rgba(52, 207, 228, 0.22), rgba(52, 207, 228, 0) 62%); opacity: 0.9; }
body.story::after  { background: radial-gradient(circle at 60% 60%, rgba(10, 107, 134, 0.35), rgba(94, 234, 212, 0) 62%); opacity: 0.9; }
body.story ::selection { background: rgba(52, 207, 228, 0.35); color: #FFFFFF; }

.story h1, .story h2, .story h3 { font-family: var(--font-display); color: #F4FBFC; letter-spacing: -0.025em; }
.story p { color: var(--st-soft); line-height: 1.65; }

/* --- utilitários ------------------------------------------------------------ */
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: #FFFFFF; color: var(--ink-900);
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.story-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  transform-origin: 0 50%; transform: scaleX(0);
  background: var(--grad-brand);
}
@supports (animation-timeline: scroll()) {
  .story-progress { animation: st-grow linear both; animation-timeline: scroll(root); }
}
@keyframes st-grow { to { transform: scaleX(1); } }

/* --- barra superior ---------------------------------------------------------- */
.story-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(6, 18, 28, 0.55);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(111, 216, 234, 0.08);
}
.story-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #F4FBFC; }
.story-brand img { border-radius: 9px; }
.story-brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.03em; }
.story-brand b { font-weight: 800; color: #6FD8EA; }
.story-nav { display: flex; gap: 4px; }
.story-nav a {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  color: var(--st-soft); font-size: 0.9rem; font-weight: 500; transition: color 0.25s, background-color 0.25s;
}
.story-nav a:hover, .story-nav a.is-current { color: #FFFFFF; background: rgba(111, 216, 234, 0.1); }
.story-actions { display: flex; align-items: center; gap: 10px; }
.story-lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--st-line); }
.story-lang button {
  border: 0; background: transparent; color: var(--st-soft); cursor: pointer;
  font: 600 0.78rem var(--font-ui); padding: 6px 10px; border-radius: 999px; min-height: 32px;
}
.story-lang button[aria-pressed="true"] { background: rgba(111, 216, 234, 0.16); color: #FFFFFF; }
.story-cta-sm {
  padding: 9px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-weight: 600; font-size: 0.9rem; color: var(--ink-950); background: #E6F7FA;
  transition: background-color 0.25s, transform 0.25s var(--ease-fluid);
}
.story-cta-sm:hover { background: #FFFFFF; transform: translateY(-1px); }

/* --- atos ------------------------------------------------------------------ */
.act { position: relative; min-height: 100vh; min-height: 100svh; }
.act-stage {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: clamp(32px, 6vw, 96px);
  padding: 120px clamp(20px, 6vw, 96px) 80px;
  max-width: 1320px; margin: 0 auto;
}
.act-copy { max-width: 34rem; }
.act-copy h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; margin-bottom: 1.4rem; font-weight: 800; }
.act-copy p { font-size: 1.08rem; margin-bottom: 1rem; }
.act-visual { width: 100%; }
.act-visual svg { width: 100%; height: auto; display: block; overflow: visible; }

/* Ato 1 */
.act-intro { display: grid; place-items: center; text-align: center; padding: 120px 20px 80px; }
.intro-inner { max-width: 56rem; display: flex; flex-direction: column; align-items: center; }
.intro-mark { width: 96px; height: 96px; margin-bottom: 36px; filter: drop-shadow(0 18px 40px rgba(10, 159, 188, 0.45)); }
.intro-s { stroke-dasharray: 1; stroke-dashoffset: 0; }
.intro-title { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; max-width: 15ch; }
.intro-lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 40rem; margin-top: 1.6rem; }
.intro-scroll {
  margin-top: 2.6rem; display: inline-flex; align-items: center; gap: 10px;
  color: #CFF4F9; text-decoration: none; font-weight: 600;
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--st-line);
  transition: border-color 0.3s, background-color 0.3s;
}
.intro-scroll:hover { border-color: rgba(111, 216, 234, 0.45); background: rgba(111, 216, 234, 0.06); }

/* Fundos em vídeo (atos 1 e 5) — atmosfera; o texto nunca depende deles */
.act-intro, .act-enter { overflow: hidden; isolation: isolate; }
.act-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease-fluid);
}
.act-bg.is-ready { opacity: 0.85; }
.act-veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(6, 18, 28, 0.35), rgba(6, 18, 28, 0.78) 70%),
    linear-gradient(180deg, rgba(6, 18, 28, 0.55) 0%, rgba(6, 18, 28, 0) 25%, rgba(6, 18, 28, 0) 75%, #06121C 100%);
}

/* Ato 2: grafo */
.graph-links path { stroke: rgba(111, 216, 234, 0.55); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 0; }
.graph-nodes circle { fill: #0F2A3B; stroke: #6FD8EA; stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.graph-hub { fill: #34CFE4; filter: drop-shadow(0 0 18px rgba(52, 207, 228, 0.65)); transform-box: fill-box; transform-origin: center; }
.graph-cluster { stroke: #F2B544; stroke-width: 1.5; stroke-dasharray: 6 8; opacity: 0.85; transform-box: fill-box; transform-origin: center; }
.graph-label { fill: #E6F4F7; font: 600 15px var(--font-ui); }

/* Ato 3 */
.how-steps { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 0.4rem; }
.how-step {
  padding: 18px 20px; border-radius: 16px; border: 1px solid transparent;
  transition: border-color 0.4s var(--ease-fluid), background-color 0.4s var(--ease-fluid);
}
.how-step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.35rem; }
.how-step p { font-size: 0.98rem; margin: 0; }
.how-step.is-active { border-color: rgba(111, 216, 234, 0.28); background: rgba(111, 216, 234, 0.06); }
/* troca de etapa: as inativas recuam suavemente em vez de só perder a borda */
.js-anim .how-step { opacity: 0.5; transition: opacity 0.6s var(--ease-fluid), border-color 0.6s var(--ease-fluid), background-color 0.6s var(--ease-fluid), transform 0.6s var(--ease-fluid); }
.js-anim .how-step.is-active { opacity: 1; transform: translateX(4px); }
.act-copy, .proof-inner, .enter-inner, .intro-inner { will-change: transform, opacity; }
.v-known { fill: #1B3A4E; stroke: #F2B544; stroke-width: 2.5; }
.v-flow { fill: none; stroke: #34CFE4; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.v-fresh { fill: rgba(52, 207, 228, 0.12); stroke: rgba(111, 216, 234, 0.6); stroke-width: 1.5; }
.v-mono { fill: #CFF4F9; font: 500 15px var(--font-mono); }
.v-cap { fill: #A9C2CB; font: 500 15px var(--font-ui); }
.v-title { fill: #F4FBFC; font: 700 19px var(--font-display); }
.v-pay { fill: rgba(10, 159, 188, 0.18); stroke: #34CFE4; stroke-width: 2; }
.v-pool { fill: rgba(10, 107, 134, 0.22); stroke: rgba(111, 216, 234, 0.55); stroke-width: 2; }
.v-lock-body { fill: #34CFE4; }
.v-lock-shackle { stroke: #34CFE4; stroke-width: 7; stroke-linecap: round; }

/* Sem JS (estado estático): os três estados do ato 3 empilhados não cabem — mostra o primeiro */
#vis-gas, #vis-lock { opacity: 0; visibility: hidden; }
.how-step:first-child { border-color: rgba(111, 216, 234, 0.28); background: rgba(111, 216, 234, 0.06); }
.js-anim .how-step:first-child:not(.is-active) { border-color: transparent; background: transparent; }

/* Ato 3 precisa caber em 100svh com as três etapas */
.act-how .act-copy { max-width: 36rem; }
.act-how .act-copy h2 { font-size: clamp(1.9rem, 2.9vw, 2.6rem); margin-bottom: 1rem; }
.act-how .act-stage { padding-top: 96px; padding-bottom: 48px; }
.how-step { padding: 14px 18px; }
.how-step h3 { font-size: 1.12rem; }
.how-step p { font-size: 0.95rem; line-height: 1.55; }

/* Ato 4 */
.act-proof { display: grid; place-items: center; padding: 120px 20px; }
.proof-inner { width: min(1100px, 100%); }
.proof-inner h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 800; margin-bottom: 3rem; }
.proof-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.proof-stats > div { display: flex; flex-direction: column-reverse; gap: 8px; border-top: 1px solid var(--st-line); padding-top: 22px; }
.proof-stats dd { font: 800 clamp(3rem, 6vw, 5.2rem)/1 var(--font-display); letter-spacing: -0.04em; color: #F4FBFC; font-variant-numeric: tabular-nums; }
.proof-stats > div:first-child dd { color: #6FE6F4; }
.proof-stats dt { color: var(--st-soft); font-size: 1rem; }
.proof-note { margin-top: 2.6rem; max-width: 46rem; font-size: 0.98rem; }

/* Ato 5 */
.act-enter { display: grid; place-items: center; text-align: center; padding: 120px 20px; }
.enter-inner { max-width: 40rem; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.enter-inner img { border-radius: 18px; box-shadow: 0 20px 50px -18px rgba(10, 159, 188, 0.7); }
.enter-inner h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
.enter-cta {
  margin-top: 0.8rem; padding: 16px 30px; border-radius: 16px; text-decoration: none;
  font-weight: 700; font-size: 1.05rem; color: #FFFFFF;
  background-image: var(--grad-brand-wide); background-size: 220% 100%; background-position: 0% 50%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 18px 40px -14px rgba(10, 159, 188, 0.8);
  transition: background-position 0.8s var(--ease-fluid), transform 0.25s var(--ease-fluid);
}
.enter-cta:hover { background-position: 100% 50%; transform: translateY(-2px); }

.story-foot { padding: 32px 20px 96px; text-align: center; }
.story-foot p { font-size: 0.85rem; color: #7F99A3; }

/* foco */
.story a:focus-visible, .story button:focus-visible { outline: 2px solid #6FD8EA; outline-offset: 3px; box-shadow: none; }

/* --- celular ----------------------------------------------------------------- */
@media (max-width: 860px) {
  .story-nav { display: none; }
  .act-stage { grid-template-columns: 1fr; align-content: center; gap: 28px; padding: 96px 20px 48px; }
  .act-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .act-copy h2 { font-size: 1.85rem; }
  .act-copy p { font-size: 1rem; }
  .how-step { padding: 12px 14px; }
  .how-step p { font-size: 0.92rem; }
  .proof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-cta-sm { padding: 8px 12px; font-size: 0.82rem; }
}
@media (max-width: 380px) {
  .story-brand span { display: none; }
}

/* --- movimento reduzido: estado final, sem fundo animado ---------------------- */
@media (prefers-reduced-motion: reduce) {
  body.story::before, body.story::after { animation: none; }
  .act-bg { display: none; }
  #vis-gas, #vis-lock { display: none; }
}

/* =============================================================================
   Camada 3D (story3d.js) — ativa quando html.has-3d
   ============================================================================= */
.scene-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
/* Ordem das camadas: vídeo (z -2) → aurora (z -1) → canvas 3D (z 0) → texto (auto, depois no DOM) → rótulos (z 2) */
.story main, .story .story-foot { position: relative; }
.has-3d .act-intro { isolation: auto; }
.has-3d #act-problem .act-visual svg,
.has-3d #act-how .act-visual svg { visibility: hidden; }
.has-3d .intro-mark { visibility: hidden; width: clamp(150px, 22vw, 220px); height: clamp(150px, 22vw, 220px); margin-bottom: 24px; }
.has-3d #act-enter .act-bg, .has-3d #act-enter .act-veil { display: none; }
.has-3d .act-intro .act-veil { background: radial-gradient(ellipse at 50% 55%, rgba(6, 18, 28, 0.55), rgba(6, 18, 28, 0.85) 75%); }
.has-3d .proof-stats > div { background: rgba(6, 18, 28, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 0 0 14px 14px; padding: 22px 16px 16px; }
.has-3d .enter-inner img { display: none; }
.has-3d .enter-inner { max-width: 30rem; }
.has-3d .enter-inner h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }

.scene-labels { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.scene-label {
  position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap;
  margin: -44px 0 0 14px; padding: 6px 12px; border-radius: 999px;
  font: 600 0.8rem/1.2 var(--font-ui); color: #EAF8FB;
  background: rgba(6, 18, 28, 0.72); border: 1px solid rgba(111, 216, 234, 0.3);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  will-change: transform, opacity;
}
.scene-label::before {
  content: ""; position: absolute; left: -14px; bottom: -14px; width: 16px; height: 16px;
  border-left: 1px solid rgba(111, 216, 234, 0.55); border-bottom: 1px solid rgba(111, 216, 234, 0.55);
  border-bottom-left-radius: 4px; transform: skewX(-30deg);
}
.scene-label[data-anchor="hub"], .scene-label[data-anchor="known"] { border-color: rgba(242, 181, 68, 0.5); }
.scene-label.is-flipped { margin-left: 0; transform-origin: right; translate: calc(-100% - 14px) 0; }
.scene-label.is-flipped::before { left: auto; right: -14px; border-left: 0; border-right: 1px solid rgba(111, 216, 234, 0.55); border-bottom-left-radius: 0; border-bottom-right-radius: 4px; transform: skewX(30deg); }

.story-dock {
  position: fixed; right: 16px; bottom: 16px; z-index: 55;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 999px; text-decoration: none;
  color: #EAF8FB; font: 600 0.9rem var(--font-ui);
  background: rgba(10, 26, 39, 0.78); border: 1px solid rgba(111, 216, 234, 0.25);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px -14px rgba(10, 159, 188, 0.6);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.5s var(--ease-fluid), transform 0.5s var(--ease-fluid), border-color 0.3s;
}
.story-dock img { border-radius: 7px; }
.story-dock.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.story-dock:hover { border-color: rgba(111, 216, 234, 0.6); }

@media (max-width: 860px) {
  .scene-label { font-size: 0.72rem; padding: 5px 10px; }
  .story-dock { right: 12px; bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-dock { transition: none; }
}

/* Último ato: ocupa exatamente a tela no fim da página (rodapé dentro dele) → anel e CTA centralizados */
.act-enter { min-height: 100vh; min-height: 100svh; padding: 96px 20px 120px; }
.act-enter .story-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 20px 72px; }

/* =============================================================================
   Site final (2026-10-23): logo oficial, ligação com o app e tema claro
   ============================================================================= */
.story-sig { display: block; height: 28px; width: auto; }
.story-mark { display: none; border-radius: 9px; }
@media (max-width: 480px) { .story-sig { display: none; } .story-mark { display: block; } }
.story-actions .sp-theme-btn { min-height: 34px; }
@media (max-width: 860px) { .story-actions .sp-theme-txt { display: none; } .story-actions { gap: 6px; } }

/* Logo do ato 1 (sem WebGL / movimento reduzido): metade de cima visível, de baixo privada */
.intro-top { fill: #F4FBFC; }
.intro-bot { fill: #6FD8EA; }
.intro-s { stroke: #6FE6F4; }
.intro-s { opacity: 0; } /* o traço só aparece no desenho animado (story.js) */

/* Ato 5: duas saídas para o app (o app em si e o mapa ao vivo) */
.enter-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-top: 0.8rem; }
.enter-cta { margin-top: 0; color: #04121B; background-image: var(--grad-brand); background-size: 100% 100%; }
.enter-cta:hover { color: #04121B; }
.enter-cta-2 {
  padding: 15px 22px; border-radius: 16px; text-decoration: none; font-weight: 650; font-size: 1rem;
  color: #E6F4F7; border: 1px solid rgba(111, 216, 234, 0.35); background: rgba(6, 18, 28, 0.4);
  transition: border-color 0.3s, background-color 0.3s;
}
.enter-cta-2:hover { border-color: rgba(111, 216, 234, 0.7); background: rgba(111, 216, 234, 0.08); }
.story-cta-sm { color: #04121B; }

/* ----------------------------------------------------------- tema claro --- */
/* A barra de cima continua em tinta (igual ao app). O resto vira papel claro com tinta. */
:root[data-theme="light"] body.story {
  --st-bg: #F4F8FA; --st-bg-2: #FFFFFF; --st-text: #0B1C2C; --st-soft: #23364A; --st-line: rgba(11, 28, 44, 0.12);
}
:root[data-theme="light"] body.story::before { background: radial-gradient(circle at 40% 40%, rgba(52, 207, 228, 0.20), rgba(52, 207, 228, 0) 62%); opacity: 0.8; }
:root[data-theme="light"] body.story::after { background: radial-gradient(circle at 60% 60%, rgba(10, 107, 134, 0.12), rgba(94, 234, 212, 0) 62%); opacity: 0.8; }
:root[data-theme="light"] .story h1, :root[data-theme="light"] .story h2, :root[data-theme="light"] .story h3 { color: #0B1C2C; }
:root[data-theme="light"] .story p { color: #23364A; }
:root[data-theme="light"] .act-veil { background: radial-gradient(ellipse at 50% 45%, rgba(244, 248, 250, 0.72), rgba(244, 248, 250, 0.92) 70%), linear-gradient(180deg, rgba(244, 248, 250, 0.6) 0%, rgba(244, 248, 250, 0) 25%, rgba(244, 248, 250, 0) 75%, #F4F8FA 100%); }
:root[data-theme="light"].has-3d .act-intro .act-veil { background: radial-gradient(ellipse at 50% 55%, rgba(244, 248, 250, 0.7), rgba(244, 248, 250, 0.94) 75%); }
:root[data-theme="light"] .act-bg.is-ready { opacity: 0.35; }
:root[data-theme="light"] .intro-top { fill: #0B1C2C; }
:root[data-theme="light"] .intro-bot { fill: #0A9FBC; }
:root[data-theme="light"] .intro-s { stroke: #0A86A1; }
:root[data-theme="light"] .intro-mark { filter: drop-shadow(0 18px 40px rgba(10, 159, 188, 0.25)); }
:root[data-theme="light"] .intro-scroll { color: #0A5A73; border-color: rgba(10, 107, 134, 0.3); }
:root[data-theme="light"] .intro-scroll:hover { background: rgba(10, 159, 188, 0.06); }
:root[data-theme="light"] .graph-links path { stroke: rgba(10, 107, 134, 0.55); }
:root[data-theme="light"] .graph-nodes circle { fill: #E3F3F7; stroke: #0A86A1; }
:root[data-theme="light"] .graph-hub { fill: #0A9FBC; filter: drop-shadow(0 0 14px rgba(10, 159, 188, 0.35)); }
:root[data-theme="light"] .graph-cluster { stroke: #B57A15; }
:root[data-theme="light"] .graph-label { fill: #0B1C2C; }
:root[data-theme="light"] .how-step.is-active, :root[data-theme="light"] .how-step:first-child { border-color: rgba(10, 107, 134, 0.28); background: rgba(10, 159, 188, 0.06); }
:root[data-theme="light"] .js-anim .how-step:first-child:not(.is-active) { border-color: transparent; background: transparent; }
:root[data-theme="light"] .v-known { fill: #FDF3E1; stroke: #B57A15; }
:root[data-theme="light"] .v-flow { stroke: #0A86A1; }
:root[data-theme="light"] .v-fresh { fill: rgba(10, 159, 188, 0.08); stroke: rgba(10, 107, 134, 0.5); }
:root[data-theme="light"] .v-mono { fill: #0A5A73; }
:root[data-theme="light"] .v-cap { fill: #23364A; }
:root[data-theme="light"] .v-title { fill: #0B1C2C; }
:root[data-theme="light"] .v-pay { fill: rgba(10, 159, 188, 0.1); stroke: #0A86A1; }
:root[data-theme="light"] .v-pool { fill: rgba(10, 159, 188, 0.08); stroke: rgba(10, 107, 134, 0.45); }
:root[data-theme="light"] .v-lock-body { fill: #0A86A1; }
:root[data-theme="light"] .v-lock-shackle { stroke: #0A86A1; }
:root[data-theme="light"] .proof-stats dd { color: #0B1C2C; }
:root[data-theme="light"] .proof-stats > div:first-child dd { color: #0A6B86; }
:root[data-theme="light"].has-3d .proof-stats > div { background: rgba(255, 255, 255, 0.72); }
:root[data-theme="light"] .story-foot p { color: #4F6275; }
:root[data-theme="light"] .enter-cta-2 { color: #0A5A73; border-color: rgba(10, 107, 134, 0.35); background: rgba(255, 255, 255, 0.7); }
:root[data-theme="light"] .scene-label { color: #0B1C2C; background: rgba(255, 255, 255, 0.85); border-color: rgba(10, 107, 134, 0.3); }
:root[data-theme="light"] .scene-label::before, :root[data-theme="light"] .scene-label.is-flipped::before { border-color: rgba(10, 107, 134, 0.5); }
:root[data-theme="light"] .story-dock { color: #0B1C2C; background: rgba(255, 255, 255, 0.86); border-color: rgba(10, 107, 134, 0.3); box-shadow: 0 14px 34px -14px rgba(11, 28, 44, 0.3); }
:root[data-theme="light"] .story a:focus-visible, :root[data-theme="light"] .story button:focus-visible { outline-color: #0A86A1; }
:root[data-theme="light"] .story-bar { background: rgba(6, 18, 28, 0.92); }
:root[data-theme="light"] .story-nav a { color: #A9C2CB; }
:root[data-theme="light"] .story-nav a:hover, :root[data-theme="light"] .story-nav a.is-current { color: #FFFFFF; }
