/* =================================================================
   Best Friend — Marketing site
   Design system + components. Mobile-first, vanilla CSS.
   Brand: cyan/teal (#17EAD9) + gold (#F59E0B), light & airy.
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --bg: #f7fafb;
  --bg-warm: #fff7ef;
  --bg-mint: #eefcfa;
  --surface: #ffffff;
  --ink: #14333b;
  --ink-soft: #5b7179;
  --ink-faint: #92a3aa;
  --cyan: #17ead9;
  --cyan-deep: #0e9c8e;
  --cyan-ink: #0a5b54;
  --blue: #38bdf8;
  --gold: #f59e0b;
  --gold-deep: #d97706;
  --gold-soft: #fef3c7;
  --green: #4caf7d;
  --line: #e6edee;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, #17ead9 0%, #38bdf8 100%);
  --grad-brand-soft: linear-gradient(120deg, #d5fbf7 0%, #e0f2fe 100%);
  --grad-ink: linear-gradient(160deg, #0f2b32 0%, #143a40 100%);
  --grad-gold: linear-gradient(120deg, #fbbf24 0%, #f59e0b 100%);

  /* Typography */
  --font-head: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(20, 51, 59, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 51, 59, 0.09);
  --shadow-lg: 0 28px 64px rgba(20, 51, 59, 0.14);
  --shadow-cyan: 0 24px 60px rgba(23, 178, 165, 0.30);
  --shadow-gold: 0 14px 34px rgba(245, 158, 11, 0.26);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 5vw, 40px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.2s;
  --t-med: 0.4s;
  --t-slow: 0.7s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; color: var(--ink); letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--cyan-deep); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: clamp(64px, 10vw, 128px); position: relative; }
.section--warm { background: var(--bg-warm); }
.section--mint { background: var(--bg-mint); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Section headers ---------- */
.section__head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan-deep); margin-bottom: 16px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: rgba(23, 234, 217, 0.12);
}
.eyebrow--gold { color: var(--gold-deep); background: var(--gold-soft); }
.section__title { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.section__lead { margin-top: 16px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--r-pill);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--grad-brand); color: #04302c; box-shadow: var(--shadow-cyan); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 30px 70px rgba(23, 178, 165, 0.40); }
.btn--gold { background: var(--grad-gold); color: #3a2400; box-shadow: var(--shadow-gold); }
.btn--gold:hover { transform: translateY(-3px); }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); border: 1.5px solid var(--line); }
.btn--ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--cyan); }
.btn--lg { padding: 17px 34px; font-size: 1.08rem; }
.btn--block { width: 100%; }
/* sliding sheen */
.btn--primary::after, .btn--gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn--primary:hover::after, .btn--gold:hover::after { transform: translateX(120%); }

/* App Store badge button */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; padding: 11px 22px 11px 18px;
  border-radius: 16px; box-shadow: var(--shadow-md);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.appstore:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore__txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.appstore__txt small { font-size: 0.66rem; opacity: 0.85; font-weight: 500; }
.appstore__txt span { font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; }
.soon {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 700; color: var(--ink-soft);
}
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }

/* Premium badge */
.badge-premium {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 800; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-deep); background: var(--gold-soft);
  padding: 5px 11px; border-radius: var(--r-pill);
}
.badge-premium svg { width: 13px; height: 13px; }

/* ---------- Header / Nav ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-brand); z-index: 200; transition: width 0.1s linear;
}
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), padding var(--t-med) var(--ease);
  padding-block: 16px;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
  padding-block: 10px;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; color: var(--ink); }
.nav__brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: contain; background: #fff; padding: 5px; box-shadow: var(--shadow-sm); }
.nav__links { display: none; align-items: center; gap: 6px; }
.nav__link {
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem;
  color: var(--ink-soft); padding: 8px 14px; border-radius: var(--r-pill);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover { color: var(--ink); background: rgba(23, 234, 217, 0.10); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__cta { display: none; }
.nav__toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: 12px; }
.nav__toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: var(--gutter); text-align: center;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility var(--t-med);
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; padding: 14px; color: var(--ink); }
.mobile-menu .btn { margin-top: 16px; align-self: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(120px, 18vw, 180px); padding-bottom: clamp(60px, 9vw, 110px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 12%, rgba(56, 189, 248, 0.18), transparent 70%),
    radial-gradient(55% 45% at 12% 8%, rgba(23, 234, 217, 0.16), transparent 70%);
}
.hero__inner { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
.hero__title { font-size: clamp(2.4rem, 6.2vw, 4.2rem); }
.hero__sub { margin-top: 22px; font-size: clamp(1.1rem, 1.8vw, 1.32rem); color: var(--ink-soft); max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }
.hero__trust { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero__stars { color: var(--gold); letter-spacing: 2px; font-size: 1.1rem; }
.hero__trust small { color: var(--ink-soft); font-weight: 600; }
.hero__chip {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface);
  box-shadow: var(--shadow-sm); border-radius: var(--r-pill); padding: 8px 16px;
  font-weight: 700; font-size: 0.92rem; color: var(--ink);
}
.hero__chip svg { width: 18px; height: 18px; color: var(--cyan-deep); }

/* Hero visual: phone + glow + arc + photo */
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.hero__glow {
  position: absolute; width: 115%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 234, 217, 0.28), rgba(56, 189, 248, 0.12) 45%, transparent 70%);
  filter: blur(10px); z-index: -1; animation: glowPulse 7s ease-in-out infinite;
}
.arc-deco { position: absolute; width: 88%; max-width: 460px; z-index: -1; opacity: 0.9; top: 2%; }
.hero__photo {
  position: absolute; bottom: 4%; right: 2%; width: clamp(120px, 17vw, 188px);
  aspect-ratio: 1; object-fit: cover; border-radius: 22px;
  border: 5px solid #fff; box-shadow: var(--shadow-lg); z-index: 3;
}
.hero__photo--2 { right: auto; left: 0; bottom: auto; top: 6%; width: clamp(86px, 11vw, 120px); border-radius: 20px; }

/* ---------- Phone mockup ---------- */
.phone {
  position: relative; width: clamp(232px, 30vw, 300px); aspect-ratio: 1080 / 2280;
  background: #0b0e13; border-radius: 42px; padding: 9px;
  box-shadow: var(--shadow-lg), var(--shadow-cyan); z-index: 2;
}
.phone::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 22px; background: #0b0e13; border-radius: var(--r-pill); z-index: 4;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 34px; object-fit: cover; object-position: center top;
  background: #0b0e13; display: block;
}
.phone--floaty { animation: float 6.5s ease-in-out infinite; }

/* ---------- Stats strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stat { background: var(--surface); padding: clamp(24px, 4vw, 40px) 18px; text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1; }
.stat__num .gradient-text { display: inline; }
.stat__label { margin-top: 10px; color: var(--ink-soft); font-weight: 600; font-size: 0.98rem; }

/* ---------- Promise band ---------- */
.promise__inner { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.promise__media { position: relative; }
.promise__media img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.promise__media .sticker {
  position: absolute; bottom: -20px; right: -8px; background: var(--surface);
  box-shadow: var(--shadow-lg); border-radius: var(--r-lg); padding: 16px 20px;
  display: flex; align-items: center; gap: 12px; max-width: 260px;
}
.promise__media .sticker svg { width: 34px; height: 34px; flex: none; color: var(--cyan-deep); }
.promise__media .sticker b { font-family: var(--font-head); display: block; font-size: 0.98rem; }
.promise__media .sticker span { font-size: 0.84rem; color: var(--ink-soft); }
.promise__text h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.promise__text p { margin-top: 18px; font-size: 1.12rem; color: var(--ink-soft); }
.promise__text p + p { margin-top: 14px; }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; gap: clamp(24px, 4vw, 36px); counter-reset: step; }
.step {
  background: var(--surface); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step__num {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-brand); color: #04302c; font-family: var(--font-head);
  font-weight: 800; font-size: 1.3rem; margin-bottom: 20px; box-shadow: var(--shadow-cyan);
}
.step__title { font-size: 1.32rem; margin-bottom: 10px; }
.step__text { color: var(--ink-soft); }

/* ---------- Features bento ---------- */
.bento { display: grid; gap: clamp(18px, 2.4vw, 26px); grid-template-columns: 1fr; }
.fcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 36px); position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
  display: flex; flex-direction: column; gap: 14px;
}
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(23, 234, 217, 0.5); }
.fcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fcard__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-brand-soft); color: var(--cyan-deep); flex: none;
}
.fcard__icon svg { width: 28px; height: 28px; }
.fcard--premium .fcard__icon { background: var(--gold-soft); color: var(--gold-deep); }
.fcard__title { font-size: 1.3rem; }
.fcard__text { color: var(--ink-soft); }
.fcard__media {
  margin-top: auto; align-self: center; position: relative;
  width: min(210px, 78%); aspect-ratio: 1080 / 2280;
  background: #0b0e13; border-radius: 30px; padding: 7px;
  box-shadow: var(--shadow-md); overflow: hidden;
  transition: transform var(--t-med) var(--ease);
}
.fcard__media::before {
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 15px; background: #0b0e13; border-radius: var(--r-pill); z-index: 2;
}
.fcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 24px; display: block; }
.fcard:hover .fcard__media { transform: translateY(-4px); }
/* Bento spans on wide screens */
.fcard--wide { grid-column: span 1; }
.fcard--tall .fcard__media img { aspect-ratio: 4/5; }

/* ---------- Breed intelligence band ---------- */
.intel { background: var(--grad-ink); color: #eafffb; border-radius: 0; position: relative; overflow: hidden; }
.intel::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background: radial-gradient(50% 60% at 85% 20%, rgba(23, 234, 217, 0.25), transparent 70%),
              radial-gradient(45% 55% at 10% 90%, rgba(56, 189, 248, 0.18), transparent 70%);
}
.intel__inner { position: relative; z-index: 1; display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.intel h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.intel .eyebrow { color: #7af2e8; background: rgba(23, 234, 217, 0.14); }
.intel p { color: #b7d4d2; margin-top: 18px; font-size: 1.12rem; }
.intel__list { margin-top: 26px; display: grid; gap: 14px; }
.intel__list li { display: flex; gap: 12px; align-items: flex-start; color: #d6ecea; font-weight: 600; }
.intel__list svg { width: 24px; height: 24px; color: var(--cyan); flex: none; margin-top: 1px; }
.intel__media .phone { box-shadow: 0 40px 90px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06); }

/* ---------- Pricing ---------- */
.billing { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 44px; font-family: var(--font-head); font-weight: 800; }
.billing button { color: var(--ink-soft); padding: 4px 8px; transition: color var(--t-fast); }
.billing button.active { color: var(--ink); }
.toggle { width: 60px; height: 32px; border-radius: var(--r-pill); background: var(--cyan-deep); position: relative; transition: background var(--t-fast); }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform var(--t-med) var(--ease); box-shadow: var(--shadow-sm); }
.toggle.annual::after { transform: translateX(28px); }
.save-badge { background: var(--gold-soft); color: var(--gold-deep); font-size: 0.78rem; padding: 4px 10px; border-radius: var(--r-pill); font-weight: 800; }

.plans { display: grid; gap: clamp(20px, 3vw, 28px); align-items: stretch; max-width: 880px; margin-inline: auto; }
.plan {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 3.4vw, 40px); display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); position: relative;
}
.plan--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad-brand) border-box;
  box-shadow: var(--shadow-lg);
}
.plan__tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad-gold); color: #3a2400; font-family: var(--font-head); font-weight: 800; font-size: 0.78rem; padding: 6px 16px; border-radius: var(--r-pill); box-shadow: var(--shadow-gold); white-space: nowrap; }
.plan__name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
.plan__desc { color: var(--ink-soft); margin-top: 6px; font-size: 0.96rem; min-height: 2.6em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; }
.plan__price b { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; }
.plan__price span { color: var(--ink-soft); font-weight: 700; }
.plan__note { color: var(--ink-faint); font-size: 0.84rem; min-height: 1.2em; }
.plan__features { margin: 26px 0; display: grid; gap: 13px; }
.plan__features li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.plan__features svg { width: 21px; height: 21px; color: var(--green); flex: none; margin-top: 2px; }
.plan__features li.muted { color: var(--ink-faint); }
.plan__features li.muted svg { color: var(--ink-faint); }
.plan .btn { margin-top: auto; }
.price-region { text-align: center; color: var(--ink-faint); font-size: 0.86rem; margin-top: 26px; }

/* ---------- Love / benefits band ---------- */
.love__grid { display: grid; gap: clamp(18px, 2.4vw, 26px); grid-template-columns: 1fr; }
.bcard {
  background: var(--surface); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 34px);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.bcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.bcard__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-brand-soft); color: var(--cyan-deep); margin-bottom: 18px; }
.bcard__icon svg { width: 26px; height: 26px; }
.bcard h3 { font-size: 1.18rem; margin-bottom: 8px; }
.bcard p { color: var(--ink-soft); }
.review-note {
  margin-top: 40px; text-align: center; color: var(--ink-soft);
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-md);
  padding: 18px 24px; max-width: 640px; margin-inline: auto; font-size: 0.95rem;
}
.review-note .hero__stars { display: inline-block; margin-right: 8px; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 760px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow var(--t-med), border-color var(--t-med); }
.faq-item.open { box-shadow: var(--shadow-md); border-color: rgba(23, 234, 217, 0.45); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; text-align: left; font-family: var(--font-head); font-weight: 800; font-size: 1.08rem;
}
.faq-item__icon { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(23, 234, 217, 0.14); color: var(--cyan-deep); transition: transform var(--t-med) var(--ease); }
.faq-item.open .faq-item__icon { transform: rotate(45deg); background: var(--cyan-deep); color: #fff; }
.faq-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease); }
.faq-item.open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p { padding: 0 24px 24px; color: var(--ink-soft); }
.faq-item__a a { color: var(--cyan-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-ink); color: #fff; }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.28; object-fit: cover; width: 100%; height: 100%; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,43,50,0.92), rgba(20,58,64,0.78)); z-index: 1; }
.cta-band__inner { position: relative; z-index: 2; text-align: center; max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.cta-band p { color: #cfe9e6; margin-top: 16px; font-size: 1.15rem; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #0c2228; color: #b7d4d2; padding-block: clamp(48px, 7vw, 80px) 28px; }
.footer__top { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__brand { max-width: 320px; }
.footer__brand .nav__brand { color: #fff; margin-bottom: 16px; }
.footer__brand p { color: #8fb0ad; }
.footer__tagline { font-family: var(--font-head); font-weight: 800; color: var(--cyan); margin-top: 14px !important; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer__col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.03em; }
.footer__col a, .footer__col li { display: block; color: #8fb0ad; padding: 6px 0; transition: color var(--t-fast); font-weight: 600; }
.footer__col a:hover { color: var(--cyan); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 26px; color: #6f928f; font-size: 0.88rem; }
.footer__bottom a { color: #8fb0ad; }
.footer__bottom a:hover { color: var(--cyan); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: var(--delay, 0s); will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--scale { transform: scale(0.94); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes glowPulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.06); opacity: 1; } }

/* ---------- Decorative paw pattern ---------- */
.paw-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; }

/* =================================================================
   Responsive
   ================================================================= */
@media (min-width: 600px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .love__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 880px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__toggle { display: none; }
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
  .promise__inner { grid-template-columns: 1fr 1fr; }
  .intel__inner { grid-template-columns: 1.1fr 0.9fr; }
  .footer__top { grid-template-columns: 1.4fr 2fr; }
}

@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .love__grid { grid-template-columns: repeat(4, 1fr); }
  /* Bento featured layout */
  .fcard--a { grid-column: span 2; flex-direction: row; align-items: center; }
  .fcard--a .fcard__media { margin-top: 0; max-width: 46%; }
  .fcard--a .fcard__body { flex: 1; }
  .fcard--d { grid-column: span 2; flex-direction: row; align-items: center; }
  .fcard--d .fcard__media { margin-top: 0; max-width: 46%; }
  .fcard--d .fcard__body { flex: 1; }
}

/* fcard row body wrapper */
.fcard__body { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .phone--floaty, .hero__glow { animation: none !important; }
}

/* ---------- Refinements ---------- */
:where(section[id]) { scroll-margin-top: 96px; }
.fcard__media img { aspect-ratio: auto; }

/* Mini mocks inside text-only feature cards */
.mini-list { margin-top: auto; display: grid; gap: 9px; }
.mini-list__row { display: flex; align-items: center; gap: 11px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.mini-list__row .tick { width: 21px; height: 21px; border-radius: 7px; background: var(--grad-brand); display: grid; place-items: center; color: #04302c; flex: none; }
.mini-list__row .tick svg { width: 13px; height: 13px; }
.mini-list__row.done { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: var(--ink-faint); }
.mini-noti { margin-top: auto; display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.mini-noti__icon { width: 38px; height: 38px; border-radius: 11px; background: var(--gold-soft); color: var(--gold-deep); display: grid; place-items: center; flex: none; }
.mini-noti__icon svg { width: 20px; height: 20px; }
.mini-noti b { display: block; font-family: var(--font-head); font-size: 0.95rem; color: var(--ink); }
.mini-noti span { font-size: 0.84rem; color: var(--ink-soft); }

/* ---------- Legal pages (Termly policy embeds) ---------- */
.legal-wrap { padding-top: clamp(116px, 15vw, 156px); padding-bottom: clamp(56px, 8vw, 96px); }
.legal-doc { max-width: 820px; margin-inline: auto; }
.legal-doc h1 { margin: 0 0 6px; }
.legal-doc h2 { margin: 30px 0 10px; }
.legal-doc h3 { margin: 22px 0 8px; }
.legal-doc table { border-collapse: collapse; width: 100%; margin: 8px 0; }
.legal-doc td, .legal-doc th { padding: 8px 10px; }
.legal-doc ul { padding-left: 22px; margin: 8px 0; list-style: disc; }
.legal-doc ol { padding-left: 22px; margin: 8px 0; list-style: decimal; }
.legal-doc li { margin: 4px 0; }
.legal-doc img { display: inline; }

/* Footer App Store badge must stay a flex badge (footer link rules set display:block) */
.footer__col a.appstore { display: inline-flex; padding: 11px 22px 11px 18px; color: #fff; }
.footer__col a.appstore:hover { color: #fff; }
