:root {
  --paper: #f7f5ef;
  --ink: #111522;
  --line: rgba(17, 21, 34, 0.12);
  --accent: #e67f4f;
  --muted: #5a5f6b;
}

* {
  box-sizing: border-box;
}

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

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

.deck {
  width: 100%;
}

.slide {
  position: relative;
  display: block;
  scroll-snap-align: start;
  background: var(--paper);
}

/* Slide images now have variable aspect ratios (each was auto-trimmed to
 * the actual content bounds, so the cream-coloured dead space is gone).
 * Width is capped to viewport, height follows the image's intrinsic ratio
 * via its width/height attributes. */
.slide img {
  display: block;
  width: 100vw;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.hotspot {
  display: none;
}

.quick-nav a:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid #e67f4f;
  outline-offset: 3px;
}

.quick-nav {
  display: none;
}

.quick-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(247, 245, 239, 0.9);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 10;
  transform: translateY(-180%);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-aspect-ratio: 16 / 9) {
  .slide img {
    width: 100vw;
  }
}

/* ── Pricing slide (slide-15) — HTML replacement for slide-15.jpg ─────── */
.slide--pricing {
  padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 96px);
}

.pricing {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 56px);
}

.pricing__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pricing__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.pricing__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.pricing__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.pricing__dot--small {
  width: 6px;
  height: 6px;
}

.pricing__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.pricing__title {
  margin: 0;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing__subtitle {
  margin: 0;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 500;
  font-style: italic;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.5vw, 36px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  gap: 14px;
}

.tier--featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.tier__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.tier__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.tier--featured .tier__eyebrow {
  color: rgba(247, 245, 239, 0.55);
}

.tier__name {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.tier__lede {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 400;
}

.tier--featured .tier__lede {
  color: rgba(247, 245, 239, 0.75);
}

.tier__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.tier__features li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.45;
}

.tier__features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.tier--featured .tier__features li::before {
  color: var(--accent);
}

.tier__cta {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.15s ease;
}

.tier__cta:hover {
  transform: translateY(-1px);
}

.tier__cta--accent {
  background: var(--accent);
  color: var(--paper);
}

.tier--featured .tier__cta:not(.tier__cta--accent) {
  background: var(--paper);
  color: var(--ink);
}

.pricing__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.pricing__pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  background: var(--paper);
}

.pricing__pill--solid {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

@media (max-width: 900px) {
  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .tier__badge {
    top: -10px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-snap-type: none;
  }

  .quick-nav {
    opacity: 1;
  }
}

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

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