:root {
  --ink: #111827;
  --paper: #f7f9fb;
  --teal: #0f766e;
  --red: #dc2626;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100svh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
  color: var(--ink);
}

.deck {
  display: grid;
  min-height: calc(100svh - 78px);
  place-items: center;
  padding: clamp(20px, 4vw, 56px);
}

.slide {
  display: none;
  width: min(980px, 100%);
  min-height: min(620px, 72svh);
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), transparent 42%),
    #fff;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
}

.slide.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kicker {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

p {
  max-width: 720px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.deck-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 78px;
  padding: 12px;
  border-top: 1px solid #d8dee8;
  background: rgba(247, 249, 251, 0.94);
}

.deck-controls a,
.deck-controls button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 0 14px;
  text-decoration: none;
}

.deck-controls button:last-child {
  background: var(--ink);
  color: #fff;
}

.deck-controls span {
  min-width: 58px;
  text-align: center;
  font-weight: 800;
}

@media (max-width: 640px) {
  .deck-controls {
    flex-wrap: wrap;
  }
}
