:root {
  --bg-1: #d9efe8;
  --bg-2: #f3efe4;
  --ink: #142826;
  --ink-soft: #3d524e;
  --brand: #0f5c52;
  --brand-deep: #0a3d37;
  --accent: #d9772f;
  --accent-soft: rgba(217, 119, 47, 0.14);
  --panel: rgba(255, 252, 247, 0.72);
  --line: rgba(20, 40, 38, 0.12);
  --yes: #1f6b4a;
  --no: #9a3b2f;
  --shadow: 0 24px 60px rgba(15, 61, 55, 0.12);
  --radius: 1.25rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-2);
  overflow: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 12% 18%, rgba(15, 92, 82, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 88% 12%, rgba(217, 119, 47, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 45% at 70% 88%, rgba(15, 92, 82, 0.14), transparent 55%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2) 55%, #efe8d8);
  animation: drift 18s ease-in-out infinite alternate;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 40, 38, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 40, 38, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  opacity: 0.55;
}

@keyframes drift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.04) translate(-1.5%, 1%); }
}

.chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  pointer-events: none;
}

.chrome-brand,
.chrome-progress,
.eyebrow,
.hint {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.deck {
  height: 100vh;
  width: 100vw;
  outline: none;
}

.slide {
  display: none;
  height: 100%;
  padding: 4.5rem 1.5rem 5.5rem;
  align-items: center;
  justify-content: center;
}

.slide.is-active {
  display: flex;
  animation: rise 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-inner {
  width: min(920px, 100%);
}

.slide-inner.hero {
  text-align: left;
}

.brand-title {
  margin: 0.4rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--brand-deep);
  font-weight: 700;
  animation: titleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes titleIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

h2 {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
  font-weight: 700;
}

h2.closing {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand);
}

.eyebrow {
  color: var(--accent);
}

.lede,
.support {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 500;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border: 1.5px solid var(--brand);
  color: var(--brand-deep);
  background: rgba(255, 252, 247, 0.55);
  font-weight: 600;
  font-size: 0.95rem;
  animation: fadeUp 0.7s 0.2s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.points,
.quiet-list,
.quotes,
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.points li,
.quotes li,
.steps li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.35rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.45;
  color: var(--ink);
  animation: fadeUp 0.55s both;
}

.points li:nth-child(1),
.quotes li:nth-child(1),
.steps li:nth-child(1) { animation-delay: 0.05s; }
.points li:nth-child(2),
.quotes li:nth-child(2),
.steps li:nth-child(2) { animation-delay: 0.12s; }
.points li:nth-child(3),
.quotes li:nth-child(3),
.steps li:nth-child(3) { animation-delay: 0.19s; }
.points li:nth-child(4),
.quotes li:nth-child(4),
.steps li:nth-child(4) { animation-delay: 0.26s; }
.points li:nth-child(5),
.quotes li:nth-child(5),
.steps li:nth-child(5) { animation-delay: 0.33s; }

.points li::before,
.quotes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.points.alert li::before {
  background: var(--no);
}

.points strong {
  color: var(--brand);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.panel {
  padding: 1.25rem 1.35rem;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel.yes h3 { color: var(--yes); }
.panel.no h3 { color: var(--no); }

.quiet-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.4;
}

.quiet-list li:last-child {
  border-bottom: none;
}

.steps li {
  display: grid;
  grid-template-columns: 10.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding-left: 0;
}

.steps li span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
  font-size: 1.05rem;
}

.quotes li {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 500;
  color: var(--brand-deep);
}

.controls {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.55rem;
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--brand-deep);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-btn:hover,
.nav-btn:focus-visible {
  background: var(--brand);
  color: #fff;
  outline: none;
}

.nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.dots {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  max-width: min(52vw, 28rem);
  justify-content: center;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border: none;
  border-radius: 50%;
  background: rgba(20, 40, 38, 0.22);
  cursor: pointer;
  padding: 0;
}

.dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

.hint {
  position: fixed;
  right: 1.25rem;
  bottom: 1.45rem;
  z-index: 20;
  opacity: 0.75;
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .slide {
    padding: 4rem 1.1rem 6.5rem;
    min-height: 100vh;
    height: auto;
  }

  .split,
  .steps li {
    grid-template-columns: 1fr;
  }

  .steps li span {
    display: block;
  }

  .hint {
    display: none;
  }

  .controls {
    width: calc(100% - 1.5rem);
    justify-content: space-between;
  }

  .dots {
    max-width: none;
    flex: 1;
  }
}

@media print {
  .atmosphere,
  .controls,
  .hint,
  .chrome {
    display: none !important;
  }

  body {
    overflow: visible;
    background: white;
  }

  .slide {
    display: flex !important;
    page-break-after: always;
    height: 100vh;
    animation: none;
  }
}
