:root {
  --bg: #07101d;
  --panel: rgba(10, 16, 30, 0.9);
  --panel-2: rgba(17, 27, 47, 0.96);
  --panel-soft: rgba(8, 13, 24, 0.7);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #edf3ff;
  --muted: #9db0d0;
  --shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 40px rgba(2, 7, 18, 0.26);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content: min(1220px, calc(100vw - 48px));
  --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 18% 14%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 0 22%),
    radial-gradient(circle at 84% 10%, rgba(176, 137, 255, 0.11), transparent 0 24%),
    linear-gradient(180deg, #0b1427 0%, #070d18 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0%, transparent 40%, color-mix(in srgb, var(--accent) 10%, transparent) 50%, transparent 58%, transparent 100%),
    radial-gradient(circle at center, rgba(255,255,255,0.025), transparent 60%);
  opacity: 0.62;
  z-index: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.deck-shell {
  position: relative;
  z-index: 1;
  padding-bottom: 84px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 10, 19, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(2, 7, 18, 0.16);
}

.topbar-inner {
  width: var(--content);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, white));
  box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 18%, transparent);
  color: #07101d;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.brand-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.brand-copy span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.topnav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8, 13, 24, 0.6);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.slide {
  width: var(--content);
  margin: 0 auto;
  padding-top: 42px;
  scroll-margin-top: 96px;
}

.slide:not(.hero),
.cta-card {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  align-items: center;
}

.hero-panel,
.feature-card,
.showcase,
.cta-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 14%, transparent), transparent 34%);
  pointer-events: none;
}

.hero-copy,
.hero-showcase {
  position: relative;
  z-index: 1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  font-size: 12px;
  font-weight: 700;
  color: #d9e8ff;
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h1 span {
  display: block;
  color: #cfe4ff;
}

.lede {
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.72;
  color: #c7d8f6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, white));
  color: #07101d;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--accent) 22%, transparent);
}

.btn-secondary {
  background: rgba(8, 13, 24, 0.52);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-stat {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}

.hero-stat span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.showcase {
  padding: 18px;
  display: grid;
  gap: 18px;
}

.shot {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.shot-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 2px 0;
  font-size: 13px;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  color: #d7eaff;
  font-size: 12px;
  font-weight: 700;
}

.section-head {
  margin-bottom: 18px;
}

.section-head span {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0;
  max-width: 70ch;
  color: #c7d8f6;
  font-size: 17px;
}

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

.feature-card {
  padding: 20px;
  border-radius: 24px;
}

.card-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.12;
}

.feature-card p {
  margin: 0;
  color: #c6d6f0;
  font-size: 15px;
}

.cta-card {
  width: var(--content);
  margin: 42px auto 0;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.cta-card h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.05;
}

.cta-card p {
  margin: 0;
  color: #c6d6f0;
  max-width: 58ch;
}


.cta-copy {
  display: grid;
  gap: 16px;
}

.cta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #dce8ff;
  font-size: 12px;
  font-weight: 700;
}

.footer-note {
  width: var(--content);
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-panel,
  .cta-card,
  .shot-grid,
  .card-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
  }

  .topbar-inner {
    width: min(100% - 24px, var(--content));
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .slide,
  .cta-card,
  .footer-note {
    width: min(100% - 24px, var(--content));
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    padding: 22px;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 4.2rem);
  }

  .section-head p,
  .lede,
  .feature-card p,
  .cta-card p {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .deck-shell {
    padding-bottom: 56px;
  }

  .topnav {
    width: 100%;
    justify-content: flex-start;
  }

  .topnav a {
    padding: 9px 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .feature-card,
  .cta-card,
  .showcase,
  .hero-panel {
    border-radius: 24px;
  }

  .shot-caption,
  .footer-note {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  body::before {
    opacity: 0.4;
  }
}

.proof-strip {
  width: var(--content);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.proof-chip,
.story-card,
.signal-card,
.outcome-card {
  background: linear-gradient(180deg, rgba(18, 28, 48, 0.94), rgba(8, 13, 24, 0.9));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.proof-chip {
  padding: 16px 18px;
}

.proof-chip .label,
.story-card .label,
.signal-card .label,
.outcome-card .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.proof-chip strong,
.story-card strong,
.signal-card strong,
.outcome-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.proof-chip p,
.story-card p,
.signal-card p,
.outcome-card p {
  margin: 10px 0 0;
  color: #c6d6f0;
  font-size: 14px;
}

.split-grid,
.story-grid,
.signal-grid,
.outcome-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.story-card,
.signal-card,
.outcome-card {
  padding: 22px;
}

.mini-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #dce8ff;
}

.mini-list li + li {
  margin-top: 8px;
}

.anchor-card {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.anchor-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.anchor-card p {
  margin: 0;
  color: #c6d6f0;
  font-size: 14px;
}

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

@media (max-width: 980px) {
  .proof-strip,
  .split-grid,
  .story-grid,
  .signal-grid,
  .outcome-grid {
    grid-template-columns: 1fr;
  }
}

/* Cosmic Dala-inspired variant for investor + partner decks */
body.deck-cosmic {
  --bg: #000000;
  --panel: rgba(0, 0, 0, 0.76);
  --panel-2: rgba(0, 0, 0, 0.9);
  --panel-soft: rgba(0, 0, 0, 0.52);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #ffffff;
  --muted: #bdbdbd;
  --smoke: #9a9a9a;
  --amber: #ffb829;
  --lichen: #15846e;
  --shadow: none;
  --radius-xl: 24px;
  --radius-lg: 24px;
  --radius-md: 24px;
  --content: min(1200px, calc(100vw - 48px));
  --font: "Acronym", "Space Grotesk", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #000;
  color: var(--text);
}

body.deck-cosmic::before,
body.deck-cosmic::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body.deck-cosmic::before {
  background:
    url("./cosmic-drift.svg") center top / cover no-repeat,
    radial-gradient(circle at 18% 20%, rgba(128, 82, 255, 0.12), transparent 0 22%),
    radial-gradient(circle at 84% 18%, rgba(128, 82, 255, 0.08), transparent 0 24%),
    #000;
  opacity: 0.92;
}

body.deck-cosmic::after {
  background:
    radial-gradient(circle at 72% 22%, rgba(128, 82, 255, 0.16), transparent 0 12%),
    radial-gradient(circle at 78% 28%, rgba(21, 132, 110, 0.08), transparent 0 10%),
    radial-gradient(circle at 76% 30%, rgba(255, 184, 41, 0.06), transparent 0 11%);
  opacity: 0.95;
}

body.deck-cosmic .deck-shell {
  padding-bottom: 96px;
}

body.deck-cosmic .topbar {
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

body.deck-cosmic .topbar-inner {
  min-height: 88px;
  gap: 18px;
}

body.deck-cosmic .brand {
  gap: 16px;
}

body.deck-cosmic .brand-mark {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

body.deck-cosmic .brand-mark::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(128, 82, 255, 0.78);
  border-radius: 12px;
  transform: rotate(45deg);
}

body.deck-cosmic .eyebrow,
body.deck-cosmic .section-head span,
body.deck-cosmic .card-tag,
body.deck-cosmic .proof-chip .label,
body.deck-cosmic .story-card .label,
body.deck-cosmic .signal-card .label,
body.deck-cosmic .outcome-card .label,
body.deck-cosmic .hero-stat span {
  color: #fff;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

body.deck-cosmic .brand-copy strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.deck-cosmic .brand-copy span,
body.deck-cosmic .footer-note,
body.deck-cosmic .shot-caption,
body.deck-cosmic .proof-chip p,
body.deck-cosmic .story-card p,
body.deck-cosmic .signal-card p,
body.deck-cosmic .outcome-card p,
body.deck-cosmic .feature-card p,
body.deck-cosmic .cta-card p,
body.deck-cosmic .section-head p,
body.deck-cosmic .anchor-card p {
  color: var(--muted);
}

body.deck-cosmic .topnav {
  margin-left: auto;
  gap: 24px;
  align-items: center;
}

body.deck-cosmic .topnav a {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--smoke);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.021em;
  text-transform: uppercase;
}

body.deck-cosmic .topnav a:hover,
body.deck-cosmic .topnav a:focus-visible {
  color: #fff;
}

body.deck-cosmic .topbar-cta {
  min-height: 40px;
  padding: 0 16px;
}

body.deck-cosmic .slide {
  padding-top: 60px;
  scroll-margin-top: 110px;
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

body.deck-cosmic .hero {
  min-height: calc(100vh - 94px);
}

body.deck-cosmic .hero-panel,
body.deck-cosmic .feature-card,
body.deck-cosmic .showcase,
body.deck-cosmic .cta-card,
body.deck-cosmic .proof-chip,
body.deck-cosmic .story-card,
body.deck-cosmic .signal-card,
body.deck-cosmic .outcome-card,
body.deck-cosmic .anchor-card,
body.deck-cosmic .hero-stat,
body.deck-cosmic .shot {
  background: rgba(0, 0, 0, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  box-shadow: none;
}

body.deck-cosmic .hero-panel {
  grid-template-columns: minmax(280px, 0.78fr) minmax(460px, 1.22fr);
  gap: 18px;
  padding: 18px 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.deck-cosmic .hero-panel::before {
  display: none;
}

body.deck-cosmic .kicker {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.deck-cosmic h1 {
  margin: 16px 0 20px;
  max-width: 6.8ch;
  font-size: clamp(4.8rem, 8.8vw, 7.4rem);
  line-height: 0.82;
  letter-spacing: -0.05em;
  font-weight: 200;
  text-wrap: balance;
}

body.deck-cosmic h1 span {
  display: block;
}

body.deck-cosmic .lede {
  max-width: 28rem;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.025em;
  color: var(--muted);
}

body.deck-cosmic .hero-actions {
  margin-top: 30px;
  gap: 14px;
  flex-wrap: wrap;
}

body.deck-cosmic .btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

body.deck-cosmic .btn-primary {
  background: #8052ff;
  border-color: #8052ff;
  color: #fff;
}

body.deck-cosmic .btn-secondary {
  background: transparent;
  border-color: rgba(255, 184, 41, 0.7);
  color: #fff;
}

body.deck-cosmic .hero-stats {
  gap: 12px;
  margin-top: 36px;
}

body.deck-cosmic .hero-stat {
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.01);
}

body.deck-cosmic .hero-stat strong {
  font-size: 28px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 400;
}

body.deck-cosmic .showcase {
  --brain-focus: 0;
  --content-reveal: 0;
  --brain-presence: 1;
  --brain-depth: 1;
  position: relative;
  min-height: 700px;
  padding: 20px 20px 22px;
  border-color: rgba(255, 255, 255, 0.03);
  background: transparent;
  overflow: hidden;
}

body.deck-cosmic .showcase::before,
body.deck-cosmic .showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.deck-cosmic .showcase::before {
  background:
    radial-gradient(circle at 60% 36%, rgba(128, 82, 255, calc(0.18 + var(--brain-focus) * 0.16)), transparent 0 18%),
    radial-gradient(circle at 55% 38%, rgba(255, 255, 255, calc(0.05 + var(--brain-focus) * 0.09)), transparent 0 20%),
    #000;
  opacity: 1;
}

body.deck-cosmic .showcase::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.42) 28%, rgba(0, 0, 0, 0.04) 56%),
    radial-gradient(circle at 60% 36%, rgba(128, 82, 255, calc(0.1 + var(--brain-focus) * 0.16)), transparent 0 20%);
  mix-blend-mode: screen;
}

body.deck-cosmic .showcase > * {
  position: relative;
  z-index: 1;
}

body.deck-cosmic .brain-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  opacity: calc(0.28 + var(--brain-presence) * 0.72);
  transition: opacity 260ms ease;
}

body.deck-cosmic .brain-silhouette {
  display: none;
}

body.deck-cosmic .showcase-copy {
  opacity: calc(0.28 - var(--content-reveal) * 0.28);
  transform: translateY(calc(12px * var(--content-reveal)));
}

body.deck-cosmic .showcase-copy {
  position: absolute;
  left: 22px;
  top: 24px;
  z-index: 5;
  max-width: 170px;
  display: grid;
  gap: 8px;
  opacity: calc(0.9 - var(--content-reveal) * 0.9);
  transform: translateY(calc(18px * var(--content-reveal)));
  transition: opacity 220ms ease, transform 320ms ease;
}

body.deck-cosmic .showcase-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

body.deck-cosmic .showcase-copy strong {
  font-size: 18px;
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: 0.021em;
  color: #bdbdbd;
}

body.deck-cosmic .shot {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-color: rgba(255, 255, 255, calc(0.04 + var(--content-reveal) * 0.1));
  background: rgba(0, 0, 0, calc(0.02 + var(--content-reveal) * 0.1));
  opacity: calc(var(--content-reveal) * 0.96);
  transform: translateY(calc(28px * (1 - var(--content-reveal)))) scale(calc(0.95 + var(--content-reveal) * 0.05));
  transition: opacity 280ms ease, transform 420ms ease, border-color 240ms ease;
}

body.deck-cosmic .shot img {
  display: block;
  width: 100%;
  height: auto;
}

body.deck-cosmic .shot img {
  opacity: calc(0.08 + var(--content-reveal) * 0.92);
}

body.deck-cosmic .showcase > .shot-primary {
  width: 64%;
  margin-left: auto;
  margin-right: 2%;
  margin-top: 11%;
}

body.deck-cosmic .shot-grid {
  width: 78%;
  margin-top: -2%;
  margin-left: auto;
  margin-right: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  align-items: end;
  gap: 18px;
  opacity: calc(var(--content-reveal) * 0.98);
  transform: translateY(calc(20px * (1 - var(--content-reveal))));
  transition: opacity 280ms ease, transform 420ms ease;
}

body.deck-cosmic .shot-grid .shot:first-child {
  transform: translateX(-4%);
}

body.deck-cosmic .shot-grid .shot:last-child {
  transform: translate(0, 10%);
}

body.deck-cosmic .shot-caption {
  position: relative;
  z-index: 4;
  opacity: calc(var(--content-reveal) * 0.96);
  transform: translateY(calc(12px * (1 - var(--content-reveal))));
  transition: opacity 220ms ease, transform 320ms ease;
}

body.deck-cosmic .pill,
body.deck-cosmic .cta-note {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.deck-cosmic .proof-strip {
  margin-top: 18px;
  gap: 14px;
}

body.deck-cosmic .proof-chip,
body.deck-cosmic .story-card,
body.deck-cosmic .signal-card,
body.deck-cosmic .outcome-card,
body.deck-cosmic .feature-card,
body.deck-cosmic .cta-card {
  padding: 20px;
}

body.deck-cosmic .proof-chip,
body.deck-cosmic .feature-card,
body.deck-cosmic .story-card,
body.deck-cosmic .signal-card,
body.deck-cosmic .outcome-card,
body.deck-cosmic .cta-card,
body.deck-cosmic .anchor-card,
body.deck-cosmic .hero-stat {
  background: rgba(255, 255, 255, 0.006);
  border-color: rgba(255, 255, 255, 0.08);
}

body.deck-cosmic .proof-chip strong,
body.deck-cosmic .story-card strong,
body.deck-cosmic .signal-card strong,
body.deck-cosmic .outcome-card strong,
body.deck-cosmic .feature-card h3,
body.deck-cosmic .section-head h2,
body.deck-cosmic .cta-card h2 {
  font-weight: 300;
  letter-spacing: -0.04em;
  color: #fff;
}

body.deck-cosmic .section-head {
  margin-bottom: 28px;
}

body.deck-cosmic .section-head h2 {
  margin-bottom: 12px;
  max-width: 10ch;
  font-size: clamp(2.6rem, 4.5vw, 4.15rem);
  line-height: 0.92;
}

body.deck-cosmic .section-head p {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.025em;
}

body.deck-cosmic .feature-card h3,
body.deck-cosmic .proof-chip strong,
body.deck-cosmic .story-card strong,
body.deck-cosmic .signal-card strong,
body.deck-cosmic .outcome-card strong {
  font-size: 24px;
  line-height: 1.04;
}

body.deck-cosmic .feature-card p,
body.deck-cosmic .proof-chip p,
body.deck-cosmic .story-card p,
body.deck-cosmic .signal-card p,
body.deck-cosmic .outcome-card p,
body.deck-cosmic .anchor-card p,
body.deck-cosmic .mini-list {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.025em;
}

body.deck-cosmic .mini-list {
  color: #fff;
}

body.deck-cosmic .mini-list li::marker {
  color: #8052ff;
}

body.deck-cosmic .anchor-card {
  background: rgba(255, 255, 255, 0.01);
}

body.deck-cosmic .anchor-card strong {
  font-size: 18px;
  font-weight: 600;
}

body.deck-cosmic .cta-card {
  margin-top: 84px;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
}

body.deck-cosmic .cta-copy {
  gap: 16px;
}

body.deck-cosmic .cta-card h2 {
  max-width: 15ch;
  font-size: clamp(2.2rem, 4.1vw, 3.6rem);
  line-height: 0.94;
}

body.deck-cosmic .cta-card .hero-actions {
  margin-top: 0;
}

body.deck-cosmic .footer-note {
  margin-top: 30px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--smoke);
}

@media (max-width: 1180px) {
  body.deck-cosmic h1 {
    font-size: clamp(4rem, 7vw, 6rem);
  }

  body.deck-cosmic .hero-panel {
    grid-template-columns: minmax(0, 1fr);
    padding-right: 18px;
  }

  body.deck-cosmic .showcase {
    min-height: 620px;
  }
}

@media (max-width: 980px) {
  body.deck-cosmic .topbar {
    position: static;
  }

  body.deck-cosmic .topbar-inner {
    align-items: flex-start;
  }

  body.deck-cosmic .topnav {
    margin-left: 0;
    gap: 16px;
    flex-wrap: wrap;
  }

  body.deck-cosmic .hero-panel,
  body.deck-cosmic .cta-card,
  body.deck-cosmic .proof-strip,
  body.deck-cosmic .card-grid,
  body.deck-cosmic .hero-stats,
  body.deck-cosmic .split-grid,
  body.deck-cosmic .story-grid,
  body.deck-cosmic .signal-grid,
  body.deck-cosmic .outcome-grid,
  body.deck-cosmic .shot-grid {
    grid-template-columns: 1fr;
  }

  body.deck-cosmic .showcase > .shot-primary,
  body.deck-cosmic .shot-grid {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  body.deck-cosmic .shot-grid {
    margin-top: 0;
  }

  body.deck-cosmic .showcase-copy {
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: 12px;
  }

  body.deck-cosmic .shot-grid .shot:first-child,
  body.deck-cosmic .shot-grid .shot:last-child {
    transform: none;
  }

  body.deck-cosmic .section-head h2,
  body.deck-cosmic .cta-card h2 {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  body.deck-cosmic .deck-shell {
    padding-bottom: 60px;
  }

  body.deck-cosmic .topbar-inner,
  body.deck-cosmic .slide,
  body.deck-cosmic .cta-card,
  body.deck-cosmic .footer-note {
    width: min(100% - 24px, var(--content));
  }

  body.deck-cosmic .hero-panel {
    padding: 18px;
  }

  body.deck-cosmic h1 {
    font-size: clamp(3.2rem, 18vw, 4.8rem);
    max-width: 8.4ch;
  }

  body.deck-cosmic .section-head h2,
  body.deck-cosmic .cta-card h2 {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
    max-width: none;
  }

  body.deck-cosmic .showcase {
    min-height: auto;
    padding: 18px;
  }

  body.deck-cosmic .topnav,
  body.deck-cosmic .hero-actions,
  body.deck-cosmic .cta-meta {
    width: 100%;
  }

  body.deck-cosmic .topnav {
    justify-content: flex-start;
  }

  body.deck-cosmic .btn,
  body.deck-cosmic .topbar-cta {
    width: 100%;
  }
}

/* DESIGN.md alignment pass: pure void, one authority color, hairline-only depth */
body.deck-cosmic {
  background: #000000;
  color: #ffffff;
}

body.deck-cosmic::before {
  background: url("./cosmic-drift.svg") center top / cover no-repeat #000000;
  opacity: 0.72;
}

body.deck-cosmic::after {
  background: none;
}

body.deck-cosmic .deck-shell {
  padding-bottom: 60px;
}

body.deck-cosmic .topbar {
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
}

body.deck-cosmic .topbar-inner {
  min-height: 84px;
}

body.deck-cosmic .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

body.deck-cosmic .brand-mark::before {
  inset: 9px;
  border-radius: 10px;
}

body.deck-cosmic .eyebrow,
body.deck-cosmic .kicker,
body.deck-cosmic .proof-chip .label,
body.deck-cosmic .story-card .label,
body.deck-cosmic .signal-card .label,
body.deck-cosmic .outcome-card .label,
body.deck-cosmic .card-tag,
body.deck-cosmic .section-head span,
body.deck-cosmic .showcase-kicker,
body.deck-cosmic .footer-note {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.deck-cosmic .eyebrow,
body.deck-cosmic .brand-copy span,
body.deck-cosmic .topnav a,
body.deck-cosmic .proof-chip .label,
body.deck-cosmic .story-card .label,
body.deck-cosmic .signal-card .label,
body.deck-cosmic .outcome-card .label,
body.deck-cosmic .card-tag,
body.deck-cosmic .section-head span,
body.deck-cosmic .footer-note {
  color: #9a9a9a;
}

body.deck-cosmic .brand-copy strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.021em;
}

body.deck-cosmic .topnav {
  gap: 16px;
}

body.deck-cosmic .topnav a {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.021em;
}

body.deck-cosmic .topbar-cta,
body.deck-cosmic .btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: none;
}

body.deck-cosmic .btn-primary {
  background: #8052ff;
  border-color: #8052ff;
  color: #ffffff;
}

body.deck-cosmic .btn-secondary {
  background: transparent;
  border-color: rgba(255, 184, 41, 0.8);
  color: #ffffff;
}

body.deck-cosmic .slide,
body.deck-cosmic .cta-card,
body.deck-cosmic .footer-note {
  width: min(1200px, calc(100vw - 48px));
}

body.deck-cosmic .slide {
  padding-top: 60px;
  scroll-margin-top: 108px;
}

body.deck-cosmic .hero {
  min-height: calc(100vh - 96px);
}

body.deck-cosmic .hero-panel {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 12px 0 0;
}

body.deck-cosmic .hero-copy {
  max-width: 480px;
}

body.deck-cosmic h1 {
  max-width: 5.4ch;
  font-size: clamp(5rem, 8.7vw, 7.0625rem);
  line-height: 0.81;
  letter-spacing: -0.04em;
  font-weight: 200;
}

body.deck-cosmic .lede,
body.deck-cosmic .feature-card p,
body.deck-cosmic .proof-chip p,
body.deck-cosmic .story-card p,
body.deck-cosmic .signal-card p,
body.deck-cosmic .outcome-card p,
body.deck-cosmic .anchor-card p,
body.deck-cosmic .section-head p,
body.deck-cosmic .mini-list,
body.deck-cosmic .shot-caption,
body.deck-cosmic .cta-card p {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.025em;
  color: #bdbdbd;
}

body.deck-cosmic .hero-stats,
body.deck-cosmic .proof-strip,
body.deck-cosmic .card-grid,
body.deck-cosmic .story-grid,
body.deck-cosmic .signal-grid,
body.deck-cosmic .outcome-grid,
body.deck-cosmic .cta-meta {
  gap: 15px;
}

body.deck-cosmic .hero-panel,
body.deck-cosmic .feature-card,
body.deck-cosmic .showcase,
body.deck-cosmic .cta-card,
body.deck-cosmic .proof-chip,
body.deck-cosmic .story-card,
body.deck-cosmic .signal-card,
body.deck-cosmic .outcome-card,
body.deck-cosmic .anchor-card,
body.deck-cosmic .hero-stat,
body.deck-cosmic .shot {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: none;
}

body.deck-cosmic .showcase {
  min-height: 760px;
  padding: 0;
  border: 0;
}

body.deck-cosmic .showcase-copy {
  left: 0;
  top: 12px;
  max-width: 180px;
}

body.deck-cosmic .showcase-copy strong {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.021em;
  color: #bdbdbd;
}

body.deck-cosmic .showcase > .shot-primary {
  width: 50%;
  margin-top: 16%;
  margin-right: 0;
}

body.deck-cosmic .shot-grid {
  width: 58%;
  margin-top: -1%;
  margin-right: 0;
}

body.deck-cosmic .shot-caption {
  padding-top: 14px;
}

body.deck-cosmic .proof-strip {
  margin-top: 30px;
}

body.deck-cosmic .proof-chip,
body.deck-cosmic .feature-card,
body.deck-cosmic .story-card,
body.deck-cosmic .signal-card,
body.deck-cosmic .outcome-card,
body.deck-cosmic .anchor-card,
body.deck-cosmic .cta-card {
  padding: 24px;
}

body.deck-cosmic .section-head {
  margin-bottom: 24px;
}

body.deck-cosmic .section-head h2,
body.deck-cosmic .cta-card h2 {
  max-width: 8ch;
  font-size: clamp(3rem, 6vw, 4.875rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 200;
  color: #ffffff;
}

body.deck-cosmic .proof-chip strong,
body.deck-cosmic .story-card strong,
body.deck-cosmic .signal-card strong,
body.deck-cosmic .outcome-card strong,
body.deck-cosmic .feature-card h3,
body.deck-cosmic .anchor-card strong {
  font-weight: 400;
  letter-spacing: 0.021em;
  color: #ffffff;
}

body.deck-cosmic .feature-card h3,
body.deck-cosmic .proof-chip strong,
body.deck-cosmic .story-card strong,
body.deck-cosmic .signal-card strong,
body.deck-cosmic .outcome-card strong {
  font-size: 24px;
  line-height: 1.15;
}

body.deck-cosmic .mini-list li::marker {
  color: #8052ff;
}

body.deck-cosmic .cta-card {
  margin-top: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: flex-start;
  gap: 24px;
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

body.deck-cosmic .cta-card .section-head h2 {
  max-width: 12ch;
}

body.deck-cosmic .cta-note,
body.deck-cosmic .pill {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.deck-cosmic .footer-note {
  margin-top: 24px;
  padding-bottom: 12px;
}

body.deck-cosmic .showcase-brain {
  --content-reveal: 0;
  --brain-focus: 0;
  --brain-presence: 1;
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 66% 48%, rgba(128, 82, 255, 0.08), transparent 34%),
    radial-gradient(circle at 73% 54%, rgba(255, 184, 41, 0.05), transparent 24%),
    #020202;
  isolation: isolate;
}

body.deck-cosmic .brain-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

body.deck-cosmic .showcase-copy,
body.deck-cosmic .shot,
body.deck-cosmic .shot-grid,
body.deck-cosmic .shot-caption {
  position: absolute;
  z-index: 3;
}

body.deck-cosmic .showcase-copy {
  top: 22px;
  left: 22px;
  max-width: 250px;
  opacity: calc(0.98 - var(--content-reveal) * 1.1);
  transform: translateY(calc(var(--content-reveal) * -8px));
  transition: opacity 280ms ease, transform 280ms ease;
}

body.deck-cosmic .showcase-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.deck-cosmic .showcase-copy strong {
  display: block;
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.02em;
}

body.deck-cosmic .showcase-brain .shot {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(3px);
}

body.deck-cosmic .showcase-brain .shot img {
  display: block;
  width: 100%;
  height: auto;
}

body.deck-cosmic .showcase-brain .shot-primary {
  right: 24px;
  bottom: 58px;
  width: min(70%, 470px);
  opacity: calc(var(--content-reveal) * 1.22);
  transform: translateY(calc(30px - var(--content-reveal) * 30px)) scale(calc(0.92 + var(--content-reveal) * 0.08));
  transition: opacity 320ms ease, transform 320ms ease;
}

body.deck-cosmic .showcase-brain .shot-grid {
  left: 24px;
  bottom: 88px;
  width: min(36%, 220px);
  display: grid;
  gap: 12px;
  opacity: calc(var(--content-reveal) * 1.08);
  transform: translateY(calc(38px - var(--content-reveal) * 38px));
  transition: opacity 320ms ease, transform 320ms ease;
}

body.deck-cosmic .showcase-brain .shot-grid .shot:first-child {
  transform: translateX(calc(12px - var(--content-reveal) * 12px));
}

body.deck-cosmic .showcase-brain .shot-grid .shot:last-child {
  transform: translateX(calc(-10px + var(--content-reveal) * 10px));
}

body.deck-cosmic .showcase-brain .shot-caption {
  right: 24px;
  bottom: 20px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  opacity: calc(0.2 + var(--content-reveal) * 0.8);
  transition: opacity 320ms ease;
}

@media (max-width: 980px) {
  body.deck-cosmic .showcase-brain {
    min-height: 520px;
  }

  body.deck-cosmic .showcase-copy {
    max-width: 300px;
  }
  body.deck-cosmic .hero-panel,
  body.deck-cosmic .card-grid,
  body.deck-cosmic .story-grid,
  body.deck-cosmic .signal-grid,
  body.deck-cosmic .outcome-grid,
  body.deck-cosmic .proof-strip,
  body.deck-cosmic .hero-stats,
  body.deck-cosmic .shot-grid {
    grid-template-columns: 1fr;
  }

  body.deck-cosmic .topbar-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  body.deck-cosmic .topnav {
    justify-content: flex-start;
    row-gap: 10px;
  }

  body.deck-cosmic .hero {
    min-height: auto;
  }

  body.deck-cosmic .showcase {
    min-height: 560px;
  }

  body.deck-cosmic .showcase > .shot-primary,
  body.deck-cosmic .shot-grid {
    width: min(88%, 460px);
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  body.deck-cosmic .showcase-brain {
    min-height: 420px;
  }

  body.deck-cosmic .showcase-copy {
    top: 16px;
    left: 16px;
    right: 16px;
    max-width: none;
  }

  body.deck-cosmic .showcase-brain .shot-primary {
    right: 16px;
    left: 16px;
    bottom: 78px;
    width: auto;
  }

  body.deck-cosmic .showcase-brain .shot-grid {
    display: none;
  }

  body.deck-cosmic .showcase-brain .shot-caption {
    right: 16px;
    left: 16px;
    bottom: 14px;
  }

  body.deck-cosmic .slide,
  body.deck-cosmic .cta-card,
  body.deck-cosmic .footer-note {
    width: min(100% - 24px, 1200px);
  }

  body.deck-cosmic .topbar-cta,
  body.deck-cosmic .hero-actions,
  body.deck-cosmic .hero-actions .btn {
    width: 100%;
  }

  body.deck-cosmic h1 {
    font-size: clamp(4rem, 19vw, 5.6rem);
  }
}
