:root {
  --text-primary: #1a1a16;
  --text-secondary: #55534a;
  --border: #ccc7b8;
  --bg-light: #f2eee3;
  --bg-white: #faf8f1;

  --snes-red:   #c01030;
  --snes-amber: #b86a00;
  --snes-blue:  #1e4fc0;
  --snes-green: #007258;

  --accent: #1a1a16;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.loader {
  position: fixed; inset: 0; z-index: 12000;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease;
  opacity: 1;
}
.loader.done {
  opacity: 0;
  pointer-events: none;
  animation: fadeOut 0.5s ease forwards;
}

.loader-center {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex; align-items: center; justify-content: center;
}
.loader-logo {
  width: 80px;
  height: auto; border-radius: 50%; z-index: 1;
}

.loader-dots {
  display: none;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; }
body {
  font-family: 'Barlow', sans-serif;
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  background: var(--bg-light);
  background-image:
    linear-gradient(rgba(26,26,22,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,26,22,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}
html { overflow-x: clip; max-width: 100%; scroll-behavior: smooth; }

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

a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}
a:hover { opacity: 0.62; }

.stripe-bar { display: none; }

.deck { width:100%; }
.slide {
  padding: 44px 5%;
  margin: 0 auto;
  max-width: 1000px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.16,.8,.3,1),
              transform 0.7s cubic-bezier(.16,.8,.3,1);
}

.slide.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .slide {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.slide:first-child {
  padding-top: 72px;
  padding-bottom: 48px;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide:last-child {
  padding-top: 48px;
  padding-bottom: 48px;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide--cover {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: auto;
}

.cover-inner {
  position: relative;
  max-width: 800px;
}

.cover-kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
}

.cover-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.cover-rule {
  display: none;
}

.cover-logline {
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
  font-style: normal;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.cover-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cover-meta strong {
  font-weight: 600;
  color: var(--text-primary);
}

.pipe {
  margin: 0 8px;
  opacity: 0.5;
}

.slide--final {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: auto;
}

.slide--content {
  position: relative;
}

.slide--content::after,
.slide--cover:first-child::after {
  --dot: 5px;
  --gap: 15px;
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  height: var(--dot);
  width: calc(var(--dot) * 4 + var(--gap) * 3);
  background-image:
    radial-gradient(circle, var(--snes-red)   50%, transparent 55%),
    radial-gradient(circle, var(--snes-amber) 50%, transparent 55%),
    radial-gradient(circle, var(--snes-blue)  50%, transparent 55%),
    radial-gradient(circle, var(--snes-green) 50%, transparent 55%);
  background-size: var(--dot) var(--dot);
  background-repeat: no-repeat;
  background-position:
    0 center,
    calc(var(--dot) + var(--gap)) center,
    calc((var(--dot) + var(--gap)) * 2) center,
    calc((var(--dot) + var(--gap)) * 3) center;
}

.slide--cover:first-child { position: relative; }

.slide--final::after { content: none; }

.quad-bar {
  height: 3px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 28px;
  background-image: linear-gradient(
    to right,
    var(--snes-red)   0 25%,
    var(--snes-amber) 25% 50%,
    var(--snes-blue)  50% 75%,
    var(--snes-green) 75% 100%
  );
}

.slide--still::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--still);
  background-size: cover;
  background-position: center;
  opacity: 0.26;
  pointer-events: none;
}

@media (max-width: 768px) {
  .slide--still::before { opacity: 0.12; }
}

.content-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.slide-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 18px;
  margin-top: 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.slide-intro {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.slide-text {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.slide-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.slide-text em {
  font-style: italic;
  color: var(--text-secondary);
}

.simple-list {
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
  margin-left: 0;
}

.simple-list li {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 28px;
  position: relative;
}

.simple-list li:before {
  content: "–";
  position: absolute;
  left: 8px;
  font-weight: 600;
  color: var(--text-secondary);
}

.simple-list--spectrum li:nth-child(4n+1):before { color: var(--snes-red); }
.simple-list--spectrum li:nth-child(4n+2):before { color: var(--snes-amber); }
.simple-list--spectrum li:nth-child(4n+3):before { color: var(--snes-blue); }
.simple-list--spectrum li:nth-child(4n):before   { color: var(--snes-green); }

.risk-list {
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
}

.risk-list li {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 28px;
  position: relative;
}

.risk-list li:before {
  content: "–";
  position: absolute;
  left: 8px;
  font-weight: 600;
  color: var(--text-secondary);
}

.risk-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.spec {
  margin: 4px 0 24px;
  border-top: 1px solid var(--border);
}

.spec-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.spec-key {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-secondary);
  line-height: 1.9;
}

.spec-val {
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.65;
  color: var(--text-primary);
}

@media (max-width: 600px) {
  .spec-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 0;
  }
  .spec-key { line-height: 1.4; }
}

.faq {
  margin-bottom: 20px;
}

.faq:last-child {
  margin-bottom: 0;
}

.faq-q {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(19px, 2.4vw, 22px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 12px;
}

.step-list {
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
  counter-reset: step;
}

.step-list li {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 6px;
  padding-left: 38px;
  position: relative;
  counter-increment: step;
}

.step-list li:before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 24px;
  height: 24px;
  line-height: 22px;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
  border-radius: 50%;
}

.link {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.link:hover {
  opacity: 0.62;
}

.cta-section {
  margin-top: 22px;
  text-align: center;
}

.cta-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-button {
  display: inline-block;
  padding: 15px 38px;
  background: var(--text-primary);
  color: var(--bg-light);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-button:hover {
  opacity: 0.86;
  transform: translateY(-2px);
}

.cta-alt {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 10px;
}

.cta-alt strong {
  color: var(--text-primary);
  font-weight: 600;
}

.cta-legal {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  opacity: 0.75;
  margin-top: 10px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.download-section {
  margin-top: 40px;
}

.download-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: block;
  font-weight: 700;
}

.download-button {
  display: inline-block;
  padding: 12px 32px;
  background: transparent;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.download-button:hover {
  background: var(--text-primary);
  color: var(--bg-light);
}

.download-alt {
  display: block;
  margin-top: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-decoration: underline;
}

.rail {
  position: fixed;
  left: 34px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 0;
}

.rail-tick {
  position: relative;
  display: block;
  width: 40px;
  height: 2px;
  border: none;
  padding: 0;
  background: var(--text-primary);
  opacity: 0.24;
  cursor: pointer;
  transform: scaleX(0.4);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(.16,.8,.3,1),
              opacity 0.45s ease;
}

.rail-tick::after {
  content: '';
  position: absolute;
  inset: -7px -4px;
}

.rail-tick:hover { opacity: 0.55; transform: scaleX(0.6); }

.rail-tick.is-current {
  transform: scaleX(1);
  opacity: 0.95;
}

.rail-tick:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .rail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rail-tick { transition: none; }
}

.deck-footer {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 5% 64px;
  text-align: center;
}

.deck-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: var(--border);
}

.footer-id {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-id strong {
  color: var(--text-primary);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 transparent;
  transition: color 0.2s ease, box-shadow 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
  box-shadow: inset 0 -1px 0 var(--text-primary);
}

@media print {

  html, body {
    background: var(--bg-light);
    background-image:
      linear-gradient(rgba(26,26,22,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(26,26,22,0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    color: var(--text-primary);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body { padding: 0.4in; }

  .slide {
    padding: 20px 0 26px;
    border: none;
    opacity: 1;
    transform: none;
    transition: none;
    min-height: auto;
    max-width: 100%;
  }

  .slide--cover {
    min-height: auto;
    padding: 1.6in 0 1in;
  }

  .slide--final {
    min-height: auto;
    padding: 0.3in 0 0;
    page-break-inside: avoid;
  }

  .slide--final .cover-logline { margin-bottom: 0; }

  .deck-footer {
    padding: 10px 0 4px;
    page-break-inside: avoid;
    page-break-before: avoid;
  }

  .step-list li { margin-bottom: 6px; }
  .cta-section { margin-top: 22px; }
  .cta-alt { margin-top: 10px; }
  .cta-legal { margin-top: 10px; }
  .slide-text { margin-bottom: 12px; }
  .slide-heading { margin-bottom: 18px; }
  .faq { margin-bottom: 20px; }

  .slide--still::before,
  .deck-footer::before,
  .slide--content::after,
  .slide--cover:first-child::after { display: none; }

  .slide-intro {
    position: relative;
    padding-top: 12px;
  }

  .slide-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 56px;
    background-image: linear-gradient(
      to right,
      var(--snes-red)   0 25%,
      var(--snes-amber) 25% 50%,
      var(--snes-blue)  50% 75%,
      var(--snes-green) 75% 100%
    );
  }

  .faq,
  .spec-row,
  .step-list li,
  .cta-section { page-break-inside: avoid; }

  .slide-heading { page-break-before: avoid; page-break-after: avoid; }
  h3 { page-break-after: avoid; }

  .quad-bar { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  .rail { display: none !important; }
  .loader { display: none !important; }
  .download-section { display: none !important; }

  a { text-decoration: underline; }
}

@media (max-width: 768px) {
  .slide {
    padding: 48px 5%;
    max-width: 100%;
  }

  .slide-heading {
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 24px;
  }

  .cover-main {
    font-size: clamp(40px, 8vw, 60px);
  }

  .cta-text {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .slide {
    padding: 36px 5%;
    max-width: 100%;
  }

  .slide-heading {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 20px;
  }

  .cover-main {
    font-size: clamp(32px, 8vw, 48px);
  }

  .cover-logline {
    font-size: 16px;
  }

  .simple-list li,
  .risk-list li {
    font-size: 15px;
  }

  .cta-text {
    font-size: 18px;
  }
}
