/* ══════════════════════════════════════════════════════════════
   MIMO Design System — mimo.io
   Paleta pastel editorial + tipografía Playfair + DM Sans
   ══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Brand colors */
  --cream:         #FFF8F0;
  --cream-2:       #F5F2EE;
  --plum:          #4A2C4E;
  --plum-light:    #F0EBF8;
  --charcoal:      #3D3530;
  --muted:         #7A6F68;
  --border:        #E0DAD3;
  --border-light:  #EDE9E4;

  /* Pastel palette */
  --lavender:       #C4B5D4;
  --lavender-light: #EDE8F5;
  --lavender-dark:  #7A5A9B;
  --sage:           #B8D4C8;
  --sage-light:     #E8F4EF;
  --sage-dark:      #3A7A68;
  --blush:          #F2C4CE;
  --blush-light:    #FDEEF1;
  --blush-dark:     #9B4A5A;
  --sky:            #B5D0E8;
  --sky-light:      #E8F2FA;
  --sky-dark:       #4A7A9B;
  --peach:          #F4C9A0;
  --peach-light:    #FDF0E0;
  --mint:           #A8D8C8;

  /* Accents */
  --accent-gold:   #E8A44A;
  --accent-terra:  #C4614A;
  --accent-sage:   #5A8A78;

  /* Background / surface */
  --bg:            #FFF8F0;
  --surface:       #FFFCF8;
  --surface-2:     #F5F2EE;

  /* Text */
  --text:          #3D3530;
  --text-muted:    #7A6F68;
  --text-faint:    #B0A89F;

  /* Fonts */
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;

  /* Type scale */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(2.8rem, 1rem + 5.5vw, 5.5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 4px rgba(61,53,48,0.06);
  --shadow-sm:  0 2px 12px rgba(61,53,48,0.08);
  --shadow-md:  0 8px 32px rgba(61,53,48,0.10);
  --shadow-lg:  0 20px 60px rgba(61,53,48,0.13);

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --dur-fast:   150ms;
  --dur-mid:    250ms;
  --dur-slow:   400ms;
}

[data-theme="dark"] {
  --bg:           #1C1814;
  --surface:      #231E1A;
  --surface-2:    #2A2420;
  --text:         #F0ECE8;
  --text-muted:   #A09890;
  --text-faint:   #6A6058;
  --border:       #3A3028;
  --border-light: #302820;
  --cream:        #1C1814;
  --cream-2:      #231E1A;
  --charcoal:     #F0ECE8;
  --muted:        #A09890;
  --plum-light:   #2A2238;
  --lavender-light: #2A2238;
  --sage-light:   #1E2A26;
  --blush-light:  #2E1E22;
  --sky-light:    #1E2432;
  --peach-light:  #2E2418;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--dur-slow) var(--ease), color var(--dur-slow) var(--ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(var(--space-6), 5vw, var(--space-12));
}

/* ── Typography helpers ─────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: var(--space-4);
}
[data-theme="dark"] .section-eyebrow { color: var(--lavender); }

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: var(--space-5);
}

.section-title em {
  font-style: italic;
  color: var(--plum);
}
[data-theme="dark"] .section-title em { color: var(--lavender); }

.section-subtitle {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.65;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.section-header .section-subtitle { margin: 0 auto; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75em 1.6em;
  background: var(--plum);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.btn-primary:hover {
  background: #3A1E40;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-large { padding: 0.9em 2em; font-size: var(--text-sm); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75em 1.6em;
  color: var(--plum);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 1.5px solid var(--lavender);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.btn-ghost:hover { border-color: var(--plum); background: var(--plum-light); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75em 2em;
  color: var(--plum);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 1.5px solid var(--border);
  transition: all var(--dur-fast);
}
.btn-outline:hover { border-color: var(--plum); background: var(--plum-light); }

.btn-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7em 1.4em;
  background: var(--surface-2);
  color: var(--plum);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 1.5px solid var(--border);
  transition: all var(--dur-fast);
}
.btn-product:hover { background: var(--plum); color: white; border-color: var(--plum); }
.btn-product.btn-bundle { background: var(--plum); color: white; border-color: var(--plum); }
.btn-product.btn-bundle:hover { background: #3A1E40; }

/* ── Nav ────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--dur-slow);
}
[data-theme="dark"] .site-header { background: rgba(28, 24, 20, 0.92); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(var(--space-4), 5vw, var(--space-12));
  height: 60px;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.logo { display: flex; align-items: center; color: var(--charcoal); flex-shrink: 0; }
.logo:hover { opacity: 0.85; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex: 1;
}
.nav-links a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--dur-fast);
}
.nav-links a:hover { color: var(--plum); }

.nav-actions { display: flex; align-items: center; gap: var(--space-4); }

.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.theme-toggle:hover { background: var(--surface-2); color: var(--text); }
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-cta { padding: 0.55em 1.1em; font-size: var(--text-sm); white-space: nowrap; }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  margin-left: auto;
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--dur-fast);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-light);
  background: var(--bg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: var(--space-4) clamp(var(--space-6), 5vw, var(--space-12));
  font-size: var(--text-base);
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  font-weight: 500;
}
.mobile-menu a:last-child { border-bottom: none; margin: var(--space-4); border-radius: var(--radius-full); text-align: center; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(var(--space-10), 6vw, var(--space-20)) 0;
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.shape {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: 0.45;
}
.shape-1 {
  width: clamp(300px, 40vw, 500px);
  height: clamp(300px, 40vw, 500px);
  background: radial-gradient(circle, var(--lavender) 0%, transparent 70%);
  top: -10%;
  right: -5%;
}
.shape-2 {
  width: clamp(200px, 25vw, 350px);
  height: clamp(200px, 25vw, 350px);
  background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
  bottom: 10%;
  left: -5%;
}
.shape-3 {
  width: clamp(150px, 18vw, 250px);
  height: clamp(150px, 18vw, 250px);
  background: radial-gradient(circle, var(--blush) 0%, transparent 70%);
  top: 30%;
  right: 30%;
  opacity: 0.3;
}
.shape-4 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
  bottom: 20%;
  right: 15%;
  opacity: 0.25;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(var(--space-6), 5vw, var(--space-12));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}

.hero-content { max-width: 540px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
  background: var(--plum-light);
  padding: 0.4em 1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
[data-theme="dark"] .hero-eyebrow { background: rgba(196,181,212,0.15); color: var(--lavender); }

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: var(--space-6);
}
.hero-title em {
  font-style: italic;
  color: var(--plum);
}
[data-theme="dark"] .hero-title em { color: var(--lavender); }

.hero-subtitle {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.proof-avatars {
  display: flex;
  align-items: center;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.av1 { background: var(--lavender); }
.av2 { background: var(--sage); }
.av3 { background: var(--blush); }
.av4 { background: var(--sky); }
.av5 { background: var(--peach); }

.proof-text {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}
.proof-text strong { color: var(--text); font-weight: 600; }

/* ── Mock Stack (Hero Visual) ──────────────────────────────── */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }

.mock-stack {
  position: relative;
  width: clamp(240px, 35vw, 440px);
  height: clamp(290px, 42vw, 520px);
}

.mock-card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.card-front {
  width: 90%;
  height: 90%;
  top: 5%;
  left: 5%;
  z-index: 3;
}
.card-back-1 {
  width: 80%;
  height: 80%;
  top: 0;
  left: 12%;
  z-index: 2;
  transform: rotate(5deg) translate(6px, -10px);
  opacity: 0.9;
}
.card-back-2 {
  width: 75%;
  height: 75%;
  top: 3%;
  left: 0;
  z-index: 1;
  transform: rotate(-6deg) translate(-8px, -8px);
  opacity: 0.75;
}

.mock-header {
  padding: var(--space-4) var(--space-5);
  flex-shrink: 0;
}
.mock-title-block { display: flex; flex-direction: column; gap: 4px; }
.mock-label { font-family: var(--font-body); font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.mock-line { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.5); }
.mock-line.long { width: 70%; }
.mock-line.short { width: 45%; }
.mock-badge {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  margin-top: var(--space-2);
  align-self: flex-start;
}

.mock-body { flex: 1; padding: var(--space-4); }
.mock-footer {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mock-url { font-size: 7px; color: var(--text-faint); font-weight: 500; }
.mock-tag { font-size: 7px; color: var(--text-faint); }

/* Canvas grid in mock */
.canvas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: var(--space-2);
  height: 100%;
}
.canvas-zone {
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.canvas-zone.z5 { grid-column: 1 / -1; }
.zone-label { font-size: 7px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); }
.zone-lines { display: flex; flex-direction: column; gap: 3px; }
.zone-lines.inline { flex-direction: row; gap: var(--space-2); }
.zone-lines .mock-line { background: rgba(61,53,48,0.12); }
.zone-lines .mock-line.short { width: 50%; }

/* 7-day grid */
.mock-grid-7 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  height: 100%;
}
.day-col {
  border-radius: var(--radius-sm);
  background: var(--col-color);
  font-size: 7px;
  font-weight: 700;
  color: rgba(61,53,48,0.6);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

/* Goals mock */
.mock-goals { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-2) 0; }
.goal-row { display: flex; align-items: center; gap: var(--space-3); }
.goal-check {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--sage);
  flex-shrink: 0;
}
.goal-check.filled { background: var(--sage); border-color: var(--sage); }
.goal-bar { height: 6px; border-radius: var(--radius-full); opacity: 0.8; }

/* Doodles */
.doodle {
  position: absolute;
  z-index: 4;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.doodle-star { top: -8%; right: -4%; animation: float 3.5s ease-in-out infinite; }
.doodle-circle { bottom: 12%; left: -4%; animation: float 4s ease-in-out infinite reverse; }
.doodle-dots { top: 55%; right: -8%; animation: float 5s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Social bar ─────────────────────────────────────────────── */
.social-bar {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--surface);
}
.social-bar .container {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.social-bar-text {
  font-size: var(--text-xs);
  color: var(--text-faint);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.platforms-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.3em 0.9em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
}
.platform-featured {
  background: var(--plum-light);
  border-color: var(--lavender);
  color: var(--plum);
  font-weight: 600;
}
[data-theme="dark"] .platform-featured { background: rgba(196,181,212,0.12); }

/* ── Collections ────────────────────────────────────────────── */
.collections {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.coll-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--dur-mid) var(--ease);
  position: relative;
  overflow: hidden;
}
.coll-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--coll-color);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.coll-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--coll-color);
}
.coll-card.coll-featured {
  background: var(--plum-light);
  border-color: var(--lavender);
}
[data-theme="dark"] .coll-card.coll-featured { background: rgba(196,181,212,0.08); }

.coll-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--coll-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coll-dark);
  opacity: 0.9;
  flex-shrink: 0;
}

.coll-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--accent-gold);
  color: white;
}

.coll-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.2;
}

.coll-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.coll-count {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--plum);
  opacity: 0.7;
}
[data-theme="dark"] .coll-count { color: var(--lavender); }

.collections-cta { text-align: center; }

/* ── What is a Mimo ─────────────────────────────────────────── */
.what-is {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
  background: var(--surface);
}

.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 8vw, var(--space-20));
  align-items: center;
}

.what-content .section-title { font-size: var(--text-2xl); margin-bottom: var(--space-6); }
.what-body { color: var(--text-muted); line-height: 1.7; margin-bottom: var(--space-5); }
.what-body strong { color: var(--text); }

.what-types {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.type-chip {
  display: inline-block;
  padding: 0.3em 0.9em;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* Spread visual */
.what-visual { display: flex; justify-content: center; align-items: center; }

.spread-container {
  position: relative;
  width: clamp(260px, 35vw, 420px);
  height: clamp(200px, 26vw, 320px);
}

.spread-page {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .spread-page { background: var(--surface); }

.page-left {
  width: 48%;
  height: 90%;
  top: 5%;
  left: 0;
  z-index: 1;
  transform: rotate(-2deg);
}
.page-right {
  width: 48%;
  height: 90%;
  top: 5%;
  right: 0;
  z-index: 2;
  transform: rotate(1deg);
}

.sp-header {
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 var(--space-3);
}
.sp-title { height: 4px; width: 50%; border-radius: 2px; background: rgba(255,255,255,0.6); }

.sp-body { flex: 1; padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-3); }

.sp-section { display: flex; flex-direction: column; gap: 4px; }
.sp-label { height: 4px; width: 35%; border-radius: 2px; background: var(--border); }
.sp-field { height: 20px; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.sp-field.tall { height: 36px; }

.sp-checks { display: flex; flex-direction: column; gap: 5px; }
.sp-check-row { display: flex; align-items: center; gap: 5px; }
.sp-check { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--border); flex-shrink: 0; }
.sp-check.done { background: var(--blush-dark); border-color: var(--blush-dark); }
.sp-check-line { flex: 1; height: 3px; border-radius: 2px; background: var(--border); }
.sp-check-line.short { flex: 0.6; }

.sp-progress-area { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.sp-progress-bar { height: 6px; border-radius: var(--radius-full); background: var(--border); overflow: hidden; }
.sp-progress-fill { height: 100%; border-radius: var(--radius-full); }
.sp-label.small { height: 3px; width: 30%; }

.sp-footer { padding: var(--space-2) var(--space-3); border-top: 1px solid var(--border-light); }
.sp-url { font-size: 6px; color: var(--text-faint); font-weight: 500; }

.spread-shadow {
  position: absolute;
  bottom: -8px;
  left: 10%;
  right: 10%;
  height: 20px;
  border-radius: 50%;
  background: rgba(61,53,48,0.12);
  filter: blur(10px);
  z-index: 0;
}

.spread-doodle {
  position: absolute;
  font-size: 20px;
  z-index: 3;
  line-height: 1;
}
.sd1 { top: -10%; right: -4%; color: var(--accent-gold); animation: float 3.5s ease-in-out infinite; }
.sd2 {
  bottom: -5%;
  left: -3%;
  font-size: 28px;
  color: var(--lavender);
  animation: float 4.5s ease-in-out infinite reverse;
}

/* ── Products ────────────────────────────────────────────────── */
.products {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.product-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--dur-mid) var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.product-thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-mock {
  width: 75%;
  height: 80%;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .thumb-mock { background: var(--surface); }

.tm-header {
  padding: var(--space-2) var(--space-3);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tm-title-line { height: 3px; width: 60%; border-radius: 2px; background: rgba(255,255,255,0.5); }
.tm-label { font-size: 7px; color: rgba(255,255,255,0.85); font-weight: 600; letter-spacing: 0.06em; }

.tm-body { flex: 1; padding: var(--space-2) var(--space-3); }

.tm-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; height: 100%; }
.tm-col { border-radius: 3px; }

/* Canvas thumb */
.canvas-thumb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: var(--space-2);
}
.ct-zone { border-radius: 3px; padding: 3px 4px; }
.ct-label { font-size: 6px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.06em; }

/* Goals thumb */
.tm-goals { display: flex; flex-direction: column; gap: 5px; padding: 2px 0; }
.tg-row { display: flex; align-items: center; gap: 4px; }
.tg-circle { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--sage); flex-shrink: 0; }
.tg-circle.filled { background: var(--sage); border-color: var(--sage); }
.tg-bar { height: 5px; border-radius: var(--radius-full); }

/* Calendar thumb */
.tm-calendar { display: flex; flex-direction: column; gap: 3px; }
.cal-week { display: grid; grid-template-columns: repeat(5,1fr); gap: 2px; }
.cal-day { height: 14px; border-radius: 2px; background: var(--border-light); }

/* Rate thumb */
.tm-rate { display: flex; flex-direction: column; gap: 5px; padding: 2px 0; }
.rate-row { display: flex; align-items: center; gap: 5px; }
.rate-label { width: 35%; height: 5px; border-radius: 2px; background: var(--border); }
.rate-val { flex: 1; height: 8px; border-radius: var(--radius-full); }
.rate-val.highlight { box-shadow: 0 0 6px rgba(232,164,74,0.5); }

/* Bundle card */
.bundle-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bundle-stack-visual {
  position: relative;
  width: 100px;
  height: 120px;
}
.bsv-page {
  position: absolute;
  width: 80px;
  height: 105px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  top: 5px;
  left: 10px;
}
.bsv-header { height: 22px; }
.bundle-label {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.9);
  color: var(--plum);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.product-info {
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.product-collection {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--plum);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
[data-theme="dark"] .product-collection { color: var(--lavender); }

.product-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.25;
}

.product-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-stars {
  font-size: var(--text-xs);
  color: var(--accent-gold);
  font-weight: 600;
}
.star-count { color: var(--text-faint); font-weight: 400; }

.product-price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--plum);
}
[data-theme="dark"] .product-price { color: var(--lavender); }

.price-group { display: flex; align-items: baseline; gap: var(--space-2); }
.price-original {
  font-size: var(--text-sm);
  color: var(--text-faint);
  text-decoration: line-through;
}

/* ── How It Works ────────────────────────────────────────────── */
.how {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
  background: var(--surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-12);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}

.step-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--border);
  line-height: 1;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--plum-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme="dark"] .step-icon { background: rgba(196,181,212,0.12); }

.step-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--charcoal);
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 26ch;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: var(--space-8);
  opacity: 0.5;
}

.formats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}
.format-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5em 1.2em;
  background: var(--surface-2);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.testi-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all var(--dur-mid) var(--ease);
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.testi-card.testi-featured {
  background: var(--plum-light);
  border-color: var(--lavender);
}
[data-theme="dark"] .testi-card.testi-featured {
  background: rgba(196,181,212,0.08);
  border-color: rgba(196,181,212,0.3);
}

.testi-rating {
  font-size: var(--text-sm);
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

.testi-text {
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}

.testi-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  color: white;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--charcoal);
}
.testi-author span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--plum);
  padding: clamp(var(--space-12), 7vw, var(--space-20)) 0;
  position: relative;
  overflow: hidden;
}

.cta-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}
.cta-shape.s1 {
  width: 400px;
  height: 400px;
  background: white;
  top: -150px;
  right: -100px;
}
.cta-shape.s2 {
  width: 250px;
  height: 250px;
  background: var(--lavender);
  bottom: -80px;
  left: -60px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.cta-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: white;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}
.cta-title em { font-style: italic; color: var(--lavender); }

.cta-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.65);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-end;
  flex-shrink: 0;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.9em 2em;
  background: white;
  color: var(--plum);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: all var(--dur-fast);
}
.btn-cta-white:hover { background: var(--cream); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75em 1.6em;
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: all var(--dur-fast);
}
.btn-cta-ghost:hover { color: white; border-color: rgba(255,255,255,0.6); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}

.footer-inner {
  padding-top: clamp(var(--space-12), 6vw, var(--space-20));
  padding-bottom: clamp(var(--space-12), 6vw, var(--space-20));
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: clamp(var(--space-10), 8vw, var(--space-20));
}

.footer-logo { margin-bottom: var(--space-4); }

.footer-tagline {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--plum);
  margin-bottom: var(--space-3);
}
[data-theme="dark"] .footer-tagline { color: var(--lavender); }

.footer-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 32ch;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer-col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--dur-fast);
}
.footer-col a:hover { color: var(--plum); }
[data-theme="dark"] .footer-col a:hover { color: var(--lavender); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: var(--space-5) 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--text-faint);
}

/* ── Scroll reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .collections-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  /* Tablet: hide nav links to avoid wrapping, show mobile toggle */
  .nav-links { display: none; }
  .mobile-menu-toggle { display: flex; }
  .nav-cta { display: none; }
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    /* stack: visual above text on mobile */
  }
  /* Show hero visual on mobile — smaller and above content */
  .hero-visual {
    display: flex;
    order: -1; /* visual on top */
  }
  .mock-stack {
    width: clamp(220px, 70vw, 340px);
    height: clamp(270px, 85vw, 420px);
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
  }
  .what-grid {
    grid-template-columns: 1fr;
  }
  .what-visual { display: none; }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .step-connector { display: none; }
  .step-num { font-size: var(--text-xl); }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .theme-toggle { display: flex; }

  /* Mobile hero: reduce padding, compact layout */
  .hero {
    padding: var(--space-8) 0 var(--space-10);
  }
  .hero-inner {
    gap: var(--space-6);
  }
  .hero-eyebrow {
    font-size: 10px;
    padding: 0.35em 0.85em;
    margin-bottom: var(--space-4);
  }
  .hero-title {
    font-size: clamp(2rem, 9vw, 2.6rem);
    margin-bottom: var(--space-4);
  }
  .hero-subtitle {
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
  }
  .mock-stack {
    width: clamp(200px, 72vw, 300px);
    height: clamp(240px, 88vw, 370px);
  }
  /* Tighten background shapes on mobile */
  .shape-1 { width: 250px; height: 250px; top: -5%; right: -10%; }
  .shape-2 { width: 180px; height: 180px; }
  .shape-3 { display: none; }
  .shape-4 { display: none; }

  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-actions { align-items: center; }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; text-align: center; justify-content: center; }

  /* Mobile menu: show the CTA button nicely */
  .mobile-menu a.btn-primary {
    background: var(--plum);
    color: white;
    margin: var(--space-4);
    border-radius: var(--radius-full);
    text-align: center;
    padding: 0.8em 1.4em;
  }
}

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