/* Pip Landing — Claude Design v2 */

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

:root {
  --purple: #A855F7;
  --purple-deep: #7C3AED;
  --purple-ink: #2E1A5B;
  --purple-soft: #F3E8FF;
  --lavender: #EAE1FA;
  --lavender-deep: #6D44C7;
  --ink: #1A1A1A;
  --ink-2: #3D3D3D;
  --ink-3: #6B7280;
  --ink-4: #B8B8B8;
  --bg: #FBFAF7;
  --bg-2: #F5F2EC;
  --cream: #FFF8EE;
  --peach: #FFE6DC;
  --sage: #E2EDE8;
  --line: rgba(17,24,39,0.08);
  --salmon: #FF8C7A;
  --lime: #84CC16;
  --pink: #F472B6;
}

/* Root/canvas background = hero purple so iOS paints the status-bar area purple
   (the cream page sections paint over it below the hero). Fixes the white strip
   behind the status bar on mobile Safari. */
html { scroll-behavior: smooth; background: #8B43F0; }

html, body { width: 100%; max-width: 100%; }
body {
  font-family: Nunito, sans-serif;
  color: var(--ink);
  background:
    /* Subtle lilac glow on the bottom-left only — the top is pure cream so it matches the iOS status bar */
    radial-gradient(ellipse 900px 700px at -10% 80%, rgba(168,85,247,0.06), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── LAYOUT ─────────────────────────────────── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── TYPOGRAPHY ─────────────────────────────── */
.kalam {
  font-family: Kalam, cursive !important;
  font-weight: 700;
  color: var(--purple-deep);
  display: inline-block;
  transform: rotate(-2deg);
}
.kalam-pink { color: #FBCFE8; }

h1, h2, h3 {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
}

/* ─── BUTTONS ─────────────────────────────────── */
.btn-pill {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
  display: inline-block;
}
.btn-pill:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-dark {
  background: var(--ink);
  color: white;
}
.btn-purple {
  background: var(--purple-deep);
  color: white;
  box-shadow: 0 4px 14px rgba(124,58,237,0.30);
}

/* App Store button — matches the official "Download on the App Store" pill */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: white;
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  padding: 12px 22px 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 8px 22px rgba(17,24,39,0.18);
}
.btn-appstore .store-label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left; }
.btn-appstore .store-small { font-family: Nunito, sans-serif; font-size: 10.5px; font-weight: 500; opacity: 0.86; letter-spacing: 0.2px; }
.btn-appstore .store-big { font-family: Quicksand, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -0.2px; }
.btn-appstore:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-appstore-white {
  background: white;
  color: var(--ink);
}

/* ─── TOPBAR — static, scrolls away with the page ─── */
#topbar {
  position: relative;
  background: transparent;
  border-bottom: 0;
}
/* Old .scrolled state retained as no-op so any old JS doesn't error */
#topbar.scrolled { box-shadow: none; }

.topbar-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.topbar-logo img { display: block; }
.logo-mask {
  display: inline-block;
  width: 64px; height: 32px;
  background: #000;
  -webkit-mask: url('assets/pip-logo.svg') center / contain no-repeat;
          mask: url('assets/pip-logo.svg') center / contain no-repeat;
}
.logo-mask-sm { width: 52px; height: 26px; }

.topbar-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.topbar-nav a {
  font-family: Quicksand, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s;
}
.topbar-nav a:hover { color: var(--purple); }

/* ─── EYEBROW ─────────────────────────────────── */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-soft);
  color: var(--purple-deep);
  font-family: Quicksand, sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
}

.section-eyebrow {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--purple);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
}

/* ─── HERO ─────────────────────────────────── */
.hero {
  padding: 80px 0 120px;
  position: relative;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 72px;
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 720px; }
.hero-copy .hero-lede { margin-left: auto; margin-right: auto; }
.hero-copy .btn-appstore { margin-left: auto; margin-right: auto; }
.hero-copy .hero-stars { justify-content: center; }

/* "Now live!" pill — bright white rim with a faint pink/purple halo (Popcorn style).
   Pill body is very slightly off-white so the 3px white border reads as a crisp rim. */
.now-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  background: #FAF8FB;                /* subtle off-white interior — makes the white rim visible */
  border: 3px solid #ffffff;          /* the white rim */
  border-radius: 999px;
  font-family: Quicksand, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin: 0 auto 28px;
  box-shadow:
    /* Whisper-soft pink → purple halo — follows the pill's pill shape (no rectangle) */
    0 0 20px 2px rgba(244, 114, 182, 0.08),
    0 0 38px 8px rgba(168, 85, 247, 0.07),
    0 0 60px 18px rgba(192, 132, 252, 0.04),
    /* Tiny lift */
    0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Menu button — replaces "Get Pip" in the topbar */
.menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  color: var(--ink);
  padding: 0;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
  transition: background 0.15s, transform 0.15s;
}
.menu-btn:hover { background: #FAFAFA; transform: translateY(-1px); }
.menu-btn:active { transform: translateY(0); }

/* Hero headline: identical to Meet Pip h2 — same font, weight, size, line-height, letter-spacing */
.hero-copy h1,
.hero-h1 {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 76px;
  line-height: 1.04;
  letter-spacing: -2.4px;
  color: var(--ink);
  margin-bottom: 44px;
}

.hero-lede {
  font-family: Nunito, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 540px;
  margin: 0 auto 44px;
}

.hero-stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.stars {
  color: #F59E0B;
  font-size: 17px;
  letter-spacing: 1px;
}
.stars-label {
  font-family: Quicksand, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-3);
}

/* ─── PHONES ─────────────────────────────────── */
.phones-wrap { position: relative; padding: 32px 16px 0; max-width: 540px; margin: 0 auto; z-index: 1; }
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; z-index: 1; }
/* iPhone 17 Pro mockup images carry their own hardware — no CSS bezel needed */
.phone {
  width: 240px;
  aspect-ratio: 1069 / 2231;
  position: relative;
  flex-shrink: 0;
}
/* Soft lilac halo — wraps phone on all sides, evenly distributed (no directional
   bias) so the shadow doesn't bleed onto the adjacent phone. Lavender + light
   purple dominate; only a whisper of pink for warmth. */
.phone::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 11% / 5.2%;
  box-shadow:
    /* All-around lavender atmosphere (dominant) */
    0 0 110px rgba(192, 132, 252, 0.14),
    0 0 50px rgba(192, 132, 252, 0.09),
    /* Soft purple grounding drop underneath */
    0 36px 84px rgba(168, 85, 247, 0.10),
    0 14px 30px rgba(168, 85, 247, 0.06),
    /* Light upward lavender bloom */
    0 -20px 64px rgba(192, 132, 252, 0.08),
    /* Very subtle pink warmth (no offset → doesn't bleed left or right) */
    0 0 70px rgba(244, 114, 182, 0.04);
  z-index: 0;
  pointer-events: none;
}
.phone-mock {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
  /* No filter — shadow handled by .phone::before for deterministic rendering. */
}
/* Back: Track. Front (on top): Share Care, sits higher and slightly forward */
.phone-1 { transform: translateX(46px) translateY(28px) rotate(-5deg); z-index: 1; }
.phone-2 { transform: translateX(-46px) translateY(-28px) rotate(5deg); z-index: 2; }
.scr-pad { padding: 38px 12px 8px; }
.scr-row { display: flex; align-items: center; gap: 8px; }
.scr-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#FED7AA,#FB923C); display: grid; place-items: center; font-size: 18px; }
.scr-name { font-family: Quicksand, sans-serif; font-weight: 700; font-size: 13px; color: var(--ink); line-height: 1.1; }
.scr-meta { font-family: Nunito, sans-serif; font-size: 9px; color: var(--ink-3); }
.scr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.scr-tile { height: 64px; border-radius: 10px; padding: 7px; display: flex; flex-direction: column; justify-content: space-between; color: white; }
.tile-v { font-family: Quicksand, sans-serif; font-weight: 700; font-size: 14px; letter-spacing: -0.2px; }
.tile-l { font-family: Nunito, sans-serif; font-size: 8px; font-weight: 500; opacity: 0.92; }
.scr-section { font-family: Quicksand, sans-serif; font-weight: 700; font-size: 11px; color: var(--ink); margin: 12px 0 6px; }
.scr-list { display: flex; flex-direction: column; gap: 5px; }
.scr-li { background: white; border-radius: 9px; padding: 7px 8px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); }
.chip { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; flex-shrink: 0; }
.ti { font-family: Quicksand, sans-serif; font-weight: 700; font-size: 9.5px; color: var(--ink); line-height: 1.15; }
.me { font-family: Nunito, sans-serif; font-size: 8px; color: var(--ink-3); }
.scr-week-title { font-family: Quicksand, sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.4px; }
.scr-week-date { font-family: Nunito, sans-serif; font-size: 9px; color: var(--ink-3); margin-bottom: 10px; }
.scr-bento { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 6px; }
.bento-big { grid-row: 1/3; border-radius: 13px; padding: 10px; color: white; min-height: 148px; display: flex; flex-direction: column; justify-content: space-between; }
.bento-sm { border-radius: 11px; padding: 9px; color: white; height: 71px; display: flex; flex-direction: column; justify-content: space-between; }
.bento-label { font-family: Nunito, sans-serif; font-size: 8.5px; opacity: 0.92; }
.bento-val { font-family: Quicksand, sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -0.5px; line-height: 1; }
.bento-sub { font-family: Nunito, sans-serif; font-size: 9px; opacity: 0.8; margin-top: 2px; }
.bento-chart { height: 32px; opacity: 0.6; display: block; }

/* ─── TRUST BAND ─────────────────────────────── */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  background: rgba(255,255,255,0.5);
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.trust-item {
  font-family: Nunito, sans-serif;
  font-size: 15px;
  color: var(--ink-2);
}
.trust-item strong {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin-right: 4px;
}
.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-4);
  flex-shrink: 0;
}

/* ─── FEATURES ─────────────────────────────────── */
.features-section {
  padding: 100px 0 80px;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 96px;
  background: #FFFFFF;                  /* same white card style the features used to have */
  border-radius: 32px;
  padding: 64px 48px;
  box-shadow: 0 2px 18px rgba(17, 24, 39, 0.04), 0 1px 4px rgba(17, 24, 39, 0.02);
  overflow: hidden;                     /* clips the walking dog at the card edges */
}
.section-head .section-eyebrow {
  justify-content: center;
}
.section-head .section-eyebrow::before {
  display: none;
}
.section-head h2 {
  font-size: 76px;
  letter-spacing: -2.4px;
  line-height: 1.04;
  margin: 0;
}
.section-head .meet-pip-line { margin-bottom: 8px; }
.section-head .helpful-line { margin-bottom: 18px; }

/* Pip walking — Lottie SVG inside a track that spans the card width */
.pip-walking-track {
  position: relative;
  width: 100%;
  height: 110px;
  margin: 4px 0 8px;
  overflow: hidden;             /* belt-and-braces in case .section-head's overflow is removed */
}
.pip-walking {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 110px;
  animation: pipWalkAcross 6s linear infinite;
}
@keyframes pipWalkAcross {
  0%   { left: -120px; }        /* off the left edge */
  100% { left: 100%; }          /* off the right edge */
}
@media (prefers-reduced-motion: reduce) {
  .pip-walking { animation: none; left: 50%; transform: translateX(-50%); }
}

/* Pip face — inline circular icon, sits to the right of "Meet Pip." on the same baseline */
.pip-face {
  display: inline-block;
  vertical-align: middle;
  width: 64px;
  height: 64px;
  margin-left: 16px;
  margin-right: 0;
  margin-bottom: 0.08em;          /* nudges optical centre up to align with cap-height of "Meet Pip" */
  border-radius: 50%;
  overflow: hidden;
  background: rgba(127, 57, 248, 0.06);    /* #7F39F8 @ 6% */
  box-shadow:
    0 6px 14px rgba(46, 26, 91, 0.14),
    0 2px 4px rgba(17, 24, 39, 0.06),
    inset 0 0 0 2.5px white;
  position: relative;
  flex-shrink: 0;
}
.pip-face-img {
  position: absolute;
  width: 220%;                    /* tight zoom on his head */
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(-2%);  /* light upward nudge so face is centred, ears in frame */
  display: block;
}

/* Bold full-stop after the Kalam "helpful" — Nunito Black weight */
.period-bold {
  font-family: Nunito, sans-serif;
  font-weight: 900;
  color: var(--ink);
}
.section-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* Feature section: no card — sits directly on the cream page background */
.feat-section {
  background: transparent;
  padding: 0;
  margin-bottom: 80px;
}
.feat-section:last-child { margin-bottom: 0; }

.feat-header {
  text-align: left;
  max-width: 640px;
  margin: 0 0 32px;
}
.feat-header .feat-no {
  color: var(--purple-deep);
  opacity: 1;                       /* high contrast on the cream bg */
  margin-bottom: 14px;
}
.feat-header h3 {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.6px;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 12px;
  text-wrap: balance;
}
.feat-header p {
  font-family: Nunito, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}

/* Card now hosts only the visual */
.feat-card {
  border-radius: 26px;
  padding: 40px;
  overflow: hidden;
}
.feat-no {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 01 Track */
.feat-track {
  background: #2E1A5B;
  color: white;
}

/* Track: weekly chart + pattern insight */
.track-week {
  background: rgba(168,85,247,0.20);
  border-radius: 16px;
  padding: 18px 18px 14px;
  margin-bottom: 12px;
}
.week-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.week-label {
  font-family: Nunito, sans-serif;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.78;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
}
.week-avg {
  font-family: Quicksand, sans-serif;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.82;
  color: white;
}
.week-avg b { color: #FBCFE8; font-weight: 700; }
.week-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
}
.week-bar {
  flex: 1;
  border-radius: 6px 6px 4px 4px;
  background: rgba(255,255,255,0.22);
  position: relative;
}
.week-bar.park {
  background: linear-gradient(180deg, #FBCFE8 0%, #F472B6 100%);
  box-shadow: 0 -4px 14px rgba(244,114,182,0.3);
}
.week-bar .bar-dot {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FBCFE8;
  box-shadow: 0 0 0 3px rgba(251,207,232,0.20);
}
.week-days {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.week-days span {
  flex: 1;
  text-align: center;
  font-family: Nunito, sans-serif;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.55;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: white;
}
.week-days span.park { color: #FBCFE8; opacity: 1; }

.pattern-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.22);
  border-radius: 14px;
  padding: 12px 14px;
}
.pattern-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(251,207,232,0.22);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.pattern-title {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.2;
  color: white;
}
.pattern-title b { color: #FBCFE8; font-weight: 700; }
.pattern-sub {
  font-family: Nunito, sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 3px;
}

/* Row 2: Store + Share */
/* (.feat-row-two / .feat-row-three no longer used — each feature is its own row.) */

/* 02 Store */
.feat-store {
  background: var(--lavender);
}
.doc-stack {
  margin-top: 24px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.doc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.doc-row:last-of-type { border-bottom: none; }
.doc-strip {
  width: 4px;
  height: 36px;
  border-radius: 2px;
  flex-shrink: 0;
}
.doc-content { flex: 1; min-width: 0; }
.doc-tag {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.doc-title {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  margin: 2px 0 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doc-meta {
  font-family: Nunito, sans-serif;
  font-size: 11px;
  color: var(--ink-3);
}
.doc-badge {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 10px;
  background: var(--purple-soft);
  color: var(--purple-deep);
  padding: 3px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}
.doc-more {
  padding: 10px 14px;
  font-family: Nunito, sans-serif;
  font-size: 12px;
  color: var(--ink-3);
  border-top: 1px dashed var(--line);
  text-align: center;
}

/* 03 Share */
.feat-share { background: var(--cream); }
.share-card {
  margin-top: 24px;
  background: white;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  position: relative;
  overflow: visible;
}
.share-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  background: var(--bg-2);
  border-radius: 10px;
  padding: 9px 12px;
}
.share-favicon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--purple);
  color: white;
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.share-url {
  font-family: monospace;
  font-size: 12px;
  color: var(--ink-2);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.share-copy-btn {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 12px;
  background: var(--purple-soft);
  color: var(--purple-deep);
  border: none;
  border-radius: 8px;
  padding: 5px 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.share-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.share-chip {
  font-family: Nunito, sans-serif;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-2);
  color: var(--ink-2);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

/* (.feat-row-three no longer used — features are stacked vertically.) */

/* 04 Remind */
.feat-remind { background: var(--peach); }
.remind-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.remind-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(0,0,0,0.06);
}
.remind-now {
  border: 2px solid #F59E0B;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.12);
}
.remind-done { opacity: 0.7; }
.remind-icon { font-size: 18px; flex-shrink: 0; }
.remind-info { flex: 1; }
.remind-name {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.2;
}
.remind-strike { text-decoration: line-through; color: var(--ink-3); }
.remind-time {
  font-family: Nunito, sans-serif;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 2px;
}
.remind-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.remind-check-now { background: #F59E0B; }
.remind-check-done { background: var(--purple); }
.remind-check-empty { border: 2px solid var(--ink-4); }

/* 05 Learn */
.feat-learn { background: var(--sage); }
.learn-cards {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.learn-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: white;
  border-radius: 14px;
  padding: 14px;
  border: 1px solid var(--line);
}
.learn-q {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F3E8FF;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: background 0.6s ease;
}
.q-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}
.q-mark { color: var(--purple-deep); }
.q-tick { color: white; opacity: 0; transform: scale(0.4) rotate(-90deg); font-size: 24px; }

.learn-info { flex: 1; min-width: 0; }
.learn-tag {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: var(--purple-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.learn-title {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin: 4px 0 0;
  line-height: 1.3;
  /* starts slightly hazy — clarity hasn't arrived yet */
  filter: blur(1.2px);
  opacity: 0.6;
  transition: filter 0.7s ease, opacity 0.7s ease;
}
.learn-answer {
  font-family: Nunito, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  line-height: 1.45;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.5s ease, margin-top 0.3s ease;
}

/* ─── QUOTE ─────────────────────────────────── */
/* Quote — full-width white block, flat top/bottom edges, only the corners rounded */
.quote-section {
  margin: 32px 0;
  padding: 36px 0;            /* tight to the quote */
  background: white;
  width: 100%;
  border-radius: 22px;         /* slight corner curve, flat horizontal edges */
  box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 1px 4px rgba(0,0,0,0.02);
  position: relative;
}
.quote-card {
  background: transparent;
  padding: 0 24px;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  box-shadow: none;
  text-align: center;
}
.quote-card .quote-author {
  justify-content: center;
}
.quote-deco {
  position: absolute;
  top: 16px;
  right: 40px;
  font-family: Georgia, serif;
  font-size: 140px;
  color: var(--purple-soft);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.quote-stars {
  color: #F59E0B;
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.quote-card blockquote {
  font-family: Quicksand, sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.45;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A855F7, #7C3AED);
  color: white;
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.quote-name {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.quote-role {
  font-family: Nunito, sans-serif;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* ─── FAQ ─────────────────────────────────── */
.faq-section {
  padding: 80px 0 100px;
}
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  max-width: 920px;
  margin: 0 auto;
}
.faq-h2 {
  font-size: 44px;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.faq-lede {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-3);
}
.faq-lede a {
  color: var(--purple);
  text-decoration: none;
}
.faq-lede a:hover { text-decoration: underline; }

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 18px 0;
  cursor: pointer;
  gap: 16px;
  text-align: left;
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  transition: color 0.15s;
}
.faq-q:hover { color: var(--purple); }
.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--purple);
  flex-shrink: 0;
  transition: transform 0.25s;
  line-height: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0 0;
}
.faq-item.open .faq-a {
  max-height: 280px;
  padding-bottom: 18px;
}
.faq-a p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-3);
}

/* ─── CTA BAND — full-width purple block, flat top/bottom, rounded corners ─── */
.cta-band {
  background: #2E1A5B;
  padding: 56px 0 64px;        /* tight to content */
  margin: 32px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 22px;          /* slight corner curve, flat edges */
}
.cta-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168,85,247,0.35) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}
.cta-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99,55,200,0.3) 0%, transparent 70%);
  bottom: -200px;
  left: -100px;
}
.cta-pup {
  position: absolute;
  bottom: 0;
  left: 80px;
  width: 220px;
  pointer-events: none;
}
.cta-pup img {
  width: 100%;
  display: block;
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-content h3 {
  font-size: 56px;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: white;
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}

/* ─── FOOTER ─────────────────────────────────── */
.footer {
  background: var(--bg);
  padding: 64px 0 52px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo img { display: block; }
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: Quicksand, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--purple); }
.footer-copy {
  font-family: Nunito, sans-serif;
  font-size: 13px;
  color: var(--ink-4);
  margin-left: auto;
}

/* ─── MOBILE ─────────────────────────────────── */
@media (max-width: 899px) {

  .wrap { padding: 0 20px; }

  /* Topbar */
  .topbar-nav { display: none; }
  .topbar-inner { gap: 0; }
  #topbar .btn-pill { margin-left: auto; }

  /* Hero */
  .hero {
    padding: 56px 0 80px;       /* more breathing room at top, like Popcorn */
  }
  .hero-inner { gap: 56px; }
  .hero-copy h1,
  .hero-h1 {
    font-size: 48px;            /* matches mobile section-head h2 */
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -1.6px;
  }
  .hero-lede { font-size: 17px; max-width: 460px; }
  /* phones below hero copy on all sizes — natural document order */
  .phones-wrap { max-width: 420px; padding: 32px 8px 0; }
  .phone { width: 210px; }
  .phone-1 { transform: translateX(30px) translateY(20px) rotate(-5deg); }
  .phone-2 { transform: translateX(-30px) translateY(-20px) rotate(5deg); }

  /* Trust */
  .trust-row { gap: 24px; }
  .trust-item { font-size: 14px; }
  .trust-item strong { font-size: 18px; }

  /* Features section */
  .features-section { padding: 64px 0 48px; }
  .section-head h2 { font-size: 48px; letter-spacing: -1.6px; line-height: 1.04; }
  .section-head { margin-bottom: 80px; }
  .section-lede { font-size: 16px; }

  .feat-card { padding: 28px 24px; border-radius: 22px; }

  .feat-section { margin-bottom: 20px; padding: 28px 24px; border-radius: 24px; }
  .feat-header { margin-bottom: 22px; }
  .feat-header h3 { font-size: 24px; letter-spacing: -0.4px; }
  .feat-header p { font-size: 15.5px; }

  .week-chart { height: 86px; gap: 6px; }
  .pattern-title { font-size: 13.5px; }

  /* Quote */
  .quote-card {
    padding: 36px 28px;
    border-radius: 24px;
  }
  .quote-card blockquote { font-size: 20px; }
  .quote-deco { font-size: 90px; top: 8px; right: 20px; }

  /* FAQ */
  .faq-section { padding: 56px 0 64px; }
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 100%;
  }
  .faq-h2 { font-size: 32px; }

  /* CTA */
  .cta-band {
    padding: 44px 0 52px;
    margin: 24px 0;
    border-radius: 18px;
  }
  .quote-section {
    padding: 28px 0;
    margin: 24px 0;
    border-radius: 18px;
  }
  .cta-content h3 { font-size: 36px; }
  .cta-content p { font-size: 16px; }
  .cta-pup { width: 140px; left: 0; }

  /* Footer */
  .footer { padding: 40px 0 32px; }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .footer-copy { margin-left: 0; }
  .footer-nav { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 36px; }
  .trust-row { flex-direction: column; gap: 12px; }
  .trust-dot { display: none; }
  .cta-pup { display: none; }
}

/* ─── MOTION: Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ─── MOTION: Hero copy stagger on load ─── */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-copy > * {
  opacity: 0;
}
.hero-copy > .hero-stagger {
  animation: heroFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ─── MOTION: Bar chart grow-in ─── */
.feat-track .week-bar {
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feat-track.bars-animate .week-bar {
  transform: scaleY(1);
}
.feat-track .week-bar:nth-child(1) { transition-delay: 0.05s; }
.feat-track .week-bar:nth-child(2) { transition-delay: 0.30s; }
.feat-track .week-bar:nth-child(3) { transition-delay: 0.15s; }
.feat-track .week-bar:nth-child(4) { transition-delay: 0.40s; }
.feat-track .week-bar:nth-child(5) { transition-delay: 0.25s; }
.feat-track .week-bar:nth-child(6) { transition-delay: 0.50s; }
.feat-track .week-bar:nth-child(7) { transition-delay: 0.35s; }

.feat-track .week-bar .bar-dot {
  opacity: 0;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feat-track.bars-animate .week-bar .bar-dot {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.feat-track.bars-animate .week-bar.park:nth-child(2) .bar-dot { transition-delay: 0.85s; }
.feat-track.bars-animate .week-bar.park:nth-child(4) .bar-dot { transition-delay: 0.95s; }
.feat-track.bars-animate .week-bar.park:nth-child(6) .bar-dot { transition-delay: 1.05s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-copy > *, .feat-track .week-bar, .feat-track .week-bar .bar-dot {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .phones-bg { animation: none; }
}

/* ─── MOTION: Store — docs stack in from above ─── */
.feat-store .doc-row {
  opacity: 0;
  transform: translateY(-18px) rotate(-1.5deg);
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feat-store.docs-animate .doc-row { opacity: 1; transform: translateY(0) rotate(0); }
.feat-store.docs-animate .doc-row:nth-child(1) { transition-delay: 0.10s; }
.feat-store.docs-animate .doc-row:nth-child(2) { transition-delay: 0.25s; }
.feat-store.docs-animate .doc-row:nth-child(3) { transition-delay: 0.40s; }
.feat-store .doc-more {
  opacity: 0;
  transition: opacity 0.5s ease 0.6s;
}
.feat-store.docs-animate .doc-more { opacity: 1; }

/* ─── MOTION: Share — chips pop in, copy button pulses ─── */
.feat-share .share-chip {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.8, 0.64, 1);
}
.feat-share.chips-animate .share-chip { opacity: 1; transform: scale(1); }
.feat-share.chips-animate .share-chip:nth-child(1) { transition-delay: 0.30s; }
.feat-share.chips-animate .share-chip:nth-child(2) { transition-delay: 0.40s; }
.feat-share.chips-animate .share-chip:nth-child(3) { transition-delay: 0.50s; }
.feat-share.chips-animate .share-chip:nth-child(4) { transition-delay: 0.60s; }
.feat-share.chips-animate .share-chip:nth-child(5) { transition-delay: 0.70s; }

.feat-share .share-card {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.feat-share.chips-animate .share-card { opacity: 1; transform: translateY(0); }

@keyframes copyPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(168,85,247,0.0); }
}
.feat-share.chips-animate .share-copy {
  animation: copyPulse 1.4s ease-in-out 0.9s 2;
}

/* ─── MOTION: Remind — rows slide in, ring pulses, strikethrough draws ─── */
.feat-remind .remind-row {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.feat-remind.items-animate .remind-row { opacity: 1; transform: translateX(0); }
.feat-remind.items-animate .remind-row:nth-child(1) { transition-delay: 0.10s; }
.feat-remind.items-animate .remind-row:nth-child(2) { transition-delay: 0.25s; }
.feat-remind.items-animate .remind-row:nth-child(3) { transition-delay: 0.40s; }

@keyframes nowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.45); }
  50%      { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
}
.feat-remind.items-animate .remind-row.remind-now {
  animation: nowPulse 2s ease-in-out 0.6s infinite;
}

/* Strikethrough draw on done item */
.feat-remind .remind-done .remind-name { position: relative; }
.feat-remind .remind-done .remind-name::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1.5px;
  background: var(--ink-3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease 0.9s;
}
.feat-remind.items-animate .remind-done .remind-name::after { transform: scaleX(1); }

/* Hide native strikethrough until animation; then keep both for natural look */
.feat-remind .remind-done .remind-name { text-decoration: none; }

/* ─── MOTION: Learn — questions slide in, then resolve into clarity ─── */
.feat-learn .learn-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.feat-learn.cards-animate .learn-card { opacity: 1; transform: translateY(0); }
.feat-learn.cards-animate .learn-card:nth-child(1) { transition-delay: 0.15s; }
.feat-learn.cards-animate .learn-card:nth-child(2) { transition-delay: 0.35s; }

/* The "?" icon briefly pulses, suggesting the question is being heard */
@keyframes qPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}
.feat-learn.cards-animate .learn-card:nth-child(1) .q-mark {
  animation: qPulse 0.6s ease-in-out 0.6s 1;
}
.feat-learn.cards-animate .learn-card:nth-child(2) .q-mark {
  animation: qPulse 0.6s ease-in-out 0.95s 1;
}

/* Then "?" rotates out and "✓" rotates in — clarity arrives */
.q-mark, .q-tick {
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.6, 0.64, 1), color 0.5s ease;
}
.feat-learn.cards-animate .learn-card:nth-child(1) .q-mark { transition-delay: 1.2s; opacity: 0; transform: scale(0.4) rotate(90deg); }
.feat-learn.cards-animate .learn-card:nth-child(2) .q-mark { transition-delay: 1.5s; opacity: 0; transform: scale(0.4) rotate(90deg); }
.feat-learn.cards-animate .learn-card:nth-child(1) .q-tick { transition-delay: 1.3s; opacity: 1; transform: scale(1) rotate(0deg); }
.feat-learn.cards-animate .learn-card:nth-child(2) .q-tick { transition-delay: 1.6s; opacity: 1; transform: scale(1) rotate(0deg); }

/* Icon background turns from lavender to green when answered */
.feat-learn.cards-animate .learn-card:nth-child(1) .learn-q { transition-delay: 1.3s; background: var(--lime); }
.feat-learn.cards-animate .learn-card:nth-child(2) .learn-q { transition-delay: 1.6s; background: var(--lime); }

/* Question title sharpens — blur lifts, full opacity */
.feat-learn.cards-animate .learn-card:nth-child(1) .learn-title { transition-delay: 1.2s; filter: blur(0); opacity: 1; }
.feat-learn.cards-animate .learn-card:nth-child(2) .learn-title { transition-delay: 1.5s; filter: blur(0); opacity: 1; }

/* Answer line slides down — the clarity itself */
.feat-learn.cards-animate .learn-card:nth-child(1) .learn-answer { transition-delay: 1.5s; max-height: 80px; opacity: 1; margin-top: 6px; }
.feat-learn.cards-animate .learn-card:nth-child(2) .learn-answer { transition-delay: 1.8s; max-height: 80px; opacity: 1; margin-top: 6px; }

/* Reduced motion: kill these too */
@media (prefers-reduced-motion: reduce) {
  .feat-store .doc-row, .feat-store .doc-more,
  .feat-share .share-chip, .feat-share .share-card,
  .feat-remind .remind-row, .feat-learn .learn-card,
  .learn-title, .learn-answer, .q-mark, .q-tick, .learn-q {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    filter: none !important;
    max-height: none !important;
  }
  .q-mark { display: none; }
  .learn-q { background: var(--lime); }
  .feat-remind .remind-done .remind-name { text-decoration: line-through; text-decoration-thickness: 1.5px; }
  .feat-remind .remind-done .remind-name::after { display: none; }
}

/* ─── MOTION: Share — chips zip into vault → vault zips down to carers ─── */

/* Share — chips animate in (in earlier rules). After chips, the recipient stack is shown statically. */

/* The recipient stack: Mum / Dog walker / Vet — static visual showing where shares go */
.carer-stack {
  position: relative;
  margin-top: 22px;
  padding-left: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zip-line {
  position: absolute;
  left: 22px;
  top: -10px;
  bottom: 22px;
  width: 0;
  border-left: 2px dashed var(--purple);
  opacity: 0.42;
  z-index: 0;
}
.carer-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 16px 4px 4px;
  box-shadow: 0 3px 10px rgba(46,26,91,0.06);
  align-self: flex-start;
}
.carer-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 2px white, 0 2px 6px rgba(0,0,0,0.08);
}
.carer-mum { background: linear-gradient(135deg, #FBA1A1 0%, #F472B6 100%); }
.carer-walker { background: linear-gradient(135deg, #FCD9B3 0%, #FB923C 100%); }
.carer-vet {
  background: var(--lavender);
  color: var(--purple-deep);
}
.carer-vet svg { stroke: var(--purple-deep); }
.carer-label {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}

/* ─── "Pip is coming soon" notice (App Store / Download buttons) ─────────── */
.notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(46, 26, 91, 0.45);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.notice-overlay.open { opacity: 1; pointer-events: auto; }
.notice-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 24px;
  padding: 34px 28px 30px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(46, 26, 91, 0.35);
  transform: translateY(12px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.notice-overlay.open .notice-card { transform: translateY(0) scale(1); }
.notice-pip { width: 92px; height: auto; display: block; margin: 0 auto 12px; }
.notice-card h3 {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin-bottom: 10px;
}
.notice-card p {
  font-family: Nunito, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
  margin-bottom: 22px;
}
.notice-btn {
  display: inline-block;
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--purple-deep);
  border: none;
  border-radius: 14px;
  padding: 13px 26px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.28);
  transition: transform 0.15s, box-shadow 0.15s;
}
.notice-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(124, 58, 237, 0.34); }
.notice-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--bg-2);
  color: var(--ink-3);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
}
.notice-close:hover { background: #ECE8F4; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .notice-overlay, .notice-card { transition: none; }
}

/* Newsletter signup confirmation / error line */
.signup-msg {
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-top: 14px;
  color: var(--purple-deep);
}
.signup-msg.error { color: #C0392B; }

/* ─── Cookie consent banner ─────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 900;
  width: calc(100% - 40px);
  max-width: 430px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(46, 26, 91, 0.25);
  padding: 18px 20px 16px;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-main p {
  font-family: Nunito, sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.cookie-banner a { color: var(--purple-deep); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
/* Main banner: 3 equal buttons in one row (Refuse All | Customise | Accept All) */
.cookie-main .cookie-actions { flex-wrap: nowrap; }
.cookie-main .cookie-actions .cookie-btn { flex: 1 1 0; min-width: 0; padding-left: 8px; padding-right: 8px; font-size: 13px; white-space: nowrap; text-align: center; }
.cookie-btn {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.cookie-secondary { background: var(--bg-2); color: var(--ink-2); }
.cookie-secondary:hover { background: #ECE8F4; }
.cookie-accept, .cookie-save {
  background: var(--purple-deep);
  color: #fff;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.28);
}
.cookie-accept:hover, .cookie-save:hover { transform: translateY(-1px); }

/* Manage panel */
.cookie-panel { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cookie-cat { margin-bottom: 14px; }
.cookie-cat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-cat-name { font-family: Quicksand, sans-serif; font-weight: 700; font-size: 14px; color: var(--ink); }
.cookie-always { font-family: Nunito, sans-serif; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.cookie-cat-desc { font-family: Nunito, sans-serif; font-size: 12px; line-height: 1.45; color: var(--ink-3); margin: 5px 0 0; }

/* Analytics toggle switch */
.cookie-switch { position: relative; display: inline-block; width: 38px; height: 22px; flex-shrink: 0; }
.cookie-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-slider { position: absolute; inset: 0; background: #D7D2E0; border-radius: 999px; cursor: pointer; transition: background 0.2s; }
.cookie-slider::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,0.2); transition: transform 0.2s; }
.cookie-switch input:checked + .cookie-slider { background: var(--purple-deep); }
.cookie-switch input:checked + .cookie-slider::before { transform: translateX(16px); }
.cookie-switch input:focus-visible + .cookie-slider { outline: 2px solid var(--purple); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) { .cookie-banner, .cookie-slider, .cookie-slider::before { transition: none; } }
