:root {
  --charcoal: #333632;
  --hinge: #0f0e0c;
  --gold: #F9E795;
  --teal: #02C39A;
  --deep: #1C7293;
  --blue: #0717f0;
  --off: #F4F6FA;
  --paper: #ffffff;
  --midnight: #21295c;
  --coral: #f96167;
  /* Lux et Veritas · Foundry command-poster presence (Tier B · nodal-0001 palette) */
  --foundry-void: #040408;
  --foundry-cyan: #00e8ff;
  --foundry-magenta: #e85dff;
  --foundry-lux: #ffe066;
  --foundry-veritas: #ff4d6d;
  --foundry-rebuild: #5cffb8;
  --nav-h: 4.25rem;
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Calibri, "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(2, 195, 154, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 40%, rgba(7, 23, 240, 0.05), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 70%, rgba(249, 231, 149, 0.06), transparent 45%),
    var(--foundry-void);
  color: var(--off);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(2, 195, 154, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 195, 154, 0.28) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 20%, transparent 75%);
}
body > * {
  position: relative;
  z-index: 1;
}

.serif { font-family: Georgia, "Times New Roman", serif; }
.mono { font-family: ui-monospace, "SF Mono", monospace; }

a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--teal); color: var(--hinge); padding: 0.5rem 1rem;
}
.skip-link:focus { left: 0; }

/* Nav */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(15, 14, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-nav .logo img { height: 2rem; width: auto; display: block; }
.nav-links {
  display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem;
  list-style: none; margin: 0; padding: 0;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-links a { color: rgba(244, 246, 250, 0.75); }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  display: inline-block; padding: 0.45rem 1rem;
  border-radius: 999px; font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.nav-cta-active { color: color-mix(in srgb, var(--gold) 35%, #fff) !important; }

.nav-actions {
  display: flex; align-items: center; gap: 0.65rem;
}
.nav-login {
  font-size: 0.75rem; letter-spacing: 0.06em;
  color: rgba(244, 246, 250, 0.65);
  padding: 0.35rem 0.5rem;
}
.nav-login:hover { color: var(--gold); }
.nav-login-active { color: var(--teal); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 2.75rem; height: 2.75rem; min-width: 2.75rem; min-height: 2.75rem;
  padding: 0.4rem;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px; cursor: pointer;
}
.nav-toggle-bar {
  display: block; width: 100%; height: 2px;
  background: var(--off); border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: rgba(15, 14, 12, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
}
.nav-drawer-links {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.15rem;
}
.nav-drawer-links a {
  display: block; padding: 0.75rem 0.5rem;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(244, 246, 250, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-drawer-links a:hover { color: var(--gold); }
.nav-drawer-divider { margin-top: 0.75rem; padding-top: 0.5rem; border-top: 1px solid rgba(2, 195, 154, 0.25); }

body.nav-open { overflow: hidden; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-login { display: none; }
}
@media (max-width: 480px) {
  .nav-cta { padding: 0.4rem 0.75rem; font-size: 0.7rem; }
}

/* Sections */
section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 5vw, 2.5rem);
}
.section-inner { max-width: var(--max); margin: 0 auto; }
.eyebrow {
  font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.75rem; font-weight: 600;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
.lead {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 42rem; opacity: 0.92;
}
.triad-pill {
  display: inline-flex; gap: 0.5rem; flex-wrap: wrap;
  margin-top: 1.25rem;
}
.triad-pill span {
  padding: 0.35rem 0.85rem; border-radius: 999px;
  font-size: 0.8rem; letter-spacing: 0.2em;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh; min-height: 100dvh;
  display: grid; align-items: center;
  padding-top: var(--nav-h);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(2, 195, 154, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(249, 231, 149, 0.08), transparent),
    var(--hinge);
}
.hero-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.hero-mission {
  font-family: Georgia, serif;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  margin: 1.25rem 0 0;
  color: var(--off);
}
.hero-visual {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.hero-video-ring {
  --hero-video-zoom: 1.32;
  --tube-color: var(--teal);
  --tube-accent: var(--gold);
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  isolation: isolate;
  padding: 5px;
  background: transparent;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.5);
}
.hero-video-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: var(--foundry-void);
  /* Crisp uncovered video rim (content edge visible inside the tube) */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.hero-video-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--tube-color);
  border-color: color-mix(in srgb, var(--tube-color) 88%, #fff);
  pointer-events: none;
  z-index: 2;
  background: transparent;
  box-shadow:
    0 0 1px #fff,
    0 0 6px var(--tube-color),
    0 0 18px var(--tube-color),
    0 0 32px var(--tube-accent);
  animation: none;
}
.hero-visual video.hero-video-el {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  /* Zoom past baked-in top/bottom letterbox in square export */
  transform: translate(-50%, -50%) scale(var(--hero-video-zoom));
  box-shadow: none;
}
.hero-visual.is-static .hero-video-ring { display: none; }
.hero-orb-static {
  display: none; width: min(100%, 380px); aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(2, 195, 154, 0.35), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(249, 231, 149, 0.2), transparent 50%),
    rgba(18, 18, 26, 0.9);
  box-shadow:
    0 0 0 1px rgba(249, 231, 149, 0.18),
    0 0 40px rgba(2, 195, 154, 0.15);
}
.hero-visual.is-static .hero-orb-static { display: block; }

.verify-page main {
  max-width: 40rem; margin: 0 auto;
  padding: calc(var(--nav-h) + 2rem) 1.25rem 3rem;
}
.verify-page main h1 { font-family: Georgia, serif; color: var(--gold); }
.verify-page main h2 { font-family: Georgia, serif; color: var(--gold); font-size: 1.15rem; margin-top: 2.5rem; }
.verify-page textarea,
.verify-page input[type="text"] {
  width: 100%; font-family: ui-monospace, monospace; font-size: 0.85rem;
  background: #12121a; color: var(--off); border: 1px solid #334155;
  border-radius: 8px; padding: 0.75rem;
}
.verify-page button {
  margin-top: 0.75rem;
  min-height: 2.75rem;
  font-weight: 700;
}
.verify-page .result { margin-top: 1rem; padding: 1rem; border-radius: 8px; font-weight: 600; }
.verify-page .ok { background: #022c22; color: var(--teal); border: 1px solid var(--teal); }
.verify-page .bad { background: #3f0d12; color: #fca5a5; border: 1px solid var(--coral); }
.verify-page label { display: block; margin: 1rem 0 0.35rem; color: var(--gold); font-size: 0.9rem; }
.verify-page .mono-sm { font-family: ui-monospace, monospace; font-size: 0.72rem; word-break: break-all; opacity: 0.85; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .light-glyph, .light-glyph--trail { animation: none !important; }
  .neon-bubble, .triad-pill .light-glyph, .hero-bullet-icon.light-glyph, .phase, .hero-video-ring::after {
    animation: none !important;
    /* Keep tube glow visible when motion is reduced */
    box-shadow:
      0 0 1px #fff,
      0 0 2px #fff,
      0 0 6px var(--tube-color),
      0 0 16px var(--tube-color),
      0 0 28px var(--tube-color) !important;
  }
  [data-parallax] { transform: none !important; }
}
.hero-bullets {
  list-style: none; margin: 1.25rem 0 0; padding: 0;
  display: grid; gap: 0.65rem;
  max-width: 36rem;
}
.hero-bullets li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; align-items: start;
  font-size: 0.88rem; line-height: 1.4; opacity: 0.92;
}
.hero-bullet-icon {
  width: 1.75rem; height: 1.75rem; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; letter-spacing: 0.02em;
}
.hero-bullets strong { color: var(--gold); font-weight: 700; }
.hero-bullets .tier-hint { font-size: 0.72rem; opacity: 0.65; display: block; margin-top: 0.15rem; }

.ht-state-badges {
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.85rem;
}
.ht-badge {
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.25rem 0.55rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(244, 246, 250, 0.55);
}
.ht-badge--past { border-color: rgba(2, 195, 154, 0.35); color: rgba(2, 195, 154, 0.85); }
.ht-badge--current { background: var(--teal); color: var(--hinge); border-color: transparent; font-weight: 600; }
.ht-badge--upcoming { opacity: 0.45; }
.ht-route-list {
  list-style: none; margin: 0.75rem 0 0; padding: 0;
  font-size: 0.82rem; line-height: 1.55;
}
.ht-route-list li { margin-bottom: 0.35rem; }
.ht-route-list a[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.ht-req-status {
  font-size: 0.65rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.12rem 0.4rem; border-radius: 4px;
  background: rgba(249, 231, 149, 0.15); color: var(--gold);
  vertical-align: middle;
}
.ht-req-status--culled { background: rgba(249, 97, 103, 0.2); color: var(--coral); }
.ht-req-status--on_ballot { background: rgba(2, 195, 154, 0.2); color: var(--teal); }
.ht-req-status--rejected { opacity: 0.7; }

.ht-ri-flag {
  display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.12rem 0.45rem; border-radius: 999px; margin-right: 0.35rem;
}
.ht-ri-flag--info { background: rgba(2, 195, 154, 0.15); color: var(--teal); }
.ht-ri-flag--watch { background: rgba(212, 175, 55, 0.18); color: var(--gold); }

.ht-affiliate-table {
  width: 100%; margin-top: 0.75rem; font-size: 0.82rem; border-collapse: collapse;
}
.ht-affiliate-table th,
.ht-affiliate-table td {
  text-align: left; padding: 0.35rem 0.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ht-affiliate-table th { color: var(--gold); font-weight: 600; letter-spacing: 0.04em; }
.ht-cycle-timeline {
  margin: 0.75rem 0 0; padding-left: 1.15rem;
  font-size: 0.85rem; line-height: 1.55;
}
.ht-cycle-timeline strong { color: var(--gold); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.05em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* New user · start + onboarding path */
.start-ladder {
  display: grid; gap: 1rem; margin: 2rem 0;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.start-card {
  background: rgba(18, 18, 26, 0.55); border: 1px solid rgba(2, 195, 154, 0.2);
  border-radius: 12px; padding: 1.25rem;
}
.start-card strong { color: var(--gold); display: block; margin-bottom: 0.35rem; }
.start-card .step-num {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--teal); opacity: 0.85;
}
.onboard-path {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center;
  padding: 0.85rem 1rem; margin-bottom: 1.5rem;
  background: rgba(2, 195, 154, 0.08); border: 1px solid rgba(2, 195, 154, 0.22);
  border-radius: 10px; font-size: 0.85rem;
}
.onboard-path a { font-weight: 600; }
.onboard-progress {
  font-size: 0.78rem; letter-spacing: 0.06em; color: var(--gold); margin-bottom: 0.75rem;
}
.export-next-steps {
  margin-top: 1rem; padding: 1rem; border-radius: 10px;
  background: rgba(249, 231, 149, 0.08); border: 1px solid rgba(249, 231, 149, 0.25);
}
.export-next-steps ul { margin: 0.5rem 0 0; padding-left: 1.2rem; font-size: 0.88rem; }
.onboard-accordion {
  margin-top: 1rem; border: 1px solid rgba(249, 231, 149, 0.15);
  border-radius: 10px; padding: 0.75rem 1rem; background: rgba(0, 0, 0, 0.2);
}
.onboard-accordion summary {
  cursor: pointer; font-size: 0.9rem; color: var(--gold); font-weight: 600;
  list-style: none;
}
.onboard-accordion summary::-webkit-details-marker { display: none; }
.onboard-accordion[open] summary { margin-bottom: 0.75rem; }
.onboard-accordion .onboard-sub { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.06); }
.onboard-accordion .onboard-sub:first-of-type { margin-top: 0.5rem; border-top: none; padding-top: 0; }
.hero-cta-note {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0.78;
}
.hero-cta-note a { color: var(--teal); }
.hero-cta-note a:hover { color: var(--gold); }
.btn,
.nav-cta,
.verify-page button,
.login-submit {
  --tube-color: var(--teal);
  --tube-accent: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 1.35rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em;
  cursor: pointer;
  border: 3px solid var(--tube-color);
  border-color: color-mix(in srgb, var(--tube-color) 88%, #fff);
  background: rgba(4, 4, 8, 0.88);
  background: color-mix(in srgb, var(--foundry-void) 92%, var(--tube-color));
  color: var(--off);
  text-decoration: none;
  box-shadow:
    0 0 1px #fff,
    0 0 2px #fff,
    0 0 5px var(--tube-color),
    0 0 12px color-mix(in srgb, var(--tube-color) 80%, transparent),
    0 0 22px color-mix(in srgb, var(--tube-accent) 40%, transparent);
  animation: none;
  transition:
    transform 0.2s var(--ease),
    color 0.2s,
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.25s var(--ease),
    text-shadow 0.25s var(--ease);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.nav-cta {
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
}
.btn:hover,
.nav-cta:hover,
.verify-page button:hover,
.login-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 0 1px #fff,
    0 0 3px #fff,
    0 0 8px #fff,
    0 0 14px var(--tube-color),
    0 0 28px var(--tube-color),
    0 0 44px color-mix(in srgb, var(--tube-accent) 70%, white),
    inset 0 0 10px color-mix(in srgb, var(--tube-color) 14%, transparent);
  text-shadow: 0 0 12px var(--tube-color);
}
.btn:disabled,
.login-submit:disabled,
.verify-page button:disabled {
  --tube-color: rgba(244, 246, 250, 0.22);
  animation: none;
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}
.btn-primary,
.nav-cta,
.login-submit {
  --tube-color: var(--teal);
  --tube-accent: var(--gold);
  color: color-mix(in srgb, var(--teal) 38%, #fff);
  text-shadow: 0 0 8px color-mix(in srgb, var(--teal) 55%, transparent);
}
.btn-primary:hover,
.nav-cta:hover,
.login-submit:hover:not(:disabled) {
  --tube-color: var(--gold);
  --tube-accent: var(--teal);
  color: var(--gold) !important;
}
.nav-cta-active {
  --tube-color: var(--gold);
  --tube-accent: var(--teal);
}
.btn-ghost {
  --tube-color: var(--blue);
  --tube-accent: var(--teal);
  color: color-mix(in srgb, var(--blue) 42%, #fff);
  text-shadow: 0 0 8px color-mix(in srgb, var(--blue) 50%, transparent);
}
.btn-ghost:hover {
  --tube-color: var(--gold);
  --tube-accent: var(--blue);
  color: var(--gold);
}
.verify-page button.btn-ghost-inline {
  --tube-color: var(--blue);
  --tube-accent: var(--teal);
  color: color-mix(in srgb, var(--blue) 45%, #fff);
  text-shadow: 0 0 8px color-mix(in srgb, var(--blue) 50%, transparent);
}
.verify-page button.btn-ghost-inline:hover {
  --tube-color: var(--gold);
  --tube-accent: var(--blue);
  color: var(--gold);
}

/* Light sections */
.section-light { background: var(--off); color: var(--charcoal); }
.section-light .eyebrow { color: var(--deep); }
.section-light a { color: var(--deep); }
.section-light a:hover { color: var(--teal); }

.section-charcoal { background: var(--charcoal); }
.section-midnight {
  background: linear-gradient(165deg, var(--midnight) 0%, var(--hinge) 100%);
}

/* Cards */
.card-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2rem;
}
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px; padding: 1.5rem;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.card:hover { border-color: rgba(2, 195, 154, 0.35); transform: translateY(-3px); }
.section-light .card {
  background: var(--paper);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.card strong { color: var(--gold); display: block; margin-bottom: 0.35rem; font-size: 0.85rem; letter-spacing: 0.12em; }
.section-light .card strong { color: var(--deep); }

/* Comparison table */
.compare {
  width: 100%; border-collapse: collapse; margin-top: 2rem;
  font-size: 0.92rem;
}
.compare th, .compare td {
  padding: 0.85rem 1rem; text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.section-light .compare th, .section-light .compare td {
  border-color: rgba(0, 0, 0, 0.08);
}
.compare th { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.section-light .compare th { color: var(--deep); }
.compare .highlight { background: rgba(2, 195, 154, 0.08); }
.compare .highlight td:first-child { color: var(--teal); font-weight: 600; }

/* SHINE letters */
.shine-row {
  display: grid; gap: 0.75rem; margin-top: 2rem;
}
@media (min-width: 640px) { .shine-row { grid-template-columns: repeat(5, 1fr); } }
.shine-letter {
  text-align: center; padding: 1.25rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.shine-letter .letter {
  font-size: 2rem; font-weight: 700; color: var(--gold);
  display: block; margin-bottom: 0.35rem;
}
.shine-letter span { font-size: 0.75rem; opacity: 0.8; line-height: 1.35; display: block; }
.section-light .shine-letter .letter { color: var(--deep); }
.section-light .shine-letter { background: var(--paper); border-color: rgba(0,0,0,0.08); }

/* Stats */
.stats {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 2rem;
}
.stat {
  padding: 1.5rem; border-radius: 14px;
  background: rgba(2, 195, 154, 0.06);
  border: 1px solid rgba(2, 195, 154, 0.2);
}
.stat .num {
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700;
  color: var(--teal); line-height: 1;
}
.stat .label { font-size: 0.85rem; opacity: 0.75; margin-top: 0.5rem; }

/* Phase strip */
.phases {
  display: grid; gap: 0.5rem;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2rem;
}
@media (max-width: 640px) { .phases { grid-template-columns: 1fr 1fr; } }
.phase {
  --tube-color: var(--teal);
  --tube-accent: var(--gold);
  text-align: center; padding: 1rem 0.65rem;
  border-radius: 14px;
  font-size: 0.8rem; letter-spacing: 0.08em;
}
.phase:nth-child(1) { --tube-color: var(--teal); --tube-accent: var(--gold); }
.phase:nth-child(2) { --tube-color: var(--gold); --tube-accent: var(--teal); }
.phase:nth-child(3) { --tube-color: var(--blue); --tube-accent: var(--teal); }
.phase:nth-child(4) { --tube-color: var(--deep); --tube-accent: var(--gold); }
.phase em { display: block; font-style: normal; color: var(--gold); font-weight: 600; margin-bottom: 0.25rem; }

/* Motion duo */
.motion-duo {
  display: grid; gap: 2rem; margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.motion-card video {
  width: 100%; aspect-ratio: 1; border-radius: 12px;
  background: var(--hinge);
}
.motion-card figcaption {
  margin-top: 0.75rem; font-size: 0.85rem; opacity: 0.7;
}

/* Tier notice */
.tier-note {
  margin-top: 2rem; padding: 1rem 1.25rem;
  border-left: 3px solid var(--deep);
  background: rgba(28, 114, 147, 0.08);
  font-size: 0.88rem; opacity: 0.85;
}

/* CTA band */
.cta-band {
  text-align: center;
  background: linear-gradient(135deg, rgba(2, 195, 154, 0.15), rgba(249, 231, 149, 0.1));
  border-top: 1px solid rgba(2, 195, 154, 0.2);
  border-bottom: 1px solid rgba(2, 195, 154, 0.2);
}
.cta-band h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer {
  padding: 3rem clamp(1.25rem, 5vw, 2.5rem) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem; opacity: 0.65;
}
.footer-grid {
  max-width: var(--max); margin: 0 auto 2rem;
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.footer-grid h4 {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 0.75rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-legal-honesty {
  max-width: 42rem; margin: 0 auto 1.25rem;
  text-align: center; font-size: 0.72rem; line-height: 1.45;
  opacity: 0.55; color: var(--off);
}
.footer-whisper {
  max-width: var(--max); margin: 0 auto;
  text-align: center; font-family: Georgia, serif;
  font-size: 0.75rem; letter-spacing: 0.06em; opacity: 0.4;
  padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.seal { text-align: center; margin-top: 1rem; letter-spacing: 0.15em; font-size: 0.65rem; opacity: 0.35; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* Three visions */
.three-fire {
  display: grid; gap: 1.25rem; margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.vision-card {
  padding: 1.5rem; border-radius: 14px;
  border: 1px solid rgba(249, 231, 149, 0.2);
  background: rgba(249, 231, 149, 0.04);
}
.vision-card h3 { color: var(--gold); margin-bottom: 0.5rem; }
.vision-card .role { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem; }
.fire-line {
  text-align: center; margin-top: 2rem;
  font-family: Georgia, serif; font-size: 1.15rem; color: var(--gold);
}

/* Equations */
.equation-panel {
  margin-top: 2rem; padding: 1.5rem 1.75rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(2, 195, 154, 0.25);
  border-radius: 14px; overflow-x: auto;
}
.section-light .equation-panel {
  background: var(--paper);
  border-color: rgba(28, 114, 147, 0.25);
}
.equation-panel .eq-title {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.section-light .equation-panel .eq-title { color: var(--deep); }
.equation {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 1.9; margin: 0.5rem 0;
}
.equation .var { font-style: italic; }
.legend {
  margin-top: 1.25rem; font-size: 0.82rem; opacity: 0.85;
  display: grid; gap: 0.35rem;
}
.legend dt { font-weight: 600; color: var(--teal); display: inline; }
.legend dt::after { content: " — "; font-weight: 400; color: inherit; opacity: 0.6; }
.legend dd { display: inline; margin: 0; }
.legend div { margin-bottom: 0.25rem; }

/* Hollow callout — invitation-shaped absence */
.hollow {
  margin-top: 2rem; padding: 2rem;
  border: 2px dashed rgba(2, 195, 154, 0.35);
  border-radius: 16px; text-align: center;
  background: rgba(2, 195, 154, 0.03);
}
.hollow .shape {
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.hollow p { max-width: 36rem; margin: 0 auto; opacity: 0.88; }

.bobby-note {
  margin-top: 2rem; padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(249, 231, 149, 0.06);
  font-family: Georgia, serif; font-size: 0.95rem; line-height: 1.65;
}
.bobby-note cite {
  display: block; margin-top: 0.75rem; font-size: 0.78rem;
  font-style: normal; opacity: 0.65; font-family: Calibri, sans-serif;
}

/* Timeline */
.timeline { margin-top: 2rem; position: relative; padding-left: 1.5rem; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--teal), var(--gold));
}
.timeline-item {
  position: relative; margin-bottom: 1.75rem; padding-left: 1.25rem;
}
.timeline-item::before {
  content: ""; position: absolute; left: -1.55rem; top: 0.35rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); border: 2px solid var(--hinge);
}
.section-light .timeline-item::before { border-color: var(--off); }
.timeline-item time {
  display: block; font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.25rem;
}
.section-light .timeline-item time { color: var(--deep); }
.timeline-item h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.timeline-item p { font-size: 0.88rem; opacity: 0.85; margin: 0; }

.access-grid {
  display: grid; gap: 0.75rem; margin-top: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.access-item {
  padding: 1rem; border-radius: 10px; font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.access-item.yes { border-color: rgba(2,195,154,0.35); background: rgba(2,195,154,0.06); }
.access-item.partial { border-color: rgba(249,231,149,0.35); background: rgba(249,231,149,0.04); }
.access-item.no { border-color: rgba(255,255,255,0.08); opacity: 0.65; }
.access-item strong { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.35rem; }

.whitepaper-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 1.5rem; padding: 1rem 1.25rem;
  background: rgba(28, 114, 147, 0.12); border-radius: 10px;
  border: 1px solid rgba(28, 114, 147, 0.3);
}

/* Page hero (subpages) */
.page-hero {
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(2, 195, 154, 0.1), transparent),
    var(--hinge);
}

/* BP interactive demo */
.demo-grid {
  display: grid; gap: 2rem; margin-top: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .demo-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.demo-label {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.demo-check {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1rem; margin-bottom: 0.5rem;
  border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background 0.2s;
}
.demo-check:hover { border-color: rgba(2, 195, 154, 0.3); }
.demo-check input { accent-color: var(--teal); width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.demo-check span:first-of-type { flex: 1; font-size: 0.92rem; }
.demo-kb {
  font-family: ui-monospace, monospace; font-size: 0.75rem;
  color: var(--gold); opacity: 0.85;
}
.demo-output {
  padding: 1.5rem; border-radius: 14px;
  border: 1px solid rgba(2, 195, 154, 0.25);
  background: rgba(0, 0, 0, 0.25);
}
.demo-compare-row { display: grid; gap: 1.25rem; }
.demo-model p { font-size: 0.82rem; opacity: 0.7; margin: 0.5rem 0 0; }
.demo-model-tag {
  display: block; font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.35rem;
}
.demo-model-highlight .demo-model-tag { color: var(--gold); }
.demo-bytes {
  font-size: 1.75rem; font-weight: 700; color: var(--off);
  font-variant-numeric: tabular-nums;
}
.demo-model-highlight .demo-bytes { color: var(--teal); }
.demo-bar-track {
  height: 8px; border-radius: 4px; margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.08); overflow: hidden;
}
.demo-bar { height: 100%; border-radius: 4px; transition: width 0.4s var(--ease); }
.demo-bar-warehouse { background: rgba(249, 231, 149, 0.5); }
.demo-bar-sovereign { background: var(--teal); min-width: 4px; }
.demo-stats-inline {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.demo-stat-num {
  display: block; font-size: 1.5rem; font-weight: 700;
  color: var(--gold); font-variant-numeric: tabular-nums;
}
.demo-stat-label { font-size: 0.78rem; opacity: 0.7; }
.demo-motion {
  margin-top: 3rem; text-align: center;
}
.demo-motion video {
  width: min(100%, 320px); aspect-ratio: 1;
  border-radius: 12px; border: 1px solid rgba(249, 231, 149, 0.15);
}
.demo-motion figcaption {
  margin-top: 0.75rem; font-size: 0.82rem; opacity: 0.65;
}

/* Pricing */
.pricing-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.pricing-card {
  padding: 2rem 1.75rem; border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--paper);
  display: flex; flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.pricing-card-featured {
  border-color: rgba(2, 195, 154, 0.45);
  box-shadow: 0 0 0 1px rgba(2, 195, 154, 0.15);
}
.pricing-tier {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--deep); margin: 0 0 0.5rem;
}
.pricing-card h2 { font-size: 1.35rem; margin-bottom: 0.75rem; color: var(--charcoal); }
.pricing-desc { font-size: 0.92rem; opacity: 0.85; flex: 1; margin-bottom: 1.25rem; }
.pricing-price { margin-bottom: 1.25rem; }
.pricing-amount {
  font-size: 2rem; font-weight: 700; color: var(--charcoal);
}
.pricing-unit { font-size: 0.85rem; opacity: 0.65; margin-left: 0.25rem; }
.pricing-features {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  font-size: 0.88rem;
}
.pricing-features li {
  padding: 0.45rem 0; padding-left: 1.25rem; position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.pricing-features li::before {
  content: "·"; position: absolute; left: 0; color: var(--teal); font-weight: 700;
}
.pricing-card .btn { width: 100%; justify-content: center; margin-top: auto; }
.section-light .pricing-card .btn-ghost {
  --tube-color: var(--blue);
  --tube-accent: var(--teal);
  color: var(--charcoal);
  background: color-mix(in srgb, var(--off) 92%, var(--teal));
  text-shadow: none;
}
.section-light .pricing-card .btn-ghost:hover {
  --tube-color: var(--gold);
  --tube-accent: var(--blue);
  color: var(--deep);
}
.section-light .pricing-card .btn-primary {
  --tube-color: var(--teal);
  --tube-accent: var(--gold);
  background: color-mix(in srgb, var(--teal) 65%, var(--off));
  color: var(--hinge);
  text-shadow: none;
}
.section-light .pricing-card .btn-primary:hover {
  --tube-color: var(--gold);
  --tube-accent: var(--teal);
  color: var(--hinge) !important;
}

/* Login hollow */
.login-section {
  min-height: calc(100dvh - var(--nav-h));
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(249, 231, 149, 0.06), transparent),
    var(--hinge);
}
.login-grid {
  display: grid; gap: 3rem; align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .login-grid { grid-template-columns: 1fr 1fr; }
}
.login-hollow {
  padding: 2rem 1.75rem; border-radius: 16px; text-align: center;
  border: 2px dashed rgba(2, 195, 154, 0.35);
  background: rgba(2, 195, 154, 0.04);
}
.login-sigil { opacity: 0.85; margin: 0 auto; }
.login-form { max-width: 20rem; margin: 0 auto; text-align: left; }
.login-field {
  display: block; margin-bottom: 1rem;
}
.login-field span {
  display: block; font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.35rem;
}
.login-field input {
  width: 100%; padding: 0.75rem 1rem;
  border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35); color: var(--off);
  font-size: 0.95rem;
}
.login-field input:disabled { opacity: 0.45; cursor: not-allowed; }
.login-submit { width: 100%; margin-top: 0.5rem; }
.login-whisper {
  margin-top: 1.25rem; font-size: 0.82rem; opacity: 0.65;
}

/* Foundry tube · Lux et Veritas command-poster presence (glyph + bubble + button) */
/* Pill neon reference · white-hot core + colored bloom (outline stays visible) */
@keyframes foundry-tube-pulse {
  0%, 100% {
    box-shadow:
      0 0 1px #fff,
      0 0 2px #fff,
      0 0 4px var(--tube-color),
      0 0 10px var(--tube-color),
      0 0 20px var(--tube-color),
      0 0 36px color-mix(in srgb, var(--tube-accent, var(--tube-color)) 55%, transparent),
      inset 0 0 8px color-mix(in srgb, var(--tube-color) 12%, transparent);
  }
  50% {
    box-shadow:
      0 0 1px #fff,
      0 0 3px #fff,
      0 0 6px #fff,
      0 0 12px var(--tube-color),
      0 0 24px var(--tube-color),
      0 0 40px var(--tube-color),
      0 0 56px color-mix(in srgb, var(--tube-accent, var(--tube-color)) 75%, white),
      inset 0 0 12px color-mix(in srgb, var(--tube-color) 18%, transparent);
  }
}

@keyframes foundry-glyph-pulse {
  0%, 100% {
    opacity: 0.88;
    filter: brightness(0.96);
    text-shadow:
      0 0 1px #fff,
      0 0 6px var(--lg-color),
      0 0 16px var(--lg-color),
      0 0 28px color-mix(in srgb, var(--lg-accent, var(--lg-color)) 50%, transparent),
      0 0 40px color-mix(in srgb, var(--lg-color) 35%, transparent);
  }
  18% { opacity: 0.8; filter: brightness(0.9); }
  52% {
    opacity: 1;
    filter: brightness(1.15);
    text-shadow:
      0 0 2px #fff,
      0 0 10px #fff,
      0 0 18px var(--lg-color),
      0 0 32px var(--lg-color),
      0 0 48px color-mix(in srgb, var(--lg-accent, var(--lg-color)) 75%, white),
      0 0 64px color-mix(in srgb, var(--lg-color) 45%, transparent);
  }
  70% { opacity: 0.92; }
}

.light-glyph {
  --lg-color: var(--teal);
  --lg-accent: var(--gold);
  color: var(--lg-color);
  font-family: ui-monospace, "SF Mono", monospace;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  animation: none;
  text-shadow:
    0 0 1px #fff,
    0 0 6px var(--lg-color),
    0 0 14px color-mix(in srgb, var(--lg-color) 65%, transparent);
}
.light-glyph--si { --lg-color: var(--teal); --lg-accent: var(--gold); }
.light-glyph--bp { --lg-color: var(--gold); --lg-accent: var(--teal); }
.light-glyph--ha { --lg-color: var(--blue); --lg-accent: var(--teal); }
.light-glyph--ri { --lg-color: var(--gold); --lg-accent: var(--teal); }
.light-glyph--teal { --lg-color: var(--teal); --lg-accent: var(--gold); }
.light-glyph--gold { --lg-color: var(--gold); --lg-accent: var(--teal); }
.light-glyph--deep { --lg-color: var(--deep); --lg-accent: var(--teal); }
.light-glyph--blue { --lg-color: var(--blue); --lg-accent: var(--teal); }
.light-glyph--coral { --lg-color: var(--teal); --lg-accent: var(--gold); }
.light-glyph--off { --lg-color: var(--off); --lg-accent: var(--teal); }
.light-glyph--a { --lg-color: var(--gold); --lg-accent: var(--teal); }
.light-glyph--p { --lg-color: var(--teal); --lg-accent: var(--gold); }
.light-glyph--l { --lg-color: var(--blue); --lg-accent: var(--teal); }
.light-glyph--t { --lg-color: var(--off); --lg-accent: var(--teal); }
.light-glyph--f { --lg-color: var(--gold); --lg-accent: var(--teal); }
.light-glyph--e { --lg-color: var(--teal); --lg-accent: var(--gold); }
.light-glyph--v { --lg-color: var(--deep); --lg-accent: var(--teal); }

.neon-bubble,
.triad-pill .light-glyph,
.hero-bullet-icon.light-glyph,
.phase {
  --tube-color: var(--lg-color, var(--teal));
  --tube-accent: var(--lg-accent, var(--gold));
  border: 3px solid var(--tube-color);
  border-color: color-mix(in srgb, var(--tube-color) 88%, #fff);
  background: rgba(4, 4, 8, 0.85);
  background: color-mix(in srgb, var(--foundry-void) 90%, var(--tube-color));
  box-shadow:
    0 0 1px #fff,
    0 0 2px #fff,
    0 0 6px var(--tube-color),
    0 0 14px color-mix(in srgb, var(--tube-color) 75%, transparent),
    0 0 24px color-mix(in srgb, var(--tube-accent, var(--tube-color)) 40%, transparent);
  animation: none;
}

.triad-pill .light-glyph {
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

.hero-bullet-icon.light-glyph {
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  font-size: 0.62rem;
}

.light-rune-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 0.5rem;
  font-size: 0.72rem; opacity: 0.85;
}
.light-rune-row .light-glyph {
  font-weight: 700; font-size: 0.68rem; letter-spacing: 0.14em;
}
/* KaiRis rune strip under hero video · unified teal block */
.hero-visual .light-rune-row .light-glyph {
  --lg-color: var(--teal);
  --lg-accent: var(--gold);
  --tube-color: var(--teal);
  color: var(--teal);
}
.hero-visual .light-rune-row .light-glyph--trail {
  width: 1px; height: 0.85rem; margin: 0 0.1rem; align-self: center;
  --lg-color: var(--teal);
  animation: none;
  text-shadow: none;
  filter: none;
  background: linear-gradient(
    180deg,
    transparent,
    color-mix(in srgb, var(--teal) 90%, white),
    transparent
  );
  box-shadow: 0 0 6px var(--teal);
}
.light-rune-row .light-glyph--trail {
  width: 1px; height: 0.85rem; margin: 0 0.1rem; align-self: center;
  animation: none;
  text-shadow: none;
  filter: none;
}

.apltfev-row .light-glyph {
  font-size: inherit; letter-spacing: 0.18em;
  padding: 0 0.05em;
}

.light-field-zone {
  position: relative;
  overflow: hidden;
}
.light-glyph--trail {
  position: absolute;
  z-index: 0;
  width: 2px;
  height: 2.5rem;
  font-size: 0;
  line-height: 0;
  border-radius: 2px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    color-mix(in srgb, var(--lg-color) 90%, white),
    transparent
  );
  box-shadow:
    0 0 6px var(--lg-color),
    0 0 14px color-mix(in srgb, var(--lg-color) 50%, transparent);
  animation: none;
  opacity: 0.35;
}
/* Section color blocks · glyphs match band (teal / gold / blue only) */
.hero .triad-pill .light-glyph,
.hero .hero-bullet-icon.light-glyph {
  --lg-color: var(--teal);
  --lg-accent: var(--gold);
  --tube-color: var(--teal);
  --tube-accent: var(--gold);
  color: var(--teal);
}
.section-charcoal .light-glyph:not(.light-glyph--trail) {
  --lg-color: var(--teal);
  --lg-accent: var(--gold);
}
.section-midnight .light-glyph:not(.light-glyph--trail) {
  --lg-color: var(--gold);
  --lg-accent: var(--teal);
}
.section-light .light-glyph:not(.light-glyph--trail) {
  --lg-color: var(--deep);
  --lg-accent: var(--teal);
}
#demo.section-midnight .light-glyph:not(.light-glyph--trail) {
  --lg-color: var(--blue);
  --lg-accent: var(--teal);
}
.site-footer .light-glyph:not(.light-glyph--trail) {
  --lg-color: var(--teal);
  --lg-accent: var(--gold);
}
.light-field-zone > .section-inner,
.light-field-zone > .footer-grid,
.light-field-zone > .reveal {
  position: relative;
  z-index: 1;
}

[data-parallax] {
  will-change: transform;
}

/* P10 · Truth flags (capability degradation) */
.portableri-truth-flag {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(249, 231, 149, 0.35);
  background: rgba(18, 18, 26, 0.92);
  font-size: 0.85rem;
  color: var(--off, #e8e4dc);
}
.portableri-truth-flag--block { border-color: rgba(239, 68, 68, 0.55); }
.portableri-truth-flag--warn { border-color: rgba(251, 191, 36, 0.45); }
.portableri-truth-flag--info { border-color: rgba(2, 195, 154, 0.35); }
.portableri-truth-flag__headline { color: var(--gold, #f9e795); display: block; margin-bottom: 0.35rem; }
.portableri-truth-flag__fix span { color: var(--teal, #02c39a); }
.portableri-truth-flag__meta { font-size: 0.72rem; opacity: 0.75; margin: 0.35rem 0 0; }
