/* ==========================================================================
   Wotter Landing Page
   Brand tokens lifted from the Wotter Design System (README.md) and tuned to
   match the iOS app: rising water waves, chunky 3D slab buttons, a yellow
   primary action, and Lou the otter throughout.
   Theme is locked light/aquatic by brand decision ("everything sits in the
   water"). Gradients are used only for water, never as decorative page bg.
   ========================================================================== */

/* ----------------------------------- Tokens ----------------------------- */
:root {
  /* Water ramp */
  --blue-50: #F4FBFF;
  --blue-100: #EAF7FE;
  --blue-200: #CDEBFB;
  --brand-water: #1B9BE6;
  --blue-700: #1576B0;
  --blue-900: #0B3A53;
  --edge-water: #1576B0;

  /* Water fill tones (the wave motif), mirroring the app's WaveLayer stack:
     pale crest (rests high) -> light-blue body -> deep gradient at the bottom. */
  --water-crest: #D8F0FD;  /* pale foam line */
  --water-light: #7FCDF5;  /* sky-blue body (features)  */
  --water-mid: #3FA3E0;    /* blue body (social)        */
  --water-deep: #156FA3;
  --water-abyss: #0F557E;

  /* Brand accents */
  --aqua: #36D6C3;
  --sunny: #FFC93C;
  --sunny-edge: #E2A82C;
  --sunny-ink: #6E4A05;
  --coral: #FF7E6B;
  --leaf: #2FB261;
  --otter: #B5764B;
  --otter-ink: #7A4E00;

  /* Surfaces */
  --bg-primary: #F4FBFF;
  --bg-secondary: #EAF7FE;
  --surface: #FFFFFF;

  /* Text */
  --ink: #0B3A53;
  --ink-soft: #3E6377;
  --ink-muted: #6E8A9C;

  --grad-water: linear-gradient(180deg, #5FBCEF 0%, #2EA1E1 55%, #156FA3 100%);

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(11, 58, 83, .06);
  --shadow-sm: 0 4px 12px rgba(11, 58, 83, .08);
  --shadow-md: 0 12px 28px rgba(11, 58, 83, .10);
  --shadow-lg: 0 22px 48px rgba(11, 58, 83, .14);

  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --maxw: 1180px;
}

/* ----------------------------------- Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 16px; font-weight: 500; line-height: 1.6;
  color: var(--ink); background: var(--bg-primary);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: 'Fredoka', sans-serif; font-weight: 600; line-height: 1.08;
  letter-spacing: -0.01em; margin: 0; color: var(--ink);
}
.em { color: var(--brand-water); }

/* ----------------------------------- Layout ----------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
section { position: relative; }
.eyebrow {
  font-family: 'Nunito', sans-serif; font-size: 11px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase; color: var(--brand-water); margin: 0 0 14px;
}

/* ----------------------------------- Buttons (3D slab) ------------------ */
/* Primary action is sunny yellow, matching the app's "Dive In" and the + FAB. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  white-space: nowrap; border: none; border-radius: var(--radius-pill);
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 17px;
  padding: 15px 28px; color: var(--sunny-ink); background: var(--sunny);
  box-shadow: 0 6px 0 var(--sunny-edge);
  transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out), filter .2s ease;
  transform: translateY(0);
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--sunny-edge); }
.btn--secondary { background: var(--surface); color: var(--brand-water); box-shadow: 0 6px 0 var(--blue-200); }
.btn--secondary:active { box-shadow: 0 0 0 var(--blue-200); }
.btn--water { background: var(--brand-water); color: #fff; box-shadow: 0 6px 0 var(--edge-water); }
.btn--water:active { box-shadow: 0 0 0 var(--edge-water); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: none; padding: 12px 18px; }
.btn--ghost:hover { background: var(--blue-100); filter: none; }
.btn--sm { font-size: 16px; padding: 12px 26px; }
.btn--lg { font-size: 20px; padding: 18px 34px; }
.btn .ico { width: 20px; height: 20px; }
.btn--lg .ico { width: 26px; height: 26px; }

/* ----------------------------------- Water bands + wave dividers -------- */
/* The whole page descends through water: cloud hero, then sky-blue, blue and
   deep-blue bands, each separated by a two-tone wave crest like the app. */
.band { position: relative; }
.band--sky { background: var(--water-crest); }
.band--light { background: var(--water-light); }
.band--blue { background: var(--water-mid); }
.band--deep { background: var(--blue-900); }
.band--sky .eyebrow, .band--blue .eyebrow { color: var(--blue-900); }
.band--sky .section__head h2, .band--blue .section__head h2,
.band--sky .section__head p, .band--blue .section__head p { color: var(--blue-900); }

/* A wave divider is a stack of drifting sine layers (built in script.js):
   a pale crest that rests slightly higher, then the band's body colour. The
   layers rise up into the previous band so only a sliver of crest peeks. */
.wavetop { position: absolute; left: 0; top: -64px; width: 100%; height: 112px; overflow: hidden; pointer-events: none; z-index: 1; }
.wavetop .wl { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.wavetop .wl svg { display: block; width: 100%; height: 100%; }
.wavetop .wl--crest { animation: drift 9s linear infinite; }
.wavetop .wl--body { animation: drift 13s linear infinite reverse; }
.band__glint { position: absolute; z-index: 0; }
.band .wrap { position: relative; z-index: 2; }

/* ----------------------------------- Nav -------------------------------- */
.nav {
  /* position: fixed; bottom: 0; z-index: 50; width: 100%;height: 80px; */
  position: sticky; top: 0; width: 100%; z-index: 50;
  background: rgba(244, 251, 255, .85);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(11, 58, 83, .06);
}
.nav__sticky { position: sticky; top: 0; }
.nav__inner { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 22px; color: var(--ink); }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a.link { padding: 10px 14px; border-radius: var(--radius-pill); font-weight: 700; color: var(--ink-soft); transition: background .2s, color .2s; }
.nav__links a.link:hover { background: var(--blue-100); color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__burger { display: none; background: none; border: none; padding: 8px; color: var(--ink); }

/* ----------------------------------- Hero ------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 40px; align-items: center; position: relative; z-index: 2; }

/* Rising bubbles across the whole hero (built in script.js) */
.hero__bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__bubbles span {
  position: absolute; bottom: -40px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.9), rgba(155,214,246,.28) 60%, rgba(155,214,246,.05));
  box-shadow: inset 0 0 0 1px rgba(27,155,230,.10);
  animation: floatUp linear infinite;
}

/* Staggered load-in for the copy + stage (backwards fill keeps them visible
   under reduced motion, where the animation is disabled) */
.hero__copy > * { animation: heroRise .7s var(--ease-out) backwards; }
.hero__copy h1 { animation-delay: .05s; }
.hero__sub { animation-delay: .14s; }
.hero__actions { animation-delay: .22s; }
.hero__note { animation-delay: .30s; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface); color: var(--otter-ink);
  font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.hero h1 { font-size: clamp(40px, 6.2vw, 64px); font-weight: 700; }
.hero__sub { font-size: 19px; color: var(--ink-soft); max-width: 32ch; margin: 18px 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--ink-muted); }
.hero__note svg { width: 18px; height: 18px; color: var(--sunny); }

/* Hero visual: faithful, live app-home replica inside a phone frame */
.hero__stage { position: relative; display: flex; justify-content: center; padding: 10px 30px 0; }
.phone {
  position: relative; width: 300px; height: 612px;
  background: #0B3A53; border-radius: 46px; padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
  z-index: 2;
  animation: phonePop .8s var(--ease-bounce) .1s backwards;
}

/* Soft water halo giving the phone depth (brand gradient, not decorative page bg) */
.hero__blob {
  position: absolute; z-index: 0; width: 420px; height: 420px; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 40%, rgba(127,205,245,.55), rgba(127,205,245,.16) 55%, transparent 72%);
  filter: blur(6px);
  animation: haloPulse 7s var(--ease-out) infinite;
}
.appscreen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: 36px; background: var(--bg-primary);
  display: flex; flex-direction: column;
}
.statusbar { display: flex; justify-content: center; padding: 12px 22px 2px; font-family: 'Nunito'; font-weight: 800; font-size: 13px; color: var(--ink); z-index: 4; }
.statusbar .notch { width: 100px; height: 18px; background: #0B3A53; border-radius: 0 0 14px 14px; margin-top: -12px; }
.statusbar .sigs { display: flex; gap: 5px; align-items: center; }
.statusbar .sigs svg { width: 17px; height: 13px; }
.appbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 0; z-index: 4; }
.streakpill { display: inline-flex; align-items: center; gap: 6px; border: none; background: var(--bg-secondary); color: var(--ink-soft); font-family: 'Fredoka'; font-weight: 600; font-size: 13px; padding: 8px 12px; border-radius: var(--radius-pill); }
.streakpill svg { width: 15px; height: 15px; color: var(--coral); }
.appbar__icons { display: flex; gap: 8px; }
.iconbtn { width: 36px; height: 36px; border: none; border-radius: 13px; background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-xs); }
.iconbtn svg { width: 18px; height: 18px; }
.apptop { text-align: center; padding: 40px 0 8px; z-index: 4; }
.apptoday { font-size: 10px; font-weight: 800; letter-spacing: 2.5px; color: var(--ink-muted); }
.appcount { font-family: 'Fredoka'; font-weight: 600; line-height: .92; margin-top: 4px; }
.appcount span { font-size: 72px; color: var(--ink); font-variant-numeric: tabular-nums; }
.appcount i { font-size: 22px; font-style: normal; color: var(--ink-muted); margin-left: 2px; }
.appgoal { display: inline-block; margin-top: 12px; background: var(--surface); color: var(--brand-water); font-family: 'Fredoka'; font-weight: 600; font-size: 14px; padding: 7px 16px; border-radius: var(--radius-pill); box-shadow: var(--shadow-xs); }

/* the rising water */
.appwater {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56%; z-index: 1;
  background: linear-gradient(180deg, var(--water-light) 0%, var(--water-mid) 58%, var(--water-deep) 100%);
  transition: height .64s var(--ease-bounce);
}
.appwater__deep { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, transparent, var(--water-deep) 60%, var(--water-abyss)); }
.appwater__waves { position: absolute; top: -16px; left: 0; width: 100%; height: 22px; overflow: hidden; }
.appwater__waves svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.appwater__waves svg.w1 { fill: var(--water-crest); opacity: .9; animation: drift 7s linear infinite; }
.appwater__waves svg.w2 { fill: var(--water-light); animation: drift 11s linear infinite reverse; }
.glint { position: absolute; height: 5px; border-radius: 999px; background: rgba(255,255,255,.45); z-index: 2; }

.appadds { position: relative; z-index: 3; margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 0 14px 18px; }
.qadd {
  border: none; border-radius: 16px; background: var(--surface); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px 9px;
  box-shadow: 0 5px 0 color-mix(in oklab, #EAF7FE 100%, #000000 15%);
  transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out);
}
.qadd svg { width: 26px; height: 26px; color: var(--ink); }
.qadd b { font-family: 'Fredoka'; font-weight: 600; font-size: 18px; }
.qadd small { font-size: 11px; color: var(--ink-muted); font-weight: 700; }
.qadd:active { transform: translateY(5px); box-shadow: 0 0 0 rgba(11,58,83,.10); }
.qadd--plus { background: var(--sunny); color: var(--sunny-ink); box-shadow: 0 5px 0 var(--sunny-edge); justify-content: center; }
.qadd--plus svg { width: 30px; height: 30px; color: var(--sunny-ink); }
.qadd--plus:active { box-shadow: 0 0 0 var(--sunny-edge); }

.hero__lou {
  position: absolute; left: -18px; bottom: -6px; width: 172px; height: auto; z-index: 3;
  filter: drop-shadow(var(--shadow-md));
  animation: bob 4.5s var(--ease-out) infinite, louPop .8s var(--ease-bounce) .35s backwards;
}
/* Lou peeking over the top edge of the phone (head behind frame, paws in front) */
.hero__peek {
  position: absolute; top: -50px; left: 60%; margin-left: -82px;
  width: 165px; height: auto; z-index: 1; pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(11,58,83,.18));
  animation: peekIn .7s var(--ease-bounce) .85s backwards,
             peekBreath 3.5s ease-in-out 1s infinite;
  transition: transform .35s var(--ease-out);
}
.hero__stage:hover .hero__peek { transform: translateY(-10px); }
.hero__paw {
  position: absolute; top: 1px; left: 60%; z-index: 3;
  width: 30px; height: 24px; background: #a97145;
  border-radius: 55% 55% 62% 62%;
  box-shadow: inset 0 -3px 4px rgba(112,74,39,.35);
  pointer-events: none;
}
.hero__paw--left  { margin-left: -58px; animation: pawPeekIn .7s var(--ease-bounce) 0.5s backwards; }
.hero__paw--right { margin-left: 28px;  animation: pawPeekIn .7s var(--ease-bounce) 0.5s backwards; }

.confetti { position: absolute; inset: 0; pointer-events: none; z-index: 6; overflow: visible; }
.confetti i { position: absolute; top: 22%; left: 50%; width: 9px; height: 9px; border-radius: 2px; opacity: 0; }

/* Floating in-app moment chips around the phone */
.floaty {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border-radius: var(--radius-pill);
  padding: 10px 16px 10px 10px; box-shadow: var(--shadow-lg);
}
.floaty__ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.floaty__ico svg { width: 19px; height: 19px; }
.floaty__ico--flame { background: #FFE9E4; color: var(--coral); }
.floaty__stars { display: flex; gap: 1px; color: var(--sunny); flex: none; }
.floaty__stars svg { width: 15px; height: 15px; }
.floaty__txt { display: flex; flex-direction: column; line-height: 1.05; }
.floaty__txt b { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; color: var(--ink); }
.floaty__txt small { font-size: 11.5px; font-weight: 700; color: var(--ink-muted); }
.floaty--streak { top: 12%; left: -34px; animation: floatChip 5.5s var(--ease-out) infinite, chipIn .6s var(--ease-bounce) .5s backwards; }
.floaty--rating { bottom: 20%; right: -30px; animation: floatChip 6.5s var(--ease-out) .4s infinite, chipIn .6s var(--ease-bounce) .62s backwards; }

/* ----------------------------------- Stats strip ------------------------ */
.stats { margin-bottom: 56px; }
.stats__row { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 30px 20px; }
.stat { text-align: center; padding: 8px 12px; }
.stat + .stat { border-left: 1px solid var(--blue-100); }
.stat__num { font-family: 'Fredoka'; font-weight: 600; font-size: 42px; color: var(--brand-water); font-variant-numeric: tabular-nums; line-height: 1; }
.stat__label { font-size: 14px; font-weight: 700; color: var(--ink-muted); margin-top: 6px; }

/* ----------------------------------- Section heads ---------------------- */
.section { padding: 84px 0; }
.section__head { 
  /* max-width: 34ch;  */
  margin-bottom: 44px; 
}
.section__head.center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(30px, 4.4vw, 44px); }
.section__head p { font-size: 18px; color: var(--ink-soft); margin: 14px 0 0; }

/* ----------------------------------- Features bento --------------------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 28px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.tile h3 { font-size: 21px; }
.tile p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.tile__art { width: 96px; height: 96px; object-fit: contain; margin-bottom: 4px; }
.tile--wide {
  grid-column: span 2; flex-direction: row; align-items: center; gap: 8px;
  background: var(--grad-water); color: #fff; position: relative; padding-right: 0;
}
.tile--wide h3, .tile--wide p { color: #fff; }
.tile--wide p { opacity: .94; max-width: 30ch; }
.tile--wide .tile__body { flex: 1; padding: 6px 0; }
.tile--wide .tile__art { width: 180px; height: 180px; align-self: flex-end; margin: 0 6px -4px 0; filter: drop-shadow(0 8px 18px rgba(11,58,83,.25)); }
.tile--aqua { background: #E8FBF8; }
.tile--sun { background: #FFF6E0; }
.tile--foam { background: var(--bg-secondary); }

/* ----------------------------------- Testimonials ----------------------- */
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote__stars { display: flex; gap: 3px; color: var(--sunny); }
.quote__stars svg { width: 18px; height: 18px; }
.quote__body { font-size: 16.5px; color: var(--ink); font-weight: 600; }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-200); display: grid; place-items: center; font-family: 'Fredoka'; font-weight: 700; color: var(--brand-water); }
.quote__name { font-weight: 800; font-size: 15px; }
.quote__role { font-size: 13px; color: var(--ink-muted); font-weight: 700; }

/* ----------------------------------- Screenshots gallery ---------------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shot { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.shot__frame { width: 100%; aspect-ratio: 9 / 19.5; background: #0B3A53; border-radius: 30px; padding: 8px; box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06); }
.shot__ph {
  width: 100%; height: 100%; border-radius: 24px;
  background: linear-gradient(180deg, var(--water-light) 0%, var(--water-mid) 60%, var(--water-deep) 100%);
  display: grid; place-items: center;
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 18px; color: #fff; letter-spacing: .5px;
}
.shot img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; border-radius: 24px; }
.shot figcaption { font-weight: 700; font-size: 14.5px; color: var(--blue-900); text-align: center; }

/* ----------------------------------- FAQ (deep water) ------------------- */
.faq { max-width: 1080px; margin: 0 auto; padding: 56px 0 24px; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 64px; align-items: start; }
.faq__head { text-align: left; position: sticky; top: 110px; }
.faq__head .eyebrow { color: var(--blue-900); }
.faq__head h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.faq__head p { color: rgba(255,255,255,.85); font-size: 16px; margin: 14px 0 0; }
.faq__head p a { color: #fff; font-weight: 700; text-decoration: underline; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius-md); padding: 2px 22px; transition: background .2s; }
.faq__item.is-open { background: rgba(255,255,255,.10); }
.faq__q { width: 100%; background: none; border: none; text-align: left; list-style: none; cursor: pointer; padding: 18px 0; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 18px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__q::after { content: ''; width: 11px; height: 11px; flex: none; border-right: 2.4px solid var(--water-crest); border-bottom: 2.4px solid var(--water-crest); transform: rotate(45deg); transition: transform .25s ease; }
.faq__item.is-open .faq__q::after { transform: rotate(-135deg); }
.faq__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.faq__item.is-open .faq__answer { grid-template-rows: 1fr; }
.faq__answer-inner { overflow: hidden; min-height: 0; }
.faq__item p { margin: 0 0 18px; color: #C7DEEA; font-size: 16px; }
.faq__item a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ----------------------------------- Final CTA (deep water card) -------- */
.cta {
  position: relative; text-align: center;
  padding: 100px 24px 100px; margin-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.cta h2 { color: #fff; font-size: clamp(30px, 4.6vw, 46px); }
.cta p { color: rgba(255,255,255,.90); font-size: 19px; margin: 16px auto 30px; max-width: 42ch; }
/* .cta__bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cta__bubbles span { position: absolute; bottom: -30px; border-radius: 50%; background: rgba(255,255,255,.10); animation: rise 9s linear infinite; } */

/* ----------------------------------- Footer ----------------------------- */
.footer { background: var(--blue-900); color: #C7DEEA; padding: 20px 0 30px; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer .brand { color: #fff; }
.footer__tag { max-width: 28ch; margin: 14px 0 0; color: #8FB4C6; font-weight: 600; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h4 { font-family: 'Nunito'; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #6F97AC; margin-bottom: 14px; font-weight: 800; }
.footer__col a { display: block; padding: 5px 0; color: #C7DEEA; font-weight: 600; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10); font-size: 13.5px; color: #7FA6B9; }
.footer__bar a:hover { color: #fff; }

/* ----------------------------------- Legal pages ------------------------ */
.legal { padding: 60px 0 90px; }
.legal__head { margin: 0 auto 36px; }
.legal__head h1 { font-size: clamp(32px, 5vw, 46px); }
.legal__head .meta { color: var(--ink-muted); font-weight: 700; margin-top: 12px; }
.legal__body { margin: 0 auto; background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 44px; }
.legal__body h2 { font-size: 22px; margin: 34px 0 10px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--ink-soft); font-size: 16px; }
.legal__body ul { padding-left: 22px; }
.legal__body li { margin: 6px 0; }
.legal__body a { color: var(--brand-water); font-weight: 700; }
.legal__back { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-water); font-weight: 800; margin-bottom: 28px; }
.legal__back svg { width: 18px; height: 18px; }

/* ----------------------------------- Reveal ----------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ----------------------------------- Keyframes -------------------------- */
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes phonePop { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes louPop { from { opacity: 0; transform: translateY(26px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes peekIn { from { opacity: 0; transform: translateY(64px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pawPeekIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes peekBreath { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes floatChip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes dropFloat { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(-9px) rotate(45deg); } }
@keyframes haloPulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .9; } 50% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; } }
@keyframes floatUp { 0% { transform: translateY(0) scale(1); opacity: 0; } 12% { opacity: .8; } 100% { transform: translateY(-84vh) scale(.5); opacity: 0; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rise { 0% { transform: translateY(0) scale(1); opacity: 0; } 12% { opacity: 1; } 100% { transform: translateY(-440px) scale(.4); opacity: 0; } }
@keyframes peek { 0%, 100% { transform: translateX(-50%) translateY(8px); } 50% { transform: translateX(-50%) translateY(-6px); } }
@keyframes pop { 0% { transform: translate(0,0) scale(.4); opacity: 1; } 100% { opacity: 0; } }

/* ----------------------------------- Full-viewport panels --------------- */
/* Desktop only: every section fills the screen and its content is centered, so
   at rest you only glimpse the crest of the next section's wave peeking above
   the fold — never the content below. Mobile keeps the natural flow. */
@media (min-width: 761px) {
  .hero {
    min-height: calc(100vh - 70px); /* offset the sticky nav */
    display: flex;
    align-items: center;
    /* padding-top: 50px; */
    padding-bottom: 0;
  }
  .section.band {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ----------------------------------- Responsive ------------------------- */
/* Tablets */
@media (max-width: 960px) {
  .hero { padding: 50px 0;}
  .hero__grid { grid-template-columns: 1fr; gap: 48px; justify-items: center; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__sub { max-width: 44ch; }
  .hero__actions { justify-content: center; }
  .hero__stage { padding: 10px 44px 0; }
  .phone { box-shadow: none; }
  .floaty--streak { left: -8px; }
  .floaty--rating { right: -6px; }
  .lou__grid { grid-template-columns: 1fr; gap: 24px; }
  .feature { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .feature:nth-child(even) .feature__media { order: 0; }
  .feature__media { min-height: 0; }
  .feature__media img { width: 160px; height: 160px; }
  .feature__body p { margin-inline: auto; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--wide { grid-column: span 2; }
}

/* Phones */
@media (max-width: 760px) {
  .wrap { padding-inline: 18px; }
  .hero__stage { padding: 6px 12px 0; }
  .floaty, .drop { display: none; }
  .hero__lou { width: 128px; left: -6px; bottom: -4px; }
  .hero__blob { width: 320px; height: 320px; }
  .nav__links { display: none; }
  .nav__burger { display: grid; place-items: center; }
  .nav.open .nav__links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg-primary); padding: 14px 18px 20px; box-shadow: var(--shadow-md); gap: 4px; }
  .section { padding: 60px 0; }
  .stats__row { grid-template-columns: 1fr; gap: 10px; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--blue-100); padding-top: 20px; }
  .steps__grid { grid-template-columns: 1fr; }
  .quotes__grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .faq { grid-template-columns: 1fr; gap: 28px; padding-top: 20px; }
  .faq__head { position: static; }
  .cta { padding: 50px 8px 80px; }
  .legal__body { padding: 28px 22px; }
}

@media (max-width: 570px) {
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 1; flex-direction: column; align-items: flex-start; padding-right: 28px; }
  .tile--wide .tile__art { width: 150px; height: 150px; align-self: center; margin: 6px 0 -4px; }
  .lou__disc { width: 280px; height: 280px; }
  .lou__img { width: 270px; }
}

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