:root {
  --bg: #050308;
  --bg-soft: #0c0912;
  --bg-panel: #151021;
  --bg-panel-strong: #1d152c;
  --surface: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(179, 143, 255, 0.3);
  --text: #fbf8ff;
  --muted: #c2b9d7;
  --purple: #8d5cff;
  --purple-bright: #b38fff;
  --purple-soft: #5a3bb2;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(141, 92, 255, 0.16), transparent 28%),
    radial-gradient(circle at left center, rgba(179, 143, 255, 0.12), transparent 24%),
    var(--bg);
  color: var(--text);
  line-height: 1.68;
  overflow-x: hidden;
}

body.is-dragging {
  user-select: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5, 3, 8, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 78px;
}

.brand-shell,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 4px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(179, 143, 255, 0.16), rgba(141, 92, 255, 0.05));
  border: 1px solid rgba(179, 143, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 34px rgba(109, 67, 223, 0.2);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 14px rgba(179, 143, 255, 0.24));
}

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

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

.main-nav a {
  padding: 6px 0;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.inline-link:hover,
.inline-link:focus-visible {
  color: var(--white);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 0 14px;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.button i,
.nav-toggle i,
.tab-button i,
.problem-card i {
  width: 18px;
  height: 18px;
}

.button-primary {
  background: linear-gradient(135deg, var(--purple-bright), var(--purple));
  color: var(--white);
  box-shadow: 0 16px 36px rgba(141, 92, 255, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #c09eff, #9d72ff);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  min-height: 96vh;
  overflow: clip;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(5, 3, 8, 0.92) 0%, rgba(5, 3, 8, 0.76) 45%, rgba(5, 3, 8, 0.55) 100%),
    url("https://images.unsplash.com/photo-1666214280577-5f90bc36be92?auto=format&fit=crop&fm=jpg&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&ixlib=rb-4.1.0&q=80&w=1920") center/cover no-repeat;
  transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.06);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(5, 3, 8, 0) 0%, rgba(5, 3, 8, 0.2) 48%, rgba(5, 3, 8, 0.78) 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.64fr);
  gap: 40px;
  align-items: end;
  padding: 126px 0 78px;
}

.hero-copy {
  display: grid;
  gap: 26px;
  min-width: 0;
  padding: 54px 0;
  transform: translate3d(0, var(--parallax-offset, 0px), 0);
}

.eyebrow {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--purple-bright);
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 6vw, 6rem);
}

.hero-lead {
  max-width: 60ch;
  margin: 0;
  color: #e8e0f6;
  font-size: 1.08rem;
}

.hero-actions,
.hero-chips,
.cta-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-chips span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ede7fb;
}

.hero-console {
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(10, 8, 15, 0.86);
  border: 1px solid rgba(179, 143, 255, 0.18);
  box-shadow: var(--shadow);
  transform: translate3d(0, var(--parallax-offset, 0px), 0);
  overflow: hidden;
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: -20% auto -20% -30%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: rotate(14deg);
  animation: consoleSweep 7s ease-in-out infinite;
  pointer-events: none;
}

.console-top {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.console-grid {
  display: grid;
  gap: 14px;
}

.console-grid article {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.console-grid strong {
  display: block;
  margin-bottom: 6px;
}

.console-grid p,
.section-heading p:last-child,
.problem-card p,
.panel-copy p,
.panel-grid p,
.audience-card p,
.comparison-card li,
.timeline-card p,
.story-copy p,
.story-facts p,
.faq-list p,
.cta-shell p,
.site-footer p,
.stat-band p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 122px 0;
}

.section-dark,
.section-cta {
  background: linear-gradient(180deg, rgba(15, 10, 23, 0.92), rgba(8, 5, 13, 0.94));
}

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

.stat-band article {
  padding: 28px 24px;
  border-top: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  min-height: 100%;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.stat-band article:hover {
  transform: translateY(-4px);
  border-top-color: rgba(179, 143, 255, 0.52);
  background: rgba(255, 255, 255, 0.04);
}

.stat-band strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

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

.section-heading {
  max-width: 760px;
  min-width: 0;
}

.section-heading.narrow {
  max-width: 720px;
}

.section-heading h2 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.section-heading p:last-child {
  margin-top: 18px;
  max-width: 64ch;
  font-size: 1.03rem;
}

.problem-stack {
  display: grid;
  gap: 18px;
}

.problem-card {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
}

.problem-card i {
  margin-top: 4px;
  color: var(--purple-bright);
}

.problem-card h3,
.panel-copy h3,
.audience-card h3,
.timeline-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.tabs-shell {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin-top: 12px;
}

.tab-list {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 108px;
}

.tab-button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  width: 100%;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.tab-button:hover,
.tab-button:focus-visible {
  transform: translateY(-1px);
  color: var(--white);
  background: linear-gradient(135deg, rgba(141, 92, 255, 0.22), rgba(141, 92, 255, 0.08));
  border-color: rgba(179, 143, 255, 0.28);
}

.tab-panels {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.tab-panel {
  display: grid;
  gap: 28px;
  padding: 30px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--bg-panel-strong);
  border: 1px solid rgba(179, 143, 255, 0.18);
  box-shadow: var(--shadow);
  animation: panelFade 280ms ease;
  scroll-margin-top: 92px;
  transition: transform 240ms ease, border-color 240ms ease;
}

.tab-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(179, 143, 255, 0.3);
}

.panel-tag {
  margin: 0 0 12px;
  color: var(--purple-bright);
  font-size: 0.82rem;
  font-weight: 700;
}

.panel-copy {
  max-width: 70ch;
}

.panel-copy .bullet-list {
  max-width: 56ch;
}

.bullet-list {
  margin: 20px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
}

.panel-grid,
.audience-grid,
.comparison-grid,
.timeline-grid,
.story-facts,
.footer-inner {
  display: grid;
  gap: 20px;
}

.panel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-grid article,
.audience-card,
.comparison-card,
.timeline-card,
.story-facts article {
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.panel-grid article:hover,
.audience-card:hover,
.comparison-card:hover,
.timeline-card:hover,
.story-facts article:hover,
.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(179, 143, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.panel-grid strong,
.comparison-card span,
.timeline-card span,
.story-facts strong {
  display: block;
  margin-bottom: 8px;
}

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 42px;
  align-items: start;
}

.comparison-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comparison-card span {
  font-weight: 700;
}

.comparison-card-positive {
  border-color: rgba(179, 143, 255, 0.34);
  background: rgba(141, 92, 255, 0.08);
}

.comparison-card-negative {
  border-color: rgba(255, 255, 255, 0.08);
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.timeline-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(141, 92, 255, 0.14);
  border: 1px solid rgba(179, 143, 255, 0.24);
  color: var(--purple-bright);
  font-weight: 700;
  margin-bottom: 18px;
}

.business-flow .timeline-card {
  position: relative;
  overflow: hidden;
}

.business-flow .timeline-card::after {
  content: "";
  position: absolute;
  inset: auto -20% 0 auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(141, 92, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 40px;
  align-items: start;
}

.story-copy {
  max-width: 760px;
  display: grid;
  gap: 18px;
}

.story-facts {
  margin-top: 8px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 40px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 0 20px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 21px 0;
  font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  padding: 0 0 22px;
}

.legal-card {
  padding: 28px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.014)),
    rgba(12, 8, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.legal-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-soft);
}

.legal-card h3 {
  margin-bottom: 18px;
  font-size: 1.38rem;
}

.legal-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-list li {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.legal-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-list strong {
  color: var(--text-bright);
}

body.modal-open {
  overflow: hidden;
}

.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.cta-shell h2 {
  margin: 14px 0 16px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.section-actions {
  margin-top: 34px;
}

.inline-link {
  color: var(--purple-bright);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pulse-button {
  animation: pulseGlow 2.8s ease-in-out infinite;
}

.cursor-shell {
  display: none;
}

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  margin-bottom: 10px;
}

.legal-trigger {
  color: inherit;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.legal-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 3, 10, 0.78);
  backdrop-filter: blur(14px);
}

.legal-modal-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: min(86vh, 920px);
  overflow: auto;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(28, 18, 48, 0.98), rgba(10, 7, 16, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.legal-modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.legal-modal-header h3 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.legal-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-bright);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.legal-modal-close:hover {
  transform: translateY(-1px);
  border-color: rgba(179, 143, 255, 0.4);
  background: rgba(179, 143, 255, 0.1);
}

.legal-content {
  display: none;
}

.legal-content.is-active {
  display: block;
}

.legal-modal .legal-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.footer-inner {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-delay-1 {
  transition-delay: 80ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

.reveal-delay-3 {
  transition-delay: 240ms;
}

.reveal-delay-4 {
  transition-delay: 320ms;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 16px 36px rgba(141, 92, 255, 0.24);
  }
  50% {
    box-shadow: 0 18px 48px rgba(141, 92, 255, 0.42);
  }
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes consoleSweep {
  0%,
  100% {
    transform: translateX(-120%) rotate(14deg);
    opacity: 0;
  }
  20%,
  60% {
    opacity: 1;
  }
  70% {
    transform: translateX(420%) rotate(14deg);
    opacity: 0;
  }
}

@keyframes heartBeatCursor {
  0%,
  100% {
    transform: rotate(-45deg) scale(1);
  }
  14% {
    transform: rotate(-45deg) scale(1.12);
  }
  28% {
    transform: rotate(-45deg) scale(0.96);
  }
  42% {
    transform: rotate(-45deg) scale(1.18);
  }
  70% {
    transform: rotate(-45deg) scale(1);
  }
}

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }

  a,
  button,
  .tab-button,
  summary {
    cursor: none;
  }

  .cursor-shell {
      display: block;
      pointer-events: none;
      position: fixed;
      inset: 0;
      z-index: 220;
    }

  .cursor-ring,
  .cursor-core,
  .cursor-invert {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 999px;
    pointer-events: none;
    will-change: transform, opacity;
  }

  .cursor-ring {
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 1px solid rgba(179, 143, 255, 0.65);
    box-shadow: 0 0 24px rgba(141, 92, 255, 0.24);
    background: rgba(141, 92, 255, 0.06);
    transition: width 180ms ease, height 180ms ease, margin 180ms ease, opacity 180ms ease;
  }

  .cursor-core {
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    display: grid;
    place-items: center;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .cursor-heart {
    position: relative;
    width: 11px;
    height: 11px;
    background: linear-gradient(135deg, #f6f2ff, var(--purple-bright));
    transform: rotate(-45deg);
    animation: heartBeatCursor 1.3s ease-in-out infinite;
    box-shadow: 0 0 18px rgba(179, 143, 255, 0.42);
  }

  .cursor-heart::before,
  .cursor-heart::after {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: inherit;
  }

  .cursor-heart::before {
    top: -5.5px;
    left: 0;
  }

  .cursor-heart::after {
    left: 5.5px;
    top: 0;
  }

  .cursor-invert {
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    background: #ffffff;
    mix-blend-mode: difference;
    opacity: 0;
    filter: blur(0.4px);
    transition: width 180ms ease, height 180ms ease, margin 180ms ease, opacity 180ms ease;
  }

  body.cursor-hover .cursor-ring {
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-color: rgba(255, 255, 255, 0.82);
  }

  body.cursor-hover .cursor-core {
    transform: scale(1.12);
  }

  body.is-dragging .cursor-invert {
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    opacity: 1;
  }

  body.is-dragging .cursor-ring {
    opacity: 0.18;
  }
}

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

  .reveal,
  .reveal-left,
  .reveal-right,
  .pulse-button,
  .tab-panel,
  .button,
  .hero-console::before,
  .cursor-heart {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  .hero-layout,
  .editorial-grid,
  .split-band,
  .story-layout,
  .faq-layout,
  .cta-shell,
  .tabs-shell {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    align-items: start;
  }

  .tab-list {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audience-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    background: rgba(5, 3, 8, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header .button {
    display: none;
  }

  .stat-band,
  .panel-grid,
  .comparison-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-console {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  .header-inner {
    min-height: 72px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    transform: translate3d(0, 0, 0);
  }

  .hero-layout {
    gap: 30px;
    padding: 102px 0 58px;
  }

  .hero-copy {
    gap: 22px;
    padding: 28px 0 0;
  }

  .hero h1 {
    max-width: 8.8ch;
    font-size: 2.55rem;
  }

  .legal-modal {
    padding: 14px;
  }

  .legal-modal-dialog {
    padding: 22px 18px;
  }

  .legal-modal-header {
    align-items: center;
  }

  .hero-lead,
  .section-heading p:last-child,
  .problem-card p,
  .panel-copy p,
  .panel-grid p,
  .audience-card p,
  .timeline-card p,
  .story-copy p,
  .faq-list p,
  .cta-shell p {
    font-size: 0.99rem;
  }

  .hero-actions .button,
  .cta-actions .button,
  .section-actions .button {
    width: 100%;
  }

  .hero-chips {
    gap: 10px;
  }

  .section {
    padding: 96px 0;
  }

  .section h2,
  .cta-shell h2 {
    font-size: 2rem;
    line-height: 1.04;
  }

  .section-heading p:last-child,
  .panel-copy,
  .story-copy {
    max-width: none;
  }

  .tab-list,
  .audience-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .tab-panel {
    padding: 24px 18px;
  }

  .problem-card,
  .tab-button,
  .audience-card,
  .comparison-card,
  .timeline-card,
  .story-facts article,
  .panel-grid article {
    padding-inline: 18px;
  }

  .section-actions {
    margin-top: 28px;
  }
}
