/* ============================================================
   STYLES — you rarely need to edit this file.
   To re-theme the whole page, change `theme` in config.js.
   To make your own theme, copy one of the theme blocks at the
   bottom and change the six color tokens.
   ============================================================ */

/* ---------- design tokens (default theme: "pop") ---------- */
:root {
  --bg: #fff8f1;        /* page background            */
  --card: #ffffff;      /* card background            */
  --ink: #171310;       /* text                       */
  --edge: var(--ink);   /* borders / hairlines        */
  --muted: #6b6259;     /* secondary text             */
  --accent: #ff90e8;    /* primary — Gumroad pink     */
  --accent-2: #ffc900;  /* highlight — sticker yellow */
  --accent-3: #23a094;  /* support — teal             */

  --border-w: 1px;
  --radius: 14px;
  --radius-sm: 10px;

  --font-display: "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, monospace;

  --wrap: 1120px;

  /* motion tokens */
  --dur-fast: 0.18s;
  --dur-med: 0.35s;
  --dur-slow: 0.6s;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent-3);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: var(--ink); }

/* ---------- layout utilities ---------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

.section-head { max-width: 640px; margin-bottom: 48px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}

.eyebrow::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: var(--border-w) solid var(--edge);
  border-radius: 4px;
  transform: rotate(-8deg);
  flex: none;
}

.heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  padding: 16px 26px;
  border: var(--border-w) solid var(--edge);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;

  transition: transform var(--dur-fast) var(--ease-smooth), box-shadow var(--dur-fast) var(--ease-smooth);
}

/* shine sweep across the button face */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.5) 50%, transparent 60%);
  transform: translateX(-130%);
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--ink);
}

.btn:hover::after { animation: btn-shine 0.6s var(--ease-smooth) forwards; }

.btn:active {
  transform: translateY(0) scale(0.98);
}

@keyframes btn-shine {
  to { transform: translateX(130%); }
}

.btn-primary { background: var(--accent); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-sm { padding: 12px 18px; font-size: 15px; }

/* ---------- announcement bar ---------- */
.announce {
  background: var(--accent-2);
  border-bottom: var(--border-w) solid var(--edge);
  padding: 9px 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  animation: announce-drop 0.45s var(--ease-smooth);
}

@keyframes announce-drop {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- nav ---------- */
.nav {
  border-bottom: var(--border-w) solid var(--edge);
  background: var(--bg);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}

.logo-mark { color: var(--accent-3); }

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 3px;
  transition: background-size 0.25s var(--ease-smooth);
}

.nav-links a:hover { background-size: 100% 3px; }

.logo-mark { display: inline-block; transition: transform 0.4s var(--ease-spring); }
.logo:hover .logo-mark { transform: rotate(180deg) scale(1.2); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 104px; overflow: hidden; }

.hero > .wrap { position: relative; z-index: 1; }

/* drifting deco shapes behind the hero content */
.deco {
  position: absolute;
  z-index: 0;
  border: var(--border-w) solid var(--edge);
  animation: deco-drift 7s ease-in-out infinite;
}

.deco-1 {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-2);
  top: 12%;
  left: 54%;
}

.deco-2 {
  width: 18px;
  height: 18px;
  background: var(--accent-3);
  transform: rotate(12deg);
  bottom: 14%;
  left: 42%;
  animation-duration: 9s;
  animation-delay: 1.2s;
}

.deco-3 {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--accent);
  top: 6%;
  right: 6%;
  transform: rotate(-10deg);
  animation-duration: 8s;
  animation-delay: 0.6s;
}

@keyframes deco-drift {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -14px; rotate: 14deg; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

/* headline words rise in one by one */
.hero h1 .w {
  display: inline-block;
  opacity: 0;
  animation: word-rise 0.5s var(--ease-spring) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes word-rise {
  from { opacity: 0; transform: translateY(0.55em) rotate(2deg); }
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

/* the marker underline draws itself after the words land */
.hero h1 .underline {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0% 0.28em;
  background-position: 0 88%;
  animation: draw-line var(--dur-slow) var(--ease-smooth) forwards;
  animation-delay: var(--ud, 0.8s);
}

@keyframes draw-line {
  to { background-size: 100% 0.28em; }
}

.hero-sub {
  font-size: 19px;
  max-width: 500px;
  color: var(--muted);
  margin: 0 0 32px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-family: var(--font-mono);
  font-size: 13.5px;
}

.hero-proof .stars { color: var(--accent-3); letter-spacing: 2px; }
.hero-proof .dot { color: var(--muted); }

/* stars twinkle in one by one */
.hero-proof .stars span {
  display: inline-block;
  opacity: 0;
  animation: star-pop 0.35s var(--ease-spring) forwards;
  animation-delay: var(--d, 0.6s);
}

@keyframes star-pop {
  from { opacity: 0; transform: scale(0) rotate(-40deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* product card */
.hero-card-zone { position: relative; }

.product-card {
  background: var(--card);
  border: var(--border-w) solid var(--edge);
  border-radius: var(--radius);

  transform: rotate(2deg);
  overflow: hidden;
  max-width: 420px;
  margin-left: auto;
}

.product-cover {
  background: var(--accent);
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 18%, transparent) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  border-bottom: var(--border-w) solid var(--edge);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 88px;
  animation: dots-pan 26s linear infinite;
}

@keyframes dots-pan {
  to { background-position: 88px 88px; }
}

/* the emoji on the drawn cover bobs gently */
.product-cover > span {
  display: inline-block;
  animation: bob 3.4s ease-in-out 1.6s infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-4deg); }
}

.product-cover img { width: 100%; height: 100%; object-fit: cover; }

.product-meta { padding: 22px 24px 24px; }

.product-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 4px;
}

.product-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 16px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border: var(--border-w) solid var(--edge);
  border-radius: 999px;
  background: var(--bg);
  transition: transform var(--dur-fast) var(--ease-spring);
}

.chip:hover { transform: rotate(-4deg) scale(1.1); }

/* the price sticker — the page's signature mark */
.sticker {
  position: absolute;
  top: -34px;
  right: -14px;
  width: 128px;
  height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--accent-2);
  clip-path: polygon(100% 50%, 89.6% 60.6%, 93.3% 75%, 79% 79%, 75% 93.3%, 60.6% 89.6%, 50% 100%, 39.4% 89.6%, 25% 93.3%, 21% 79%, 6.7% 75%, 10.4% 60.6%, 0% 50%, 10.4% 39.4%, 6.7% 25%, 21% 21%, 25% 6.7%, 39.4% 10.4%, 50% 0%, 60.6% 10.4%, 75% 6.7%, 79% 21%, 93.3% 25%, 89.6% 39.4%);
  transform: rotate(-12deg);
  z-index: 2;

  opacity: 0;
  animation:
    sticker-pop 0.5s var(--ease-spring) 1s forwards,
    sticker-sway 5s ease-in-out 2.4s infinite;
}

@keyframes sticker-pop {
  from { opacity: 0; transform: rotate(-32deg) scale(0); }
  to { opacity: 1; transform: rotate(-12deg) scale(1); }
}

@keyframes sticker-sway {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50% { transform: rotate(-6deg) scale(1.04); }
}

.sticker .price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
}

.sticker .note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

/* ---------- what's inside ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: var(--border-w) solid var(--edge);
  border-radius: var(--radius);

  padding: 26px 24px;
  transition: transform var(--dur-fast) var(--ease-smooth), box-shadow var(--dur-fast) var(--ease-smooth);
}

.feature-card:hover { transform: translate(-4px, -4px); }

.feature-card:hover .feature-icon { animation: wiggle 0.5s var(--ease-smooth); }

@keyframes wiggle {
  0%, 100% { transform: rotate(var(--tilt, -4deg)); }
  30% { transform: rotate(calc(var(--tilt, -4deg) + 10deg)) scale(1.1); }
  65% { transform: rotate(calc(var(--tilt, -4deg) - 5deg)); }
}

.feature-icon {
  --tilt: -4deg;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border: var(--border-w) solid var(--edge);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  transform: rotate(var(--tilt));
}

.feature-card:nth-child(3n + 1) .feature-icon { background: var(--accent); }
.feature-card:nth-child(3n + 2) .feature-icon { background: var(--accent-2); }
.feature-card:nth-child(3n + 3) .feature-icon { background: var(--accent-3); }

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 8px;
}

.feature-card p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ---------- contents / parts ---------- */
.parts {
  border: var(--border-w) solid var(--edge);
  border-radius: var(--radius);
  background: var(--card);

  overflow: hidden;
}

.part {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 26px 28px;
  align-items: baseline;
  transition: transform var(--dur-fast) var(--ease-smooth), background-color var(--dur-fast) var(--ease-smooth);
}

.part:hover {
  transform: translateX(8px);
  background-color: color-mix(in srgb, var(--accent) 10%, transparent);
}

.part + .part { border-top: var(--border-w) solid var(--edge); }

.part-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-3);
}

.part h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 6px;
}

.part p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ---------- testimonials ---------- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.quote-card {
  background: var(--card);
  border: var(--border-w) solid var(--edge);
  border-radius: var(--radius);

  padding: 26px 24px;
  transition: transform var(--dur-fast) var(--ease-smooth), box-shadow var(--dur-fast) var(--ease-smooth);
}

.quote-card:nth-child(odd) { transform: rotate(-1.2deg); }
.quote-card:nth-child(even) { transform: rotate(1.2deg); }
.quote-card:hover { transform: rotate(0deg) translateY(-5px); }

.quote-card blockquote {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17.5px;
  line-height: 1.4;
}

.quote-who { font-family: var(--font-mono); font-size: 13px; }
.quote-who .role { color: var(--muted); }

/* ---------- pricing ---------- */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: var(--border-w) solid var(--edge);
  border-radius: var(--radius);

  padding: 30px 26px;
  transition: transform var(--dur-fast) var(--ease-smooth), box-shadow var(--dur-fast) var(--ease-smooth);
}

.tier:hover { transform: translate(-4px, -4px); }

.tier-featured { background: var(--accent); }

.tier-featured:hover { }

.tier:hover .tier-badge { animation: wiggle 0.5s var(--ease-smooth); }

.tier-badge {
  --tilt: -3deg;
  position: absolute;
  top: -16px;
  left: 24px;
  background: var(--accent-2);
  border: var(--border-w) solid var(--edge);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  transform: rotate(var(--tilt));
}

.tier h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 14px;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.tier-price .now {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 40px;
  line-height: 1;
}

.tier-price .was {
  font-family: var(--font-mono);
  font-size: 16px;
  text-decoration: line-through;
  color: var(--muted);
}

.tier-featured .tier-price .was { color: var(--ink); opacity: 0.55; }

.tier-blurb { font-size: 15px; color: var(--muted); margin: 0 0 20px; }
.tier-featured .tier-blurb { color: var(--ink); opacity: 0.75; }

.tier ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.tier ul li { display: flex; gap: 10px; align-items: baseline; }
.tier ul li::before { content: "✓"; font-weight: 500; color: var(--accent-3); flex: none; }
.tier-featured ul li::before { color: var(--ink); }

.tier .btn { margin-top: auto; }

/* ---------- faq ---------- */
.faq-list { max-width: 720px; display: grid; gap: 14px; }

.faq-item {
  background: var(--card);
  border: var(--border-w) solid var(--edge);
  border-radius: var(--radius-sm);

  transition: transform var(--dur-fast) var(--ease-smooth), box-shadow var(--dur-fast) var(--ease-smooth);
}

.faq-item:hover { transform: translate(-2px, -2px); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.15s ease;
  flex: none;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .answer { padding: 0 22px 20px; font-size: 15.5px; color: var(--muted); }
.faq-item .answer p { margin: 0; }

/* ---------- final cta ---------- */
.final-panel {
  background: var(--accent);
  border: var(--border-w) solid var(--edge);
  border-radius: calc(var(--radius) + 6px);

  padding: 72px 32px;
  text-align: center;
}

.final-panel h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

.final-panel p {
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 17.5px;
}

.guarantee {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ---------- footer ---------- */
.footer {
  border-top: var(--border-w) solid var(--edge);
  padding: 32px 0 120px; /* bottom padding clears the sticky buy bar */
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.footer-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* inline store links section (under marquee) */
.store-links-section {
  border-top: var(--border-w) solid var(--edge);
  border-bottom: var(--border-w) solid var(--edge);
}
.store-links-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 0;
}

/* store badge links (Gumroad, Etsy, etc.) */
.footer-stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-top: var(--border-w) solid var(--edge);
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--edge);
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.15s, color 0.15s;
}
.store-badge:hover { border-color: var(--ink); }
.store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 24px;
  border-top: var(--border-w) solid var(--edge);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- sticky buy bar ---------- */
.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--card);
  border-top: var(--border-w) solid var(--edge);
  transform: translateY(110%);
  transition: transform 0.5s var(--ease-spring);
}

.buybar.show { transform: translateY(0); }

.buybar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.buybar-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.buybar-price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  background: var(--accent-2);
  border: var(--border-w) solid var(--edge);
  border-radius: 8px;
  padding: 3px 10px;
  flex: none;
}

.buybar .btn { margin-left: auto; flex: none; }
.about-body { max-width: 680px; margin: 0 auto; }
.about-body p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.about-body p:last-child { margin-bottom: 0; }

/* ---------- motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes card-in {
  from { opacity: 0; transform: rotate(6deg) translateY(24px); }
  to { opacity: 1; transform: rotate(2deg) translateY(0); }
}

.rise { opacity: 0; animation: rise 0.55s var(--ease-smooth) forwards; animation-delay: var(--d, 0s); }

/* card settles in, then floats forever */
.product-card.animate {
  opacity: 0;
  animation:
    card-in 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.35s forwards,
    card-float 6s ease-in-out 2.2s infinite;
}

@keyframes card-float {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2.6deg) translateY(-10px); }
}

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

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

  /* complete every animation instantly and freeze ambient loops */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .rise, .product-card.animate, .hero h1 .w, .hero-proof .stars span, .sticker { animation: none; opacity: 1; }
  .hero h1 .underline { animation: none; background-size: 100% 0.28em; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .deco { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 88px; }
  .deco { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .product-card { margin: 0 auto; }
  .cards-grid, .quotes-grid, .tiers-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 620px) {
  .cards-grid, .quotes-grid, .tiers-grid { grid-template-columns: 1fr; }
  .part { grid-template-columns: 1fr; gap: 6px; padding: 22px 20px; }
  .sticker { width: 108px; height: 108px; top: -28px; right: -6px; }
  .sticker .price { font-size: 23px; }
  .buybar-name { display: none; }
  .final-panel { padding: 56px 20px; }
}

/* ---------- scroll-morph hero ---------- */
.hero-morph {
  position: relative;
  height: clamp(680px, 96vh, 1080px);
  overflow: hidden;
  background: var(--bg);
  border-bottom: var(--border-w) solid var(--edge);
}

.morph-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.flip-card {
  position: absolute;
  left: -30px;
  top: -42.5px;
  width: 60px;
  height: 85px;
  cursor: pointer;
  will-change: transform, opacity;
  opacity: 0;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-spring);
}

.flip-card:hover .flip-inner { transform: rotateY(180deg); }

.flip-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 8px;
  border: var(--border-w) solid var(--edge);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--card);
}

.flip-front img { width: 100%; height: 100%; object-fit: cover; display: block; }

.flip-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.flip-back-price { font: 500 13px/1 var(--font-mono); color: var(--accent); }

.flip-back-note {
  font: 400 8px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.morph-intro {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  pointer-events: none;
  z-index: 1;
  padding: 0 24px;
  opacity: 0;
}

.morph-intro-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.01em;
  margin: 0;
}

.morph-hint {
  margin: 14px 0 0;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.morph-content {
  position: absolute;
  top: 6%;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.morph-content h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 720px;
}

.morph-sub {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 540px;
  margin: 0 0 26px;
}

.morph-content .hero-ctas {
  pointer-events: auto;
  justify-content: center;
  margin-bottom: 0;
}

@media (max-width: 620px) {
  .hero-morph { height: clamp(600px, 94vh, 860px); }
  .flip-card { width: 46px; height: 66px; left: -23px; top: -33px; }
  .morph-sub { font-size: 15px; }
}

/* ---------- brand marquee (scroll-velocity divider band) ---------- */
.marquee {
  overflow: hidden;
  border-top: var(--border-w) solid var(--edge);
  border-bottom: var(--border-w) solid var(--edge);
  background: var(--bg);
  padding: 22px 0;
  display: grid;
  gap: 2px;
}

.marquee-row { overflow: hidden; }

.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.marquee-item { display: inline-flex; align-items: center; }

.marquee-sep {
  color: var(--accent-3);
  margin: 0 0.45em;
  font-size: 0.55em;
}

/* second row runs the other way, drawn as an outline */
.marquee-alt .marquee-track {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  /* no animation: show a single, still brand line */
  .marquee-alt { display: none; }
}

/* ============================================================
   THEMES — set `theme` in config.js to one of these names.
   To create your own theme, copy a block, rename it, and point
   config.js at the new name.
   ============================================================ */

/* Dark, for tech products and tools */
[data-theme="midnight"] {
  --bg: #16132a;
  --card: #211c40;
  --ink: #f4f1ff;
  --muted: #a9a3c9;
  --accent: #ff90e8;
  --accent-2: #ffd84d;
  --accent-3: #3ddbc4;
}

[data-theme="midnight"] .product-cover {
  background-image: radial-gradient(rgba(22, 19, 42, 0.35) 1.5px, transparent 1.5px);
}

/* Fresh, for wellness, food, and outdoors */
[data-theme="mint"] {
  --bg: #ecf6ee;
  --card: #ffffff;
  --ink: #12301f;
  --muted: #52705f;
  --accent: #9dedbe;
  --accent-2: #ffe066;
  --accent-3: #1e7a4f;
}

/* Warm and loud, for bold personal brands */
[data-theme="tangerine"] {
  --bg: #fff2e2;
  --card: #ffffff;
  --ink: #2a1608;
  --muted: #7c6250;
  --accent: #ff9a4d;
  --accent-2: #ffd23f;
  --accent-3: #c2451e;
}

/* Black and minimal — no shadows, hairline edges, thin type */
[data-theme="noir"] {
  --bg: #000000;
  --card: #0d0d0d;
  --ink: #f1f1ec;
  --edge: rgba(241, 241, 236, 0.18);
  --muted: #8e8e86;
  --accent: #9fe8c0;
  --accent-2: #e5c76b;
  --accent-3: #6fcfb2;
}

[data-theme="noir"] .marquee { background: var(--bg); }

[data-theme="noir"] .btn-primary,
[data-theme="noir"] .tier-badge,
[data-theme="noir"] .sticker,
[data-theme="noir"] .buybar-price { color: #0a0a0a; }

[data-theme="noir"] .tier-featured {
  background: var(--card);
  border-color: var(--accent);
}

[data-theme="noir"] .product-cover {
  background-image: radial-gradient(rgba(0, 0, 0, 0.25) 1.5px, transparent 1.5px);
}

[data-theme="noir"] ::selection { color: #0a0a0a; }
