/* ==========================================================================
   MeowMD — Design System
   Fraunces (serif headlines) + Manrope (body/UI)
   Light (default, warm cream) + Dark (green-black) themes
   ========================================================================== */

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@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;
    scroll-behavior: auto !important;
  }
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Theme Tokens ---------- */
:root {
  /* Type */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale (4px base) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;
  --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px; --sp-16: 64px;
  --sp-20: 80px; --sp-24: 96px; --sp-32: 128px;

  /* Radius */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --tr: 200ms var(--ease-out);

  /* Container */
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 56px);

  /* ---- LIGHT THEME (default) ---- */
  --bg:        #FAF8F3;
  --bg-2:      #F3EFE6;
  --surface:   #FFFFFF;
  --surface-2: #F7F3EA;
  --ink:       #16241F;
  --ink-2:     #4A5B54;
  --ink-3:     #78877F;
  --border:    #E7E0D2;
  --border-2:  #DDD4C2;

  --accent:      #0F766E;   /* deep teal */
  --accent-2:    #14B8A6;   /* bright teal */
  --accent-soft: #D9F0EC;
  --accent-ink:  #0B564F;

  --coral:      #E4573D;    /* urgency */
  --coral-2:    #F0765F;
  --coral-soft: #FBE3DC;

  --gold:   #C9973A;

  --shadow-sm: 0 1px 3px rgba(22,36,31,.06), 0 1px 2px rgba(22,36,31,.05);
  --shadow-md: 0 8px 24px rgba(22,36,31,.09), 0 2px 6px rgba(22,36,31,.05);
  --shadow-lg: 0 24px 60px rgba(22,36,31,.14), 0 6px 16px rgba(22,36,31,.07);
  --shadow-accent: 0 12px 34px rgba(15,118,110,.28);

  --nav-bg: rgba(250,248,243,.82);
  --paw: rgba(15,118,110,.05);
}

html[data-theme="dark"] {
  --bg:        #0B1512;
  --bg-2:      #0E1A16;
  --surface:   #12211C;
  --surface-2: #182A23;
  --ink:       #EAF3EF;
  --ink-2:     #A9BEB6;
  --ink-3:     #7C918A;
  --border:    #23362E;
  --border-2:  #2E463C;

  --accent:      #2DD4BF;
  --accent-2:    #34E6CF;
  --accent-soft: #123832;
  --accent-ink:  #8CF0E2;

  --coral:      #FF7458;
  --coral-2:    #FF8D75;
  --coral-soft: #3A1C17;

  --gold:   #E0B25A;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow-md: 0 10px 30px rgba(0,0,0,.5);
  --shadow-lg: 0 26px 64px rgba(0,0,0,.62);
  --shadow-accent: 0 14px 40px rgba(45,212,191,.24);

  --nav-bg: rgba(11,21,18,.78);
  --paw: rgba(45,212,191,.06);
}

/* ---------- Base Elements ---------- */
html, body { max-width: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background var(--tr), color var(--tr);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-optical-sizing: auto;
}

p { color: var(--ink-2); }

.serif { font-family: var(--font-serif); }
.accent-text { color: var(--accent); }
.coral-text { color: var(--coral); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 780px; }
section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 128px); }
.section-pad-sm { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
h2.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-top: 14px; }
.section-head p.lead { margin-top: 18px; font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.section-head.center p.lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: var(--r-pill);
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr), color var(--tr), border-color var(--tr);
  white-space: nowrap; border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
html[data-theme="dark"] .btn-primary { color: #04120F; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(15,118,110,.36); background: var(--accent-2); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); color: var(--accent); }
.btn-secondary:active { transform: translateY(0); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 12px 30px rgba(228,87,61,.3); }
.btn-coral:hover { transform: translateY(-2px); background: var(--coral-2); box-shadow: 0 18px 40px rgba(228,87,61,.4); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; color: var(--accent); flex-shrink: 0; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; }
.brand-name .md { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: .93rem; font-weight: 600; color: var(--ink-2); padding: 8px 12px; border-radius: var(--r-sm);
  transition: color var(--tr), background var(--tr);
}
.nav-links a:hover { color: var(--accent); background: var(--accent-soft); }
.nav-right { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: var(--r-pill); border: 1.5px solid var(--border-2);
  display: grid; place-items: center; color: var(--ink-2); background: var(--surface);
  transition: color var(--tr), border-color var(--tr), transform var(--tr);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); transform: rotate(-15deg); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-cta { padding: 10px 20px; font-size: .93rem; }

/* Mobile nav */
.hamburger { display: none; width: 42px; height: 42px; border-radius: var(--r-pill); border: 1.5px solid var(--border-2); background: var(--surface); place-items: center; color: var(--ink); }
.hamburger svg { width: 22px; height: 22px; }
.mobile-menu {
  position: fixed; inset: 72px 0 auto 0; z-index: 99;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: var(--sp-6) var(--gutter) var(--sp-10);
  display: none; flex-direction: column; gap: 4px;
  transform: translateY(-12px); opacity: 0; transition: transform .25s var(--ease-out), opacity .25s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; }
.mobile-menu a { font-size: 1.05rem; font-weight: 600; padding: 13px 8px; border-radius: var(--r-sm); color: var(--ink); }
.mobile-menu a:hover { background: var(--accent-soft); color: var(--accent); }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(64px, 9vw, 120px); overflow: hidden; }

/* ---------- Cinematic hero (video + giant type) ---------- */
.hero-cine { padding: 0; }
.hero-cine .hero-stage { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-giant { position: absolute; inset: 0; z-index: 0; display: flex; justify-content: center; align-items: flex-start; padding-top: clamp(70px, 9vh, 130px); pointer-events: none; }
.hg-solid { font-family: "Fraunces", serif; font-weight: 600; font-size: clamp(5rem, 15.5vw, 14.5rem); line-height: .9; letter-spacing: .02em; color: var(--ink); opacity: .06; user-select: none; white-space: nowrap; }
.hero-cine .hero-fore { position: relative; z-index: 3; width: 100%; }
.hero-cine .hero-copy { max-width: 580px; padding-block: clamp(96px, 14vh, 150px) clamp(72px, 10vh, 120px); }
.hero-video-wrap { position: absolute; z-index: 1; right: -2vw; top: 54%; transform: translateY(-50%); width: clamp(600px, 66vw, 1100px); aspect-ratio: 16 / 9; pointer-events: none; }
.hero-video { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 64% 64% at 52% 58%, #000 46%, transparent 73%);
  mask-image: radial-gradient(ellipse 64% 64% at 52% 58%, #000 46%, transparent 73%); }
[data-theme="dark"] .hero-video { mix-blend-mode: normal; filter: brightness(.9) contrast(1.04); opacity: .95; }
[data-theme="dark"] .hg-solid { opacity: .085; }
.hg-outline { position: absolute; z-index: 2; top: 4%; left: 50%; transform: translateX(-50%); font-family: "Fraunces", serif; font-weight: 600; font-size: clamp(3.4rem, 9vw, 8.2rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 45%, transparent); letter-spacing: .05em; opacity: .85; pointer-events: none; user-select: none; white-space: nowrap; }
.hero-cine .float-card { pointer-events: auto; }
.hero-cine .fc-1 { top: 18%; left: 4%; }
.hero-cine .fc-2 { top: 40%; right: 4%; }
.hero-cine .fc-3 { bottom: 16%; left: 12%; }
.hero-scroll-hint { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-3); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero-scroll-hint i { width: 1.5px; height: 34px; background: linear-gradient(var(--ink-3), transparent); display: block; animation: hint-drop 1.8s ease-in-out infinite; }
@keyframes hint-drop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(1) translateY(10px); opacity: 0; } }
@media (max-width: 1180px) {
  .hero-cine .hero-copy { max-width: 500px; }
  .hero-video-wrap { width: 72vw; right: -10vw; }
}
@media (max-width: 900px) {
  .hero-cine .hero-stage { display: block; min-height: 0; }
  .hero-cine .hero-copy { padding-block: clamp(72px, 10vh, 110px) 8px; max-width: 100%; }
  .hero-giant { position: relative; inset: auto; padding: 0; justify-content: center; }
  .hg-solid { font-size: 17vw; opacity: .08; }
  .hero-video-wrap { position: relative; right: auto; bottom: auto; top: auto; transform: none; width: 100%; margin: 6px 0 0; aspect-ratio: 16 / 10; }
  .hero-video { -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 55%, #000 50%, transparent 78%); mask-image: radial-gradient(ellipse 70% 70% at 50% 55%, #000 50%, transparent 78%); }
  .hg-outline { font-size: 11vw; top: 2%; }
  .hero-cine .fc-1 { top: 10%; left: 0; }
  .hero-cine .fc-2 { top: 38%; right: 0; }
  .hero-cine .fc-3 { bottom: 8%; left: 4%; }
  .hero-scroll-hint { display: none; }
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--coral); background: var(--coral-soft);
  padding: 8px 15px; border-radius: var(--r-pill); border: 1px solid rgba(228,87,61,.2);
}
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); margin: 22px 0 0; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; }
.hero .sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); margin-top: 24px; max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.trust-row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--ink-3); font-size: .9rem; font-weight: 600; }
.trust-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.trust-checks { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust-checks li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.trust-checks .ck { color: var(--accent); flex-shrink: 0; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; border: 1px solid var(--border);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 55%, rgba(11,21,18,.28)); }

.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 13px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; will-change: transform;
}
.float-card .fc-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .fc-icon svg { width: 21px; height: 21px; }
.fc-icon.teal { background: var(--accent-soft); color: var(--accent); }
.fc-icon.coral { background: var(--coral-soft); color: var(--coral); }
.fc-icon.gold { background: rgba(201,151,58,.14); color: var(--gold); }
.float-card .fc-label { font-size: .72rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.float-card .fc-value { font-size: .98rem; font-weight: 800; color: var(--ink); }
.fc-1 { top: 6%; left: -6%; }
.fc-2 { top: 44%; right: -8%; }
.fc-3 { bottom: 5%; left: 2%; }

/* ---------- Marquee stats ---------- */
.marquee-band { background: var(--accent); color: #fff; overflow: hidden; padding-block: 0; }
html[data-theme="dark"] .marquee-band { background: var(--accent-soft); color: var(--accent-ink); }
.marquee { display: flex; overflow: hidden; }
.marquee-track { display: flex; gap: 0; flex-shrink: 0; animation: marquee 40s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; padding: 18px 34px; white-space: nowrap; font-weight: 700; font-size: .98rem; }
.marquee-item .m-star { opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / grids ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-6); box-shadow: var(--shadow-sm);
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }

.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Stat cards (photo) */
.statcards { grid-template-columns: repeat(3, 1fr); }
.statcard { overflow: hidden; padding: 0; }
.statcard .sc-photo { aspect-ratio: 16/10; overflow: hidden; }
.statcard .sc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.statcard:hover .sc-photo img { transform: scale(1.06); }
.statcard .sc-body { padding: 22px 22px 24px; }
.statcard .sc-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--coral); line-height: 1; }
.statcard .sc-text { margin-top: 10px; font-size: .98rem; color: var(--ink-2); }
.statcard .sc-src { margin-top: 12px; font-size: .76rem; font-weight: 700; color: var(--ink-3); letter-spacing: .02em; }

/* Why-detection stat cards */
.why-card { position: relative; }
.why-card .wc-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--coral-soft); color: var(--coral); display: grid; place-items: center; margin-bottom: 16px; }
.why-card .wc-icon svg { width: 24px; height: 24px; }
.why-card .wc-stat { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; color: var(--ink); }
.why-card h3 { font-size: 1.12rem; margin: 6px 0 8px; }
.why-card p { font-size: .96rem; }
.caught {
  margin-top: 16px; padding: 11px 14px; border-radius: var(--r-sm);
  background: var(--accent-soft); color: var(--accent-ink); font-size: .87rem; font-weight: 650;
  display: flex; gap: 8px; align-items: flex-start;
}
.caught .ck { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ---------- System rows ---------- */
.sys-row { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 26px 0; border-top: 1px solid var(--border); }
.sys-row:first-child { border-top: none; }
.sys-num { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--accent); width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); display: grid; place-items: center; }
.sys-row h3 { font-size: 1.4rem; margin-bottom: 8px; }
.sys-row p { font-size: 1.02rem; max-width: 60ch; }

/* ---------- How it works ---------- */
.steps { grid-template-columns: repeat(3, 1fr); }
.step { text-align: left; }
.step .step-num { font-family: var(--font-serif); font-size: 3rem; font-weight: 500; color: var(--accent); opacity: .28; line-height: 1; }
.step h3 { font-size: 1.3rem; margin: 8px 0 10px; }

/* ---------- Cat-Chat phone mockup ---------- */
.chat-section { background: var(--bg-2); }
.chat-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.phone {
  width: 300px; max-width: 100%; margin-inline: auto; aspect-ratio: 300/610;
  background: #0a0a0c; border-radius: 42px; padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(0,0,0,.08); position: relative;
}
.phone-screen { width: 100%; height: 100%; background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%); border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #0a0a0c; border-radius: 0 0 16px 16px; z-index: 3; }
.chat-header { display: flex; align-items: center; gap: 10px; padding: 34px 16px 12px; border-bottom: 1px solid var(--border); background: var(--surface); }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 2px solid var(--accent-soft); }
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-name { font-weight: 800; font-size: .95rem; color: var(--ink); }
.chat-status { font-size: .72rem; color: var(--accent); font-weight: 600; }
.chat-body { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.bubble {
  max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: .86rem; line-height: 1.4;
  opacity: 0; transform: translateY(8px); font-weight: 500;
}
.bubble.show { opacity: 1; transform: translateY(0); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.bubble.cat { align-self: flex-start; background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-bottom-left-radius: 6px; }
.bubble.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
html[data-theme="dark"] .bubble.me { color: #04120F; }
.bubble .b-src { display: block; margin-top: 5px; font-size: .66rem; font-weight: 700; opacity: .7; }
.typing { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; border-bottom-left-radius: 6px; padding: 12px 15px; display: inline-flex; gap: 4px; opacity: 0; transition: opacity .3s; }
.typing.show { opacity: 1; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: typedot 1.3s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typedot { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--border); }
.chat-list li:first-child { border-top: none; }
.chat-list .ck { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.chat-list b { color: var(--ink); font-weight: 700; }

/* ---------- Feature checklists ---------- */
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; }
.check-list .ck { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.check-list b { color: var(--ink); }
.check-list span { color: var(--ink-2); }

/* ---------- Food scanner ---------- */
.scan-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); max-width: 400px; margin-inline: auto; }
.scan-photo { aspect-ratio: 16/10; overflow: hidden; }
.scan-photo img { width: 100%; height: 100%; object-fit: cover; }
.scan-head { padding: 18px 20px 6px; }
.scan-head .sh-label { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.scan-head h3 { font-size: 1.3rem; margin-top: 4px; }
.scan-rows { padding: 8px 20px 4px; }
.scan-metric { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--border); }
.scan-metric:first-child { border-top: none; }
.scan-metric .sm-name { font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.pill { font-size: .76rem; font-weight: 800; padding: 4px 12px; border-radius: var(--r-pill); }
.pill.good { background: var(--accent-soft); color: var(--accent-ink); }
.pill.warn { background: rgba(201,151,58,.16); color: var(--gold); }
.pill.bad { background: var(--coral-soft); color: var(--coral); }
.scan-verdict { margin: 12px 20px 20px; padding: 16px; border-radius: var(--r-md); background: var(--accent-soft); display: flex; align-items: center; justify-content: space-between; }
.scan-verdict .sv-label { font-size: .8rem; font-weight: 700; color: var(--accent-ink); }
.scan-verdict .sv-score { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--accent); }
.scan-verdict .sv-score small { font-size: 1rem; opacity: .6; }

/* ---------- Health score gauge ---------- */
.gauge-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gauge { position: relative; width: 220px; height: 220px; }
.gauge svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.gauge-track { fill: none; stroke: var(--border); stroke-width: 16; }
.gauge-fill { fill: none; stroke: var(--accent); stroke-width: 16; stroke-linecap: round; }
.gauge-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge-num { font-family: var(--font-serif); font-size: 3.4rem; font-weight: 600; color: var(--ink); line-height: 1; }
.gauge-label { font-size: .82rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

/* ---------- Vet ---------- */
.vet-section { position: relative; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 700; padding: 8px 14px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); color: var(--ink-2); }
.chip .ck { color: var(--accent); }
.premium-note { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--gold); background: rgba(201,151,58,.12); padding: 9px 16px; border-radius: var(--r-pill); }

/* ---------- Feature grid (8) ---------- */
.feat-card { }
.feat-card .f-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.feat-card .f-icon svg { width: 24px; height: 24px; }
.feat-card h3 { font-size: 1.1rem; margin-bottom: 7px; }
.feat-card p { font-size: .93rem; }

/* ---------- Coming soon / Whiskers voice ---------- */
.voice-section { background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); }
.coming-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); background: rgba(201,151,58,.14); padding: 7px 15px; border-radius: var(--r-pill); }
.mini-cards { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
.mini-card { text-align: center; padding: 26px 18px; }
.mini-card .m-emoji { font-size: 2rem; }
.mini-card h3 { font-size: 1.02rem; margin: 12px 0 6px; }
.mini-card p { font-size: .87rem; }
.flow-strip { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.flow-step { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 12px 22px; font-weight: 700; font-size: .95rem; }
.flow-arrow { color: var(--accent); }

/* ---------- Training ---------- */
.train-modules { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.module { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 18px; transition: transform var(--tr), border-color var(--tr); }
.module:hover { transform: translateX(4px); border-color: var(--accent); }
.module .m-emoji { font-size: 1.5rem; }
.module b { display: block; color: var(--ink); font-size: 1rem; }
.module span { font-size: .86rem; color: var(--ink-2); }
.money-banner { margin-top: 40px; text-align: center; background: var(--accent-soft); border-radius: var(--r-lg); padding: 36px 24px; }
.money-banner h3 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--accent-ink); }
.money-banner p { color: var(--accent-ink); opacity: .85; margin-top: 8px; }

/* ---------- Banner CTA (inline) ---------- */
.inline-banner { margin-top: 48px; background: var(--ink); color: var(--bg); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
html[data-theme="dark"] .inline-banner { background: var(--surface); border: 1px solid var(--border-2); }
.inline-banner h3 { color: var(--bg); font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 20ch; }
html[data-theme="dark"] .inline-banner h3 { color: var(--ink); }

/* ---------- New parents ---------- */
.newp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.newp-photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; border: 1px solid var(--border); }
.newp-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pricing ---------- */
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); background: var(--surface); }
.price-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: var(--r-pill); white-space: nowrap; }
html[data-theme="dark"] .price-tag { color: #04120F; }
.price-name { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; }
.price-amt { margin: 14px 0 4px; }
.price-amt .amt { font-family: var(--font-serif); font-size: 2.8rem; font-weight: 600; color: var(--ink); }
.price-amt .per { font-size: 1rem; color: var(--ink-3); font-weight: 600; }
.price-card .p-desc { font-size: .92rem; color: var(--ink-2); min-height: 40px; }
.price-features { margin: 20px 0 24px; flex: 1; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: .92rem; color: var(--ink-2); }
.price-features .ck { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.price-note { text-align: center; margin-top: 26px; font-size: .92rem; color: var(--ink-3); font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px; font-family: var(--font-serif); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 560; color: var(--ink); }
.faq-q .faq-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--border-2); display: grid; place-items: center; transition: transform var(--tr), background var(--tr), color var(--tr), border-color var(--tr); }
.faq-q .faq-icon svg { width: 16px; height: 16px; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
html[data-theme="dark"] .faq-item.open .faq-icon { color: #04120F; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease-out); }
.faq-a-inner { padding: 0 4px 24px; color: var(--ink-2); font-size: 1.02rem; max-width: 64ch; }

/* ---------- Founder note ---------- */
.founder-card { max-width: 860px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow-md); position: relative; }
.founder-card .quote-mark { font-family: var(--font-serif); font-size: 5rem; line-height: .6; color: var(--accent); opacity: .25; }
.founder-card blockquote { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 400; line-height: 1.35; color: var(--ink); margin: 10px 0 24px; }
.founder-card blockquote em { color: var(--accent); font-style: italic; }
.founder-sign { display: flex; align-items: center; gap: 14px; }
.founder-avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 2px solid var(--accent-soft); }
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-sign .fs-name { font-weight: 800; color: var(--ink); }
.founder-sign .fs-role { font-size: .88rem; color: var(--ink-3); }

/* ---------- Final CTA ---------- */
.final-cta { background: linear-gradient(140deg, var(--accent) 0%, var(--accent-ink) 100%); color: #fff; text-align: center; border-radius: 0; }
html[data-theme="dark"] .final-cta { background: linear-gradient(140deg, #0e5b53 0%, #062d29 100%); }
.final-cta .wrap { padding-block: clamp(72px, 10vw, 130px); }
.final-cta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); max-width: 16ch; margin-inline: auto; }
.final-cta h2 strong { color: #ffe8b3; }
.final-cta .btn { margin-top: 34px; }
.final-cta .btn-primary { background: #fff; color: var(--accent); }
.final-cta .btn-primary:hover { background: #fff; color: var(--accent-ink); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-block: clamp(48px, 6vw, 80px) 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand-name { font-size: 1.5rem; }
.footer .foot-tag { margin-top: 14px; color: var(--ink-2); max-width: 34ch; }
.footer .foot-contact { margin-top: 16px; font-size: .95rem; }
.footer .foot-contact a { color: var(--accent); font-weight: 700; }
.foot-col h4 { font-family: var(--font-body); font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.foot-col ul li { padding: 6px 0; }
.foot-col a { font-size: .96rem; color: var(--ink-2); font-weight: 600; transition: color var(--tr); }
.foot-col a:hover { color: var(--accent); }
.footer-legal { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.footer-legal .copyright { font-weight: 700; color: var(--ink-2); font-size: .92rem; }
.footer-legal .disclaimer { margin-top: 14px; font-size: .82rem; color: var(--ink-3); line-height: 1.6; max-width: 90ch; }

/* ---------- Paw motif ---------- */
.paw-bg { position: absolute; color: var(--paw); pointer-events: none; z-index: 0; }
.paw-bg svg { width: 100%; height: 100%; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 120%); z-index: 300; background: var(--ink); color: var(--bg); padding: 14px 22px; border-radius: var(--r-pill); font-weight: 700; font-size: .95rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; transition: transform .4s var(--ease-out); max-width: 90vw; }
.toast.show { transform: translate(-50%, 0); }
.toast .ck { color: var(--accent-2); }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 400; background: rgba(11,21,18,.55); backdrop-filter: blur(6px); display: none; place-items: center; padding: 20px; opacity: 0; transition: opacity .3s var(--ease-out); }
.modal-backdrop.open { display: grid; opacity: 1; }
.modal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 44px); max-width: 460px; width: 100%; box-shadow: var(--shadow-lg); transform: scale(.94); transition: transform .3s var(--ease-out); position: relative; }
.modal-backdrop.open .modal { transform: scale(1); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); background: var(--surface-2); transition: color var(--tr), background var(--tr); }
.modal-close:hover { color: var(--ink); background: var(--border); }
.modal .m-emoji { font-size: 2.4rem; }
.modal h3 { font-size: 1.6rem; margin: 12px 0 8px; }
.modal p { font-size: .98rem; margin-bottom: 20px; }
.modal-form { display: flex; flex-direction: column; gap: 12px; }
.modal-form input { width: 100%; padding: 14px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--border-2); background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color var(--tr), box-shadow var(--tr); }
.modal-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.modal-form small { color: var(--ink-3); font-size: .82rem; text-align: center; margin-top: 4px; }

/* ---------- Reveal (JS-driven, no CLS: opacity+small transform on enter) ---------- */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); will-change: opacity, transform; }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Legal pages ---------- */
.legal-hero { padding-block: clamp(56px, 8vw, 96px) clamp(24px, 3vw, 40px); }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.legal-hero .updated { margin-top: 14px; color: var(--ink-3); font-size: .92rem; font-weight: 600; }
.legal-body { max-width: 760px; padding-bottom: clamp(64px, 8vw, 110px); }
.legal-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 44px 0 14px; }
.legal-body h3 { font-size: 1.2rem; margin: 28px 0 10px; font-family: var(--font-body); font-weight: 800; }
.legal-body p { margin-bottom: 16px; line-height: 1.75; color: var(--ink-2); }
.legal-body ul.bullets { margin: 0 0 18px; padding-left: 4px; }
.legal-body ul.bullets li { position: relative; padding: 6px 0 6px 26px; color: var(--ink-2); line-height: 1.7; }
.legal-body ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.legal-body a { color: var(--accent); font-weight: 700; }
.legal-body strong { color: var(--ink); }
.legal-callout { background: var(--coral-soft); border-left: 4px solid var(--coral); border-radius: var(--r-md); padding: 20px 24px; margin: 24px 0; }
.legal-callout p { color: var(--ink); margin: 0; }
.legal-callout strong { color: var(--coral); }

/* ==========================================================================
   SECTION 1 — FEATURE OVERVIEW GRID
   ========================================================================== */
.feature-overview { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fo-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.fo-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); }
.fo-icon svg { width: 24px; height: 24px; }
.fo-icon.teal { background: var(--accent-soft); color: var(--accent); }
.fo-icon.gold { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.fo-icon.coral { background: var(--coral-soft); color: var(--coral); }
.fo-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fo-head h3 { font-family: var(--font-serif); font-size: 1.28rem; line-height: 1.15; margin: 0; }
.fo-tag { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-ink, var(--accent)); white-space: nowrap; }
.fo-tag.soon { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); }
.fo-tagline { font-weight: 700; color: var(--ink); font-size: 1rem; margin: 0; }
.fo-detail { color: var(--ink-2); font-size: .95rem; margin: 0; }
.fo-bullets { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.fo-bullets li { position: relative; padding-left: 20px; font-size: .9rem; color: var(--ink-2); }
.fo-bullets li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }
.fo-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.fo-cta { align-items: flex-start; justify-content: center; gap: 16px; background: linear-gradient(150deg, var(--accent) 0%, var(--accent-2) 100%); color: #fff; }
.fo-cta h3 { font-family: var(--font-serif); font-size: 1.4rem; color: #fff; margin: 0; }
.fo-cta p { color: rgba(255,255,255,.9); font-size: .95rem; margin: 0; }
.fo-cta .btn { background: #fff; color: var(--accent); }
.fo-cta .btn:hover { background: #fff; transform: translateY(-2px); }

/* ==========================================================================
   SHARED — tier pills, fine notes, founding strip
   ========================================================================== */
.tier-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tier-pill { font-size: .82rem; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 6px 13px; }
.tier-pill b { color: var(--ink); margin-right: 4px; }
.fine-note { font-size: .82rem; color: var(--ink-3); margin-top: 10px; font-style: italic; }
.founding-strip { display: flex; flex-direction: column; gap: 6px; margin-top: 22px; padding: 16px 18px; background: var(--accent-soft); border-radius: var(--r-md); }
.founding-strip p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.founding-strip b { color: var(--ink); }

/* ==========================================================================
   SECTION 2 — APP WALKTHROUGH
   ========================================================================== */
.wt-grid { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: clamp(32px, 6vw, 80px); align-items: start; margin-top: 48px; }
.wt-chapters { display: flex; flex-direction: column; gap: clamp(48px, 12vh, 120px); padding: 12vh 0; }
.wt-chapter { display: flex; gap: 18px; align-items: flex-start; opacity: .42; transition: opacity var(--tr) var(--ease-out); }
.wt-chapter.wt-active { opacity: 1; }
.wt-thumb { display: none; }
.wt-chapter.wt-active .wt-text { border-color: var(--accent-2); }
.wt-text { border-left: 3px solid var(--border); padding-left: 20px; transition: border-color var(--tr) var(--ease-out); }
.wt-step { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.wt-text h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; margin: 8px 0 10px; }
.wt-text p { color: var(--ink-2); font-size: 1.02rem; margin: 0; }
.wt-phone-col { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; }
.wt-phone { position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 19.5; border-radius: 55px; background: linear-gradient(155deg, #3a3f45, #16181c 55%, #2a2e33); padding: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.06); }
.wt-screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #000; }
.wt-screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wt-island { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #000; border-radius: var(--r-pill); z-index: 3; }
.wt-btn { position: absolute; background: #202327; border-radius: 3px; }
.wt-btn-power { right: -3px; top: 150px; width: 3px; height: 62px; }
.wt-btn-vol-up { left: -3px; top: 120px; width: 3px; height: 40px; }
.wt-btn-vol-dn { left: -3px; top: 170px; width: 3px; height: 40px; }
.wt-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 40px; padding: 14px 20px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); color: var(--ink-2); font-size: .92rem; text-align: center; }
.wt-note svg { color: var(--accent); flex-shrink: 0; }

/* ==========================================================================
   WHISKERS EMOTIONAL BAND (dark)
   ========================================================================== */
.whisker-band { position: relative; overflow: hidden; padding: clamp(80px, 14vw, 150px) var(--gutter); background: #0b1512; }
.wb-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.wb-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6,12,10,.92) 0%, rgba(6,12,10,.72) 45%, rgba(6,12,10,.45) 100%); }
.wb-inner { position: relative; z-index: 2; max-width: 720px; }
.wb-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.whisker-band h2 { font-family: var(--font-serif); font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.08; color: #fff; margin: 16px 0 18px; }
.whisker-band p { color: rgba(255,255,255,.82); font-size: 1.1rem; line-height: 1.55; max-width: 620px; }

/* ==========================================================================
   SECTION 3 — FLAT PHONE MOCKUPS + TRAIN FLOW
   ========================================================================== */
.flat-phone { width: 100%; max-width: 220px; margin-inline: auto; aspect-ratio: 9 / 19.5; border-radius: 30px; background: #14171b; padding: 7px; box-shadow: 0 24px 48px -22px rgba(0,0,0,.4); }
.flat-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; display: block; }
.flat-phone-video { position: relative; }
.flat-phone-video .demo-video { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; display: block; background: #000; }

/* ==========================================================================
   REUSABLE REAL-APP DEMO PHONE (Whiskers / Health) + segmented control
   ========================================================================== */
.demo-phone-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.demo-phone { position: relative; width: min(300px, 82vw); aspect-ratio: 9 / 19.5; border-radius: 46px; background: linear-gradient(155deg, #3a3f45, #16181c 55%, #2a2e33); padding: 11px; box-shadow: 0 34px 70px -30px rgba(0,0,0,.5), inset 0 0 0 2px rgba(255,255,255,.06); }
.demo-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #000; }
.demo-phone-screen .demo-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.demo-cap { color: var(--ink-2); font-size: .92rem; line-height: 1.5; text-align: center; max-width: 340px; }

.mute-pill { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 4; display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border: none; border-radius: var(--r-pill); background: rgba(11,21,18,.82); color: #fff; font: inherit; font-size: .82rem; font-weight: 700; white-space: nowrap; cursor: pointer; backdrop-filter: blur(8px); box-shadow: 0 6px 18px -6px rgba(0,0,0,.6); transition: background var(--tr) var(--ease-out), transform var(--tr) var(--ease-out); }
.mute-pill:hover { background: rgba(15,118,110,.92); transform: translateX(-50%) translateY(-1px); }
.mute-pill .mute-ico { font-size: .95rem; line-height: 1; }
.mute-pill[aria-pressed="true"] { background: var(--accent); }

.sys-grid { display: grid; grid-template-columns: 1fr minmax(280px, 360px); gap: clamp(32px, 5vw, 64px); align-items: start; }
.health-demo-col { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.seg-control { display: inline-flex; gap: 4px; padding: 5px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-pill); }
.seg-btn { border: none; background: transparent; color: var(--ink-2); font: inherit; font-size: .84rem; font-weight: 700; padding: 8px 15px; border-radius: var(--r-pill); cursor: pointer; transition: background var(--tr) var(--ease-out), color var(--tr) var(--ease-out); white-space: nowrap; }
.seg-btn:hover { color: var(--ink); }
.seg-btn.is-active { background: var(--accent); color: #fff; }
.train-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; }
.train-shot { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.train-shot figcaption { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.train-shot figcaption b { color: var(--ink); font-size: 1rem; }
.train-shot figcaption span { color: var(--ink-2); font-size: .88rem; }
.flagship-list { display: flex; flex-direction: column; gap: 16px; }
.flagship { padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.flagship h4 { font-family: var(--font-serif); font-size: 1.1rem; margin: 0 0 6px; }
.flagship p { color: var(--ink-2); font-size: .92rem; margin: 0; }

/* ==========================================================================
   SECTION 4 — MEOW SHOP
   ========================================================================== */
.shop-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.shop-cat { font-size: .92rem; font-weight: 700; color: var(--ink); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 8px 16px; }
.affiliate-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; padding: 14px 16px; background: var(--surface-2); border: 1px dashed var(--border-2, var(--border)); border-radius: var(--r-md); color: var(--ink-2); font-size: .88rem; }
.affiliate-note svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.soon-card { padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); display: flex; flex-direction: column; gap: 8px; }
.soon-card b { color: var(--ink); font-size: .98rem; }
.soon-card p { color: var(--ink-2); font-size: .86rem; margin: 0; }

/* ==========================================================================
   SECTION 5 — ROADMAP GRID
   ========================================================================== */
.roadmap-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.road-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.road-top { display: flex; align-items: center; justify-content: space-between; }
.road-top .m-emoji { font-size: 1.7rem; }
.road-card h3 { font-family: var(--font-serif); font-size: 1.16rem; margin: 0; }
.road-card p { color: var(--ink-2); font-size: .9rem; margin: 0; }

/* ==========================================================================
   SECTION 6 — DOWNLOAD CTA
   ========================================================================== */
.dl-card { border-radius: var(--r-xl); background: linear-gradient(150deg, #0e2a26 0%, #0b1512 100%); padding: clamp(40px, 7vw, 72px); text-align: center; box-shadow: 0 40px 80px -40px rgba(0,0,0,.4); }
.dl-inner { max-width: 640px; margin-inline: auto; }
.dl-card h2 { color: #fff; }
.dl-card .lead { color: rgba(255,255,255,.8); }
.dl-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; cursor: pointer; transition: background var(--tr) var(--ease-out), transform var(--tr) var(--ease-out); }
.store-badge:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.store-badge svg { flex-shrink: 0; }
.store-badge span { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.store-badge small { font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.store-badge b { font-size: 1rem; }
.dl-note { margin-top: 22px; color: rgba(255,255,255,.6); font-size: .88rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .feature-overview { grid-template-columns: repeat(2, 1fr); }
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .train-flow { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mini-cards { grid-template-columns: repeat(2, 1fr); }
  .fc-1 { left: -2%; } .fc-2 { right: -2%; } .fc-3 { left: 0; }
}
/* Walkthrough: stack phone on top, no sticky, blocks become cards */
@media (max-width: 900px) {
  .wt-grid { grid-template-columns: 1fr; gap: 32px; }
  .wt-phone-col { position: static; height: auto; order: -1; margin-bottom: 8px; }
  .wt-chapters { padding: 0; gap: 20px; }
  .wt-chapter { opacity: 1; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
  .wt-chapter .wt-text { border-left: none; padding-left: 0; }
  .wt-thumb { display: block; flex-shrink: 0; width: 62px; }
  .wt-thumb img { width: 100%; height: auto; border-radius: 10px; display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .wt-phone-col { position: static; height: auto; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-inline: auto; order: -1; }
  .chat-grid, .newp-grid { grid-template-columns: 1fr; }
  .chat-grid .phone-col { order: -1; }
  .sys-grid { grid-template-columns: 1fr; gap: 40px; }
  .health-demo-col { order: -1; }
  .demo-phone { width: min(280px, 82vw); }
  .statcards, .grid-3, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .train-modules { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .mini-cards { grid-template-columns: 1fr; }
  .feature-overview { grid-template-columns: 1fr; }
  .train-flow { grid-template-columns: 1fr; gap: 28px; }
  .train-flow .flat-phone { max-width: 200px; }
  .demo-phone { width: min(260px, 82vw); }
  .demo-cap { max-width: 300px; }
  .hero-ctas .btn, .modal-form .btn { width: 100%; }
  .inline-banner { flex-direction: column; align-items: flex-start; text-align: left; }
  .fc-1, .fc-2, .fc-3 { transform: scale(.85); }
  .fc-1 { left: -4%; } .fc-2 { right: -4%; }
  .float-card .fc-label { font-size: .68rem; }
  .scan-verdict { flex-direction: row; }
  .dl-actions .btn { width: 100%; }
  .store-badge { flex: 1 1 auto; justify-content: center; }
}

/* ==========================================================================
   FEATURE EXPANSION (Health full-check, Everything-health, Whiskers modes,
   Training expansion, Shop demo + Originals) — additive only
   ========================================================================== */

/* --- Task 1: full health-check benefits row --- */
.hf-benefits { margin-top: clamp(32px, 5vw, 56px); }
.hf-benefit { text-align: center; padding: 28px 22px; }
.hf-benefit .m-emoji { font-size: 2rem; }
.hf-benefit h4 { font-family: var(--font-serif); font-size: 1.08rem; margin: 12px 0 6px; }
.hf-benefit p { color: var(--ink-2); font-size: .92rem; margin: 0; }

/* --- Task 2: everything-health grid --- */
.eh-grid { grid-template-columns: repeat(4, 1fr); }
.eh-card { padding: 24px 20px; }
.eh-card .m-emoji { font-size: 1.7rem; }
.eh-card h4 { font-family: var(--font-serif); font-size: 1.05rem; margin: 10px 0 6px; }
.eh-card p { color: var(--ink-2); font-size: .88rem; margin: 0; }

/* Big premium 24/7 vet support card */
.vet-support-card {
  margin-top: clamp(28px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, #0e2a26 0%, #0b1512 100%);
  padding: clamp(32px, 5vw, 60px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.45);
}
.vsc-head h3 { color: #fff; font-family: var(--font-serif); font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.12; margin: 8px 0 10px; }
.vsc-head p { color: rgba(255,255,255,.78); font-size: 1.02rem; max-width: 56ch; margin: 0; }
.vsc-cols { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(24px, 4vw, 48px); margin-top: 30px; align-items: start; }
.vsc-label { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.vsc-label.vsc-live { color: var(--accent-2); }
.vsc-col > .vsc-item + .vsc-item { margin-top: 10px; }
.vsc-item {
  position: relative;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.vsc-item b { display: block; color: #fff; font-size: .98rem; }
.vsc-item span { display: block; color: rgba(255,255,255,.66); font-size: .86rem; margin-top: 2px; }
.vsc-item.vsc-on { background: rgba(20,184,166,.14); border-color: rgba(20,184,166,.4); }
.vsc-chip {
  display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold); background: rgba(201,151,58,.18); padding: 3px 9px; border-radius: var(--r-pill); margin-bottom: 6px;
}
.vsc-col:last-child { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-content: start; }
.vsc-col:last-child .vsc-label { grid-column: 1 / -1; margin-bottom: 0; }
.vsc-col:last-child .vsc-item + .vsc-item { margin-top: 0; }

/* --- Task 3: Whiskers modes --- */
.wc-modes { align-items: stretch; }
.wc-mode { display: flex; flex-direction: column; padding: 26px 24px; }
.wc-mode-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.wc-ico {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  background: var(--accent-soft);
}
.wc-mode-top h3 { font-family: var(--font-serif); font-size: 1.3rem; margin: 0; }
.wc-tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.wc-mode > p { color: var(--ink-2); font-size: .98rem; margin: 0 0 6px; }
.wc-mode .check-list { margin-top: auto; }
.wc-mode .check-list li { padding: 7px 0; }
.wc-mode .check-list span { font-size: .92rem; }
.wc-hw {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  margin-top: 22px; padding: 14px 20px; text-align: center;
  background: var(--accent-soft); border-radius: var(--r-md); color: var(--accent-ink); font-size: .96rem;
}
.wc-hw b { color: var(--accent-ink); }
.wc-hw-ico { font-size: 1.1rem; }

/* --- Task 4: training expansion --- */
.te-core { grid-template-columns: repeat(5, 1fr); }
.te-item { padding: 22px 18px; text-align: center; }
.te-item .m-emoji { font-size: 1.6rem; }
.te-item h4 { font-family: var(--font-serif); font-size: 1rem; margin: 10px 0 6px; }
.te-item p { color: var(--ink-2); font-size: .85rem; margin: 0; }
.te-sub { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 1.7rem); text-align: center; margin: clamp(32px, 5vw, 56px) 0 4px; }
.te-sub-lead { text-align: center; color: var(--ink-2); font-size: .98rem; margin: 0 auto 22px; max-width: 56ch; }
.te-flagships { grid-template-columns: repeat(3, 1fr); }
.te-flagship { padding: 24px 22px; }
.te-flagship .m-emoji { font-size: 1.8rem; }
.te-flagship h4 { font-family: var(--font-serif); font-size: 1.12rem; margin: 12px 0 6px; }
.te-flagship p { color: var(--ink-2); font-size: .9rem; margin: 0; }
.te-support { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.te-support-chip { font-size: .82rem; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 7px 15px; font-weight: 700; }
.te-next { grid-template-columns: repeat(3, 1fr); margin-top: 20px; }
.te-soon { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.te-soon b { color: var(--ink); font-size: 1rem; }
.te-soon p { color: var(--ink-2); font-size: .87rem; margin: 0; }

/* --- Task 5: shop demo + originals --- */
.shop-demo-grid { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.shop-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.shop-steps li { display: flex; gap: 16px; align-items: flex-start; }
.shop-step-n {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1rem;
}
html[data-theme="dark"] .shop-step-n { color: #04120F; }
.shop-steps li b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 2px; }
.shop-steps li p { color: var(--ink-2); font-size: .93rem; margin: 0; }

.originals-banner {
  margin-top: clamp(40px, 6vw, 72px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 140% at 85% 0%, rgba(201,151,58,.22), transparent 55%),
    linear-gradient(150deg, #12312c 0%, #0a1210 100%);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.45);
  border: 1px solid rgba(201,151,58,.22);
}
.originals-inner { max-width: 620px; margin-inline: auto; }
.originals-chip { margin-bottom: 16px; }
.originals-banner h3 { color: #fff; font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.05; margin: 0 0 12px;
  background: linear-gradient(90deg, #fff 0%, #f0d79a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.originals-banner p { color: rgba(255,255,255,.82); font-size: 1.05rem; margin: 0 0 26px; }
.originals-banner p b { color: #f0d79a; }
.originals-cta { display: inline-flex; }

/* --- Responsive: tablet --- */
@media (max-width: 1024px) {
  .eh-grid { grid-template-columns: repeat(2, 1fr); }
  .te-core { grid-template-columns: repeat(3, 1fr); }
  .te-flagships, .te-next { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .vsc-cols { grid-template-columns: 1fr; }
  .shop-demo-grid { grid-template-columns: 1fr; gap: 32px; }
  .shop-demo-grid .phone-col { order: -1; }
}
@media (max-width: 560px) {
  .eh-grid { grid-template-columns: 1fr 1fr; }
  .wc-modes { grid-template-columns: 1fr; }
  .te-core { grid-template-columns: 1fr 1fr; }
  .te-flagships, .te-next { grid-template-columns: 1fr; }
  .hf-benefits { grid-template-columns: 1fr; }
  .vsc-col:last-child { grid-template-columns: 1fr; }
  .wc-hw { flex-direction: column; text-align: center; }
}
