/* Zip — marketing site.
 * Brief: it's a GAME site, not a SaaS landing page.
 * Rules of the road:
 *   - Sunset gradient is always nearby.
 *   - Big chunky shadows (sticker feel).
 *   - Playful rotations (1–3deg) on cards, badges, emoji bursts.
 *   - Bouncy CTAs. Emoji accents everywhere.
 *   - Tilted section backdrops for arcade energy.
 */

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  color: #2B1055;
  background: #FFF7EE;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }

/* ---------- Tokens ---------- */
:root {
  --pink: #FF5C8A;
  --orange: #FF8A4C;
  --yellow: #FFD53D;
  --purple: #7C3AED;
  --teal: #3ACBBE;
  --mint: #5EE6C8;
  --sky: #5BC8FF;
  --cherry: #FF3B6C;
  --ink: #2B1055;
  --ink-2: #1A0B2E;
  --ink-soft: #4A2E7A;
  --ink-muted: #8977AB;
  --paper: #FFF7EE;
  --paper-2: #FFF3E8;
  --card: #FFFFFF;
  --line: #F0E3F5;
  --red: #F43F5E;

  --grad-hot: linear-gradient(135deg, #FF5C8A 0%, #FF8A4C 100%);
  --grad-cool: linear-gradient(135deg, #7C3AED 0%, #3ACBBE 100%);
  --grad-sunset: linear-gradient(135deg, #FF3B6C 0%, #FF8A4C 45%, #FFD53D 100%);
  --grad-hero:
    radial-gradient(900px 600px at 80% 10%, rgba(255,213,61,0.55), transparent 60%),
    radial-gradient(800px 600px at 10% 90%, rgba(124,58,237,0.55), transparent 60%),
    radial-gradient(600px 400px at 90% 85%, rgba(58,203,190,0.40), transparent 60%),
    linear-gradient(135deg, #FF5C8A 0%, #FF8A4C 100%);

  /* Chunky sticker shadows */
  --shadow-xs: 0 2px 0 rgba(43, 16, 85, 0.08);
  --shadow-sm: 0 6px 0 rgba(43, 16, 85, 0.08), 0 2px 8px rgba(43, 16, 85, 0.06);
  --shadow-md: 0 10px 0 rgba(43, 16, 85, 0.08), 0 18px 40px rgba(43, 16, 85, 0.12);
  --shadow-lg: 0 18px 0 rgba(43, 16, 85, 0.10), 0 36px 70px rgba(43, 16, 85, 0.25);
  --shadow-hot: 0 12px 0 #9A1A3D, 0 24px 50px rgba(255, 92, 138, 0.45);
  --shadow-ink: 0 10px 0 #1A0B2E, 0 20px 40px rgba(43, 16, 85, 0.5);
}

.font-display { font-family: 'Fredoka', system-ui, sans-serif; }
.ink { color: var(--ink); }
.ink-soft { color: var(--ink-soft); }
.ink-muted { color: var(--ink-muted); }
.grad-text {
  background: var(--grad-hot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-sunset-text {
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.tilt-1  { transform: rotate(-1.5deg); }
.tilt-2  { transform: rotate(1.5deg); }
.tilt-3  { transform: rotate(-2.5deg); }
.tilt-4  { transform: rotate(2deg); }

/* Sprinkle decorative confetti (emoji stuck to the page) */
.confetti {
  position: absolute;
  font-size: 40px;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.18));
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-14px) rotate(8deg); }
}
@keyframes bob-slow {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50%      { transform: translateY(-10px) rotate(-6deg); }
}

/* ---------- Top bar ---------- */
.nav {
  position: sticky; top: 12px; z-index: 40;
  margin: 12px auto 0;
  max-width: 1200px;
  padding: 0 14px;
}
.nav-inner {
  display: flex; align-items: center;
  gap: 18px; padding: 10px 14px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(1.2) blur(18px);
  -webkit-backdrop-filter: saturate(1.2) blur(18px);
  border: 2px solid rgba(43, 16, 85, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.brand {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700; font-size: 28px; letter-spacing: -1px;
  padding: 0 6px;
}
.brand-mark { color: transparent; background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; }
.brand-spark {
  font-size: 18px;
  display: inline-block;
  animation: sparkle 2.4s ease-in-out infinite;
}
@keyframes sparkle {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50%      { transform: rotate(14deg) scale(1.15); }
}
.nav-links {
  display: none; margin-left: 12px; gap: 22px;
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 14.5px;
  color: var(--ink-soft);
}
.nav-links a { transition: color 0.15s, transform 0.15s; }
.nav-links a:hover { color: var(--pink); transform: translateY(-1px); }
.nav-cta {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 13.5px;
  box-shadow: var(--shadow-ink);
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { transform: translateY(-3px) rotate(-1deg); }
.nav-cta:active { transform: translateY(1px); }

@media (min-width: 860px) {
  .nav-links { display: inline-flex; }
}

/* ---------- Hero (full-bleed arcade backdrop) ---------- */
.hero {
  position: relative; overflow: hidden;
  margin-top: -62px;  /* let the pill nav float over the hero */
  padding: 120px 0 120px;
  background: var(--grad-hero);
  color: #fff;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(60px); pointer-events: none;
}
.hero::before { top: -120px; left: -100px; width: 420px; height: 420px; background: rgba(255,255,255,0.18); }
.hero::after  { bottom: -140px; right: -80px; width: 460px; height: 460px; background: rgba(124, 58, 237, 0.42); }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; gap: 44px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) {
  .hero { padding: 140px 0 150px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 60px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.35);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transform: rotate(-2deg);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 12px var(--yellow);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.35); }
}

.h1 {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: clamp(44px, 8.5vw, 92px); line-height: 0.92;
  letter-spacing: -0.035em; margin: 20px 0 18px;
  text-shadow: 0 4px 0 rgba(0,0,0,0.08), 0 14px 30px rgba(0,0,0,0.15);
}
.h1 .word-stick {
  display: inline-block;
  padding: 0 14px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 14px;
  transform: rotate(-3deg);
  box-shadow: 0 6px 0 #C9A411, 0 14px 20px rgba(0,0,0,0.18);
}
.lede {
  font-size: 18px; color: rgba(255,255,255,0.92);
  max-width: 520px; line-height: 1.55;
  font-weight: 600;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; border-radius: 18px;
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 15.5px;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.btn:active { transform: translateY(3px); }
.btn-primary {
  background: #fff; color: var(--ink);
  box-shadow: 0 8px 0 rgba(43, 16, 85, 0.8), 0 14px 40px rgba(0,0,0,0.25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 11px 0 rgba(43, 16, 85, 0.9), 0 22px 50px rgba(0,0,0,0.3); }
.btn-ghost {
  background: rgba(255,255,255,0.15); color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 0 rgba(0,0,0,0.18);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,0.25); }
.btn-dark {
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow-ink);
}
.btn-dark:hover { transform: translateY(-3px) rotate(-1deg); }
.btn .ic { width: 22px; height: 22px; }

.trust {
  margin-top: 24px; display: flex; gap: 18px 26px; flex-wrap: wrap;
  color: rgba(255,255,255,0.92); font-size: 13px; font-weight: 700;
}
.trust span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Phone mockup ---------- */
.phone-wrap {
  position: relative; display: flex; justify-content: center;
  perspective: 1400px;
}
.phone-wrap::before {
  content: ''; position: absolute; inset: -40px;
  background: radial-gradient(circle, rgba(255,213,61,0.4) 0%, transparent 70%);
  filter: blur(30px);
  z-index: -1;
}
.phone {
  position: relative; width: 310px; aspect-ratio: 9 / 19.5;
  background: #1A0B2E;
  border-radius: 46px;
  padding: 12px;
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.12) inset,
    0 40px 80px rgba(0,0,0,0.5),
    0 0 0 2px rgba(0,0,0,0.3);
  transform: rotate(-4deg);
  animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-2deg) translateY(-14px); }
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 32px;
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 98px; height: 24px; background: #1A0B2E; border-radius: 14px;
  z-index: 2;
}
.phone-header {
  padding: 44px 20px 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.phone-date {
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 12px;
  color: var(--ink-soft);
}
.phone-streak {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-xs);
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 12px; color: var(--ink);
}
.phone-board {
  margin: 0 16px 12px; padding: 10px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 0 rgba(43, 16, 85, 0.06);
  aspect-ratio: 1;
}
.phone-board svg { width: 100%; height: 100%; }
.phone-sticks {
  margin: 8px 16px 0; padding: 12px 10px;
  background: #fff; border-radius: 18px; box-shadow: 0 4px 0 rgba(43, 16, 85, 0.05);
  display: flex; justify-content: space-between; gap: 4px;
}
.stick {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.stick-pill {
  width: 100%; height: 22px; border-radius: 8px;
  background: var(--line);
}
.stick-pill.done { background: var(--grad-hot); }
.stick-pill.today {
  background: var(--ink);
  position: relative;
}
.stick-pill.today::after {
  content: ''; position: absolute; inset: 3px;
  border: 2px solid rgba(255,255,255,0.3); border-radius: 6px;
}
.stick-day {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 10px; color: var(--ink-muted);
  letter-spacing: 0.08em;
}
.phone-play {
  margin: 14px 16px 0; padding: 14px;
  background: var(--ink); color: #fff;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 14px;
  box-shadow: 0 6px 0 rgba(0,0,0,0.3);
}

/* Confetti positions around hero */
.hero .confetti-1 { top: 18%; left: 8%;  font-size: 52px; animation-duration: 6s;}
.hero .confetti-2 { top: 10%; right: 22%; font-size: 44px; animation: bob-slow 5s ease-in-out infinite; animation-delay: -2s; }
.hero .confetti-3 { bottom: 18%; left: 48%; font-size: 36px; animation-delay: -1s; }
.hero .confetti-4 { top: 52%; right: 6%; font-size: 60px; animation: bob-slow 7s ease-in-out infinite; }
.hero .confetti-5 { bottom: 12%; right: 48%; font-size: 30px; animation-delay: -3s; }

/* ---------- Section scaffolding ---------- */
.section { padding: 100px 0; position: relative; }
.section-head {
  text-align: center; max-width: 700px; margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-block;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(255, 92, 138, 0.12);
  color: var(--pink);
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 16px;
  transform: rotate(-1.5deg);
}
.section-title {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: clamp(34px, 5.5vw, 56px); line-height: 1.02;
  letter-spacing: -0.025em; margin: 0 0 16px;
}
.section-lede {
  color: var(--ink-soft); font-size: 17px; font-weight: 600;
}

/* ---------- How-it-plays: big sticker cards in a row ---------- */
.steps-wrap { background: #FFF2DC; position: relative; overflow: hidden; }
.steps-wrap::before {
  content: ''; position: absolute; top: 0; right: -60px; width: 220px; height: 220px;
  background: var(--yellow); border-radius: 50%; opacity: 0.45; filter: blur(10px);
}
.steps-wrap::after {
  content: ''; position: absolute; bottom: -40px; left: -50px; width: 260px; height: 260px;
  background: var(--pink); border-radius: 50%; opacity: 0.22; filter: blur(16px);
}

.steps {
  position: relative; z-index: 2;
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.step {
  background: var(--card); border-radius: 28px;
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 3px solid var(--ink);
  transform: rotate(-1.2deg);
  transition: transform 0.25s, box-shadow 0.25s;
}
.step:nth-child(2) { transform: rotate(1deg); }
.step:nth-child(3) { transform: rotate(-0.6deg); }
.step:hover {
  transform: rotate(0) translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.step-n {
  position: absolute; top: -22px; left: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--grad-hot); color: #fff;
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 26px;
  border: 3px solid var(--ink);
  box-shadow: 0 6px 0 var(--ink);
  transform: rotate(-6deg);
}
.step h3 {
  margin: 24px 0 10px; font-family: 'Fredoka', sans-serif;
  font-weight: 700; font-size: 22px; letter-spacing: -0.01em;
}
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; font-weight: 600; }

/* ---------- Features: playful grid ---------- */
.features-section {
  background: #F3EBFF;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.features-section::before {
  content: '✨'; position: absolute;
  font-size: 120px; opacity: 0.1; top: 40px; right: 40px;
  transform: rotate(18deg);
}
.features {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
  position: relative; z-index: 2;
}
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }

.feature {
  background: var(--card); border-radius: 24px;
  padding: 28px;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.feature:nth-child(1) { transform: rotate(-0.8deg); }
.feature:nth-child(2) { transform: rotate(0.8deg); }
.feature:nth-child(3) { transform: rotate(-1.2deg); }
.feature:nth-child(4) { transform: rotate(1deg); }
.feature:nth-child(5) { transform: rotate(-0.6deg); }
.feature:nth-child(6) { transform: rotate(1.4deg); }
.feature:hover {
  transform: rotate(0) translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 64px; height: 64px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; margin-bottom: 18px;
  border: 3px solid var(--ink);
  box-shadow: 0 6px 0 var(--ink);
  transform: rotate(-4deg);
}
.fi-pink   { background: var(--pink); }
.fi-teal   { background: var(--teal); }
.fi-yellow { background: var(--yellow); }
.fi-purple { background: var(--purple); color: #fff; }
.fi-orange { background: var(--orange); }
.fi-ink    { background: var(--ink); color: #fff; }

.feature h3 {
  margin: 0 0 8px; font-family: 'Fredoka', sans-serif;
  font-weight: 700; font-size: 20px; letter-spacing: -0.01em;
}
.feature p { margin: 0; color: var(--ink-soft); font-size: 14.5px; font-weight: 600; line-height: 1.55; }

/* ---------- Premium ---------- */
.premium-wrap { padding: 100px 0; position: relative; }
.premium {
  position: relative; overflow: hidden;
  background: var(--grad-hero);
  border-radius: 36px;
  padding: 64px 40px;
  color: #fff;
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
  align-items: center;
  border: 4px solid var(--ink);
  box-shadow: 0 18px 0 var(--ink), var(--shadow-lg);
}
@media (min-width: 820px) {
  .premium { grid-template-columns: 1.3fr 1fr; padding: 70px 60px; }
}
.premium::before, .premium::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(40px); pointer-events: none;
}
.premium::before {
  top: -60px; left: -40px; width: 200px; height: 200px;
  background: rgba(255, 213, 61, 0.6);
}
.premium::after {
  bottom: -80px; right: -40px; width: 260px; height: 260px;
  background: rgba(124, 58, 237, 0.55);
}
.premium-badge {
  display: inline-flex; padding: 7px 16px;
  background: rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  transform: rotate(-2deg);
}
.premium h2 {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: clamp(36px, 5.5vw, 54px); line-height: 1.02;
  letter-spacing: -0.025em; margin: 20px 0 16px;
  position: relative; z-index: 1;
  text-shadow: 0 4px 0 rgba(0,0,0,0.08);
}
.premium p {
  color: rgba(255,255,255,0.95); font-size: 16.5px; margin: 0;
  max-width: 520px; position: relative; z-index: 1; font-weight: 600;
}
.premium ul {
  margin: 24px 0 0; padding: 0; list-style: none;
  display: grid; gap: 12px;
  position: relative; z-index: 1;
}
.premium ul li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 15.5px;
}
.premium ul li::before {
  content: '✓'; width: 26px; height: 26px;
  border-radius: 9px; background: var(--yellow); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900;
  border: 2px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}
.price-card {
  position: relative; z-index: 1;
  background: rgba(26, 11, 46, 0.55);
  backdrop-filter: blur(12px);
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 26px;
  padding: 36px 28px;
  text-align: center;
  transform: rotate(2deg);
  box-shadow: 0 10px 0 rgba(0,0,0,0.3);
}
.price-label {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.price-amt {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 72px; line-height: 1; letter-spacing: -0.04em;
  margin: 12px 0 6px;
  text-shadow: 0 4px 0 rgba(0,0,0,0.3);
}
.price-note {
  font-size: 13px; color: rgba(255,255,255,0.9); font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq-grid {
  max-width: 800px; margin: 0 auto;
  display: grid; gap: 14px;
}
.faq {
  background: var(--card); border-radius: 22px;
  border: 3px solid var(--ink); padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
.faq:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer; list-style: none;
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 17px;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 28px; color: var(--pink);
  transition: transform 0.2s;
  font-weight: 500; line-height: 0.5;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--yellow);
  box-shadow: 0 3px 0 var(--ink);
  flex-shrink: 0;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p {
  margin: 14px 0 0; color: var(--ink-soft);
  font-size: 15px; line-height: 1.65; font-weight: 600;
}

/* ---------- Download strip ---------- */
.download-strip {
  padding: 120px 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-strip::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 20% 30%, rgba(255, 92, 138, 0.4), transparent 60%),
    radial-gradient(600px 400px at 80% 70%, rgba(124, 58, 237, 0.5), transparent 60%);
  pointer-events: none;
}
.download-strip .container { position: relative; z-index: 2; }
.download-strip h2 {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: clamp(36px, 6vw, 64px); line-height: 1.02;
  letter-spacing: -0.025em; margin: 0 0 18px;
  text-shadow: 0 4px 0 rgba(0,0,0,0.3);
}
.download-strip p {
  color: rgba(255,255,255,0.85); font-size: 18px; font-weight: 600;
  max-width: 520px; margin: 0 auto 34px;
}
.store-badges {
  display: inline-flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px; border-radius: 18px;
  background: #fff; color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
  border: 3px solid var(--ink-2);
  box-shadow: 0 8px 0 rgba(0,0,0,0.5);
}
.store-badge:hover { transform: translateY(-4px); }
.store-badge:active { transform: translateY(2px); box-shadow: 0 3px 0 rgba(0,0,0,0.5); }
.store-badge .ic { width: 30px; height: 30px; }
.store-badge small {
  display: block; font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.7;
  font-family: 'Fredoka', sans-serif; font-weight: 600;
}
.store-badge strong {
  display: block; font-family: 'Fredoka', sans-serif;
  font-weight: 700; font-size: 18px; margin-top: 2px;
}
.store-badge.disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-2); color: rgba(255,255,255,0.75);
  padding: 64px 0 36px;
  border-top: 4px solid var(--pink);
}
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 36px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand .brand { color: #fff; font-size: 36px; }
.footer-brand .brand-mark { -webkit-text-fill-color: initial; color: transparent; }
.footer-brand p {
  margin: 14px 0 0; font-size: 14.5px; color: rgba(255,255,255,0.65);
  max-width: 340px; font-weight: 600;
}
.footer-col h4 {
  font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--yellow); margin: 0 0 16px;
}
.footer-col a {
  display: block; padding: 5px 0;
  color: rgba(255,255,255,0.82); font-size: 14.5px; font-weight: 600;
  transition: color 0.15s, transform 0.15s;
}
.footer-col a:hover { color: var(--yellow); transform: translateX(3px); }
.footer-bottom {
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 600;
}

/* ---------- Social icons (footer) ---------- */
.social-ic {
  color: rgba(255,255,255,0.82);
  transition: background 0.15s, transform 0.15s, color 0.15s;
}
.social-ic:hover {
  background: var(--yellow) !important;
  color: var(--ink);
  transform: translateY(-3px) rotate(-4deg);
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 780px; margin: 0 auto;
  padding: 70px 20px 110px;
}
.legal h1 {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: clamp(36px, 5vw, 52px); line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.legal .updated {
  color: var(--ink-muted); font-size: 13.5px;
  margin-bottom: 36px; font-weight: 700;
}
.legal h2 {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 24px; margin: 40px 0 12px;
}
.legal h3 {
  font-family: 'Fredoka', sans-serif; font-weight: 600;
  font-size: 18px; margin: 26px 0 8px;
}
.legal p, .legal li {
  color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; font-weight: 600;
}
.legal ul, .legal ol { padding-left: 24px; }
.legal a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--purple); }
.legal code {
  background: var(--paper-2); padding: 2px 6px;
  border-radius: 6px; font-size: 13.5px;
}

/* ---------- 404 ---------- */
.nf {
  min-height: 72vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 60px 20px;
}
.nf-code {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: clamp(120px, 22vw, 220px); line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 0 rgba(43, 16, 85, 0.15);
}
.nf h1 {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: 32px; margin: 12px 0 12px;
}
.nf p { color: var(--ink-soft); margin: 0 0 30px; font-weight: 600; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
/* Preserve decorative rotations on step/feature after reveal */
.step.reveal.in { transform: rotate(-1.2deg); }
.step:nth-child(2).reveal.in { transform: rotate(1deg); }
.step:nth-child(3).reveal.in { transform: rotate(-0.6deg); }
.feature:nth-child(1).reveal.in { transform: rotate(-0.8deg); }
.feature:nth-child(2).reveal.in { transform: rotate(0.8deg); }
.feature:nth-child(3).reveal.in { transform: rotate(-1.2deg); }
.feature:nth-child(4).reveal.in { transform: rotate(1deg); }
.feature:nth-child(5).reveal.in { transform: rotate(-0.6deg); }
.feature:nth-child(6).reveal.in { transform: rotate(1.4deg); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
