/* Bubbi Marketing Landing Page */

:root {
  --primary: #E86F8B;
  --coral: #F2998C;
  --deep-rose: #D2557A;
  --bg-top: #FDF1EE;
  --bg-mid: #FBE2E2;
  --bg-bot: #F7D2D5;
  --surface: #FFFFFF;
  --ink: #46303A;
  --ink-soft: #A98A91;
  --line: rgba(70, 48, 58, 0.1);
  --glow: rgba(242, 153, 140, 0.32);
  --shadow: 0 18px 50px rgba(210, 85, 122, 0.14);
  --shadow-soft: 0 10px 40px rgba(70, 48, 58, 0.1), 0 24px 64px rgba(232, 111, 139, 0.07);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 12px 48px rgba(70, 48, 58, 0.1), 0 28px 72px rgba(232, 111, 139, 0.08);
  --radius: 20px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --section-alt: rgba(255, 255, 255, 0.35);
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', Inter, system-ui, -apple-system, sans-serif;
  --page-bg: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bot) 100%);
  --hero-glow: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232, 111, 139, 0.18), transparent 70%);
  --card-bg: rgba(255, 255, 255, 0.78);
  --sticky-bg: rgba(253, 241, 238, 0.92);
  --disclaimer-bg: rgba(255, 255, 255, 0.55);
}

[data-theme='dark'] {
  --bg-top: #1A0F14;
  --bg-mid: #221018;
  --bg-bot: #2A141C;
  --surface: #2E1820;
  --ink: #F8E8EC;
  --ink-soft: #C9A8B0;
  --line: rgba(248, 232, 236, 0.1);
  --glow: rgba(232, 111, 139, 0.22);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 12px 48px rgba(0, 0, 0, 0.22), 0 28px 72px rgba(232, 111, 139, 0.06);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 14px 52px rgba(0, 0, 0, 0.28), 0 32px 80px rgba(232, 111, 139, 0.07);
  --page-bg: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 50%, var(--bg-bot) 100%);
  --hero-glow: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232, 111, 139, 0.15), transparent 70%);
  --card-bg: rgba(46, 24, 32, 0.85);
  --sticky-bg: rgba(26, 15, 20, 0.94);
  --disclaimer-bg: rgba(46, 24, 32, 0.7);
  --section-alt: rgba(46, 24, 32, 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg-top: #1A0F14;
    --bg-mid: #221018;
    --bg-bot: #2A141C;
    --surface: #2E1820;
    --ink: #F8E8EC;
    --ink-soft: #C9A8B0;
    --line: rgba(248, 232, 236, 0.1);
    --glow: rgba(232, 111, 139, 0.22);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 12px 48px rgba(0, 0, 0, 0.22), 0 28px 72px rgba(232, 111, 139, 0.06);
    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 14px 52px rgba(0, 0, 0, 0.28), 0 32px 80px rgba(232, 111, 139, 0.07);
    --page-bg: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 50%, var(--bg-bot) 100%);
    --hero-glow: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232, 111, 139, 0.15), transparent 70%);
    --card-bg: rgba(46, 24, 32, 0.85);
    --sticky-bg: rgba(26, 15, 20, 0.94);
    --disclaimer-bg: rgba(46, 24, 32, 0.7);
    --section-alt: rgba(46, 24, 32, 0.45);
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--page-bg);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: clip;
}

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

blockquote, figure {
  margin: 0;
}

a {
  color: var(--deep-rose);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--primary); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus { left: 1rem; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ── Sticky bars ─────────────────────────────────────────── */

.sticky-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--sticky-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.sticky-top.is-visible { transform: translateY(0); }

.sticky-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.sticky-top__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sticky-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--sticky-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  display: none;
}

@media (max-width: 767px) {
  .sticky-bottom { display: block; }
  body { padding-bottom: 4.5rem; }
}

.sticky-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 1120px;
  margin-inline: auto;
}

.sticky-bottom__text {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border: none;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--deep-rose));
  color: #fff;
  box-shadow: 0 10px 28px rgba(232, 111, 139, 0.35);
}

.btn--primary:hover { color: #fff; box-shadow: 0 14px 34px rgba(232, 111, 139, 0.45); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
}

.btn--sm { padding: 0.6rem 1rem; font-size: 0.85rem; }

/* ── Header ──────────────────────────────────────────────── */

.site-header {
  padding: 1.25rem 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.brand__name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__tag {
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card-bg);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(232, 111, 139, 0.35);
}

.theme-toggle__icon {
  display: grid;
  place-items: center;
  line-height: 0;
}

.theme-toggle__icon svg {
  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: grid; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle__icon--sun { display: none; }
  :root:not([data-theme='light']) .theme-toggle__icon--moon { display: grid; }
}

:root[data-theme='light'] .theme-toggle__icon--sun { display: grid; }
:root[data-theme='light'] .theme-toggle__icon--moon { display: none; }

.header-cta { display: none; }

@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
}

/* ── Store badges ────────────────────────────────────────── */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.store-badge {
  display: block;
  width: 135px;
  height: 40px;
  flex: 0 0 135px;
  line-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.store-badge img,
.store-badge svg {
  display: block;
  width: 135px;
  height: 40px;
  object-fit: fill;
  object-position: center;
}

.store-badges--center { justify-content: center; }

/* ── Legal pages ─────────────────────────────────────────── */

.legal-page main {
  padding: 2.5rem 0 4rem;
}

.legal-page h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.legal-content a { color: var(--deep-rose); }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
}

.legal-back:hover { color: var(--primary); }

.phone-mockup__bpm--listening {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 2rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-glow);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 1023px) {
  .hero-visual {
    display: none;
  }
}

.hero__content { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 700; }

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0 0 1.75rem;
}

.hero__cta { margin-bottom: 1.25rem; }

.trust-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

.trust-line__stars {
  color: #F5B942;
  letter-spacing: 1px;
}

/* Heartbeat line accent */
.heartbeat-line {
  width: 100%;
  max-width: 280px;
  height: 32px;
  margin: 1.5rem 0 0;
  opacity: 0.7;
}

.heartbeat-line path {
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-ekg 3s ease-in-out infinite;
}

@keyframes draw-ekg {
  0% { stroke-dashoffset: 400; }
  40% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -400; }
}

/* ── Hero visual ─────────────────────────────────────────── */

.hero-visual {
  position: relative;
  z-index: 1;
  margin: 0;
}

.hero-visual__img {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow:
    0 32px 64px rgba(70, 48, 58, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.6);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ── Phone mockup ────────────────────────────────────────── */

.phone-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.phone-mockup__frame {
  width: min(280px, 78vw);
  aspect-ratio: 9 / 19;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(145deg, #3a3a3a, #1a1a1a);
  box-shadow:
    0 40px 80px rgba(70, 48, 58, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  position: relative;
}

.phone-mockup__screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #FDF1EE, #F7D2D5);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.25rem 1.5rem;
  position: relative;
}

[data-theme='dark'] .phone-mockup__screen,
:root:not([data-theme='light']) .phone-mockup__screen {
  background: linear-gradient(180deg, #1A0F14, #2A141C);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .phone-mockup__screen {
    background: linear-gradient(180deg, #1A0F14, #2A141C);
  }
}

:root[data-theme='light'] .phone-mockup__screen {
  background: linear-gradient(180deg, #FDF1EE, #F7D2D5);
}

.phone-mockup__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #111;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-mockup__week {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  margin-top: 0.5rem;
}

.phone-mockup__label {
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin: 0.25rem 0 1rem;
}

.pulse-heart {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin: 0.5rem 0;
}

.pulse-heart__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  animation: pulse-ring 2.2s ease-out infinite;
}

.pulse-heart__ring:nth-child(2) { animation-delay: 0.7s; }

@keyframes pulse-ring {
  0% { transform: scale(0.7); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.pulse-heart__icon {
  width: 52px;
  height: 52px;
  animation: pulse-heart 1.4s ease-in-out infinite;
}

@keyframes pulse-heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.phone-mockup__bpm {
  font-size: 2rem;
  font-weight: 800;
  color: var(--deep-rose);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.phone-mockup__bpm span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 48px;
  width: 100%;
  margin: 1rem 0;
}

.waveform__bar {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--coral));
  animation: wave 1.2s ease-in-out infinite;
}

.waveform__bar:nth-child(1) { height: 12px; animation-delay: 0s; }
.waveform__bar:nth-child(2) { height: 22px; animation-delay: 0.1s; }
.waveform__bar:nth-child(3) { height: 32px; animation-delay: 0.2s; }
.waveform__bar:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.waveform__bar:nth-child(5) { height: 28px; animation-delay: 0.4s; }
.waveform__bar:nth-child(6) { height: 36px; animation-delay: 0.5s; }
.waveform__bar:nth-child(7) { height: 20px; animation-delay: 0.6s; }
.waveform__bar:nth-child(8) { height: 30px; animation-delay: 0.7s; }
.waveform__bar:nth-child(9) { height: 16px; animation-delay: 0.8s; }
.waveform__bar:nth-child(10) { height: 24px; animation-delay: 0.9s; }
.waveform__bar:nth-child(11) { height: 34px; animation-delay: 1s; }
.waveform__bar:nth-child(12) { height: 18px; animation-delay: 1.1s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.6); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

.phone-mockup__record {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--deep-rose));
  border: 4px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px rgba(232, 111, 139, 0.4);
  margin-top: auto;
}

.phone-mockup__glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

/* ── Sections ────────────────────────────────────────────── */

section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

.section-header--left {
  text-align: left;
  margin: 0 0 1.5rem;
}

/* Emotional hook */
.emotional {
  padding: 3rem 0;
}

.emotional__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .emotional__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.emotional__photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.emotional__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

.emotional__text {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.5;
  max-width: 28ch;
  margin: 0;
  color: var(--ink);
  text-align: center;
}

@media (min-width: 768px) {
  .emotional__text { text-align: left; }
}

.emotional__text em {
  font-style: italic;
  color: var(--deep-rose);
}

/* How it works */
.steps {
  display: grid;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .steps > li:last-child {
    grid-column: 1 / -1;
    max-width: min(420px, 100%);
    margin-inline: auto;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.step-card {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 28%,
    transparent 55%
  );
  pointer-events: none;
}

.step-card__num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--coral));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.step-card h3,
.step-card p {
  position: relative;
  z-index: 1;
}

.step-card__icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step-card__icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  flex-shrink: 0;
}

.step-card p {
  color: var(--ink-soft);
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

/* Features */
.features-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 42%
  );
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card), 0 32px 80px rgba(232, 111, 139, 0.1);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(232, 111, 139, 0.15), rgba(242, 153, 140, 0.15));
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
}

.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 1;
}

.feature-card h3 { margin-bottom: 0.35rem; }

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.disclaimer {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--disclaimer-bg);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.disclaimer strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

/* Keepsake */
.keepsake {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

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

.week-card {
  width: min(320px, 100%);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #F6CDD2);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
}

[data-theme='dark'] .week-card {
  background: linear-gradient(180deg, #2E1820, #3A1E28);
}

.week-card__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--primary);
}

.week-card__fruit {
  width: 120px;
  height: 120px;
  margin: 1.25rem auto;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 4rem;
  box-shadow: 0 10px 30px rgba(210, 85, 122, 0.15);
}

.week-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.85;
  margin: 0;
}

.week-card__fruit-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--deep-rose);
  margin: 0.25rem 0 1rem;
}

.week-card__stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.week-card__stat-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.week-card__stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
}

.week-card__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 800;
  color: var(--deep-rose);
}

.week-card__brand-icon {
  border-radius: 4px;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  width: 100%;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .testimonial:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.testimonial {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow-card);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.03) 30%,
    transparent 55%
  );
  pointer-events: none;
}

.testimonial__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.testimonial__star {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #F5B942;
}

.testimonial__quote {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial__author {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 1;
}

.testimonial__meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0.15rem 0 0;
  position: relative;
  z-index: 1;
}

.rating-banner {
  text-align: center;
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.rating-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 45%
  );
  pointer-events: none;
}

.rating-banner__score {
  font-size: 2rem;
  font-weight: 800;
  color: var(--deep-rose);
}

/* App showcase */
.app-showcase {
  background: var(--section-alt);
}

.app-showcase__layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .app-showcase__layout {
    grid-template-columns: minmax(240px, 300px) 1fr;
    gap: 2rem;
    align-items: stretch;
  }

  .app-showcase__device {
    justify-content: center;
  }

  .app-showcase__moments {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .app-showcase__photos {
    flex: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.85rem;
    min-height: 460px;
  }

  .app-showcase__photo:first-child {
    grid-row: 1 / -1;
  }

  .app-showcase__photo img {
    aspect-ratio: unset;
    height: 100%;
    min-height: 140px;
  }
}

.app-showcase__device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.splash-tabs {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.splash-tabs__btn {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.splash-tabs__btn.is-active {
  background: linear-gradient(135deg, var(--primary), var(--deep-rose));
  color: #fff;
}

.splash-tabs__btn:not(.is-active):hover {
  color: var(--ink);
}

.splash-phone {
  margin: 0;
  text-align: center;
}

.splash-phone--hero .splash-phone__frame {
  width: min(240px, 58vw);
}

.splash-phone__frame {
  width: min(200px, 42vw);
  aspect-ratio: 9 / 19;
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(145deg, #3a3a3a, #1a1a1a);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.splash-phone--hero .splash-phone__frame:hover {
  transform: translateY(-4px) scale(1.02);
}

.splash-phone__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.splash-phone__frame img.is-fading {
  opacity: 0;
  transform: scale(0.97);
}

.splash-phone__caption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.app-showcase__moments-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.app-showcase__photos {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) and (max-width: 899px) {
  .app-showcase__photos {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .app-showcase__photo:first-child {
    grid-column: 1 / -1;
  }

  .app-showcase__photo:first-child img {
    aspect-ratio: 16 / 9;
  }
}

.app-showcase__photo {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(16px);
  animation: showcase-photo-in 0.6s ease forwards;
  min-height: 0;
}

.app-showcase__photo:nth-child(1) { animation-delay: 0.1s; }
.app-showcase__photo:nth-child(2) { animation-delay: 0.22s; }
.app-showcase__photo:nth-child(3) { animation-delay: 0.34s; }

@keyframes showcase-photo-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-showcase__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease;
}

.app-showcase__photo:hover img {
  transform: scale(1.04);
}

/* Pricing — app-style premium */
.pricing-premium {
  max-width: 440px;
  margin-inline: auto;
  text-align: center;
  background: linear-gradient(180deg, rgba(253, 241, 238, 0.9), var(--card-bg));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.75rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (min-width: 900px) {
  .pricing-premium {
    max-width: 980px;
    padding: 2rem 2.25rem 2rem;
    text-align: left;
  }

  .pricing-premium__body {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: start;
  }

  .pricing-premium__intro {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .pricing-premium__icon {
    margin: 0;
    flex-shrink: 0;
  }

  .pricing-premium__header {
    text-align: left;
  }

  .pricing-premium__header p {
    margin-bottom: 0;
  }

  .pricing-features {
    margin-bottom: 0;
  }

  .pricing-premium__aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--line);
  }

  [data-theme='dark'] .pricing-premium__aside {
    background: rgba(0, 0, 0, 0.15);
  }

  .pricing-plans {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .plan-option {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem 1.1rem;
    min-height: 148px;
  }

  .plan-option__radio {
    margin: 0 auto;
  }

  .plan-option__info,
  .plan-option__price {
    text-align: center;
  }

  .plan-option__badge {
    left: 50%;
    translate: -50% 0;
  }

  .pricing-summary,
  .pricing-free,
  .pricing-note {
    text-align: center;
  }
}

.pricing-premium.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-premium.is-visible .pricing-changes {
  animation: pricing-slide-in 0.55s ease 0.05s both;
}

.pricing-premium.is-visible .pricing-premium__icon {
  animation: pricing-pop-in 0.5s cubic-bezier(0.34, 1.4, 0.64, 1) 0.12s both;
}

.pricing-premium.is-visible .pricing-premium__header {
  animation: pricing-slide-in 0.5s ease 0.18s both;
}

.pricing-premium.is-visible .pricing-features__item {
  animation: pricing-slide-in 0.45s ease both;
}

.pricing-premium.is-visible .pricing-features__item:nth-child(1) { animation-delay: 0.24s; }
.pricing-premium.is-visible .pricing-features__item:nth-child(2) { animation-delay: 0.3s; }
.pricing-premium.is-visible .pricing-features__item:nth-child(3) { animation-delay: 0.36s; }
.pricing-premium.is-visible .pricing-features__item:nth-child(4) { animation-delay: 0.42s; }
.pricing-premium.is-visible .pricing-features__item:nth-child(5) { animation-delay: 0.48s; }
.pricing-premium.is-visible .pricing-features__item:nth-child(6) { animation-delay: 0.54s; }

.pricing-premium.is-visible .plan-option {
  animation: pricing-slide-in 0.5s ease both;
}

.pricing-premium.is-visible .plan-option:nth-child(1) { animation-delay: 0.58s; }
.pricing-premium.is-visible .plan-option:nth-child(2) { animation-delay: 0.66s; }

@keyframes pricing-slide-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pricing-pop-in {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.pricing-changes {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(232, 111, 139, 0.08);
  border: 1px dashed rgba(232, 111, 139, 0.35);
}

@media (min-width: 900px) {
  .pricing-changes__row {
    max-width: 520px;
    margin-inline: auto;
  }
}

.pricing-changes__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep-rose);
}

.pricing-changes__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

.pricing-changes__col {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pricing-changes__col--old {
  opacity: 0.65;
  text-decoration: line-through;
  text-decoration-color: var(--ink-soft);
}

.pricing-changes__col--old .pricing-changes__value,
.pricing-changes__col--old .pricing-changes__sub {
  text-decoration: line-through;
}

.pricing-changes__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.pricing-changes__col--new .pricing-changes__label {
  color: var(--deep-rose);
}

.pricing-changes__value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}

.pricing-changes__value small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.pricing-changes__sub {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.pricing-changes__arrow {
  color: var(--primary);
  animation: pricing-arrow-pulse 1.8s ease-in-out infinite;
}

@keyframes pricing-arrow-pulse {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(4px); opacity: 1; }
}

[data-theme='dark'] .pricing-premium {
  background: linear-gradient(180deg, rgba(42, 20, 28, 0.6), var(--card-bg));
}

.pricing-premium__intro {
  margin-bottom: 0.25rem;
}

@media (max-width: 899px) {
  .pricing-premium__body {
    display: contents;
  }

  .pricing-premium__aside {
    display: contents;
  }
}

.pricing-premium__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-soft);
}

.pricing-premium__header h2 {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  margin-bottom: 0.35rem;
}

.pricing-premium__header p {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  padding: 1.25rem;
  margin: 0 0 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.pricing-features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pricing-features li:first-child {
  padding-top: 0;
}

.pricing-features__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(232, 111, 139, 0.12);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.pricing-plans {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.plan-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--line);
  background: var(--card-bg);
  text-align: left;
  position: relative;
  width: 100%;
  font-family: var(--font-sans);
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.plan-option:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.plan-option.is-selected,
.plan-option--featured.is-selected {
  border-color: var(--primary);
  background: rgba(232, 111, 139, 0.08);
  box-shadow: 0 0 0 1px rgba(232, 111, 139, 0.2);
}

.plan-option:not(.is-selected) .plan-option__badge {
  display: none;
}

.plan-option:not(.is-selected) .plan-option__radio {
  background: transparent;
  border-color: var(--line);
}

.plan-option:not(.is-selected) .plan-option__check {
  display: none;
}

.plan-option.is-selected .plan-option__radio {
  background: var(--primary);
  border-color: var(--primary);
}

.plan-option.is-selected .plan-option__radio--empty {
  background: var(--primary);
  border-color: var(--primary);
}

.plan-option.is-selected .plan-option__radio--empty::after {
  content: '';
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.plan-option--featured {
  border-color: var(--primary);
  background: rgba(232, 111, 139, 0.08);
}

.plan-option__badge {
  position: absolute;
  top: -10px;
  left: 14px;
  background: linear-gradient(135deg, var(--primary), var(--deep-rose));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 111, 139, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(232, 111, 139, 0); }
}

.plan-option__radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.plan-option__radio--empty {
  background: transparent;
  border-color: var(--line);
}

.plan-option__check {
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.plan-option__info strong {
  display: block;
  font-size: 0.95rem;
}

.plan-option__sub {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.plan-option__price {
  text-align: right;
}

.plan-option__price strong {
  display: block;
  font-size: 0.95rem;
  color: var(--deep-rose);
}

.plan-option__price small {
  font-weight: 500;
  color: var(--ink-soft);
}

.plan-option__was {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-top: 0.1rem;
}

.pricing-summary {
  font-size: 0.9rem;
  color: var(--ink);
  margin: 0 0 1rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(232, 111, 139, 0.1);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pricing-summary.is-updating {
  opacity: 0;
  transform: translateY(4px);
}

.pricing-summary__save {
  color: var(--deep-rose);
  font-weight: 600;
}

.pricing-free {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.pricing-free a {
  color: var(--primary);
  font-weight: 600;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Pricing (legacy cards — kept for legal pages) */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 720px;
  margin-inline: auto;
}

@media (min-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

.price-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.price-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--deep-rose));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 { margin-bottom: 0.25rem; }

.price-card__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--deep-rose);
  margin: 0.5rem 0;
}

.price-card__price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.price-card li {
  padding: 0.4rem 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 1.5rem;
  position: relative;
}

.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.price-card__note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-premium,
  .pricing-premium.is-visible .pricing-changes,
  .pricing-premium.is-visible .pricing-premium__icon,
  .pricing-premium.is-visible .pricing-premium__header,
  .pricing-premium.is-visible .pricing-features__item,
  .pricing-premium.is-visible .plan-option,
  .app-showcase__photo {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .pricing-changes__arrow,
  .plan-option__badge {
    animation: none !important;
  }
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  padding: 1.15rem 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

.faq-item__answer {
  padding: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(232, 111, 139, 0.12), transparent);
  pointer-events: none;
}

.final-cta__inner { position: relative; z-index: 1; }

.final-cta h2 {
  max-width: 20ch;
  margin-inline: auto;
}

.final-cta p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 42ch;
  margin: 0 auto 1.75rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  max-width: 32ch;
  margin: 0.75rem 0 0;
}

.footer-nav h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li { margin-bottom: 0.5rem; }

.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover { color: var(--primary); }

.footer-disclaimer {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--disclaimer-bg);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* Splash showcase (optional visual) */
.splash-showcase {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  opacity: 0.85;
}

.splash-showcase img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

/* Legal pages */
.legal-page main {
  padding: 2.5rem 0 4rem;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

.legal-content h2 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.legal-content a {
  color: var(--deep-rose);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.legal-back:hover { color: var(--primary); }

/* ── Tablet & mobile responsive ────────────────────────────── */

@media (max-width: 1023px) {
  .hero__grid {
    gap: 2rem;
  }

  .hero__content {
    text-align: center;
  }

  .hero__sub {
    max-width: none;
    margin-inline: auto;
  }

  .eyebrow {
    margin-inline: auto;
  }

  .hero__cta.store-badges {
    justify-content: center;
  }

  .trust-line {
    justify-content: center;
  }

  .heartbeat-line {
    margin-inline: auto;
  }

  .hero-visual {
    margin-top: 0.5rem;
  }

  .keepsake .section-header--left {
    text-align: center;
    margin-inline: auto;
  }

  .keepsake .store-badges {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  section {
    padding: 2.75rem 0;
  }

  .hero {
    padding: 1rem 0 2rem;
  }

  h1 {
    font-size: clamp(1.85rem, 7.5vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .step-card {
    padding: 1.5rem 1.25rem;
  }

  .step-card__icon {
    width: 48px;
    height: 48px;
  }

  .emotional {
    padding: 2rem 0;
  }

  .emotional__text {
    max-width: none;
    padding-inline: 0.25rem;
  }

  .site-header {
    padding: 0.85rem 0;
  }

  .brand__tag {
    display: none;
  }

  .brand__icon {
    width: 36px;
    height: 36px;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .theme-toggle__icon svg {
    width: 16px;
    height: 16px;
  }

  .store-badge,
  .store-badge img,
  .store-badge svg {
    width: 120px;
    height: 36px;
  }

  .store-badge {
    flex: 0 0 120px;
  }

  .testimonial {
    padding: 1.1rem 1rem;
  }

  .testimonial__quote {
    font-size: 0.9rem;
  }

  .pricing-premium {
    padding: 1.5rem 1.15rem;
  }

  .final-cta {
    padding: 2.75rem 0;
  }

  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }

  body {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom));
  }

  .sticky-bottom__text {
    font-size: 0.78rem;
    flex: 1;
    min-width: 0;
  }

  .sticky-bottom .btn--sm {
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 400px) {
  .sticky-bottom__text {
    display: none;
  }

  .sticky-bottom__inner {
    justify-content: center;
  }

  .sticky-bottom .btn--sm {
    width: 100%;
    max-width: 280px;
  }
}

#faq {
  scroll-margin-top: 5rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
