:root {
  --navy: #061433;
  --navy-mid: #0a2a6b;
  --blue: #1a5cff;
  --gold: #d4a017;
  --gold-soft: #f0c14b;
  --cream: #f4f6fb;
  --ink: #0e1a33;
  --muted: rgba(244, 246, 251, 0.72);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  font-family: Manrope, system-ui, sans-serif;
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}

.deck {
  position: relative;
  height: 100vh;
  width: 100vw;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .45s ease, visibility .45s;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(26, 92, 255, 0.28), transparent 55%),
    radial-gradient(900px 500px at 100% 100%, rgba(212, 160, 23, 0.16), transparent 50%),
    linear-gradient(160deg, #061433 0%, #0a2a6b 48%, #081f3d 100%);
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 2;
}

.slide-inner {
  width: min(1080px, 100%);
  max-height: calc(100vh - 5.5rem);
  overflow: auto;
}

.brand-mark {
  width: min(420px, 78vw);
  height: auto;
  display: block;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
  animation: rise .7s ease both;
}

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: .85rem;
  animation: rise .55s ease both;
}

h1, h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 .85rem;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.5rem;
}

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .7rem 1.25rem;
  border-radius: .9rem;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(244, 246, 251, 0.28);
}
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

.grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.25rem;
}

.card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem;
  backdrop-filter: blur(8px);
  animation: rise .6s ease both;
}
.card:nth-child(2) { animation-delay: .05s; }
.card:nth-child(3) { animation-delay: .1s; }
.card:nth-child(4) { animation-delay: .15s; }
.card:nth-child(5) { animation-delay: .2s; }
.card:nth-child(6) { animation-delay: .25s; }

.card h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.card p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--muted);
}

.flow {
  display: grid;
  gap: .75rem;
  margin-top: 1.25rem;
}
.flow-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: .9rem;
  align-items: start;
  padding: .95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.flow-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .75rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(145deg, var(--blue), var(--navy-mid));
  color: #fff;
}
.flow-step strong { display: block; margin-bottom: .2rem; }
.flow-step span { color: var(--muted); font-size: .92rem; line-height: 1.4; }

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.role {
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(240, 193, 75, 0.12);
  border: 1px solid rgba(240, 193, 75, 0.35);
  color: var(--gold-soft);
  font-size: .82rem;
  font-weight: 600;
}

.chrome {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem clamp(1rem, 3vw, 2rem) 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(6, 20, 51, 0.92));
}

.dots {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}
.dot {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}
.dot.is-active {
  width: 1.4rem;
  background: var(--gold);
}

.nav-btns { display: flex; gap: .5rem; }
.nav-btns button {
  min-width: 2.5rem;
  height: 2.5rem;
  border-radius: .75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
.nav-btns button:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  z-index: 30;
  transition: width .35s ease;
}

.hint {
  font-size: .72rem;
  color: rgba(244, 246, 251, 0.45);
  white-space: nowrap;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .hint { display: none; }
  .slide-inner { max-height: calc(100vh - 6.5rem); }
}
