/* ─── MARKETING — SCROLL NARRATIVE (asymmetric + interactive) ───────── */

/* Noise texture — subtle film grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.025;
  mix-blend-mode: overlay;
}

main { position: relative; z-index: 2; }

/* ── Scroll progress bar — top of page ─────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  z-index: 1000;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 50ms linear;
}

/* ── Custom cursor — dot + stateful ring with label ────────────────── */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 60ms var(--ease-out), width 200ms var(--ease-out), height 200ms var(--ease-out), opacity 200ms, background 200ms;
  mix-blend-mode: difference;
  opacity: 0;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(167,139,250,0.4);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 320ms var(--ease-out), width 320ms var(--ease-expo), height 320ms var(--ease-expo), border-color 200ms, background 200ms;
  opacity: 0;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.cursor-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
  white-space: nowrap;
}
.cursor-dot.visible, .cursor-ring.visible { opacity: 1; }
.cursor-dot.hover { width: 0; height: 0; }
.cursor-ring.hover { width: 52px; height: 52px; border-color: var(--accent); }
.cursor-ring.labeled {
  width: 80px; height: 80px;
  border-color: var(--accent);
  background: rgba(167,139,250,0.08);
}
.cursor-ring.labeled .cursor-label { opacity: 1; transform: scale(1); }
.cursor-dot.click {
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--accent);
}
@media (max-width: 900px), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  html { cursor: auto; }
}

/* ── Keyboard hint ─────────────────────────────────────────────────── */
.kbd-hint {
  position: fixed;
  bottom: var(--s-5); right: var(--s-5);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  z-index: 50;
  opacity: 0;
  transition: opacity var(--t) var(--ease-out);
  pointer-events: none;
}
.kbd-hint.visible { opacity: 1; }
.kbd-hint kbd {
  padding: 3px 7px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--glass);
  font-size: 0.72rem;
  color: var(--text-2);
}

/* ═══ NAV ═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--s-4) 0;
  transition: background var(--t) var(--ease-out), backdrop-filter var(--t) var(--ease-out);
}
.nav.scrolled {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.015em;
  color: var(--text);
}
.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-deep));
  box-shadow: 0 0 12px var(--accent-soft);
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--black);
}
.brand-mark::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: brand-pulse 2.4s var(--ease-out) infinite;
}
@keyframes brand-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.nav-links {
  display: flex;
  gap: var(--s-6);
  align-items: center;
}
.nav-links a {
  font-size: 0.88rem;
  color: var(--text-2);
  transition: color var(--t-xs) var(--ease-out);
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-sm) var(--ease-out);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }

@media (max-width: 768px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ═══ STORY + STAGE ════════════════════════════════════════════════ */
.story { position: relative; }

#stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#stage canvas { width: 100% !important; height: 100% !important; }

/* ── Act structure — 12-col grid, asymmetric placement ─────────────── */
.act {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: var(--s-9) 0;
  z-index: 2;
}

.act-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
  width: 100%;
}

/* Position helpers */
.col-L { grid-column: 1 / span 6; }
.col-R { grid-column: 7 / span 6; }
.col-full { grid-column: 1 / -1; }
.col-wide-L { grid-column: 1 / span 8; }
.col-wide-R { grid-column: 5 / span 8; }
.col-inset-L { grid-column: 2 / span 5; }
.col-inset-R { grid-column: 7 / span 5; }

@media (max-width: 900px) {
  .act-grid { gap: var(--s-4); }
  .col-L, .col-R, .col-wide-L, .col-wide-R,
  .col-inset-L, .col-inset-R { grid-column: 1 / -1; }
}

/* ═══ ACT 1 — HERO ═════════════════════════════════════════════════ */
.act-hero { padding-top: 120px; }

.hero-eyebrow {
  margin-bottom: var(--s-6);
  opacity: 0;
  animation: riseIn 1s var(--ease-out) 0.2s forwards;
}

.hero-title {
  /* Sized for the 8-of-12 column (~760px at 1200px wrap).
     Max caps so "when you go quiet." fits without clipping. */
  font-size: clamp(1.75rem, 6vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: var(--s-6);
}
.hero-title > span {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em; /* prevent descender clipping */
}

/* Character-by-character reveal — Lusion signature */
.hero-char {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  will-change: transform;
}
.hero-char.in {
  animation: char-rise 1s var(--ease-expo) forwards;
}
@keyframes char-rise {
  to { transform: translateY(0); opacity: 1; }
}

/* Fallback for when JS fails — still animate the whole line */
.no-js .hero-title > span {
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 1.2s var(--ease-expo) forwards;
}

.hero-word {
  display: inline-block;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--t-sm) var(--ease-out), transform var(--t-sm) var(--ease-out);
}
.hero-word:hover {
  color: var(--accent);
  transform: translateY(-4px);
}
.hero-word em {
  font-style: normal;
  color: var(--accent);
  transition: all var(--t-sm) var(--ease-out);
}
.hero-word:hover em {
  text-shadow: 0 0 40px var(--accent);
}

.hero-lede {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.55;
  margin-bottom: var(--s-7);
  opacity: 0;
  animation: riseIn 1s var(--ease-out) 0.9s forwards;
}
.hero-ctas {
  display: flex;
  gap: var(--s-3);
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: riseIn 1s var(--ease-out) 1.05s forwards;
}

@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }

.hero-scroll-hint {
  position: absolute;
  bottom: var(--s-7);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--text-3);
  text-transform: uppercase;
  opacity: 0;
  animation: riseIn 1s var(--ease-out) 1.4s forwards;
}
.hero-scroll-hint-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, transparent, var(--text-3));
  animation: scroll-hint-line 2s var(--ease-out) infinite;
}
@keyframes scroll-hint-line {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ── (act markers removed) ─────────────────────────────────────────── */

/* ── Common act copy ───────────────────────────────────────────────── */
.act-label {
  margin-bottom: var(--s-5);
}

.act-title {
  font-size: clamp(2.4rem, 6.5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: var(--s-5);
}
.act-title em {
  font-style: normal;
  color: var(--accent);
}
.act-body {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.6;
}

/* ── Protection Score — interactive, mouse-reactive ─────────────────── */
.score-display {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-4);
  cursor: pointer;
}
.score-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(8rem, 22vw, 18rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--accent);
  position: relative;
  transition: transform var(--t) var(--ease-out);
  will-change: transform;
}
.score-number::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -12px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.score-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-3);
  text-transform: uppercase;
}
.score-meta {
  display: flex;
  gap: var(--s-5);
  margin-top: var(--s-4);
  font-size: 0.85rem;
  color: var(--text-3);
}
.score-meta strong { color: var(--text-2); font-weight: 500; }

/* ═══ TRINITY — full-width 3-up, tilt on hover ══════════════════════ */
.act-trinity {
  min-height: 120vh;
}
.trinity-header {
  grid-column: 1 / span 8;
  margin-bottom: var(--s-9);
}
.trinity {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  perspective: 1000px;
}
@media (max-width: 900px) {
  .trinity { grid-template-columns: 1fr; }
  .trinity-header { grid-column: 1 / -1; }
}
.role {
  background: var(--black);
  padding: var(--s-7);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: background var(--t) var(--ease-out), transform var(--t-sm) var(--ease-out);
  transform-style: preserve-3d;
  cursor: pointer;
}
.role::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 100%),
    var(--role-tint, var(--accent-soft)),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--t-lg) var(--ease-out);
  pointer-events: none;
}
.role:hover::before { opacity: 1; }
.role[data-r="confirmer"] { --role-tint: rgba(52, 211, 153, 0.18); }
.role[data-r="custodian"] { --role-tint: rgba(251, 191, 36, 0.18); }
.role[data-r="watcher"] { --role-tint: rgba(167, 139, 250, 0.18); }

.role-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--s-6);
}
.role-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--text-3);
}
.role-ring {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid;
  position: relative;
  transition: transform var(--t) var(--ease-out);
}
.role:hover .role-ring { transform: rotate(180deg) scale(1.15); }
.role[data-r="confirmer"] .role-ring { border-color: var(--alive); }
.role[data-r="custodian"] .role-ring { border-color: var(--watch); }
.role[data-r="watcher"] .role-ring { border-color: var(--accent); }

.role-name {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: var(--s-4);
}
.role-desc {
  color: var(--text-2);
  margin-bottom: var(--s-6);
  font-size: 0.98rem;
}
.role-rule {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-3);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  transition: border-color var(--t) var(--ease-out);
}
.role:hover .role-rule { border-color: var(--accent-soft); }
.role-rule strong { color: var(--text); font-weight: 500; }

/* ═══ MANIFESTO — left-aligned, interactive phrases ═══════════════════ */
.act-manifesto {
  background: var(--black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 3;
  padding: var(--s-10) 0;
}
.manifesto {
  grid-column: 1 / span 10;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 3.4rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
  text-align: left;
}
.manifesto > span {
  display: inline;
  color: var(--text-3);
  transition: color var(--t-lg) var(--ease-out);
  cursor: pointer;
}
.manifesto > span:hover { color: var(--accent); }
.manifesto > span.lit { color: var(--text); }
.manifesto em {
  font-style: normal;
  color: var(--accent);
}

/* ═══ FINAL CTA — only section that stays centered ═══════════════════ */
.act-cta {
  background: var(--black);
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--s-11) 0 var(--s-9);
}
.cta-title {
  font-size: clamp(3rem, 7.5vw, 7rem);
  line-height: 0.95;
  margin: 0 auto var(--s-5);
  max-width: 14ch;
}
.cta-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 420px;
  margin: 0 auto var(--s-7);
}
.cta-ctas {
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══ FOOTER ════════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 3;
  padding: var(--s-8) 0 var(--s-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--line);
}
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: var(--s-4); }
.footer-tag {
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: var(--s-4);
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.footer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--text-3);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s-4);
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-2);
  padding: 4px 0;
  transition: color var(--t-xs) var(--ease-out);
}
.footer-col a:hover { color: var(--accent); }
.footer-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-4);
  font-size: 0.78rem;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: var(--s-3);
}
.footer-foot .mono {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.footer-foot-links {
  display: flex; gap: var(--s-5);
}
.footer-foot-links a {
  color: var(--text-3);
  font-size: 0.78rem;
  transition: color var(--t-xs) var(--ease-out);
}
.footer-foot-links a:hover { color: var(--text); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-foot { flex-direction: column; align-items: flex-start; }
}

/* ── Trust strip under hero CTAs ──────────────────────────────────── */
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-top: var(--s-5);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  opacity: 0;
  animation: riseIn 1s var(--ease-out) 1.25s forwards;
}
.hero-trust .trust-dot,
.footer-badge .trust-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--alive);
  box-shadow: 0 0 8px var(--alive);
  margin-right: 6px;
  vertical-align: middle;
}
.hero-trust .trust-sep { color: var(--text-4); }
.hero-scroll-link {
  margin-left: var(--s-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-3);
  text-transform: uppercase;
  transition: color var(--t-xs) var(--ease-out);
}
.hero-scroll-link:hover { color: var(--text); }
@media (max-width: 560px) {
  .hero-scroll-link { display: none; }
  .hero-trust { font-size: 0.64rem; }
}

/* ── Nav trailer button ──────────────────────────────────────────── */
.nav-links a.nav-trailer {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(167,139,250,0.24);
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--t-xs) var(--ease-out);
}
.nav-links a.nav-trailer::after { display: none; }
.nav-links a.nav-trailer:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* ── Hero trailer button (ghost with play glyph) ─────────────────── */
.hero-trailer svg {
  width: 14px; height: 14px;
  color: var(--accent);
  margin-right: 2px;
}

/* Fade-in reveal */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--t-xl) var(--ease-out), transform var(--t-xl) var(--ease-out);
}
.fade-up.on { opacity: 1; transform: translateY(0); }

/* Touch/click feedback on interactive elements */
.hero-word:active,
.role:active,
.manifesto > span:active { transform: scale(0.99); }

/* ── Fee rows (Economics act) ──────────────────────────────────────── */
.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  transition: padding var(--t-sm) var(--ease-out);
  gap: var(--s-4);
}
.fee-row:hover {
  padding-left: var(--s-2);
}
.fee-row.highlight {
  background: linear-gradient(90deg, var(--accent-haze), transparent 80%);
  border-color: var(--accent-soft);
  padding-left: var(--s-3);
  padding-right: var(--s-3);
  margin: 0 calc(var(--s-3) * -1);
  border-radius: var(--r-sm);
}
.fee-row-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}
.fee-row-desc {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.4;
}
.fee-row-value {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.015em;
  white-space: nowrap;
  text-align: right;
}
.fee-row-cap {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 400;
}
.fee-row.highlight .fee-row-cap { color: var(--accent); }

/* ═══ INTERACTIVE LAB SECTIONS ═════════════════════════════════════ */
.lab {
  min-height: auto;
  padding: var(--s-10) 0;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .lab { padding: var(--s-8) 0; }
}

.lab-head {
  max-width: 640px;
  margin-bottom: var(--s-8);
}
.lab-head h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: var(--s-4) 0 var(--s-5);
}
.lab-head h2 em { font-style: normal; color: var(--accent); }
.lab-head .muted { font-size: 1rem; line-height: 1.55; max-width: 540px; }

.lab-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: start;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
@media (max-width: 900px) {
  .lab-body { grid-template-columns: 1fr; padding: var(--s-5); gap: var(--s-5); }
}

/* Inputs used across labs */
.lab-input {
  width: 100%;
  height: 48px;
  padding: 0 var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 0.98rem;
  color: var(--text);
  transition: border-color var(--t-xs) var(--ease-out);
}
.lab-input:focus { border-color: var(--accent); outline: none; }
.lab-input::placeholder { color: var(--text-3); }

/* Shared slider */
.lab-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%;
  height: 2px;
  background: var(--line-2);
  border-radius: 1px;
  outline: none;
  margin: var(--s-3) 0 var(--s-2);
}
.lab-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px;
  background: var(--text);
  border-radius: 50%;
  cursor: grab;
  transition: transform 120ms var(--ease-out), background 200ms;
  box-shadow: 0 0 0 4px var(--black), 0 0 0 5px var(--accent-soft);
}
.lab-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); background: var(--accent); }
.lab-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  background: var(--text);
  border-radius: 50%;
  cursor: grab;
  border: 0;
  box-shadow: 0 0 0 4px var(--black), 0 0 0 5px var(--accent-soft);
}
.lab-slider-scale {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-3);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ─── 1. SCORE PLAYGROUND ─────────────────────────────────────── */
.lab-score {
  text-align: left;
  padding: var(--s-6);
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lab-score-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 14vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--accent);
  transition: color var(--t-lg) var(--ease-out);
}
.lab-score-number.warn { color: var(--watch); }
.lab-score-number.silent { color: var(--silent); }

.lab-score-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-top: var(--s-3);
  transition: color var(--t) var(--ease-out);
}

.lab-score-status {
  color: var(--text-3);
  margin-top: var(--s-3);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  max-width: 380px;
  line-height: 1.5;
}

.lab-controls { padding-top: var(--s-3); }
.lab-slider-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: var(--s-2);
}
.lab-slider-row .accent { font-size: 1.8rem; font-weight: 500; }

.lab-ladder {
  margin-top: var(--s-6);
  display: flex; flex-direction: column;
  gap: var(--s-3);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.lab-rung {
  display: flex; align-items: flex-start; gap: var(--s-3);
  padding: var(--s-2) 0;
  font-size: 0.9rem;
  color: var(--text-3);
  transition: color var(--t-sm) var(--ease-out);
}
.lab-rung strong { color: var(--text-2); font-weight: 500; font-family: var(--font-mono); }
.lab-rung-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-2);
  margin-top: 6px;
  flex-shrink: 0;
  transition: background var(--t-sm) var(--ease-out), transform var(--t-sm) var(--ease-out);
}
.lab-rung.active { color: var(--text); }
.lab-rung.active strong { color: var(--accent); }
.lab-rung.active .lab-rung-dot {
  background: var(--accent);
  transform: scale(1.4);
  box-shadow: 0 0 12px var(--accent);
}

/* ─── 2. INVITE COMPOSER ──────────────────────────────────────── */
.invite-form {
  display: flex; flex-direction: column;
  gap: var(--s-4);
}
.invite-field { display: flex; flex-direction: column; gap: var(--s-2); }
.invite-field .mono-label { margin: 0; }

.invite-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
}
.invite-role {
  padding: var(--s-3) var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-align: left;
  cursor: pointer;
  transition: all var(--t-sm) var(--ease-out);
  display: flex; flex-direction: column;
  gap: 2px;
}
.invite-role:hover { border-color: var(--line-hi); }
.invite-role.selected {
  border-color: var(--accent);
  background: var(--accent-haze);
}
.invite-role .ir-name { font-weight: 500; font-size: 0.95rem; color: var(--text); }
.invite-role .ir-desc { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3); letter-spacing: 0.1em; }
@media (max-width: 600px) { .invite-roles { grid-template-columns: 1fr; } }

.invite-output {
  display: flex; flex-direction: column;
  gap: var(--s-4);
}
.invite-result {
  min-height: 220px;
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex; flex-direction: column;
  justify-content: center;
  word-break: break-all;
}
.invite-result-empty { opacity: 0.55; text-align: center; }
.invite-result-empty .mono-label { display: block; margin-bottom: var(--s-2); }
.invite-result.populated {
  background: linear-gradient(135deg, var(--accent-haze), var(--black));
  border-color: var(--accent-soft);
}
.invite-result-from {
  display: flex; align-items: center; gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.invite-result-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; color: var(--black);
  font-size: 0.85rem;
}
.invite-result-body { font-size: 0.95rem; color: var(--text-2); margin-bottom: var(--s-4); }
.invite-result-body strong { color: var(--text); font-weight: 500; }
.invite-result-link {
  background: var(--black);
  border: 1px dashed var(--line-hi);
  padding: var(--s-3);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  cursor: pointer;
  transition: background var(--t-xs) var(--ease-out);
  word-break: break-all;
}
.invite-result-link:hover { background: var(--surface); }
.invite-result-copy-hint {
  margin-top: var(--s-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-3);
  letter-spacing: 0.15em;
  text-align: center;
}
.invite-result-copy-hint.copied { color: var(--alive); }

/* ─── 3. PETITION SIMULATOR ──────────────────────────────────── */
.petition-sim {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
@media (max-width: 900px) { .petition-sim { padding: var(--s-5); } }

.sim-steps {
  list-style: none;
  display: flex; flex-direction: column;
  gap: var(--s-2);
  padding: 0;
  margin: 0 0 var(--s-6);
  counter-reset: step;
}
.sim-step {
  display: flex; gap: var(--s-5);
  align-items: flex-start;
  padding: var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  opacity: 0.4;
  transition: all var(--t) var(--ease-out);
}
.sim-step.active { opacity: 1; border-color: var(--accent); }
.sim-step.done { opacity: 0.75; }
.sim-step.done .sim-num { background: var(--accent); color: var(--black); }
.sim-step.active .sim-num {
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 0 0 6px rgba(167,139,250,0.1);
}
.sim-num {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 500;
  flex-shrink: 0;
  transition: all var(--t) var(--ease-out);
}
.sim-body { flex: 1; min-width: 0; }
.sim-title {
  font-size: 1.02rem;
  font-weight: 500;
  margin-bottom: var(--s-2);
}
.sim-detail {
  font-size: 0.88rem;
  color: var(--text-3);
  line-height: 1.55;
}
.sim-who { color: var(--text-2); font-weight: 500; }

.sim-commits, .sim-reveals {
  display: flex; gap: var(--s-2);
  margin-top: var(--s-3);
  flex-wrap: wrap;
}
.sim-vote {
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-3);
  display: flex; align-items: center; gap: var(--s-2);
  transition: all var(--t) var(--ease-out);
}
.sim-vote.sealed { color: var(--accent); border-color: var(--accent-soft); }
.sim-vote.approve { color: var(--alive); border-color: rgba(52,211,153,0.3); background: var(--alive-soft); }
.sim-vote.reject { color: var(--silent); border-color: rgba(248,113,113,0.3); background: var(--silent-soft); }
.sim-vote-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}

.sim-challenge-bar {
  height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
  margin-top: var(--s-2);
  margin-bottom: var(--s-2);
}
.sim-challenge-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 100ms linear;
}

.sim-actions {
  display: flex; gap: var(--s-2);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

/* ─── 4. MESSAGE COMPOSER ────────────────────────────────────── */
.voice-body { gap: var(--s-5); }
.voice-input { display: flex; flex-direction: column; gap: var(--s-3); }
.voice-textarea {
  min-height: 280px;
  padding: var(--s-5);
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  resize: vertical;
  transition: border-color var(--t-xs) var(--ease-out);
}
.voice-textarea:focus { border-color: var(--accent); outline: none; }
.voice-meta {
  display: flex; justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.voice-preview {
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex; flex-direction: column;
  gap: var(--s-4);
  min-height: 320px;
  position: relative;
}
.voice-preview-head {
  display: flex; align-items: center; gap: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.voice-preview-name { font-weight: 500; font-size: 0.95rem; }
.voice-preview-sub { font-size: 0.72rem; letter-spacing: 0.1em; }

.voice-preview-body {
  flex: 1;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  white-space: pre-wrap;
  word-wrap: break-word;
}
.voice-preview-foot {
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  word-break: break-all;
}

/* ─── 5. ECONOMICS TILES — "how Lazarus earns" ──────────────── */
.econ-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-7);
}
.econ-tile {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; flex-direction: column;
  gap: var(--s-2);
  transition: border-color var(--t-xs) var(--ease-out);
}
.econ-tile:hover { border-color: var(--line-hi); }
.econ-tile .econ-num {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--accent);
}
.econ-tile .econ-head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-top: var(--s-1);
}
.econ-tile .econ-sub {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .econ-tiles { grid-template-columns: 1fr; }
}

.fee-calc-lead {
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.22em;
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

/* ─── 5. FEE CALCULATOR ──────────────────────────────────────── */
.fee-calc {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
@media (max-width: 900px) { .fee-calc { padding: var(--s-5); } }

.fee-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
  margin-bottom: var(--s-7);
}
@media (max-width: 600px) { .fee-types { grid-template-columns: 1fr; } }

.fee-type {
  padding: var(--s-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-align: left;
  cursor: pointer;
  transition: all var(--t-sm) var(--ease-out);
  display: flex; flex-direction: column;
  gap: 6px;
}
.fee-type:hover { border-color: var(--line-hi); }
.fee-type.selected { border-color: var(--accent); background: var(--accent-haze); }
.fee-type .ft-name { font-weight: 500; font-size: 0.98rem; }
.fee-type .ft-rate { font-size: 0.82rem; color: var(--text-3); }
.fee-type.selected .ft-rate { color: var(--accent); }

.fee-slider-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-2); }
.fee-amount { font-size: 2rem; font-weight: 500; }

.fee-result {
  margin-top: var(--s-6);
  padding: var(--s-5);
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.fee-result-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: var(--s-3) 0;
}
.fee-result-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.fee-result-row--minor { padding: var(--s-2) 0; }
.fee-result-row--minor .dim { font-size: 0.78rem; }
.fee-net { font-size: 2rem; font-weight: 500; color: var(--alive); }
.fee-value { font-size: 1.1rem; font-weight: 500; color: var(--text-3); }
.fee-bps-label { color: var(--text-4); font-size: 0.78rem; }
.fee-result.capped { border-color: var(--accent); box-shadow: 0 0 40px var(--accent-soft); }
.fee-result.capped .fee-value { color: var(--accent); animation: cap-flash 0.6s var(--ease-out); }
@keyframes cap-flash {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); color: #fff; }
  100% { transform: scale(1); }
}

.fee-note {
  margin-top: var(--s-5);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-align: center;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}

/* Click feedback on anything interactive inside a lab */
.invite-role:active, .fee-type:active, .sim-step:active { transform: scale(0.995); }

/* ─── 6. TRUST BADGE SECTION ──────────────────────────────────── */
.badge-act { padding-top: var(--s-9); padding-bottom: var(--s-9); }
.badge-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s-8);
  align-items: start;
}
.badge-copy h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: var(--s-3) 0 var(--s-4);
}
.badge-copy h2 em { font-style: normal; color: var(--accent); }
.badge-copy p.muted { max-width: 54ch; font-size: 1rem; line-height: 1.65; margin-bottom: var(--s-6); }

.badge-points {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.badge-point {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  transition: border-color var(--t-xs) var(--ease-out);
}
.badge-point:hover { border-color: var(--line-hi); }
.badge-point-n {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--accent);
  min-width: 28px;
  padding-top: 2px;
}
.badge-point-head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.badge-point-sub {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.55;
}

.badge-preview-wrap {
  position: sticky;
  top: 100px;
}
.badge-preview-frame {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.badge-preview-label {
  font-size: 0.68rem;
  color: var(--text-3);
  margin-bottom: var(--s-4);
  letter-spacing: 0.22em;
}
.badge-card {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: #030306;
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: var(--r);
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-5);
}
.badge-card-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-deep));
  box-shadow: 0 0 24px var(--accent);
  position: relative;
  flex-shrink: 0;
}
.badge-card-mark::after {
  content: ''; position: absolute; inset: 3px;
  border-radius: 50%; background: #000;
}
.badge-card-mark::before {
  content: ''; position: absolute; inset: 10px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.badge-card-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  font-size: 0.94rem;
}
.badge-card-sub {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--text-3);
  margin-top: 3px;
}
.badge-embed {
  background: #000;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: var(--s-4);
  font-size: 0.74rem;
  color: var(--text-3);
  line-height: 1.75;
  word-break: break-all;
}
@media (max-width: 1000px) {
  .badge-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .badge-preview-wrap { position: static; }
}

/* ═══ 7. SECURITY ACT — guarantees + comparison ═══════════════════════ */
.act-security {
  background: var(--black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 3;
  padding: var(--s-10) 0;
  min-height: auto;
  align-items: flex-start;
}
.act-security .lab-head {
  max-width: 720px;
  margin-bottom: var(--s-8);
}
.act-security .lab-head h2 em { font-style: normal; color: var(--accent); }

/* Reframed manifesto — still keeps .manifesto selectors so the
   ScrollTrigger in marketing.js continues to light each phrase. */
.manifesto-block {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-8);
}
.manifesto-block .mono-label {
  margin-bottom: var(--s-5);
  color: var(--accent);
}
.act-security .manifesto {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: left;
  max-width: 960px;
}
.act-security .manifesto > span {
  display: inline;
  color: var(--text-3);
  transition: color var(--t-lg) var(--ease-out);
  cursor: pointer;
}
.act-security .manifesto > span:hover { color: var(--accent); }
.act-security .manifesto > span.lit { color: var(--text); }
.act-security .manifesto em { font-style: normal; color: var(--accent); }

/* Four guarantee panels */
.guarantees {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}
.guarantee {
  padding: var(--s-6);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color var(--t-sm) var(--ease-out), transform var(--t-sm) var(--ease-out);
}
.guarantee:hover {
  border-color: var(--line-hi);
  transform: translateY(-2px);
}
.guarantee-num {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: var(--s-3);
}
.guarantee-head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: var(--s-2);
}
.guarantee-sub {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.6;
}
.guarantee-sub em {
  font-style: normal;
  color: var(--accent);
}
@media (max-width: 700px) {
  .guarantees { grid-template-columns: 1fr; }
  .guarantee { padding: var(--s-5); }
}

/* Comparison strip */
.compare {
  padding-top: var(--s-7);
  border-top: 1px solid var(--line);
}
.compare-head {
  margin-bottom: var(--s-5);
  max-width: 640px;
}
.compare-head .mono-label { margin-bottom: var(--s-3); }
.compare-head .muted { font-size: 0.95rem; line-height: 1.6; color: var(--text-2); }
.compare-head em { font-style: normal; color: var(--accent); }

.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.94rem;
}
.compare-table thead th {
  text-align: left;
  padding: var(--s-3) var(--s-4);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  border-bottom: 1px solid var(--line-2);
}
.compare-table thead th.compare-us {
  color: var(--accent);
}
.compare-table tbody td {
  padding: var(--s-4);
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  vertical-align: top;
  line-height: 1.45;
  transition: background var(--t-sm) var(--ease-out);
}
.compare-table tbody td:first-child {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  width: 22%;
  white-space: nowrap;
  text-transform: uppercase;
}
.compare-table tbody td.compare-us {
  color: var(--text);
  font-weight: 500;
}
.compare-table tbody tr:hover td {
  background: var(--accent-wash);
}
.compare-table tbody tr:hover td.compare-us {
  background: var(--accent-haze);
}
.compare-table tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 700px) {
  .act-security { padding: var(--s-8) 0; }
  .compare-table { font-size: 0.86rem; }
  .compare-table thead th,
  .compare-table tbody td { padding: var(--s-3); }
  .compare-table tbody td:first-child { font-size: 0.7rem; }
}

/* ═══ 8. FAQ — native <details> accordion ═══════════════════════════ */
.act-faq {
  background: var(--ink);
  position: relative;
  z-index: 3;
  padding: var(--s-10) 0;
  border-bottom: 1px solid var(--line);
}
.act-faq .wrap-md { width: 100%; }
.faq-head { margin-bottom: var(--s-8); text-align: left; }
.faq-head .mono-label { margin-bottom: var(--s-3); }
.faq-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 700;
  font-family: var(--font-display);
}
.faq-head h2 em { font-style: normal; color: var(--accent); }

.faq-list { display: flex; flex-direction: column; gap: var(--s-2); }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  transition: border-color var(--t-sm) var(--ease-out), background var(--t-sm) var(--ease-out);
  overflow: hidden;
}
.faq-item:hover { border-color: var(--line-hi); }
.faq-item[open] {
  border-color: var(--accent-soft);
  background: var(--accent-haze);
}
.faq-item summary {
  list-style: none;
  padding: var(--s-5) var(--s-6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color var(--t-xs) var(--ease-out);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text-3);
  transition: transform var(--t-sm) var(--ease-out), color var(--t-sm) var(--ease-out);
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: '−';
  color: var(--accent);
}
.faq-item:hover summary { color: var(--accent); }

.faq-a {
  padding: 0 var(--s-6) var(--s-5);
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 68ch;
}
.faq-a em { font-style: normal; color: var(--accent); }
.faq-a code {
  padding: 2px 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--accent);
  font-family: var(--font-mono);
}

@media (max-width: 700px) {
  .act-faq { padding: var(--s-8) 0; }
  .faq-item summary { padding: var(--s-4) var(--s-5); font-size: 0.98rem; gap: var(--s-3); }
  .faq-a { padding: 0 var(--s-5) var(--s-4); font-size: 0.93rem; }
}

/* ═══ FOOTER ROADMAP STRIP ══════════════════════════════════════════ */
.footer-roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding: var(--s-5) 0 var(--s-7);
  margin-bottom: var(--s-6);
  border-bottom: 1px solid var(--line);
}
.roadmap-item {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  padding: var(--s-2) 0;
  position: relative;
}
.roadmap-item::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-hi);
  opacity: 0;
  transition: opacity var(--t-sm) var(--ease-out);
}
.roadmap-n {
  font-size: 0.66rem;
  letter-spacing: 0.25em;
  color: var(--text-3);
  padding-top: 4px;
  min-width: 20px;
}
.roadmap-phase {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.3;
}
.roadmap-state {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--text-3);
}
.roadmap-item.shipped .roadmap-state { color: var(--alive); }
.roadmap-item.shipped .roadmap-n { color: var(--alive); }
.roadmap-item.active .roadmap-state { color: var(--accent); }
.roadmap-item.active .roadmap-n { color: var(--accent); }

@media (max-width: 900px) {
  .footer-roadmap { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
}
@media (max-width: 520px) {
  .footer-roadmap { grid-template-columns: 1fr; gap: var(--s-3); padding-bottom: var(--s-5); }
}

/* Pre-launch legal note (replaces dead Privacy/Terms/Disclosures) */
.footer-legal-note {
  color: var(--text-3);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
