/* Buba – Self-Care Buddy · site styles
   Shared by every content page. Bump ?v= in the <link> when editing. */

/* Type: the platform system font, exactly what the app renders in
   (SF Pro on iPhone/Mac, Roboto on Android, Segoe UI on Windows). */

:root {
  --bg: #FAF9F5;
  --card: #FFFFFF;
  --ink: #222222;
  --ink-soft: #222222;
  --line: #E8E4E0;

  --green: #8CB860;
  --green-deep: #4F7F2D;
  --green-soft: #F0F5E8;
  --sage: #EAF0E4;
  --meadow: #DCEBC9;

  --sky: #8BAFC8;
  --sky-soft: #E8F0F8;
  --peach: #E8A87C;
  --peach-soft: #FFF5E0;
  --blush: #E88B98;
  --blush-soft: #FDE8EC;
  --sun: #F3CF6B;
  --sun-soft: #FFF5E0;

  --system: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: var(--system);
  --body: var(--system);

  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;
  --shadow-soft: 0 6px 24px rgba(139, 126, 116, 0.06);
  --gutter: 24px;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; }
button { touch-action: manipulation; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
p { max-width: 62ch; }
.lede { font-size: 1.125rem; color: var(--ink-soft); line-height: 1.6; }

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-family: var(--display); font-weight: 700; z-index: 200; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(64px, 7.2vw, 104px) 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { margin-top: 12px; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 245, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner {
  width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto;
  min-height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1; letter-spacing: -0.02em; }
/* Crop the original mascot's transparent padding (88px source, visible bounds
   x:17–71, y:37–88), so the artwork itself aligns with the wordmark. */
.brand-mark { position: relative; display: block; width: 32px; height: 32px; overflow: hidden; flex: none; }
.brand .brand-mark img { position: absolute; width: 48px; height: 48px; max-width: none; left: -8px; top: -18px; }
.brand-name { display: block; }
.nav-inner > .brand { justify-self: start; }
.nav-inner > .btn { justify-self: end; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-weight: 600; font-size: 0.98rem; color: var(--ink-soft); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.mobile-nav { display: none; }
@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .nav-inner { min-height: 72px; grid-template-columns: 1fr auto auto; gap: 10px; }
  .nav-cta { padding-inline: 14px; }
  .mobile-nav { display: block; }
  .mobile-nav summary {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px;
    background: var(--card); color: var(--ink); cursor: pointer; list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary svg { width: 22px; height: 22px; }
  .mobile-nav .menu-close, .mobile-nav[open] .menu-open { display: none; }
  .mobile-nav[open] .menu-close { display: block; }
  .mobile-nav nav {
    position: absolute; top: calc(100% + 6px); left: var(--gutter); right: var(--gutter);
    max-height: calc(100dvh - 96px); overflow-y: auto;
    padding: 8px; background: var(--bg); border: 1px solid var(--line);
    border-radius: var(--r); box-shadow: 0 8px 24px rgba(74, 85, 104, 0.12);
  }
  .mobile-nav ul { list-style: none; }
  .mobile-nav a {
    display: flex; align-items: center; min-height: 48px; padding: 10px 16px;
    border-radius: 12px; font-weight: 600; text-decoration: none;
  }
  .mobile-nav a:hover { background: var(--green-soft); }
}

/* ── Buttons & badges ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  min-height: 48px; padding: 12px 24px; border-radius: 18px; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn-primary { background: var(--green); color: #FFFFFF; box-shadow: 0 3px 0 #698A48; font-weight: 800; }
.btn-primary:hover { background: var(--green); transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 3px 0 var(--line); }
.btn:active { transform: translateY(2px); box-shadow: none; }
.btn-ghost:hover { border-color: var(--green); }
.btn-sm { min-height: 44px; padding: 9px 20px; font-size: 0.9375rem; border-radius: 16px; }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #1C1F26; color: #fff; text-decoration: none;
  width: 168px; min-height: 56px; padding: 10px 14px; border-radius: 14px; flex: 0 0 auto;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.store-badge:hover { background: #2A2E38; transform: translateY(-1px); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge span { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; text-align: left; }
.store-badge small { font-size: 0.68rem; font-weight: 500; opacity: 0.85; letter-spacing: 0.01em; }
.store-badge strong { font-family: var(--display); font-size: 1.125rem; font-weight: 600; white-space: nowrap; }

.rating {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 0.875rem; color: var(--ink);
  min-height: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
}
.rating .stars { display: inline-flex; gap: 1px; }
.rating .stars svg { width: 15px; height: 15px; fill: var(--sun); }
.rating small { font-family: var(--body); font-size: 0.75rem; font-weight: 500; color: var(--ink-soft); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 35%, rgba(234, 240, 228, 0.8), transparent 55%),
    linear-gradient(180deg, #FFF8EF 0%, var(--bg) 90%);
}
.hero-inner {
  width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  padding: 56px 0 72px;
  min-height: 720px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .rating { margin-bottom: 22px; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy h1 span { display: block; }
.hero-copy .lede { max-width: 40ch; margin-bottom: 28px; font-size: 1.125rem; }
.hero-copy .store-badges { margin-bottom: 14px; }
.hero-note { font-size: 0.8125rem; color: var(--ink-soft); }

.hero-visual { position: relative; isolation: isolate; display: flex; justify-content: center; width: 100%; max-width: 480px; margin-inline: auto; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; width: 108%; aspect-ratio: 1; left: -4%; top: 12%; border-radius: 50%; background: var(--sage); }
.hero-buba {
  position: absolute; left: -12%; bottom: -5%; width: 320px; height: auto; z-index: 3;
  filter: drop-shadow(0 8px 10px rgba(139, 126, 116, 0.12));
}
.cloud { position: absolute; background: #fff; border-radius: 999px; opacity: 0.9; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.cloud-a { width: 112px; height: 36px; top: 14%; left: -2%; }
.cloud-a::before { width: 60px; height: 60px; left: 22px; top: -28px; }
.cloud-a::after { width: 44px; height: 44px; left: 70px; top: -18px; }
.cloud-b { width: 88px; height: 30px; top: 36%; right: 0; opacity: 0.75; }
.cloud-b::before { width: 46px; height: 46px; left: 16px; top: -22px; }
.cloud-b::after { width: 34px; height: 34px; left: 52px; top: -12px; }

/* CSS phone frame */
.phone {
  position: relative; width: 272px; flex: none;
  background: var(--sky); border-radius: 40px; padding: 8px;
  box-shadow: 0 24px 48px rgba(74, 85, 104, 0.16), inset 0 0 0 1px rgba(255,255,255,0.55);
}
.phone-screen { width: 100%; aspect-ratio: 540 / 1173; border-radius: 32px; overflow: hidden; background: var(--sky-soft); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

@media (max-width: 1000px) and (min-width: 821px) {
  .hero-inner { gap: 24px; min-height: 660px; }
  .hero-copy h1 { font-size: 2.75rem; }
  .hero-buba { width: 260px; left: -8%; }
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 36px; padding: 40px 0 56px; min-height: auto; }
  .hero-copy h1, .hero-copy .lede { margin-inline: auto; }
  .hero-copy .store-badges { justify-content: center; }
  .hero-visual { max-width: 380px; }
  .hero-buba { left: -9%; width: 280px; }
  .phone { width: 240px; }
}
@media (max-width: 520px) {
  :root { --gutter: 20px; }
  .hero-copy .rating { margin-bottom: 24px; }
  .hero-copy .lede { font-size: 1rem; max-width: 34ch; }
  .hero-copy h1 { font-size: clamp(2.125rem, 9.4vw, 3rem); }
  .hero-visual { max-width: 320px; padding-left: 24px; }
  .hero-buba { left: -4%; width: 240px; }
  .phone { width: 224px; border-radius: 34px; padding: 7px; }
  .phone-screen { border-radius: 27px; }
  .store-badges { gap: 10px; }
  .store-badge { width: 154px; padding-inline: 12px; gap: 8px; }
  .store-badge strong { font-size: 1.0625rem; }
  .store-badge svg { width: 24px; height: 26px; }
  .section-head { margin-bottom: 32px; }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .store-badges { gap: 8px; }
  .store-badge { width: 140px; padding-inline: 10px; gap: 7px; }
  .store-badge strong { font-size: 0.9375rem; }
  .store-badge small { font-size: 0.625rem; }
  .rating { gap: 5px; padding-inline: 10px; }
  .rating .stars svg { width: 12px; }
}

/* The only ambient motion: clouds drifting behind the phone. Buba's wave is the load moment. */
@media (prefers-reduced-motion: no-preference) {
  .cloud { animation: drift 14s ease-in-out infinite alternate; }
  .cloud-b { animation-duration: 18s; animation-delay: -6s; }
  @keyframes drift { from { transform: translateX(0); } to { transform: translateX(28px); } }
}

/* ── Proof strip ─────────────────────────────────────── */
.proof { border-block: 1px solid var(--line); background: var(--card); }
.proof-inner {
  width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 24px 0;
}
.proof-item { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 0.875rem; line-height: 1.5; }
.proof-item svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 1000px) { .proof-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 520px) { .proof-item { justify-content: flex-start; gap: 8px; font-size: 0.75rem; } }

/* ── Features ────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 3px 0 rgba(224, 220, 216, 0.5); }
.feature-art { --art-size: 52px; position: relative; width: 72px; height: 72px; overflow: hidden; border-radius: 22px; margin-bottom: 24px; }
/* Center artwork independently of transparent padding, using a 52px maximum
   extent. The denser meditation illustration is optically reduced by 18%. */
.feature-art img { position: absolute; left: 50%; top: 50%; width: calc(var(--art-size) * var(--art-scale)); height: calc(var(--art-size) * var(--art-scale)); max-width: none; transform: translate(var(--art-x), var(--art-y)); }
.feature-art--path { --art-scale: 1.019108; --art-x: -50.9375%; --art-y: -51.875%; }
.feature-art--reflect { --art-scale: 1; --art-x: -50%; --art-y: -50.625%; }
.feature-art--goals { --art-scale: 1.059603; --art-x: -50.9375%; --art-y: -53.4375%; }
.feature-art--talk { --art-scale: 1.006289; --art-x: -50.3125%; --art-y: -50.9375%; }
.feature-art--outfits { --art-scale: 1.632653; --art-x: -50%; --art-y: -43.75%; }
.feature-art--tools { --art-scale: 0.898630; --art-x: -50%; --art-y: -50.625%; }
.feature h3 { min-height: 2.6em; margin-bottom: 10px; line-height: 1.3; }
.feature p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.7; }
.tint-blush { background: var(--blush-soft); }
.tint-green { background: var(--green-soft); }
.tint-sky { background: var(--sky-soft); }
.tint-peach { background: var(--peach-soft); }
.tint-sun { background: var(--sun-soft); }
/* Share title/body rows so wrapping stays aligned without empty title space. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 601px) {
    .feature { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 16px; }
    .feature > div:last-child { display: contents; }
    .feature-art { margin-bottom: 0; }
    .feature h3 { min-height: 0; margin-bottom: 0; }
  }
}
@media (max-width: 1000px) { .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .features-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .feature { padding: 22px; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; border-radius: 20px; }
  .feature-art { --art-size: 38px; width: 52px; height: 52px; border-radius: 16px; margin: 0; }
  .feature h3 { min-height: auto; font-size: 1.0625rem; margin-bottom: 8px; }
  .feature p { font-size: 0.875rem; }
}

/* ── Screens strip ───────────────────────────────────── */
.screens { background: var(--sky-soft); }
.screens-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.screens-head .section-head { margin-bottom: 0; }
.gallery-controls { display: flex; gap: 10px; flex: none; padding-bottom: 3px; }
.gallery-controls[hidden] { display: none; }
.gallery-button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 16px; background: var(--card); border: 1px solid #C5D5E1; box-shadow: 0 3px 0 #C5D5E1; }
.gallery-button svg { width: 20px; height: 20px; }
.gallery-button:disabled { opacity: 0.4; cursor: default; box-shadow: none; }
.gallery-button:active:not(:disabled) { transform: translateY(2px); box-shadow: none; }
@media (max-width: 600px) { .screens-head { align-items: start; gap: 16px; } .screens-head .lede { font-size: 1rem; } }
.screens-track {
  display: flex; gap: 24px; overflow-x: auto; padding-block: 4px 28px;
  scrollbar-width: thin; scrollbar-color: #B2C7D7 transparent; -webkit-overflow-scrolling: touch;
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2));
  padding-inline: var(--edge);
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
}
.screens-track::-webkit-scrollbar { height: 6px; }
.screens-track::-webkit-scrollbar-thumb { background: #B2C7D7; border-radius: 6px; }
.screen {
  flex: none; scroll-snap-align: start; width: 250px; margin: 0;
  border-radius: 22px; overflow: hidden; background: var(--card);
  box-shadow: 0 8px 20px rgba(74, 85, 104, 0.08);
}
.screen img { width: 100%; height: auto; aspect-ratio: 520 / 1125; }

/* ── Meet Buba: dress-up ─────────────────────────────── */
.meet { background: var(--card); }
.meet-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.stage {
  position: relative; aspect-ratio: 1; width: 100%;
  border-radius: 32px; overflow: hidden;
  background:
    radial-gradient(100% 55% at 50% 115%, var(--meadow) 65%, transparent 66%),
    linear-gradient(180deg, #F5F7EE 0%, var(--sky-soft) 100%);
}
.stage-buba {
  position: absolute; top: -17%; left: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(139, 126, 116, 0.12));
}
.stage-label {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.85); border-radius: 999px; padding: 6px 14px;
  font-family: var(--display); font-weight: 700; font-size: 0.9rem; white-space: nowrap;
}
.meet-copy h2 { margin-bottom: 14px; }
.meet-copy p { color: var(--ink-soft); margin-bottom: 12px; }
.outfit-label { margin-top: 24px; font-size: 0.875rem; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 24px; }
.chip {
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  min-height: 44px; padding: 9px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 2px 0 var(--line);
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green-soft); border-color: #B8CD9F; box-shadow: 0 2px 0 #B8CD9F; color: var(--ink); }
.chip:active { transform: scale(0.97); }
@media (max-width: 820px) { .meet-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; } .stage { max-width: 480px; margin-inline: auto; } }

/* ── How it works ────────────────────────────────────── */
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.step { position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px;
  border-radius: 16px; color: var(--ink); box-shadow: 0 3px 0 var(--step-shadow, #C8D8B0); font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  background: var(--step, var(--green));
}
.step:nth-child(1) { --step: var(--blush-soft); --step-shadow: #F0C0C8; }
.step:nth-child(2) { --step: var(--green-soft); }
.step:nth-child(3) { --step: var(--sky-soft); --step-shadow: #B0C8D8; }
.step:nth-child(4) { --step: var(--peach-soft); --step-shadow: #E0CCA0; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 0.9375rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; }
  .step::before { grid-row: 1 / 3; width: 44px; height: 44px; margin: 0; }
  .step h3 { font-size: 1.125rem; }
}

/* ── Reviews ─────────────────────────────────────────── */
.reviews { background: var(--sun-soft); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.big-rating { display: flex; align-items: center; gap: 14px; }
.big-rating strong { font-family: var(--display); font-size: 3rem; line-height: 1; }
.big-rating .stars { display: flex; gap: 2px; }
.big-rating .stars svg { width: 20px; height: 20px; fill: #E9B93B; }
.big-rating small { display: block; color: var(--ink-soft); font-size: 0.8125rem; margin-top: 5px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.quotes--more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote {
  position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-soft);
}
.quote::after {
  content: ""; position: absolute; left: 30px; bottom: -12px; width: 24px; height: 24px;
  background: var(--card); clip-path: polygon(0 0, 100% 0, 0 100%);
}
.quote p { font-size: 0.9375rem; margin-bottom: 24px; }
.quote footer { margin-top: auto; font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.quote footer small { display: block; margin-top: 6px; font-size: 0.8125rem; font-weight: 500; }
.quote footer a, .review-source a { text-underline-offset: 3px; }
.review-source { margin-top: 12px; font-size: 0.8125rem; color: var(--ink-soft); }
.review-source time, .quote footer time { white-space: nowrap; }
.quote .stars { display: flex; gap: 2px; margin-bottom: 12px; }
.quote .stars svg { width: 16px; height: 16px; fill: #E9B93B; }
.reviews-intro { margin-top: 10px; font-size: 0.9375rem; }
.more-reviews { margin-top: 36px; }
.more-reviews summary {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: fit-content; max-width: 100%; min-height: 48px; margin-inline: auto;
  padding: 12px 20px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--card); box-shadow: 0 3px 0 var(--line); font-weight: 600;
  list-style: none; cursor: pointer;
}
.more-reviews summary::-webkit-details-marker { display: none; }
.reviews-toggle { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.reviews-less-label, .more-reviews[open] .reviews-more-label { display: none; }
.more-reviews[open] .reviews-less-label { display: inline; }
.more-reviews[open] .reviews-toggle { transform: rotate(225deg) translate(-2px, -1px); }
.more-reviews .quotes { margin-top: 28px; }
@media (min-width: 861px) { .quote footer { min-height: 5.5em; } }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-list { width: 100%; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 4px; font-family: var(--display); font-weight: 700; font-size: 1.1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--green-deep); border-bottom: 2px solid var(--green-deep);
  transform: rotate(45deg); transition: transform 0.2s; margin-right: 6px;
}
.faq-list details[open] summary::after { transform: rotate(225deg); }
.faq-list details p { padding: 0 4px 22px; color: var(--ink-soft); max-width: 68ch; }
.faq-list details p + p { margin-top: -10px; }

.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: 72px; align-items: start; }
.faq-layout .section-head { margin: 0; }
@media (max-width: 820px) { .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ── CTA on the meadow + footer ──────────────────────── */
.meadow { position: relative; background: var(--bg); padding-top: 40px; }
.meadow svg.hills { display: block; width: 100%; height: clamp(48px, 8vw, 120px); }
.cta { display: flow-root; background: var(--meadow); text-align: center; padding: 0 0 clamp(56px, 7vw, 88px); }
.cta-buba { position: relative; width: 220px; height: 220px; margin: -112px auto 16px; object-fit: contain; }
.cta h2 { margin-bottom: 12px; }
.cta p { margin: 0 auto 26px; color: var(--ink-soft); }
.cta .store-badges { justify-content: center; }

.footer { background: var(--meadow); border-top: 1px solid rgba(94, 138, 58, 0.15); }
.footer-inner {
  width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 48px 0 28px;
}
.footer h3 { font-size: 0.95rem; margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer li + li { margin-top: 8px; }
.footer a { overflow-wrap: anywhere; text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer .brand { margin-bottom: 10px; font-size: 1.5rem; color: var(--ink); }
.footer .brand:hover { text-decoration: none; }
.footer-about { color: var(--ink-soft); font-size: 0.95rem; max-width: 34ch; }
.footer-bottom {
  width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 18px 0 32px; border-top: 1px solid rgba(94, 138, 58, 0.15);
  font-size: 0.88rem; color: var(--ink-soft);
}
@media (max-width: 1000px) { .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (max-width: 520px) {
  .footer-inner { gap: 28px 20px; padding-top: 36px; }
  .footer-inner > div:first-child, .footer-inner > div:last-child { grid-column: 1 / -1; }
  .footer li + li { margin-top: 4px; }
  .footer li a { display: inline-flex; align-items: center; min-height: 36px; }
  .footer-bottom { font-size: 0.75rem; gap: 12px; }
}

/* ── Simple content pages (support, legal, 404) ──────── */
.page { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); }
.page-inner { width: min(760px, 100% - var(--gutter) * 2); margin-inline: auto; }
.page h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 14px; }
.page h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.page h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.page p, .page li { color: var(--ink-soft); max-width: 68ch; }
.page p + p { margin-top: 12px; }
.page ul, .page ol { padding-left: 22px; margin: 10px 0; }
.page li + li { margin-top: 6px; }
.page a { color: var(--ink); }
.page a.store-badge { color: #fff; }
.page .lede { margin-bottom: 8px; }
.page .updated { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 28px; }
.callout { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin: 28px 0; }
.callout.warn { background: var(--blush-soft); border-color: transparent; }
.callout p { color: var(--ink); }
.callout strong { font-family: var(--display); }
.page .steps-list { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 14px; margin: 20px 0; }
.steps-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; counter-increment: s; }
.steps-list li::before {
  content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--green-deep); color: #fff; font-family: var(--display); font-weight: 700;
}
.steps-list strong { display: block; color: var(--ink); font-family: var(--display); }
.faq-list.compact summary { font-size: 1rem; padding: 16px 4px; }

/* Keep interactions still when the device requests reduced motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Readable product facts and visible navigation on supporting pages. */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--ink-soft); font-size: 0.875rem; text-align: left; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.app-facts { margin: 28px 0 36px; padding: 8px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.app-facts > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 14px 0; }
.app-facts > div + div { border-top: 1px solid var(--line); }
.app-facts dt { font-weight: 700; }
.app-facts dd { color: var(--ink-soft); overflow-wrap: anywhere; }
@media (max-width: 520px) { .app-facts { padding-inline: 18px; } .app-facts > div { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; font-size: 0.875rem; } }
