:root {
  --bg: #08111f;
  --bg-2: #0d1730;
  --panel: rgba(11, 22, 41, 0.72);
  --panel-strong: rgba(9, 18, 36, 0.88);
  --line: rgba(143, 170, 221, 0.16);
  --line-strong: rgba(143, 170, 221, 0.28);
  --text: #eef5ff;
  --muted: #9eb0d1;
  --cyan: #34c9e4;
  --gold: #f8c33c;
  --violet: #9c8cff;
  --good: #78f2c7;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 20%, rgba(52, 201, 228, 0.12), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(248, 195, 60, 0.11), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(156, 140, 255, 0.09), transparent 32%),
    linear-gradient(180deg, #07101d 0%, #08111f 48%, #060b14 100%);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  top: -9999px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--bg);
  color: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 14px;
  background: #060b14;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-left: 1px solid rgba(143, 170, 221, 0.08);
}

::-webkit-scrollbar-thumb {
  background: rgba(143, 170, 221, 0.15);
  border: 3px solid transparent;
  background-clip: content-box;
  border-radius: 99px;
  min-height: 40px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(52, 201, 228, 0.35), rgba(156, 140, 255, 0.28));
  background-clip: content-box;
}

::-webkit-scrollbar-corner {
  background: #060b14;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

canvas {
  display: block;
}

.shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.noise,
.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -2;
}

.noise {
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  mix-blend-mode: soft-light;
}

.page-glow {
  z-index: -3;
  filter: blur(72px);
}

.page-glow-a {
  background: radial-gradient(circle at 20% 10%, rgba(52, 201, 228, 0.22), transparent 35%);
}

.page-glow-b {
  background: radial-gradient(circle at 85% 15%, rgba(248, 195, 60, 0.18), transparent 28%);
}

.frame {
  background: linear-gradient(160deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 2px 0 rgba(255,255,255,0.04) inset, var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(7, 14, 26, 0.96), rgba(7, 14, 26, 0.72));
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 1px 0 rgba(52, 201, 228, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(52, 201, 228, 0.22), 0 0 0 1px rgba(52, 201, 228, 0.1);
}

.brand span {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav > a:not(.button) {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 180ms ease;
  padding: 8px 10px;
}

.site-nav > a:not(.button):hover,
.site-nav > a:not(.button):focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 22px;
  min-height: 48px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  touch-action: manipulation;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Accessibility: Focus styles for links */
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.button.primary {
  color: #07111f;
  background: linear-gradient(135deg, #ffcf40, #f8c33c 45%, #ffd86e 78%, #fff0b8 100%);
  box-shadow: 0 8px 24px rgba(248, 195, 60, 0.28), 0 1px 0 rgba(255,255,255,0.35) inset;
}

.button.primary:hover {
  box-shadow: 0 14px 36px rgba(248, 195, 60, 0.38), 0 1px 0 rgba(255,255,255,0.35) inset;
}

.button.ghost {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: var(--line-strong);
}

.button.ghost:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(143, 170, 221, 0.38);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}

.hero {
  padding: 88px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 48px;
  align-items: center;
}

.eyebrow-row,
.eyebrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  color: rgba(162, 238, 253, 0.9);
  background: rgba(52, 201, 228, 0.08);
  border: 1px solid rgba(52, 201, 228, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  font-weight: 800;
}

.section-head > .eyebrow {
  width: fit-content;
}

.hero h1,
.section-head h2,
.final-cta h2 {
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(2.9rem, 7vw, 5.9rem);
  max-width: 12ch;
  line-height: 0.95;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, #dffcff 30%, var(--gold) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead,
.section-head p,
.feature-card p,
.list-card li {
  color: var(--muted);
}
.metric p,
.faq-answer p,
.trust-card p,
.cta-card p {
  color: var(--muted);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.72;
  max-width: 56ch;
  color: rgba(158, 176, 209, 0.92);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 28px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(143, 170, 221, 0.12);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: border-color 200ms ease, background 200ms ease;
}

.hero-points li:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(143, 170, 221, 0.2);
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  box-shadow: 0 0 18px rgba(248, 195, 60, 0.5);
}

.hero-panel {
  border-radius: calc(var(--radius) + 4px);
  padding: 16px;
  overflow: hidden;
}

.panel-topbar {
  display: flex;
  gap: 8px;
  padding-bottom: 14px;
}

.panel-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

.panel-topbar span:nth-child(1) { background: rgba(255, 111, 111, 0.75); }
.panel-topbar span:nth-child(2) { background: rgba(255, 213, 93, 0.85); }
.panel-topbar span:nth-child(3) { background: rgba(93, 255, 178, 0.8); }

.companion-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 420px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(circle at 50% 50%, rgba(156, 140, 255, 0.12), transparent 28%),
    radial-gradient(circle at 28% 30%, rgba(52, 201, 228, 0.18), transparent 22%),
    radial-gradient(circle at 72% 28%, rgba(248, 195, 60, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(12, 24, 45, 0.96), rgba(7, 13, 24, 0.98));
}

#heroOrb,
#labCanvas {
  width: 100%;
  height: 100%;
  touch-action: none; /* Prevent scrolling when interacting with canvas */
}

.hero-status {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  min-width: 140px;
  border-radius: 18px;
  background: rgba(6, 12, 23, 0.68);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-status strong {
  font-size: 1rem;
}

.hero-status small,
.status-label,
.lab-stats span,
.metric span,
.stack-kicker {
  color: var(--muted);
}

.status-label,
.stack-kicker {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.7rem;
  font-weight: 800;
}

.hero-status-a { left: 16px; top: 16px; }
.hero-status-b { right: 16px; top: 16px; }
.hero-status-c { left: 16px; bottom: 16px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.trust-card,
.feature-card,
.system-card,
.honesty-card,
.metric,
.lab-stats,
.cta-card,
.faq-item {
  border-radius: var(--radius-sm);
}

.trust-card {
  padding: 22px 20px;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.trust-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.trust-card strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.system-card h3,
.honesty-card h3,
.faq-question,
.cta-card h2 {
  letter-spacing: -0.03em;
}

.section {
  padding: 96px 0;
}

.alt-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.split-layout .section-head {
  position: sticky;
  top: 120px;
  margin-bottom: 0;
}

.section-head h2 {
  margin: 16px 0 16px;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  max-width: 14ch;
  line-height: 1.0;
}

.section-head p {
  max-width: 58ch;
  line-height: 1.75;
  font-size: 1.04rem;
  color: rgba(158, 176, 209, 0.88);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 26px 24px;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.feature-card p {
  margin: 0;
  line-height: 1.68;
  font-size: 0.95rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
  inset: 0;
}

.feature-icon::before {
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent 60%);
}

.feature-icon::after {
  inset: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
}

.feature-icon.cyan { background: radial-gradient(circle at 30% 30%, #9ef8ff, var(--cyan)); }
.feature-icon.gold { background: radial-gradient(circle at 30% 30%, #fff3bc, var(--gold)); }
.feature-icon.violet { background: radial-gradient(circle at 30% 30%, #d4ceff, var(--violet)); }

.lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
}

.mode-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.mode-button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.mode-button:hover,
.mode-button:focus-visible,
.mode-button.active {
  transform: translateY(-1px);
  border-color: rgba(52, 201, 228, 0.35);
  background: rgba(52, 201, 228, 0.14);
}

.mode-button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.lab-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
}

.lab-stats strong {
  display: block;
  margin-top: 3px;
}

.lab-canvas-wrap {
  overflow: hidden;
  min-height: 520px;
  padding: 10px;
}

#labCanvas {
  border-radius: 24px;
  min-height: 500px;
  background:
    radial-gradient(circle at 25% 20%, rgba(52, 201, 228, 0.13), transparent 22%),
    radial-gradient(circle at 80% 18%, rgba(248, 195, 60, 0.12), transparent 16%),
    linear-gradient(180deg, rgba(11, 22, 41, 0.96), rgba(7, 13, 24, 0.98));
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.cards-stack {
  display: grid;
  gap: 16px;
}

.list-card {
  padding: 32px 36px;
  border-radius: var(--radius-sm);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.list-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.list-card header {
  margin-bottom: 20px;
}

.list-card h3 {
  margin: 6px 0 0;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.list-card ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  padding: 32px 22px;
  text-align: center;
  transition: border-color 220ms ease, transform 220ms ease;
}

.metric:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.metric strong {
  display: block;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.06em;
  margin: 10px 0 8px;
  background: linear-gradient(135deg, var(--text) 0%, rgba(248, 195, 60, 0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.metric p {
  font-size: 0.92rem;
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition: color 150ms ease;
}

.faq-question:hover {
  color: var(--cyan);
}

.faq-plus {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 220ms ease, color 220ms ease, border-color 220ms ease;
}

.faq-item.open .faq-plus {
  color: var(--cyan);
  border-color: rgba(52, 201, 228, 0.3);
}

.faq-item.open > .faq-question .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer > p {
  overflow: hidden;
  margin: 0;
  padding: 0 22px 0;
  line-height: 1.75;
  font-size: 0.97rem;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer > p {
  padding-bottom: 22px;
}

.cta-card {
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.02) 100%);
  border-color: var(--line-strong);
}

.cta-card h2 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  max-width: 14ch;
  line-height: 1.0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding: 36px 0 52px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.2));
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
}

.footer-links a {
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 90ms; }
.delay-2 { transition-delay: 170ms; }
.delay-3 { transition-delay: 240ms; }

@media (max-width: 1100px) {
  .hero-grid,
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-layout .section-head {
    position: static;
    margin-bottom: 0;
  }

  .section-head h2,
  .cta-card h2,
  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
    min-height: 48px;
    min-width: 48px;
  }

  .site-nav {
    position: fixed;
    inset: 76px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    border-radius: 22px;
    background: #0b1321;
    border: 1px solid var(--line-strong);
    box-shadow: 0 20px 80px rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 250ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 100;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-nav > a:not(.button) {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 1.1rem;
    text-align: center;
  }

  .site-nav > a:last-of-type {
    margin-top: 12px;
  }


  .companion-stage {
    min-height: 360px;
  }

  .hero-status {
    min-width: unset;
    max-width: 50%;
  }

  .cta-card,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-card {
    padding: 32px 24px;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 32px;
  }

  .section {
    padding: 64px 0;
  }

  /* Improved Grid Stacking for Mobile */
  .feature-grid,
  .metrics-grid,
  .trust-strip,
  .lab-stats,
  .cards-stack,
  .mode-buttons {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .mode-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  
  .mode-button {
    width: 100%;
    text-align: center;
  }
  
  .mode-button:last-child {
    grid-column: span 2;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }
  
  .section-head {
    margin-bottom: 28px;
  }

  .section-head h2 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-status {
    max-width: calc(100% - 32px);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .hero-status-b {
    top: auto;
    right: 16px;
    bottom: 84px;
  }
  
  .list-card {
    padding: 24px;
  }
  .companion-stage, 
  .lab-canvas-wrap {
    min-height: 320px;
  }
  
  #labCanvas, #heroOrb {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
