@font-face {
  font-family: "Urbanist";
  src: url("./assets/fonts/Urbanist-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Walone";
  src: url("./assets/fonts/Z06-Walone-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Walone";
  src: url("./assets/fonts/Z06-Walone-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --purple: #7b61ff;
  --purple-deep: #351f86;
  --gold: #f5a623;
  --ink: #1a1a1a;
  --muted: #606060;
  --line: #e6e6e6;
  --paper: #ffffff;
  --soft: #fcfbff;
  --wash: #fafafa;
  --dark: #111114;
  --dark-2: #19191e;
  --radius: 8px;
  --content: min(1080px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: "Urbanist", "Walone", system-ui, sans-serif;
  overflow: hidden;
}

body,
button {
  font-synthesis: none;
}

.mm,
.slide p,
.slide li,
.statement-card,
.reason-stack p,
.feature-grid span,
.journey p,
.proof-points span,
.case-row span,
.payment-steps small {
  font-family: "Walone", "Urbanist", sans-serif;
}

.deck {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
}

.slide {
  position: relative;
  min-height: 100vh;
  scroll-snap-align: start;
  display: grid;
  align-content: center;
  padding: 96px max(24px, calc((100vw - 1080px) / 2)) 72px;
  background: var(--paper);
  overflow: hidden;
}

.slide::before {
  content: "";
  position: absolute;
  inset: auto -18vw -18vw;
  height: 36vw;
  border-radius: 50%;
  background: var(--soft);
  filter: blur(54px);
  z-index: 0;
}

.slide > * {
  position: relative;
  z-index: 1;
}

.hero-slide,
.final-slide,
.dark-panel {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(123, 97, 255, 0.18), transparent 28%),
    linear-gradient(180deg, var(--dark), var(--dark-2));
}

.hero-slide::before,
.final-slide::before,
.dark-panel::before {
  background: rgba(123, 97, 255, 0.18);
}

.light-band {
  background: var(--wash);
}

.deck-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 64px;
  display: grid;
  grid-template-columns: 220px 1fr 72px;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 230, 230, 0.75);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
  font-size: 14px;
}

.brand-lockup img {
  width: 30px;
  height: 30px;
}

.progress {
  height: 3px;
  background: rgba(123, 97, 255, 0.16);
  overflow: hidden;
}

.progress-bar {
  display: block;
  height: 100%;
  width: 8.333%;
  background: var(--purple);
  transform-origin: left center;
  transition: width 220ms ease;
}

.counter {
  color: var(--muted);
  text-align: right;
  font-weight: 720;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.deck-nav {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.deck-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border-radius: var(--radius);
  font: 800 18px "Urbanist", sans-serif;
  cursor: pointer;
}

.deck-nav button:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.chapter,
.eyebrow {
  color: var(--purple);
  font: 780 13px/1.1 "Urbanist", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chapter {
  position: absolute;
  top: 88px;
  left: max(24px, calc((100vw - 1080px) / 2));
  color: var(--muted);
}

.dark-panel .chapter,
.hero-slide .chapter,
.final-slide .chapter {
  color: rgba(255, 255, 255, 0.55);
}

h1,
h2 {
  margin: 0;
  max-width: 920px;
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 840;
}

h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 820;
}

.lead {
  margin: 22px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.58;
}

.hero-slide .lead,
.dark-panel .lead,
.final-slide .lead {
  color: rgba(255, 255, 255, 0.78);
}

.slide-note {
  max-width: 780px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 23px;
  line-height: 1.55;
}

.slide-grid,
.split,
.solution-lockup,
.timeline-wrap {
  width: var(--content);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  align-self: center;
}

.hero-visual {
  min-height: 470px;
  position: relative;
}

.phone {
  position: absolute;
  right: 40px;
  top: 12px;
  width: 250px;
  height: 450px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  background: linear-gradient(180deg, #23232b, #111116);
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.38);
}

.phone::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  width: 76px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.phone-top {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 760;
}

.event-card {
  margin-top: 28px;
  min-height: 156px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
}

.event-card span,
.event-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.event-card strong {
  display: block;
  margin: 22px 0;
  font-size: 23px;
  line-height: 1.02;
}

.mini-row {
  height: 48px;
  margin-top: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.mini-row.short {
  width: 68%;
}

.orbit-card {
  position: absolute;
  left: 8px;
  bottom: 70px;
  width: 170px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.orbit-card span,
.orbit-card strong {
  display: block;
}

.orbit-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 760;
}

.orbit-card strong {
  margin-top: 8px;
  font-size: 24px;
  line-height: 1;
}

.statement-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 70px rgba(26, 26, 26, 0.06);
}

.statement-card p {
  margin: 0;
  font-size: 25px;
  line-height: 1.55;
}

.statement-card .quiet {
  margin-top: 24px;
  color: var(--muted);
  font-size: 20px;
}

.scatter-map,
.feature-grid,
.expansion-grid,
.proof-points,
.case-row {
  width: var(--content);
}

.scatter-map {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 46px;
}

.scatter-map div,
.expansion-grid span {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 760;
  text-align: center;
  box-shadow: 0 14px 40px rgba(26, 26, 26, 0.04);
}

.scatter-map div:nth-child(2n),
.expansion-grid span:nth-child(3n) {
  background: var(--soft);
}

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

.reason-stack article,
.timeline div,
.proof-points div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.reason-stack span,
.timeline span,
.value-ladder span {
  color: var(--purple);
  font-weight: 850;
}

.reason-stack strong,
.timeline strong,
.proof-points strong {
  display: block;
  margin-top: 8px;
  font-size: 23px;
}

.reason-stack p,
.timeline small {
  display: block;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

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

.feature-grid div {
  min-height: 168px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.feature-grid strong,
.feature-grid span {
  display: block;
}

.feature-grid strong {
  font-size: 22px;
}

.feature-grid span {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.42;
}

.value-ladder {
  display: grid;
  gap: 12px;
}

.value-ladder div {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 70px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.value-ladder strong {
  font-family: "Walone", sans-serif;
  font-size: 21px;
  line-height: 1.35;
}

.journey {
  width: var(--content);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.journey article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.journey span {
  color: var(--purple);
  font: 800 22px "Walone", sans-serif;
}

.journey p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.5;
}

.flow-line {
  width: var(--content);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 20px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.flow-line span {
  display: grid;
  place-items: center;
  min-height: 56px;
  background: #fff;
  color: var(--muted);
  font-weight: 760;
}

.timeline {
  display: grid;
  gap: 12px;
}

.video-review {
  width: var(--content);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.video-frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 22% 18%, rgba(123, 97, 255, 0.38), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.22);
}

.light-band .video-frame {
  border-color: var(--line);
  background:
    radial-gradient(circle at 14% 12%, rgba(123, 97, 255, 0.16), transparent 34%),
    #fff;
  box-shadow: 0 24px 70px rgba(26, 26, 26, 0.08);
}

.video-frame.wide {
  width: var(--content);
  min-height: 230px;
  margin-top: 22px;
}

.video-frame.compact {
  min-height: 230px;
}

.video-frame video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  background: #111114;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
}

.video-placeholder span {
  color: var(--gold);
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-placeholder strong {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
}

.video-placeholder small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
}

.light-band .video-placeholder small {
  color: var(--muted);
}

.payment-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.payment-steps div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.payment-steps span {
  color: var(--purple);
  font-weight: 850;
}

.payment-steps strong,
.payment-steps small {
  display: block;
}

.payment-steps strong {
  margin-top: 6px;
  font-size: 18px;
}

.payment-steps small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.payment-demo-panel {
  display: grid;
  gap: 12px;
}

.investment {
  width: var(--content);
  margin: 34px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 19px;
}

.investment strong {
  color: var(--ink);
}

.expansion-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.dark-panel .expansion-grid span {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.spacematter-stack {
  position: relative;
  min-height: 520px;
}

.spacematter-stack img {
  position: absolute;
  width: 190px;
  filter: drop-shadow(0 24px 40px rgba(26, 26, 26, 0.14));
}

.spacematter-stack img:nth-child(1) {
  left: 80px;
  top: 0;
  transform: rotate(-6deg);
}

.spacematter-stack img:nth-child(2) {
  right: 70px;
  top: 150px;
  transform: rotate(4deg);
}

.spacematter-stack img:nth-child(3) {
  left: 120px;
  top: 320px;
  transform: rotate(-3deg);
}

.proof-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.proof-points div {
  min-height: 150px;
}

.proof-points span {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.45;
}

.case-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.case-row article {
  min-height: 360px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.case-row img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--wash);
}

.case-row strong,
.case-row span {
  display: block;
}

.case-row strong {
  margin-top: 20px;
  font-size: 22px;
}

.case-row span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.final-card {
  width: min(860px, calc(100vw - 48px));
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.cta-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.62);
}

.cta-strip strong {
  color: #fff;
}

@media (max-width: 900px) {
  .deck {
    scroll-snap-type: none;
  }

  .deck-chrome {
    grid-template-columns: 1fr 80px;
  }

  .brand-lockup span,
  .progress {
    display: none;
  }

  .slide {
    min-height: auto;
    padding: 96px 20px 64px;
  }

  .chapter {
    left: 20px;
  }

  .slide-grid,
  .split,
  .solution-lockup,
  .timeline-wrap,
  .video-review,
  .journey,
  .case-row {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .phone {
    right: 0;
    width: 240px;
    height: 420px;
  }

  .orbit-card {
    left: 0;
    bottom: 42px;
  }

  .scatter-map,
  .feature-grid,
  .expansion-grid,
  .proof-points {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .flow-line {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .video-frame,
  .video-frame.wide {
    width: 100%;
    min-height: 260px;
  }

  .payment-steps {
    grid-template-columns: 1fr;
  }

  .spacematter-stack {
    min-height: 330px;
  }

  .spacematter-stack img {
    width: 136px;
  }

  .spacematter-stack img:nth-child(1) {
    left: 10px;
  }

  .spacematter-stack img:nth-child(2) {
    right: 18px;
    top: 96px;
  }

  .spacematter-stack img:nth-child(3) {
    left: 70px;
    top: 204px;
  }

  .deck-nav {
    display: none;
  }
}
