@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;1,400;1,500&family=DM+Serif+Display&display=swap');

/* ============================================================
   DESIGN TOKENS
   All values read directly from Figma file 7gAbOzb4pgrXsTi8vGmLfs
   ============================================================ */

:root {
  /* Colors */
  --color-mariner:       #2B5CD9;   /* Primary/Mariner — S1 bg, CTAs, accents */
  --color-mirage:        #141A2E;   /* Primary/Mirage — primary text */
  --color-white:         #FFFFFF;   /* Primary/White */
  --color-persian-blue:  #5A6480;   /* Primary/Persian Blue — muted text */
  --color-mojo:          #C4603A;   /* Primary/Mojo — step labels */
  --color-bridesmaid:    #FAF6F2;   /* Primary/Bridesmaid — cream bg */

  /* Fonts */
  --font-serif: 'DM Serif Display', serif;
  --font-sans:  'DM Sans', sans-serif;

  /* Font sizes */
  --fs-48: 48px;   /* Large accent / CTA heading (DM Serif Display) */
  --fs-40: 40px;   /* Section headings, stat numbers (DM Serif Display) */
  --fs-36: 36px;   /* Journey map card title (DM Serif Display) */
  --fs-32: 32px;   /* H2 subtext (DM Sans Medium) */
  --fs-24: 24px;   /* Body B1, labels, callouts (DM Sans Medium) */
  --fs-22: 22px;   /* Card labels (DM Sans Medium) */
  --fs-18: 18px;   /* Phase labels (DM Sans Medium) */
  --fs-17: 17px;   /* In-card quotes (DM Sans Medium) */
  --fs-16: 16px;   /* Card body, button text (DM Sans Regular/Medium) */

  /* Line heights */
  --lh-48:    48px;
  --lh-46:    46px;
  --lh-42:    42px;
  --lh-40:    39.6px;
  --lh-1-5:   1.5;
  --lh-1-2:   1.2;
  --lh-26:    26.4px;
  --lh-25:    24.8px;
  --lh-23:    23.4px;
  --lh-21:    21.25px;

  /* Letter spacings */
  --ls-serif-48:  -1.44px;
  --ls-serif-40:  -0.8px;
  --ls-serif-36:  -0.72px;
  --ls-sans-32:   -0.22px;
  --ls-sans-24:   -0.24px;
  --ls-sans-22:   -0.22px;

  /* Spacing */
  --sp-section-v:  150px;
  --sp-section-h:  158px;
  --sp-gap-xl:     100px;
  --sp-gap-l:       64px;
  --sp-gap-m:       40px;
  --sp-gap-s:       20px;

  /* Border radii */
  --br-40: 40px;
  --br-20: 20px;
  --br-16: 16px;

  /* Shadows */
  --shadow-card: 0px 1px 1px rgba(0,0,0,0.04), 0px 2px 4px rgba(0,0,0,0.08);
}

/* ============================================================
   RESET
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto; /* JS handles smooth scroll */
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bridesmaid);
  color: var(--color-mirage);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */

.t-serif-48 {
  font-family: var(--font-serif);
  font-size: var(--fs-48);
  font-weight: 400;
  line-height: var(--lh-48);
  letter-spacing: var(--ls-serif-48);
}

.t-serif-40 {
  font-family: var(--font-serif);
  font-size: var(--fs-40);
  font-weight: 400;
  line-height: var(--lh-46);
  letter-spacing: var(--ls-serif-40);
}

.t-serif-36 {
  font-family: var(--font-serif);
  font-size: var(--fs-36);
  font-weight: 400;
  line-height: var(--lh-40);
  letter-spacing: var(--ls-serif-36);
}

.t-serif-48 {
  font-family: var(--font-serif);
  font-size: var(--fs-48);
  font-weight: 400;
  line-height: var(--lh-48);
  letter-spacing: var(--ls-serif-48);
}

.t-sans-32 {
  font-family: var(--font-sans);
  font-size: var(--fs-32);
  font-weight: 500;
  line-height: var(--lh-42);
  letter-spacing: var(--ls-sans-32);
}

.t-sans-24 {
  font-family: var(--font-sans);
  font-size: var(--fs-24);
  font-weight: 500;
  line-height: var(--lh-1-5);
  letter-spacing: var(--ls-sans-24);
}

.t-sans-22 {
  font-family: var(--font-sans);
  font-size: var(--fs-22);
  font-weight: 500;
  line-height: var(--lh-26);
  letter-spacing: var(--ls-sans-22);
}

.t-sans-18 {
  font-family: var(--font-sans);
  font-size: var(--fs-18);
  font-weight: 500;
  line-height: var(--lh-23);
}

.t-sans-17 {
  font-family: var(--font-sans);
  font-size: var(--fs-17);
  font-weight: 500;
  line-height: var(--lh-21);
}

.t-body {
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: var(--lh-25);
}

/* ============================================================
   SCROLL ANIMATION UTILITIES
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.fade-up.visible,
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */

/* Card */
.card {
  background: var(--color-white);
  border-radius: var(--br-40);
  box-shadow: var(--shadow-card);
  padding: var(--sp-gap-m);
}

/* Quote block (blue pill) */
.quote-block {
  background: var(--color-mariner);
  border-radius: var(--br-20);
  padding: var(--sp-gap-s);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: var(--fs-17);
  font-weight: 500;
  line-height: var(--lh-21);
}

/* Callout block (white pill with logo) */
.callout-block {
  background: var(--color-white);
  border-radius: var(--br-40);
  padding: var(--sp-gap-s);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-gap-s);
  width: 100%;
}

.callout-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-mariner);
  flex-shrink: 0;
  margin-top: 4px;
}

.callout-text {
  font-family: var(--font-sans);
  font-size: var(--fs-24);
  font-weight: 500;
  line-height: var(--lh-1-5);
  letter-spacing: var(--ls-sans-24);
  color: var(--color-mirage);
}

/* Emotion pill */
.emotion-pill {
  background: var(--color-mariner);
  border-radius: var(--br-40);
  padding: var(--sp-gap-s);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: var(--fs-24);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--ls-sans-24);
  white-space: nowrap;
  display: inline-block;
}

/* Section container — sets max-width + side padding */
.section-inner {
  max-width: 1448px;
  margin: 0 auto;
  padding: var(--sp-section-v) var(--sp-section-h);
}

/* Button */
.btn-primary {
  background: var(--color-mariner);
  color: var(--color-white);
  border: 1px solid var(--color-mariner);
  border-radius: var(--br-16);
  padding: 1px 33px;
  height: 52px;
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  font-weight: 500;
  line-height: var(--fs-16);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.88;
}

/* Progress dots */
.progress-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-persian-blue);
  opacity: 0.4;
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  padding: 0;
}

.dot.active {
  background: var(--color-mariner);
  opacity: 1;
  transform: scale(1.5);
}

/* Phase separator */
.phase-separator {
  width: 2px;
  background: var(--color-persian-blue);
  flex-shrink: 0;
  align-self: stretch;
}
