/* ════════════════════════════════════════════════════════════════
   cellarbot.app — design system
   Layout conventions mirror the Salüd / heyaapl marketing sites
   (fixed scroll-collapsing header, hero grid, card sections,
   scroll-triggered fade-ins, theme-aware light/dark surfaces) with
   Cellarbot's own identity: wine-red over a deep-plum "cellar at
   night" gradient, accented with the mascot's grape, sky, lime, and
   gold. Colors sampled directly from the app icon.
   ════════════════════════════════════════════════════════════════ */

:root {
  /* ── Brand (theme-independent) ───────────────────────── */
  --wine: #D8334A;          /* primary — the wine red (icon glass/bottles) */
  --wine-bright: #EE4D63;   /* glow / hover */
  --wine-deep: #A11F38;     /* borders, depth, gradient stop */
  --grape: #9E278F;         /* the purple bottle — secondary accent */
  --grape-bright: #C44FB6;
  --lime: #AFC04E;          /* the lime icon background, deepened for white */
  --lime-bright: #D8E698;
  --sky: #4FB3E6;           /* the robot's sky-blue ears */
  --gold: #F2CE34;          /* the bottle caps */
  --plum: #6D425D;          /* the dark-icon plum */

  /* ── LIGHT THEME (default) ───────────────────────────── */
  --bg: #FBF6F7;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #FBF0F3;
  --text: #241019;
  --text-dim: rgba(36, 16, 25, 0.66);
  --text-faint: rgba(36, 16, 25, 0.45);
  --border: rgba(60, 20, 35, 0.10);
  --border-strong: rgba(60, 20, 35, 0.16);
  --header-bg: rgba(255, 255, 255, 0.82);
  --card-shadow: 0 12px 32px rgba(60, 20, 35, 0.10);

  /* Hero & download band are always a dramatic dark plum gradient. */
  --hero-from: #2A1322;
  --hero-mid: #3B1A2E;
  --hero-to: #170A12;
}

/* ── DARK THEME — when the OS prefers dark AND the visitor hasn't
   forced light via the toggle. ─────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #140910;
    --bg-alt: #1A0E15;
    --surface: #211019;
    --surface-2: #2A1620;
    --text: #F4E9EE;
    --text-dim: rgba(244, 233, 238, 0.66);
    --text-faint: rgba(244, 233, 238, 0.42);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --header-bg: rgba(20, 9, 16, 0.82);
    --card-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }
}

/* ── Manual override via header toggle (wins over OS preference) ── */
:root[data-theme="dark"] {
  --bg: #140910;
  --bg-alt: #1A0E15;
  --surface: #211019;
  --surface-2: #2A1620;
  --text: #F4E9EE;
  --text-dim: rgba(244, 233, 238, 0.66);
  --text-faint: rgba(244, 233, 238, 0.42);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --header-bg: rgba(20, 9, 16, 0.82);
  --card-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow { max-width: 820px; }

/* ─── HEADER ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  border-bottom-color: var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.6rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  transition: padding 0.35s;
}

.site-header.scrolled .header-inner {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

/* ── LEFT ZONE ── */
.header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-self: start;
  min-width: 0;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  transition: max-width 0.35s ease, opacity 0.35s ease;
}

.header-logo .logo-mark {
  height: 42px;
  width: 42px;
  border-radius: 11px;
  transition: transform 0.35s;
}

.header-logo .logo-word {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.header-logo .logo-word span { color: var(--wine); }

.site-header.scrolled .header-logo {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.nav-anchor { display: none; }
.site-header.scrolled .nav-anchor { display: block; }

/* ── CENTER ZONE (round icon, revealed on scroll) ── */
.header-center {
  justify-self: center;
  display: flex;
  align-items: center;
}

.logo-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px) scale(0.85);
  transition: opacity 0.35s, transform 0.35s;
}

.logo-icon-wrap img {
  height: 38px;
  width: 38px;
  border-radius: 10px;
}

.site-header.scrolled .logo-icon-wrap {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ── RIGHT ZONE ── */
.nav-pages { justify-self: end; }
.site-header.scrolled .nav-pages .anchor-fallback { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a:not(.btn) {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links a:not(.btn):hover,
.nav-links a.is-current { color: var(--wine); }

/* ── Theme toggle ── */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.theme-toggle:hover {
  border-color: var(--wine);
  transform: translateY(-1px);
}

.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ─── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--wine);
  color: #fff;
}
.btn-primary:hover {
  background: var(--wine-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(216, 51, 74, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--wine);
  color: var(--wine);
  transform: translateY(-2px);
}

/* Light button used on the dark hero */
.btn-on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-on-dark:hover {
  border-color: var(--wine-bright);
  color: var(--wine-bright);
  transform: translateY(-2px);
}

/* App Store badge link */
.badge-link {
  display: inline-flex;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.badge-link img { height: 52px; width: auto; border-radius: 10px; }
.badge-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
/* On dark sections, give the black badge a soft ring so it reads. */
.on-dark .badge-link { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16); }
.on-dark .badge-link:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.28); }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── MOBILE NAV ───────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 700;
}
.mobile-nav a:hover { color: var(--wine); }

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
  padding: 9.5rem 1.5rem 5rem;
  background: linear-gradient(150deg, var(--hero-from) 0%, var(--hero-mid) 55%, var(--hero-to) 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* Ambient wine glow orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(216, 51, 74, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -35%;
  left: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(158, 39, 143, 0.16) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-grid > * { min-width: 0; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--wine-bright);
  margin-bottom: 1.1rem;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--wine-bright);
  box-shadow: 0 0 0 0 rgba(238, 77, 99, 0.7);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.05;
}
.hero h1 .accent { color: var(--wine-bright); }

.hero-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust .tick { color: var(--wine-bright); font-weight: 800; }

/* ── Hero visual: floating phone (screenshot is already device-framed) ── */
.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.hero-phone {
  position: relative;
  width: 100%;
  max-width: 290px;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.55));
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-phone img { width: 100%; height: auto; }
/* soft halo behind the phone */
.hero-phone-wrap::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 77, 99, 0.28) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* Floating chips around the phone */
.float-chip {
  position: absolute;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  animation: float 5s ease-in-out infinite;
  z-index: 2;
}
.float-chip .emoji { font-size: 1rem; }
.float-chip .stars { color: var(--gold); letter-spacing: 0.05em; }
.float-chip.chip-1 { top: 7%; left: -10%; animation-delay: 0s; }
.float-chip.chip-2 { top: 42%; right: -14%; animation-delay: 1.2s; }
.float-chip.chip-3 { bottom: 6%; left: -6%; animation-delay: 2.4s; }

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(238, 77, 99, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(238, 77, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(238, 77, 99, 0); }
}

/* ─── DESCRIPTOR MARQUEE ───────────────────────────────── */
.marquee {
  background: var(--wine);
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll-x 30s linear infinite;
  font-size: 0;
  padding: 0.85rem 0;
}
.marquee-track .item {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-right: 2.5rem;
}
.marquee-track .item::before {
  content: '✦';
  margin-right: 2.5rem;
  color: rgba(255, 255, 255, 0.5);
}
@keyframes scroll-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── GENERIC SECTIONS ─────────────────────────────────── */
.section { padding: 5.5rem 1.5rem; }
.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 1rem;
}
.section-header p {
  color: var(--text-dim);
  font-size: 1.08rem;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--wine);
  margin-bottom: 0.85rem;
}

/* ─── FEATURE CARDS ────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent, var(--wine));
}
.feature-card .f-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: #fff;
  background: var(--accent, var(--wine));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent, var(--wine)) 35%, transparent);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.feature-card p {
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* accent variants */
.accent-wine  { --accent: var(--wine); }
.accent-grape { --accent: var(--grape); }
.accent-sky   { --accent: var(--sky); }
.accent-lime  { --accent: var(--lime); }
.accent-gold  { --accent: #C99A06; }
.accent-plum  { --accent: var(--plum); }

/* extra capabilities chip row under the feature grid */
.cap-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.cap-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.cap-chip .emoji { font-size: 1rem; }

/* ─── HOW IT WORKS (steps) ─────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: var(--card-shadow);
}
.step .step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 18px rgba(216, 51, 74, 0.35);
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.step p { color: var(--text-dim); font-size: 0.96rem; line-height: 1.6; }

/* ─── SHOWCASE (alternating screenshot rows) ───────────── */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row:nth-child(even) .showcase-media { order: 2; }

.showcase-media {
  display: flex;
  justify-content: center;
  position: relative;
}
.showcase-media img {
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 30px 55px rgba(60, 20, 35, 0.28));
}
.showcase-media::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent, var(--wine)) 26%, transparent) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}
.showcase-media img { position: relative; z-index: 1; }

.showcase-body .section-label { color: var(--accent, var(--wine)); }
.showcase-body h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: 1.1rem;
}
.showcase-body > p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.showcase-list { list-style: none; display: grid; gap: 0.8rem; }
.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.98rem;
  color: var(--text);
}
.showcase-list .tick {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent, var(--wine)) 18%, transparent);
  color: var(--accent, var(--wine));
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.showcase-list .tick svg { width: 13px; height: 13px; }

/* ─── PRICING ──────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.price-card:hover { transform: translateY(-5px); }
.price-card.featured {
  border-color: var(--wine);
  box-shadow: 0 20px 50px rgba(216, 51, 74, 0.22);
}
.price-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--wine);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.price-amount {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.15rem;
}
.price-amount .per {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0;
}
.price-sub {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 1.4rem;
  min-height: 2.4em;
}
.price-feats {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
  flex: 1;
}
.price-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: var(--text);
}
.price-feats .tick {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--wine) 16%, transparent);
  color: var(--wine);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.price-feats .tick svg { width: 12px; height: 12px; }
.price-card .btn { width: 100%; }
.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* ─── REVIEWS / TESTIMONIALS ───────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}
.review-card:hover { transform: translateY(-4px); border-color: var(--wine); }
.review-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.review-card blockquote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
  margin-bottom: 1.25rem;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wine), var(--grape));
  color: #fff;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.review-author b { display: block; font-size: 0.95rem; font-weight: 700; }
.review-author small { color: var(--text-faint); font-size: 0.8rem; }

/* ─── DOWNLOAD BAND ────────────────────────────────────── */
.download {
  background: linear-gradient(150deg, var(--hero-from) 0%, var(--hero-mid) 60%, var(--hero-to) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.download::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(circle, rgba(216, 51, 74, 0.20) 0%, transparent 70%);
  pointer-events: none;
}
.download .container { position: relative; z-index: 1; }
.download-icon {
  width: 96px; height: 96px;
  border-radius: 24px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.download h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
}
.download p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.download .badge-link { margin: 0 auto; }

/* ─── FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
  color: var(--text-dim);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; }
.footer-brand img { height: 40px; width: 40px; border-radius: 10px; }
.footer-brand b { font-size: 1.2rem; font-weight: 800; color: var(--text); }
.footer-brand b span { color: var(--wine); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-content: center;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 600;
}
.footer-links a:hover { color: var(--wine); }
.footer-copyright {
  width: 100%;
  text-align: center;
  padding-top: 1.75rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-faint);
}
.footer-copyright .sep { margin: 0 0.5rem; opacity: 0.5; }
.footer-copyright a { color: var(--text-dim); font-weight: 600; }
.footer-copyright a:hover { color: var(--wine); }

/* ─── SCROLL ANIMATIONS ────────────────────────────────── */
.fade-in, .fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible, .fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── LEGAL PAGES ──────────────────────────────────────── */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 9rem 1.5rem 5rem;
}
.legal-page .legal-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--wine);
  margin-bottom: 0.75rem;
}
.legal-page h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 0.5rem;
}
.legal-page .legal-updated {
  color: var(--text-faint);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}
.legal-page h2 {
  font-size: 1.35rem;
  margin: 2.5rem 0 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.legal-page h2:first-of-type { border-top: none; padding-top: 0; }
.legal-page h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.legal-page p { color: var(--text-dim); margin-bottom: 1rem; line-height: 1.8; }
.legal-page ul { margin: 0 0 1.25rem 1.25rem; color: var(--text-dim); }
.legal-page li { margin-bottom: 0.5rem; line-height: 1.7; }
.legal-page strong { color: var(--text); font-weight: 700; }
.legal-page a { color: var(--wine); font-weight: 600; }
.legal-page a:hover { text-decoration: underline; }

/* ─── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    text-align: center;
  }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-phone-wrap { order: -1; }
  /* the side chips only have room to flank the phone in the 2-col layout */
  .float-chip { display: none; }
  .showcase-row { grid-template-columns: 1fr; gap: 2.25rem; text-align: center; }
  .showcase-row .showcase-media,
  .showcase-row:nth-child(even) .showcase-media { order: -1; }
  .showcase-list { display: inline-grid; text-align: left; }
  .showcase-body .section-label { display: inline-block; }
}

/* The full nav needs more horizontal room than the content sections do,
   so collapse the header to the hamburger earlier (<=960px) than the rest
   of the responsive layout. This keeps the nav from ever getting cramped
   enough to wrap the "Get the App" button. */
@media (max-width: 960px) {
  .nav-anchor,
  .site-header.scrolled .nav-anchor,
  .nav-pages { display: none; }
  .hamburger { display: flex; justify-self: end; }
  .header-mobile-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: end;
  }
}

@media (min-width: 961px) {
  .header-mobile-actions { display: none; }
}

@media (max-width: 768px) {
  .hero { padding: 8rem 1.25rem 4rem; }
  .section { padding: 4rem 1.25rem; }
  .hero-phone { max-width: 250px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn,
  .hero-cta .badge-link { width: 100%; }
  .hero-cta .badge-link img { width: 100%; height: auto; }
}

/* ─── REDUCED MOTION ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in, .fade-in-up { opacity: 1; transform: none; }
}
