/* Shared slide styles for The Sustainable Loss Brief — MyFitnessPal */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-VariableFont.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { margin: 0; padding: 0; }
html, body {
  width: 1200px; height: 675px; overflow: hidden;
  font-family: 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.slide {
  position: relative; width: 1200px; height: 675px; overflow: hidden;
  padding: 64px 80px;
  display: flex; flex-direction: column;
}
.slide.dark { background: radial-gradient(ellipse at 20% 0%, #1c3470 0%, #0a1336 55%, #060b22 100%); color: #FFFFFF; }
.slide.light { background: #F7F4ED; color: #151824; }

/* iridescent shimmer overlay for dark slides */
.slide.dark::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 92%, rgba(155,196,255,0.18) 0%, transparent 45%),
    radial-gradient(circle at 12% 88%, rgba(255,180,140,0.10) 0%, transparent 50%);
  pointer-events: none;
}
.slide > * { position: relative; z-index: 2; }

.slide__top {
  display: flex; justify-content: space-between; align-items: center;
}
.slide__logo { height: 28px; width: auto; display: block; }
.slide__pageno {
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase;
}
.slide.dark .slide__pageno { color: rgba(255,255,255,0.55); }
.slide.light .slide__pageno { color: rgba(21,24,36,0.45); }

.slide__body {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.slide__body.between { justify-content: space-between; padding: 24px 0 8px; }

h1.headline {
  font-size: 64px; line-height: 1.02; font-weight: 500;
  letter-spacing: -0.025em;
  max-width: 980px;
}
h1.headline .italic { font-style: italic; font-weight: 500; }
.slide.dark h1.headline .italic { color: #9BC4FF; }
.slide.light h1.headline .italic { color: #0066EE; }

h1.headline-xl {
  font-size: 84px; line-height: 0.98; font-weight: 500;
  letter-spacing: -0.028em;
}

p.lede {
  font-size: 22px; line-height: 1.45; font-weight: 400;
  letter-spacing: -0.005em;
  max-width: 880px;
}
.slide.dark p.lede { color: rgba(255,255,255,0.88); }
.slide.light p.lede { color: rgba(21,24,36,0.78); }

.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase;
}
.slide.dark .eyebrow { color: rgba(155,196,255,0.85); }
.slide.light .eyebrow { color: #0066EE; }

.grid-4 {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
}
.pillar {
  padding: 24px 22px 28px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
}
.slide.light .pillar {
  background: #FFFFFF;
  border: 1px solid rgba(21,24,36,0.08);
  box-shadow: 0 4px 24px rgba(21,24,36,0.05);
}
.pillar__num {
  font-size: 36px; font-weight: 500; letter-spacing: -0.02em;
  line-height: 1; margin-bottom: 14px;
}
.slide.dark .pillar__num { color: #9BC4FF; }
.slide.light .pillar__num { color: #0066EE; }
.pillar__label {
  font-size: 17px; font-weight: 500; line-height: 1.25;
  letter-spacing: -0.005em;
}

.row-3 {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 28px; align-items: stretch;
}
.quote {
  padding: 32px 28px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(21,24,36,0.08);
  display: flex; flex-direction: column; justify-content: space-between;
}
.slide.dark .quote { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
.quote__text {
  font-size: 18px; line-height: 1.45; font-weight: 400;
  letter-spacing: -0.005em;
  margin-bottom: 18px;
}
.slide.dark .quote__text { color: rgba(255,255,255,0.92); }
.slide.light .quote__text { color: #151824; }
.quote__author {
  font-size: 13px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.slide.dark .quote__author { color: rgba(155,196,255,0.85); }
.slide.light .quote__author { color: #0066EE; }

.stats-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
}
.stat__num {
  font-size: 76px; line-height: 1; font-weight: 500;
  letter-spacing: -0.035em;
}
.stat__num .italic { font-style: italic; font-weight: 500; }
.slide.dark .stat__num .italic { color: #9BC4FF; }
.slide.light .stat__num .italic { color: #0066EE; }
.stat__label {
  font-size: 17px; font-weight: 400; line-height: 1.4;
  margin-top: 14px;
  letter-spacing: -0.005em;
  max-width: 280px;
}
.slide.dark .stat__label { color: rgba(255,255,255,0.78); }
.slide.light .stat__label { color: rgba(21,24,36,0.72); }

.cta-pill {
  display: inline-flex; align-items: center;
  background: #FFFFFF; color: #151824;
  font-size: 18px; font-weight: 500; line-height: 1;
  padding: 18px 30px;
  border-radius: 132px;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.005em;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}
.slide.light .cta-pill {
  background: #0066EE; color: #FFFFFF;
  box-shadow: 0 8px 28px rgba(0,102,238,0.28);
}

.url {
  font-size: 17px; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.slide.dark .url { color: rgba(255,255,255,0.7); }
.slide.light .url { color: rgba(21,24,36,0.55); }

.integration-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  max-width: 980px;
}
.int-chip {
  padding: 14px 16px;
  background: rgba(0,102,238,0.06);
  border: 1px solid rgba(0,102,238,0.14);
  border-radius: 14px;
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  color: #151824;
  text-align: center;
}
