:root {
  color-scheme: dark;
  --ink: #f7f0df;
  --muted: #bab2a0;
  --quiet: #7e887d;
  --void: #050508;
  --void-2: #0a0d12;
  --panel: rgba(11, 14, 18, 0.72);
  --line: rgba(247, 240, 223, 0.18);
  --line-strong: rgba(247, 240, 223, 0.34);
  --cyan: #6de0d2;
  --green: #a7f06d;
  --gold: #f1b963;
  --coral: #ff735f;
  --violet: #a98cff;
  --shadow: rgba(0, 0, 0, 0.46);
  --max: 1180px;
  --header: 78px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--void);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.88), rgba(5, 5, 8, 0.96) 42%, #030304),
    var(--void);
  overflow-x: hidden;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 92px);
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

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

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

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

::selection {
  color: #080805;
  background: var(--gold);
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 50;
  padding: 10px 12px;
  color: var(--void);
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.field-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(109, 224, 210, 0.08), transparent 28%),
    linear-gradient(315deg, rgba(255, 115, 95, 0.07), transparent 36%),
    linear-gradient(180deg, #050508, #07060a 48%, #020203);
}

#continuum-field {
  width: 100%;
  height: 100%;
}

.field-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 8, 0.92), transparent 28%, transparent 65%, rgba(5, 5, 8, 0.82)),
    linear-gradient(180deg, rgba(5, 5, 8, 0.2), rgba(5, 5, 8, 0.82) 82%);
}

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 3px;
  background: rgba(247, 240, 223, 0.08);
}

.read-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--gold), var(--coral));
  box-shadow: 0 0 24px rgba(109, 224, 210, 0.5);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header);
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(247, 240, 223, 0.1);
  background: rgba(5, 5, 8, 0.78);
  backdrop-filter: blur(22px);
}

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

.brand img {
  width: 42px;
  height: 42px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
}

.deck-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.deck-nav a,
.header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: rgba(247, 240, 223, 0.8);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.82rem;
}

.deck-nav a:hover,
.header-cta:hover {
  color: var(--ink);
  border-color: rgba(247, 240, 223, 0.22);
  background: rgba(247, 240, 223, 0.06);
}

.header-cta {
  color: var(--void);
  background: var(--ink);
}

main {
  position: relative;
  z-index: 1;
}

.deck-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header) + 64px) 20px 72px;
  border-bottom: 1px solid rgba(247, 240, 223, 0.08);
}

.deck-section::before {
  position: absolute;
  top: 28px;
  left: 50%;
  width: min(1180px, calc(100% - 40px));
  height: 1px;
  content: "";
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(247, 240, 223, 0.28), transparent);
}

.section-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(310px, 0.78fr);
  gap: 34px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.72fr);
}

.copy-column {
  position: relative;
  z-index: 1;
}

.wide-copy {
  grid-column: 2 / 4;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: 4.8rem;
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.03rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-line {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 1.48rem;
  line-height: 1.35;
}

.hero-copy,
.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.slide-number {
  align-self: start;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(241, 185, 99, 0.5);
  border-radius: 50%;
  background: rgba(241, 185, 99, 0.08);
  box-shadow: 0 0 80px rgba(241, 185, 99, 0.16);
  font-weight: 900;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #050508;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: rgba(247, 240, 223, 0.06);
  border: 1px solid rgba(247, 240, 223, 0.24);
}

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

.gravity-panel,
.diligence-panel {
  padding: 24px;
  border: 1px solid rgba(247, 240, 223, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(109, 224, 210, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(241, 185, 99, 0.09), transparent 44%),
    rgba(8, 11, 15, 0.72);
  box-shadow: 0 28px 80px var(--shadow);
}

.panel-label {
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-stack {
  display: grid;
  gap: 14px;
}

.status-stack span {
  display: block;
  padding-top: 14px;
  border-top: 1px solid rgba(247, 240, 223, 0.14);
}

.status-stack strong,
.status-stack small {
  display: block;
}

.status-stack small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.fracture-grid,
.boundary-list,
.capital-use,
.advantage-grid {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 10px;
}

.fracture-grid span,
.boundary-list span,
.capital-use span,
.advantage-grid span,
.axiom-strip span,
.wedge-line span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 13px;
  color: rgba(247, 240, 223, 0.88);
  border: 1px solid rgba(247, 240, 223, 0.16);
  border-radius: 6px;
  background: rgba(247, 240, 223, 0.05);
}

.fracture-grid span:nth-child(3n + 1),
.capital-use span:nth-child(3n + 1) {
  border-color: rgba(109, 224, 210, 0.32);
}

.fracture-grid span:nth-child(3n + 2),
.capital-use span:nth-child(3n + 2) {
  border-color: rgba(241, 185, 99, 0.32);
}

.fracture-grid span:nth-child(3n),
.capital-use span:nth-child(3n) {
  border-color: rgba(255, 115, 95, 0.3);
}

.axiom-strip {
  grid-column: 2 / 4;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.axiom-strip span {
  min-height: 54px;
  color: var(--void);
  background: var(--ink);
  border-color: var(--ink);
  font-weight: 900;
}

.proof-ladder,
.timing-stack {
  display: grid;
  gap: 16px;
}

.proof-ladder article,
.timing-stack article,
.direction-map article {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(247, 240, 223, 0.16);
  border-radius: 8px;
  background: rgba(7, 10, 13, 0.68);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.proof-ladder article span,
.timing-stack article span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.proof-ladder p,
.direction-map span,
.diligence-panel small,
.site-footer,
.timing-stack strong {
  color: var(--muted);
  line-height: 1.55;
}

.boundary-list span {
  color: #ffd6ce;
  border-color: rgba(255, 115, 95, 0.32);
}

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

.direction-map strong,
.direction-map span {
  display: block;
}

.direction-map strong {
  margin-bottom: 8px;
  color: var(--ink);
}

.wedge-line {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.wedge-line span {
  justify-content: center;
  min-height: 76px;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.wedge-line span:nth-child(1) {
  border-color: rgba(255, 115, 95, 0.42);
}

.wedge-line span:nth-child(2) {
  border-color: rgba(241, 185, 99, 0.44);
}

.wedge-line span:nth-child(3) {
  color: var(--void);
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-color: transparent;
}

.timing-stack article {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
}

.timing-stack article span {
  margin: 0;
}

.advantage-grid span {
  min-height: 52px;
  flex: 1 1 210px;
}

.capital-use span {
  flex: 1 1 190px;
}

.diligence-panel p {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.45;
}

.diligence-panel .button {
  width: 100%;
  margin-bottom: 16px;
}

.diligence-panel small {
  display: block;
  font-size: 0.82rem;
}

.closing-section {
  min-height: 92vh;
  text-align: center;
}

.closing-inner {
  width: min(920px, 100%);
  margin: 0 auto;
}

.closing-inner h2 {
  max-width: none;
  font-size: 4rem;
}

.closing-inner p {
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1.6;
}

blockquote {
  margin: 40px 0;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 900;
}

.closing-actions {
  justify-content: center;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(247, 240, 223, 0.12);
  font-size: 0.86rem;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
}

.deck-section {
  opacity: 0.34;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.deck-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root {
    --header: 68px;
  }

  .site-header {
    gap: 12px;
    padding-inline: 16px;
  }

  .deck-nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 10px;
  }

  .deck-section {
    min-height: auto;
    padding: calc(var(--header) + 58px) 18px 68px;
  }

  .section-grid,
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .slide-number {
    width: 58px;
    height: 58px;
  }

  .wide-copy,
  .axiom-strip,
  .wedge-line {
    grid-column: auto;
  }

  h1 {
    font-size: 3.55rem;
    line-height: 0.94;
  }

  h2,
  .closing-inner h2 {
    font-size: 2.35rem;
    line-height: 1.03;
  }

  .hero-line {
    font-size: 1.24rem;
  }

  .hero-copy,
  .lead {
    font-size: 1.02rem;
    line-height: 1.68;
  }

  .direction-map,
  .wedge-line {
    grid-template-columns: 1fr;
  }

  .gravity-panel {
    order: 2;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: auto;
    min-height: var(--header);
  }

  .brand small {
    display: none;
  }

  .header-cta {
    font-size: 0.76rem;
  }

  h1 {
    font-size: 2.86rem;
  }

  h2,
  .closing-inner h2 {
    font-size: 2rem;
  }

  blockquote {
    font-size: 1.42rem;
  }

  .button {
    width: 100%;
    min-height: 52px;
    text-align: center;
  }

  .hero-actions,
  .closing-actions {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
