:root {
  color-scheme: light;
  --navy-950: #07162f;
  --navy-900: #0b1f3f;
  --navy-800: #17345c;
  --ink: #17243c;
  --muted: #687890;
  --line: #dce6f2;
  --surface: #ffffff;
  --mist: #f3f7fc;
  --blue-soft: #e8f1ff;
  --blue: #2e71d8;
  --teal-soft: #e6f6f2;
  --teal: #119783;
  --mint: #51c7a8;
  --orange-soft: #fff0df;
  --orange: #ff9f2d;
  --coral-soft: #ffebe7;
  --coral: #f45f4e;
  --violet-soft: #efedff;
  --violet: #6a61d9;
  --slide-pad-x: clamp(24px, 5.55vw, 80px);
  --slide-pad-y: clamp(32px, 5.4vh, 58px);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --shadow: 0 24px 70px rgba(22, 49, 84, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

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

.deck {
  width: 100%;
}

.slide {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: var(--slide-pad-y) var(--slide-pad-x);
  display: flex;
  align-items: center;
}

.slide__inner {
  position: relative;
  z-index: 2;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.slide--light {
  background: #f6f9fd;
}

.slide--blue {
  background: #eff5ff;
}

.slide--warm {
  background: #fff9ef;
}

.slide--dark {
  color: #fff;
  background: var(--navy-950);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow--orange {
  color: var(--orange);
}

.eyebrow--blue {
  color: var(--blue);
}

.section-title {
  margin: 0;
  max-width: 980px;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.section-lead {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.7;
}

.slide--dark .section-lead {
  color: rgba(255, 255, 255, 0.68);
}

.button {
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--orange);
  color: var(--navy-950);
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 159, 45, 0.28);
}

.button--blue {
  background: var(--blue);
  color: #fff;
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.stage-tabs {
  width: 100%;
  margin-bottom: clamp(26px, 4vh, 46px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.stage-tabs a,
.stage-tabs button {
  min-height: 50px;
  padding: 0 12px;
  border: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  cursor: pointer;
  color: #77869b;
  background: transparent;
  font-weight: 700;
}

.stage-tabs a[aria-current="page"],
.stage-tabs button[aria-selected="true"] {
  color: #116fbc;
  background: #e6f1ff;
}

.deck-nav {
  position: fixed;
  z-index: 20;
  top: 50%;
  right: 20px;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.deck-nav a {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(23, 36, 60, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 2px 8px rgba(7, 22, 47, 0.12);
  transition: height 160ms ease, border-radius 160ms ease, background 160ms ease;
}

.deck-nav a.is-active {
  height: 28px;
  border-color: var(--teal);
  border-radius: 8px;
  background: var(--teal);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  html {
    scroll-snap-type: y proximity;
  }

  .slide {
    min-height: 100svh;
    padding-top: 32px;
    padding-bottom: 44px;
    align-items: flex-start;
  }

  .section-title {
    font-size: clamp(32px, 10vw, 46px);
  }

  .stage-tabs {
    position: sticky;
    top: 10px;
    z-index: 8;
    margin-bottom: 30px;
    padding: 5px;
  }

  .stage-tabs a,
  .stage-tabs button {
    min-height: 42px;
    font-size: 13px;
  }

  .deck-nav {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
