/* ===========================================================================
   Velpo — Marketing site stylesheet
   Design language: warm, premium, product-led, and close to the iOS app's UI.
   =========================================================================== */

/* Brand typeface — self-hosted Nunito (rounded humanist sans, echoes the app's
   SF Rounded). Variable file, weights 400–800. Self-hosted (not Google Fonts
   CDN) to keep the cookieless / no-third-party-requests posture. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/nunito-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("assets/fonts/plus-jakarta-latin-var.woff2") format("woff2");
}

:root {
  /* Backgrounds */
  --bg-base:    #F6EAD9;   /* warm sand page background */
  --bg-base-2:  #F0E1CD;   /* quiet secondary background */
  --bg-card:    #FFF9F1;   /* cards, surfaces */
  --bg-raised:  #FBF4EA;   /* elevated panels */
  --bg-sunken:  #EFE1CE;   /* inset / recessed areas */
  --border:     rgba(42,36,30,.12);

  /* Primary accent — warm coral */
  --accent:         #E27A52;
  --accent-light:   #FBEDE4;
  --accent-pressed: #C2613A;

  /* Semantic / node tints from the app */
  --node-mood:       #9E5A24;  /* warm amber */
  --node-energy:     #7E68B0;  /* muted violet */
  --node-activity:   #2E6B50;  /* sage */
  --node-rest:       #1A6E9A;  /* sky blue */
  --node-connect:    #B85040;  /* terracotta */
  --node-feeding:    #C4663A;  /* warm coral-peach */
  --node-medication: #5A5CC8;  /* muted indigo */

  /* Brand accent colours from the Velpo logo */
  --brand-purple: #A89BD4;
  --brand-pink:   #F3998E;

  /* Text */
  --text-primary:   #2A241E;
  --text-secondary: #6E6356;
  --text-tertiary:  #9A8E7E;
  --text-on-accent: #FFF9F1;

  /* Radii */
  --radius-s:  10px;
  --radius-m:  18px;
  --radius-l:  24px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Spacing */
  --sp-xs: 4px;
  --sp-s:  8px;
  --sp-m:  16px;
  --sp-l:  24px;
  --sp-xl: 32px;
  --sp-2xl: 48px;
  --sp-3xl: 80px;

  /* Type */
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-soft: 0 22px 48px -24px rgba(74, 48, 28, 0.40);
  --shadow-card: 0 10px 28px -16px rgba(74, 48, 28, 0.32);
  --shadow-lift: 0 40px 80px -38px rgba(74, 48, 28, 0.50);
  --shadow-device: 0 40px 80px -34px rgba(39, 28, 20, 0.55), 0 14px 28px -18px rgba(65, 45, 35, 0.30);

  --maxw: 1140px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-base);
  background-attachment: fixed;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-m);
  color: var(--text-primary);
}

h1 { font-size: clamp(3.1rem, 8vw, 6.35rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { margin: 0 0 var(--sp-m); color: var(--text-secondary); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-pressed); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-l);
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
  margin-bottom: var(--sp-m);
}

.brand-text { color: var(--accent); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-s);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
  box-shadow: 0 10px 22px rgba(201, 119, 66, 0.24);
}
.btn-primary:hover {
  background: var(--accent-pressed);
  color: #fffaf4;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(155, 90, 47, 0.26);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}
.btn-ghost:hover { color: var(--text-primary); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-disabled {
  background: var(--bg-sunken);
  color: var(--text-tertiary);
  cursor: default;
  border-color: var(--border);
}
.btn-disabled:hover { transform: none; box-shadow: none; }

/* App Store "coming soon" badge -------------------------------------------- */
.appstore-badge { display: inline-flex; align-items: center; line-height: 0; }
.appstore-badge img {
  height: 50px;
  width: auto;
  display: block;
  border-radius: 13px;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.appstore-badge:hover img { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.appstore-badge:focus-visible { outline: none; }
.appstore-badge:focus-visible img { box-shadow: 0 0 0 3px rgba(201, 119, 66, 0.45); }
.appstore-badge--hero { margin-top: var(--sp-l); margin-bottom: var(--sp-xs); }
.appstore-badge--hero img { height: 52px; }
.appstore-badge--footer { display: inline-flex; margin-top: var(--sp-m); }

/* Platform expectation microcopy (iOS only) */
.platform-note {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: var(--sp-s);
}

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 234, 217, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 34px; width: 34px; border-radius: 9px; }
/* Full logo lockup (icon + wordmark) used in the header */
.nav-logo .nav-logo-img { height: 30px; width: auto; border-radius: 0; }
.nav-logo .wordmark {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-primary);
}
.nav-logo .wordmark .dot { color: var(--brand-pink); }

.nav-links { display: flex; align-items: center; gap: var(--sp-l); list-style: none; margin: 0; padding: 0; font-family: var(--font-head); font-weight: 700; }
.nav-links a {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 2px;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
/* Scoped to `.nav-links` so it outranks `.nav-links a` (0,1,1) — otherwise the
   pill collapses to the plain-link padding (6px 2px) and looks smaller than the
   homepage CTA, which home.css already scopes the same way. */
.nav-links .nav-cta {
  padding: 11px 20px;
  font-size: 0.9rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-on-accent) !important;
  background: var(--accent);
  border-color: transparent;
  box-shadow: 0 16px 30px -14px rgba(194, 97, 58, 0.7);
}
.nav-links .nav-cta:hover {
  background: var(--accent-pressed);
  color: var(--text-on-accent) !important;
  box-shadow: 0 20px 34px -16px rgba(194, 97, 58, 0.7);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding: 48px 0 0; overflow: hidden; }
.hero-showcase {
  min-height: calc(100svh - 72px);
  border-bottom: 1px solid var(--border);
  background: #F8F0E8;
}
.hero-center {
  text-align: center;
}
.hero-center h1 {
  max-width: 13ch;
  margin: 0 auto var(--sp-m);
  font-size: clamp(3rem, 6.1vw, 5.45rem);
}
.hero-center .lead {
  max-width: 62ch;
  margin: 0 auto var(--sp-l);
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  color: var(--text-secondary);
}
.hero-kicker,
.hero-title,
.hero-lead,
.hero-actions,
.hero-proof {
  animation: heroRise 0.72s ease both;
}
.hero-title { animation-delay: 0.08s; }
.hero-lead { animation-delay: 0.16s; }
.hero-actions { animation-delay: 0.24s; }
.hero-proof { animation-delay: 0.32s; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-m);
  align-items: center;
  justify-content: center;
}
.hero-cta--spaced { margin-top: var(--sp-l); }
.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  justify-content: center;
  margin: var(--sp-m) 0 0;
  padding: 0;
}
.proof-row li {
  color: var(--text-secondary);
  background: rgba(255, 250, 244, 0.72);
  border: 1px solid rgba(234, 223, 212, 0.92);
  border-radius: var(--radius-full);
  padding: 8px 13px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(65, 45, 35, 0.05);
}

/* (Removed legacy "faux App Store badge" block — it set a dark background and
   collided with the .appstore-badge class used by the live cream badge, drawing
   a black frame around it. The legacy markup (.appstore-badge-txt) was unused.) */

.phone-theatre {
  position: relative;
  min-height: 650px;
  margin: 28px auto 0;
  max-width: 1120px;
  perspective: 1200px;
  --stage-x: 0deg;
  --stage-y: 0deg;
  animation: theatreRise 0.82s 0.38s ease both;
}
.stage-shadow {
  position: absolute;
  left: 50%;
  bottom: 54px;
  width: min(780px, 82vw);
  height: 88px;
  border-radius: 999px;
  background: rgba(87, 60, 39, 0.14);
  filter: blur(18px);
  transform: translateX(-50%);
  animation: shadowBreathe 7s ease-in-out infinite;
}
.device-mockup {
  margin: 0;
  position: relative;
  border-radius: 54px;
  padding: 10px;
  background: #17120F;
  border: 1px solid #332A23;
  box-shadow: var(--shadow-device);
  overflow: visible;
  transform-style: preserve-3d;
  isolation: isolate;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --screen-tilt-x: 0deg;
  --screen-tilt-y: 0deg;
  --screen-shift-x: 0px;
  --screen-shift-y: 0px;
  --device-lift: 0px;
  transition: filter 0.24s ease;
}
.device-mockup::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border-radius: inherit;
  background: #2B241E;
  border: 1px solid rgba(255, 250, 244, 0.16);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.32), inset 0 -20px 36px rgba(0, 0, 0, 0.38);
}
.device-mockup::after {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 4;
  border-radius: 46px;
  border: 1px solid rgba(255, 250, 244, 0.12);
  box-shadow: inset 0 26px 40px rgba(255, 250, 244, 0.12), inset 0 -22px 32px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}
.device-screen {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 42px;
  background: var(--bg-base);
  box-shadow: inset 0 0 0 1px rgba(255, 250, 244, 0.14);
  transform: translate3d(var(--screen-shift-x), var(--screen-shift-y), 0) rotateX(var(--screen-tilt-y)) rotateY(var(--screen-tilt-x));
  transition: transform 0.22s ease;
}
.device-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 44px 64px rgba(255, 250, 244, 0.13), inset 0 -28px 46px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}
.device-screen img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}
.device-island {
  position: absolute;
  z-index: 7;
  top: 18px;
  left: 50%;
  width: 34%;
  height: 27px;
  border-radius: 999px;
  background: #040404;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 1px 7px rgba(0, 0, 0, 0.32);
  transform: translateX(-50%) translateZ(30px);
  pointer-events: none;
}
.device-camera {
  position: absolute;
  z-index: 8;
  top: 25px;
  left: calc(50% + 42px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #121821;
  box-shadow: inset 0 0 0 2px rgba(71, 88, 105, 0.62);
  pointer-events: none;
}
.device-button {
  position: absolute;
  z-index: -2;
  width: 4px;
  border-radius: 999px;
  background: #2B241E;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 244, 0.08);
  pointer-events: none;
}
.device-button-left {
  left: -8px;
  top: 128px;
  height: 78px;
}
.device-button-right {
  right: -8px;
  top: 176px;
  height: 96px;
}
.device-mockup:hover {
  filter: saturate(1.04);
}
.phone-frame-mockup {
  margin: 0;
  position: relative;
  aspect-ratio: 1090 / 1974;
  filter: drop-shadow(0 34px 90px rgba(39, 28, 20, 0.26)) drop-shadow(0 12px 24px rgba(65, 45, 35, 0.12));
  transform-style: preserve-3d;
  isolation: isolate;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --screen-tilt-x: 0deg;
  --screen-tilt-y: 0deg;
  --screen-shift-x: 0px;
  --screen-shift-y: 0px;
  --device-lift: 0px;
  transition: filter 0.24s ease;
}
.phone-frame-mockup:hover {
  filter: drop-shadow(0 40px 102px rgba(39, 28, 20, 0.28)) drop-shadow(0 14px 28px rgba(65, 45, 35, 0.14)) saturate(1.03);
}
.phone-screen {
  position: absolute;
  z-index: 1;
  top: 3.02%;
  right: 10.55%;
  bottom: 3.38%;
  left: 11.12%;
  overflow: hidden;
  border-radius: 8.2% / 4.6%;
  background: var(--bg-base);
  transform: translate3d(var(--screen-shift-x), var(--screen-shift-y), 0) rotateX(var(--screen-tilt-y)) rotateY(var(--screen-tilt-x));
  transition: transform 0.22s ease, opacity 0.24s ease;
}
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(108deg, rgba(255, 250, 244, 0.20), transparent 34%, transparent 68%, rgba(32, 27, 23, 0.08));
  pointer-events: none;
}
.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity 0.5s ease;
}
.phone-hardware {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-phone {
  position: absolute;
  left: 50%;
  top: 0;
}
.primary-phone {
  z-index: 3;
  width: min(432px, 46vw);
  transform: translateX(-50%);
  animation: primaryPhoneFloat 7.6s ease-in-out infinite;
}
.side-phone {
  z-index: 2;
  width: min(252px, 24vw);
  opacity: 0.96;
}
.side-phone-left {
  transform: translate(-148%, 124px) rotate(-4deg);
  animation: sideLeftFloat 8.4s ease-in-out infinite;
}
.side-phone-right {
  transform: translate(52%, 118px) rotate(4deg);
  animation: sideRightFloat 8.8s ease-in-out infinite;
}
.float-note {
  position: absolute;
  z-index: 4;
  width: min(300px, 28vw);
  padding: 16px 18px;
  border-radius: var(--radius-m);
  border: 1px solid rgba(234, 223, 212, 0.95);
  background: rgba(255, 250, 244, 0.82);
  box-shadow: 0 18px 44px rgba(65, 45, 35, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
}
.live-card {
  padding-left: 42px;
  animation: liveCardFloat 5.8s ease-in-out infinite;
}
.float-note strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.02rem;
  margin-bottom: 2px;
}
.float-note span {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.live-dot {
  position: absolute;
  left: 18px;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-pink);
  box-shadow: 0 0 0 6px rgba(243, 153, 142, 0.16);
  animation: livePulse 2.4s ease-in-out infinite;
}
.note-state { left: 8%; top: 166px; }
.note-care { right: 7%; top: 282px; }
.screen-action {
  position: absolute;
  z-index: 4;
  width: min(228px, 24vw);
  padding: 12px 14px;
  border-radius: var(--radius-m);
  border: 1px solid rgba(234, 223, 212, 0.92);
  background: rgba(255, 250, 244, 0.88);
  box-shadow: 0 16px 36px rgba(65, 45, 35, 0.12);
  text-align: left;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: actionCardDrift 6.4s ease-in-out infinite;
}
.screen-action span {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}
.screen-action strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.25;
}
.action-moment { left: 14%; top: 392px; }
.action-care {
  right: 13%;
  top: 456px;
  animation-delay: 1.4s;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-ready section[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}
.reveal-ready [data-reveal].is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--sp-2xl); }
.section-head p { font-size: 1.1rem; }

.snapshot-strip {
  padding: 10px 0;
  background: #FFF9F2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.snapshot-grid div {
  padding: 28px var(--sp-l);
  border-right: 1px solid var(--border);
}
.snapshot-grid div:last-child { border-right: none; }
.snapshot-grid span {
  display: block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.snapshot-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-size: 1.04rem;
}
.snapshot-grid p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.life-section {
  background: var(--bg-base);
  overflow: hidden;
}
.life-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: var(--sp-2xl);
  align-items: center;
}
.life-copy {
  max-width: 480px;
}
.life-copy h2 {
  max-width: 12ch;
}
.life-copy p {
  font-size: 1.08rem;
}
.pet-photo-board {
  position: relative;
  min-height: 520px;
  perspective: 1100px;
}
.pet-photo-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 250, 244, 0.76);
  background: var(--bg-card);
  box-shadow: 0 28px 74px rgba(65, 45, 35, 0.16);
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform-style: preserve-3d;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.pet-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pet-photo-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 13px 15px;
  border-radius: var(--radius-m);
  background: rgba(255, 250, 244, 0.84);
  border: 1px solid rgba(255, 250, 244, 0.82);
  box-shadow: 0 12px 28px rgba(65, 45, 35, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.pet-photo-card figcaption span,
.care-receipt span {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.pet-photo-card figcaption strong,
.care-receipt strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.98rem;
  line-height: 1.25;
}
.feeding-photo figcaption {
  left: auto;
  width: min(248px, calc(100% - 32px));
}
.feeding-photo {
  right: 0;
  top: 8px;
  width: min(360px, 52vw);
  height: 480px;
  transform: rotate(2.6deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
}
.diary-photo {
  left: 0;
  bottom: 0;
  width: min(310px, 46vw);
  height: 360px;
  transform: rotate(-4deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
}
.pet-photo-card:hover {
  box-shadow: 0 34px 86px rgba(65, 45, 35, 0.20);
}
.feeding-photo:hover {
  transform: translateY(-8px) rotate(2deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
}
.diary-photo:hover {
  transform: translateY(-8px) rotate(-3deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
}
.care-receipt {
  position: absolute;
  right: 250px;
  bottom: 66px;
  z-index: 4;
  min-width: 218px;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  border: 1px solid rgba(234, 223, 212, 0.94);
  background: rgba(255, 250, 244, 0.88);
  box-shadow: 0 18px 42px rgba(65, 45, 35, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: receiptFloat 6.2s ease-in-out infinite;
}
.care-receipt em {
  display: block;
  margin-top: 5px;
  color: var(--text-tertiary);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
}

.feature-stage {
  position: relative;
  overflow: clip;
  background: #F7EFE7;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.56), rgba(255, 250, 244, 0) 28%, rgba(255, 250, 244, 0.44)),
    radial-gradient(circle at 18% 28%, rgba(243, 153, 142, 0.14), transparent 30%),
    radial-gradient(circle at 82% 68%, rgba(46, 107, 80, 0.10), transparent 32%);
  pointer-events: none;
}
.stage-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.84fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}
.stage-copy {
  display: grid;
  gap: clamp(54px, 14vh, 128px);
  padding: clamp(12px, 4vh, 52px) 0;
}
.stage-step {
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.46;
  transform: translateY(20px);
  transition: opacity 0.36s ease, transform 0.36s ease;
}
.stage-step.is-active {
  opacity: 1;
  transform: translateY(0);
}
.stage-step h2 {
  max-width: 12ch;
  color: var(--text-primary);
}
.stage-step p {
  max-width: 48ch;
  color: #51463E;
  font-size: 1.1rem;
}
.stage-device-wrap {
  position: sticky;
  top: 116px;
  min-height: calc(100svh - 116px);
  display: grid;
  place-items: center;
}
.stage-phone {
  width: min(344px, 33vw);
  transform: translateY(var(--device-lift)) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
}
.stage-phone .phone-screen {
  background: #F6EFE6;
}

.orbit-actions-section {
  background: #fffaf4;
  overflow: hidden;
}
.sequence-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  margin-top: var(--sp-2xl);
}
.sequence-device {
  display: grid;
  place-items: center;
  min-width: 0;
}
.sequence-phone {
  width: min(354px, 32vw);
  transform: translateY(var(--device-lift)) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
}
.sequence-steps {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-height: min(590px, 72vh);
  overflow: auto;
  padding: 4px 8px 4px 4px;
  scroll-snap-type: y proximity;
  -webkit-overflow-scrolling: touch;
}
.sequence-steps::-webkit-scrollbar {
  width: 6px;
}
.sequence-steps::-webkit-scrollbar-thumb {
  background: rgba(166, 105, 57, 0.24);
  border-radius: 999px;
}
.sequence-step {
  appearance: none;
  border: 1px solid rgba(142, 109, 83, 0.18);
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.66);
  box-shadow: 0 12px 34px rgba(65, 45, 35, 0.06);
  color: inherit;
  cursor: pointer;
  display: block;
  padding: 18px 20px;
  text-align: left;
  scroll-snap-align: center;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.sequence-step:hover,
.sequence-step:focus-visible {
  border-color: rgba(201, 119, 66, 0.34);
  outline: none;
}
.sequence-step.is-active {
  background: #fffaf4;
  border-color: rgba(201, 119, 66, 0.42);
  box-shadow: 0 20px 48px rgba(65, 45, 35, 0.12);
  transform: translateX(6px);
}
.sequence-step span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-weight: 850;
}
.sequence-step strong {
  display: block;
  margin: 0;
  color: var(--text-primary);
  font-size: 1.02rem;
  line-height: 1.42;
}
.moments-sequence .sequence-step.is-active {
  border-color: rgba(46, 107, 80, 0.35);
}
.moments-sequence .sequence-step span {
  color: var(--green);
}

.flow-section {
  position: relative;
  overflow: hidden;
  background: #F7EFE7;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.flow-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(243, 153, 142, 0.16), transparent 28%),
    radial-gradient(circle at 82% 64%, rgba(46, 107, 80, 0.10), transparent 30%);
  pointer-events: none;
}
.flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: var(--sp-2xl);
  align-items: center;
}
.flow-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}
.flow-phone {
  width: min(292px, 72vw);
  z-index: 2;
  transform: rotate(-2deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateY(var(--device-lift));
}
.flow-note {
  position: absolute;
  z-index: 4;
  width: min(260px, 44vw);
  padding: 15px 17px;
  border-radius: var(--radius-m);
  border: 1px solid rgba(234, 223, 212, 0.95);
  background: rgba(255, 250, 244, 0.97);
  box-shadow: 0 18px 42px rgba(65, 45, 35, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
  transform: translateY(var(--flow-note-y, 0)) rotate(var(--flow-note-rotate, 0deg));
  transition: transform 0.34s ease, opacity 0.34s ease;
}
.flow-note span {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.flow-note strong {
  display: block;
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 800;
}
.flow-note em {
  display: block;
  margin-top: 5px;
  color: #6B5B51;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
}
.flow-note-top {
  left: 0;
  top: 112px;
  --flow-note-rotate: -2deg;
}
.flow-note-bottom {
  right: 8px;
  bottom: 92px;
  --flow-note-rotate: 2deg;
}
.flow-section[data-flow-state="1"] .flow-note-top {
  --flow-note-y: -8px;
}
.flow-section[data-flow-state="1"] .flow-note-bottom {
  --flow-note-y: 8px;
}
.flow-section[data-flow-state="2"] .flow-note-top {
  --flow-note-y: 6px;
}
.flow-section[data-flow-state="2"] .flow-note-bottom {
  --flow-note-y: -8px;
}
.flow-copy {
  max-width: 560px;
}
.flow-copy h2 {
  max-width: 12ch;
  color: var(--text-primary);
}
.flow-copy p {
  font-size: 1.08rem;
  color: #4D423B;
}
.flow-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  margin: var(--sp-s) 0 var(--sp-l);
  border-radius: var(--radius-full);
  background: var(--bg-sunken);
  border: 1px solid var(--border);
}
.flow-tab {
  appearance: none;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 38px;
  padding: 8px 16px;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.flow-tab:hover {
  color: var(--text-primary);
}
.flow-tab.is-active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 8px 18px rgba(65, 45, 35, 0.10);
}
.flow-panel[hidden] {
  display: none;
}
.flow-timeline {
  position: relative;
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
}
.flow-timeline::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 13px;
  bottom: 13px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--accent), rgba(201, 119, 66, 0.14));
}
.flow-timeline li {
  position: relative;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: rgba(255, 250, 244, 0.94);
  box-shadow: 0 14px 30px rgba(65, 45, 35, 0.10);
}
.flow-timeline li::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 23px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(201, 119, 66, 0.12);
}
.flow-time {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.flow-timeline strong {
  display: block;
  color: var(--text-primary);
  line-height: 1.25;
}
.flow-timeline p {
  margin: 4px 0 0;
  font-size: 0.94rem;
  color: #5A4D45;
}

.section-intro {
  text-align: center;
  max-width: 820px;
}
.section-intro h2 {
  max-width: 15ch;
  margin-left: auto;
  margin-right: auto;
}
.section-intro p {
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.08rem;
}
.story-section {
  background: var(--bg-base);
}
.moments-section {
  background: #fffaf4;
  border-top: 1px solid var(--border);
}
.care-details-section {
  background: #f7efe7;
  border-top: 1px solid var(--border);
}
.watch-section {
  background: #fffaf4;
  border-top: 1px solid var(--border);
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-l);
  align-items: stretch;
  margin-top: var(--sp-2xl);
}
.moments-grid,
.care-detail-grid {
  display: flex;
  gap: var(--sp-l);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}
.moments-grid::-webkit-scrollbar,
.care-detail-grid::-webkit-scrollbar {
  display: none;
}
.moments-grid .story-card,
.care-detail-grid .story-card {
  flex: 0 0 min(330px, 74vw);
  scroll-snap-align: start;
}
.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--sp-l);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.story-card .eyebrow {
  margin-bottom: var(--sp-s);
}
.story-card h3 {
  font-size: 1.35rem;
  margin-bottom: var(--sp-s);
}
.story-card p {
  margin: 0;
  font-size: 0.98rem;
}
.screen-card {
  width: min(100%, 268px);
  align-self: center;
  box-shadow: 0 18px 44px rgba(65, 45, 35, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.moments-grid .screen-card,
.care-detail-grid .screen-card {
  width: min(100%, 268px);
}
.compact-device::before {
  inset: -4px;
}
.compact-device::after {
  inset: 6px;
  border-radius: 38px;
}
.compact-device .device-screen {
  border-radius: 34px;
}
.compact-device .device-island {
  top: 13px;
  height: 18px;
}
.compact-device .device-camera {
  top: 18px;
  left: calc(50% + 28px);
  width: 5px;
  height: 5px;
}
.compact-device .device-button-left {
  left: -6px;
  top: 82px;
  height: 52px;
}
.compact-device .device-button-right {
  right: -6px;
  top: 122px;
  height: 64px;
}
.story-card:hover .screen-card {
  transform: translateY(-4px) rotate(0.6deg);
  box-shadow: var(--shadow-device);
}
.screen-glint {
  position: absolute;
  z-index: 3;
  top: -18%;
  left: -36%;
  width: 34%;
  height: 132%;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(12deg);
  opacity: 0;
  pointer-events: none;
}
.story-card:hover .screen-glint {
  animation: screenSweep 0.74s ease;
}

.watch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-l);
  align-items: start;
  margin-top: var(--sp-2xl);
}
.watch-card {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}
.watch-frame-mockup {
  position: relative;
  width: min(220px, 28vw);
  aspect-ratio: 1122 / 1806;
  filter: drop-shadow(0 24px 48px rgba(24, 30, 34, 0.18));
  transform: translateY(var(--device-lift)) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transition: transform 0.26s ease, filter 0.26s ease;
}
.watch-frame-mockup:hover {
  filter: drop-shadow(0 32px 62px rgba(24, 30, 34, 0.24));
}
.watch-screen {
  position: absolute;
  z-index: 1;
  top: 23.4%;
  right: 15.9%;
  bottom: 24.2%;
  left: 15.9%;
  overflow: hidden;
  border-radius: 20% / 15%;
  background: #03100a;
}
.watch-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s ease;
}
.watch-hardware {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.watch-card span {
  display: block;
  color: var(--accent);
  font-weight: 850;
  margin-bottom: 5px;
}
.watch-card strong {
  display: block;
  max-width: 24ch;
  color: var(--text-primary);
  font-size: 1.02rem;
  line-height: 1.38;
}

.care-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.care-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
.care-grid > div:first-child p {
  max-width: 50ch;
}
.safety-list {
  display: grid;
  gap: var(--sp-m);
}
.safety-list div {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--sp-l);
  box-shadow: var(--shadow-card);
}
.safety-list strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.safety-list span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.96rem;
}
.waitlist-section { padding-bottom: 72px; }

/* Overview band */
.overview { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
.overview-grid img { border-radius: var(--radius-l); box-shadow: var(--shadow-soft); }
.overview-list { list-style: none; padding: 0; margin: var(--sp-l) 0 0; }
.overview-list li {
  display: flex;
  gap: var(--sp-m);
  align-items: flex-start;
  margin-bottom: var(--sp-m);
}
.overview-list .tick {
  flex: 0 0 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: var(--accent-light);
  color: var(--accent-pressed);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 2px;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-l);
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: var(--sp-xl) var(--sp-l);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  margin-bottom: var(--sp-m);
}
.feature-icon svg { width: 26px; height: 26px; stroke-width: 2; }
.feature-card h3 { margin-bottom: var(--sp-s); }
.feature-card p { margin: 0; font-size: 0.98rem; }

/* node-tinted icon backgrounds */
.tint-mood       { background: rgba(158, 90, 36, 0.12);  color: var(--node-mood); }
.tint-feeding    { background: rgba(196, 102, 58, 0.12); color: var(--node-feeding); }
.tint-activity   { background: rgba(46, 107, 80, 0.12);  color: var(--node-activity); }
.tint-rest       { background: rgba(26, 110, 154, 0.12); color: var(--node-rest); }
.tint-medication { background: rgba(90, 92, 200, 0.12);  color: var(--node-medication); }
.tint-connect    { background: rgba(184, 80, 64, 0.12);  color: var(--node-connect); }

/* How it works — numbered steps */
.howitworks { background: var(--bg-sunken); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-l);
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: var(--sp-xl) var(--sp-l);
  box-shadow: var(--shadow-card);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: var(--sp-m);
}
.step h3 { margin-bottom: var(--sp-s); }
.step p { margin: 0; font-size: 0.98rem; }

/* Split / image-with-text band */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-l); box-shadow: var(--shadow-soft); }

/* Orbit / health engine band */
.engine { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.engine-pills { display: flex; flex-wrap: wrap; gap: var(--sp-s); margin-top: var(--sp-l); }
.pill {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-sunken);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* CTA band */
.cta-band {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px var(--sp-l);
  color: var(--text-primary);
  box-shadow: var(--shadow-lift);
  animation: ctaWarmth 7s ease-in-out infinite;
}
.cta-band h2 { color: var(--text-primary); }
.cta-band .eyebrow { color: var(--accent); }
.cta-band p { color: var(--text-secondary); max-width: 50ch; margin: 0 auto var(--sp-xl); font-size: 1.1rem; }
.cta-band .btn-ghost { background: var(--bg-card); border-color: var(--border); }

/* Waitlist signup form */
.waitlist-form {
  display: flex;
  gap: var(--sp-s);
  max-width: 540px;
  margin: 0 auto var(--sp-s);
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist-form input[type="email"] {
  flex: 1 1 280px;
  min-width: 0;
  padding: 17px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--font);
  font-size: 1.05rem;
  color: var(--text-primary);
}
.waitlist-form input[type="email"]::placeholder { color: var(--text-tertiary); }
.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: rgba(201, 119, 66, 0.58);
  box-shadow: 0 0 0 4px rgba(201, 119, 66, 0.16);
}
.waitlist-form .btn {
  flex: 0 0 auto;
  padding: 17px 30px;
  background: var(--accent);
  color: var(--text-on-accent);
  box-shadow: 0 10px 22px rgba(201, 119, 66, 0.22);
}
.waitlist-form .btn:hover { background: var(--accent-pressed); color: #fffaf4; transform: translateY(-2px); }
.waitlist-form .btn[disabled] { opacity: 0.6; cursor: default; transform: none; }
.waitlist-msg {
  min-height: 1.3em;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-pressed);
}
.waitlist-msg.is-error {
  display: inline-block;
  color: #8a3324;
  background: var(--accent-light);
  border: 1px solid #F0D6C8;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}
.waitlist-fine {
  max-width: 46ch;
  margin: var(--sp-s) auto 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-tertiary);
}
.waitlist-fine a { color: var(--accent-pressed); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Page hero (FAQ / Privacy)
   -------------------------------------------------------------------------- */

.page-hero { padding: var(--sp-3xl) 0 var(--sp-xl); text-align: center; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 4rem); }
.page-hero p { font-size: 1.15rem; max-width: 56ch; margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   Auth confirmation page
   -------------------------------------------------------------------------- */

.auth-confirmation-page {
  min-height: 100svh;
  background: var(--bg-base);
}

.auth-confirmation-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px 12px;
}

.auth-confirmation-card {
  width: min(100%, 560px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.auth-confirmation-banner {
  background: var(--bg-base-2);
}

.auth-confirmation-banner img {
  width: 100%;
  height: auto;
}

.auth-confirmation-content {
  padding: 34px 30px 30px;
}

.auth-confirmation-heading {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.auth-confirmation-heading img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.auth-confirmation-heading .eyebrow {
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-confirmation-heading h1 {
  margin: 0;
  font-size: clamp(1.75rem, 6vw, 1.9rem);
  line-height: 1.2;
  font-weight: 800;
}

.auth-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-s);
  align-items: center;
  justify-content: center;
  padding: 10px 0 22px;
}

/* --------------------------------------------------------------------------
   Help Center
   -------------------------------------------------------------------------- */

.hc-hero { padding-bottom: var(--sp-l); }

/* In-page search */
.hc-search {
  position: relative;
  max-width: 520px;
  margin: var(--sp-l) auto 0;
}
.hc-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  pointer-events: none;
}
.hc-search input {
  width: 100%;
  padding: 15px 20px 15px 50px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-family: var(--font);
  font-size: 1.02rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
  -webkit-appearance: none;
  appearance: none;
}
.hc-search input::placeholder { color: var(--text-tertiary); }
.hc-search input:focus {
  outline: none;
  border-color: rgba(226, 122, 82, 0.55);
  box-shadow: 0 0 0 4px rgba(226, 122, 82, 0.16);
}

.hc-wrap { padding-bottom: var(--sp-3xl); }

/* Category cards */
.hc-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: var(--sp-m);
  margin-bottom: var(--sp-3xl);
}
.hc-cat-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  padding: var(--sp-l);
  color: var(--text-primary);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hc-cat-card:hover {
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(226, 122, 82, 0.40);
}
.hc-cat-card h2 {
  font-size: 1.12rem;
  margin: var(--sp-m) 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hc-cat-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Icon chip (shared by cards + section heads) */
.hc-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--accent-light);
  color: var(--accent);
  flex: none;
}
.hc-cat-icon svg { width: 24px; height: 24px; }
.hc-cat-icon[data-cat="start"]    { background: rgba(158, 90, 36, 0.12);  color: var(--node-mood); }
.hc-cat-icon[data-cat="orbit"]    { background: rgba(46, 107, 80, 0.12);  color: var(--node-activity); }
.hc-cat-icon[data-cat="wellness"] { background: rgba(184, 80, 64, 0.12);  color: var(--node-connect); }
.hc-cat-icon[data-cat="moments"]  { background: rgba(196, 102, 58, 0.12); color: var(--node-feeding); }
.hc-cat-icon[data-cat="circle"]   { background: rgba(126, 104, 176, 0.14); color: var(--node-energy); }
.hc-cat-icon[data-cat="settings"] { background: rgba(26, 110, 154, 0.12); color: var(--node-rest); }
.hc-cat-icon[data-cat="account"]  { background: rgba(90, 92, 200, 0.12);  color: var(--node-medication); }

/* "Plus" tag */
.hc-plus-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--text-on-accent);
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Article sections */
.hc-section {
  margin-bottom: var(--sp-3xl);
  scroll-margin-top: 92px;
}
.hc-section-head {
  display: flex;
  align-items: center;
  gap: var(--sp-m);
  margin-bottom: var(--sp-l);
  padding-bottom: var(--sp-m);
  border-bottom: 1px solid var(--border);
}
.hc-section-head h2 {
  margin: 0 0 2px;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hc-section-head p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

/* Article cards */
.hc-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-l);
}
.hc-article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  padding: var(--sp-l) var(--sp-l) calc(var(--sp-l) - 4px);
}
.hc-article h3 {
  font-size: 1.12rem;
  margin: 0 0 var(--sp-s);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hc-article p { margin: 0 0 var(--sp-s); font-size: 0.96rem; }
.hc-article p:last-child { margin-bottom: 0; }
.hc-article ul {
  margin: 0 0 var(--sp-s);
  padding-left: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
}
.hc-article li { margin-bottom: 7px; padding-left: 3px; }
.hc-article li:last-child { margin-bottom: 0; }

/* Search filtering — explicit override so [hidden] beats the display rules above */
.hc-cat-grid[hidden],
.hc-section[hidden],
.hc-article[hidden],
.hc-empty[hidden] { display: none !important; }

.hc-empty {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-secondary);
  padding: var(--sp-xl) 0 var(--sp-2xl);
}

/* Contact band */
.hc-contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-l);
  align-items: center;
  background: var(--accent-light);
  border: 1px solid #F0D6C8;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: var(--sp-xl);
}
.hc-contact-text { min-width: 0; }
.hc-contact-text .eyebrow { margin-bottom: 6px; }
.hc-contact-text h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.hc-contact-text p { margin: 0; max-width: 52ch; }
.hc-contact .btn { white-space: nowrap; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-wrap { max-width: 800px; margin: 0 auto; padding-bottom: var(--sp-3xl); }
.faq-group { margin-bottom: var(--sp-2xl); }
.faq-group > h2 { font-size: 1.4rem; margin-bottom: var(--sp-m); }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  margin-bottom: var(--sp-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: var(--sp-l);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-m);
}
.faq-q .chev {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  transition: transform 0.25s ease;
  color: var(--accent);
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner { padding: 0 var(--sp-l) var(--sp-l); }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Legal / privacy
   -------------------------------------------------------------------------- */

.legal {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: var(--sp-3xl);
}
.legal .updated { color: var(--text-tertiary); font-size: 0.95rem; margin-bottom: var(--sp-xl); }
.legal h2 {
  font-size: 1.5rem;
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-l);
  border-top: 1px solid var(--border);
}
.legal h3 { font-size: 1.15rem; margin-top: var(--sp-xl); }
.legal ul { padding-left: 1.3rem; margin-bottom: var(--sp-m); }
.legal li { color: var(--text-secondary); margin-bottom: var(--sp-xs); }
.legal .callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-m);
  padding: var(--sp-l);
  margin: var(--sp-l) 0;
}
.legal .callout h3 { margin-top: 0; }
.legal .callout p:last-child { margin-bottom: 0; }

/* Provider table in the privacy policy */
.legal table { width: 100%; border-collapse: collapse; margin: var(--sp-m) 0 var(--sp-l); font-size: 0.95rem; }
.legal thead th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--text-tertiary); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.legal tbody td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-secondary); }
.legal tbody td:first-child { color: var(--text-primary); font-weight: 600; }
.legal td a { word-break: break-word; }
@media (max-width: 560px) {
  .legal table, .legal thead, .legal tbody, .legal th, .legal td, .legal tr { display: block; }
  .legal thead { display: none; }
  .legal tr { border-bottom: 1px solid var(--border); padding: 10px 0; }
  .legal td { border: none; padding: 2px 0; }
}
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--sp-l) var(--sp-xl);
  box-shadow: var(--shadow-card);
}
.toc h2 { border: none; margin-top: 0; padding-top: 0; font-size: 1.1rem; }
.toc ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: var(--sp-xl); }
.toc li { margin-bottom: var(--sp-s); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: var(--sp-2xl) 0;
  margin-top: var(--sp-2xl);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-l);
  align-items: flex-start;
}
.footer-brand { max-width: 300px; }
.footer-brand .nav-logo { margin-bottom: var(--sp-m); }
.footer-brand .nav-logo-img { height: 36px; }
.footer-brand p { font-size: 0.95rem; margin: 0; }
.footer-links { display: flex; gap: var(--sp-2xl); flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0; color: var(--text-tertiary); margin-bottom: var(--sp-m); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--sp-s); }
.footer-col a { color: var(--text-secondary); font-size: 0.95rem; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-l);
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-tertiary);
}
.footer-credit {
  margin-top: var(--sp-l);
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-tertiary);
}
.footer-credit p { margin: 0; }
.footer-credit p + p { margin-top: 4px; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes theatreRise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98) rotateX(var(--stage-y)) rotateY(var(--stage-x));
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(var(--stage-y)) rotateY(var(--stage-x));
  }
}

@keyframes primaryPhoneFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(var(--device-lift)) rotate(0deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  }
  50% {
    transform: translateX(-50%) translateY(calc(var(--device-lift) - 10px)) rotate(0.5deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  }
}

@keyframes sideLeftFloat {
  0%, 100% {
    transform: translate(-148%, calc(124px + var(--device-lift))) rotate(-4deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  }
  50% {
    transform: translate(-150%, calc(112px + var(--device-lift))) rotate(-5deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  }
}

@keyframes sideRightFloat {
  0%, 100% {
    transform: translate(52%, calc(118px + var(--device-lift))) rotate(4deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  }
  50% {
    transform: translate(54%, calc(108px + var(--device-lift))) rotate(5deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  }
}

@keyframes liveCardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes actionCardDrift {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-0.8deg);
  }
}

@keyframes livePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(243, 153, 142, 0.16);
  }
  50% {
    transform: scale(1.16);
    box-shadow: 0 0 0 10px rgba(243, 153, 142, 0.08);
  }
}

@keyframes shadowBreathe {
  0%, 100% {
    opacity: 0.74;
    transform: translateX(-50%) scaleX(1);
  }
  50% {
    opacity: 0.96;
    transform: translateX(-50%) scaleX(1.06);
  }
}

@keyframes screenSweep {
  0% {
    opacity: 0;
    left: -36%;
  }
  28% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    left: 110%;
  }
}

@keyframes ctaWarmth {
  0%, 100% {
    box-shadow: var(--shadow-lift);
  }
  50% {
    box-shadow: 0 24px 58px rgba(201, 119, 66, 0.18);
  }
}

@keyframes receiptFloat {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-9px) rotate(0.6deg);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border);
    padding: var(--sp-s) var(--sp-l) var(--sp-l);
    box-shadow: var(--shadow-soft);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta {
    align-self: flex-start;
    margin-top: 8px;
    padding: 7px 12px;
    font-size: 0.92rem;
    line-height: 1.1;
    border-bottom: 1px solid rgba(201, 119, 66, 0.24);
  }
  .nav-toggle { display: inline-flex; }

  .phone-theatre {
    min-height: 620px;
    margin-top: 42px;
  }
  .primary-phone {
    width: min(306px, 74vw);
  }
  .side-phone {
    width: min(196px, 44vw);
  }
  .side-phone-left {
    transform: translate(-132%, 118px) rotate(-5deg);
    animation-name: sideLeftFloatTablet;
  }
  .side-phone-right {
    transform: translate(34%, 126px) rotate(5deg);
    animation-name: sideRightFloatTablet;
  }
  .float-note {
    display: block;
    width: min(210px, 48vw);
    padding: 11px 13px 11px 34px;
  }
  .float-note strong { font-size: 0.86rem; }
  .float-note span { font-size: 0.78rem; }
  .live-dot {
    left: 13px;
    top: 17px;
    width: 8px;
    height: 8px;
  }
  .note-state { left: 3%; top: 246px; }
  .note-care { right: 2%; top: 326px; }
  .screen-action {
    width: min(204px, 50vw);
    padding: 10px 12px;
  }
  .screen-action span { font-size: 0.72rem; }
  .screen-action strong { font-size: 0.82rem; }
  .action-moment { left: 4%; top: 446px; }
  .action-care { right: 3%; top: 496px; }
  .stage-shadow {
    bottom: 38px;
    width: min(560px, 90vw);
  }

  .overview-grid, .split, .features-grid, .steps, .snapshot-grid, .story-grid, .care-grid, .life-grid, .flow-grid, .stage-grid, .sequence-grid, .watch-grid { grid-template-columns: 1fr; }
  .hc-contact {
    grid-template-columns: 1fr;
  }
  .hc-contact .btn { width: 100%; }
  .sequence-grid {
    gap: var(--sp-xl);
  }
  .sequence-phone {
    width: min(304px, 72vw);
  }
  .sequence-steps {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    max-height: none;
    scroll-snap-type: x mandatory;
    padding: 4px 0 12px;
    -webkit-overflow-scrolling: touch;
  }
  .sequence-steps::-webkit-scrollbar { display: none; }
  .sequence-step {
    flex: 0 0 min(292px, 78vw);
    scroll-snap-align: center;
  }
  .sequence-step.is-active {
    transform: translateY(-3px);
  }
  .watch-frame-mockup {
    width: min(218px, 46vw);
  }
  .snapshot-grid div { border-right: none; border-bottom: 1px solid var(--border); }
  .snapshot-grid div:last-child { border-bottom: none; }
  .life-copy {
    max-width: 620px;
    text-align: center;
    margin: 0 auto;
  }
  .life-copy h2 {
    max-width: 13ch;
    margin-left: auto;
    margin-right: auto;
  }
  .pet-photo-board {
    max-width: 620px;
    min-height: 500px;
    width: 100%;
    margin: 0 auto;
  }
  .feeding-photo {
    width: min(340px, 58vw);
  }
  .diary-photo {
    width: min(292px, 48vw);
  }
  .care-receipt {
    right: 200px;
  }
  .flow-copy {
    max-width: 620px;
    margin: 0 auto;
  }
  .flow-visual {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }
  .stage-copy {
    gap: 0;
    padding-bottom: 0;
  }
  .stage-step {
    min-height: auto;
    padding: 34px 0;
    opacity: 1;
    transform: none;
  }
  .stage-device-wrap {
    position: relative;
    top: auto;
    min-height: auto;
    padding-top: var(--sp-l);
  }
  .stage-phone {
    width: min(300px, 72vw);
  }
  .split.reverse .split-media { order: 0; }
  .overview-grid .overview-media { order: -1; }
  .toc ul { columns: 1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .hero { padding: var(--sp-l) 0 0; }
  .container { padding: 0 var(--sp-m); }
  .section-head { margin-bottom: var(--sp-l); }
  h1 { font-size: clamp(2.15rem, 10.5vw, 3rem); }
  h2 { font-size: 1.55rem; }
  .hero-center .lead { font-size: 0.98rem; margin-bottom: var(--sp-m); }
  .hero-cta { gap: var(--sp-s); }
  .hero-cta .btn {
    flex: 1 1 150px;
    padding: 13px 16px;
  }
  .proof-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: var(--sp-m) calc(var(--sp-m) * -1) 0;
    padding: 0 var(--sp-m) 4px;
    -webkit-overflow-scrolling: touch;
  }
  .proof-row::-webkit-scrollbar { display: none; }
  .proof-row li {
    flex: 0 0 auto;
    scroll-snap-align: start;
    font-size: 0.82rem;
    padding: 7px 10px;
  }
  .phone-theatre {
    min-height: 590px;
    margin-top: 8px;
  }
  .primary-phone {
    width: min(292px, 80vw);
  }
  .side-phone {
    width: min(162px, 44vw);
  }
  .side-phone-left {
    transform: translate(-122%, 128px) rotate(-5deg);
    animation-name: sideLeftFloatMobile;
  }
  .side-phone-right {
    transform: translate(23%, 132px) rotate(5deg);
    animation-name: sideRightFloatMobile;
  }
  .device-mockup {
    border-radius: 40px;
    padding: 7px;
  }
  .device-mockup::before {
    inset: -4px;
  }
  .device-mockup::after {
    inset: 5px;
    border-radius: 35px;
  }
  .device-screen {
    border-radius: 32px;
  }
  .device-island {
    top: 12px;
    height: 18px;
  }
  .device-camera {
    top: 17px;
    left: calc(50% + 28px);
    width: 5px;
    height: 5px;
  }
  .device-button-left {
    left: -6px;
    top: 86px;
    height: 52px;
  }
  .device-button-right {
    right: -6px;
    top: 124px;
    height: 62px;
  }
  .phone-frame-mockup {
    filter: drop-shadow(0 24px 58px rgba(39, 28, 20, 0.22)) drop-shadow(0 8px 18px rgba(65, 45, 35, 0.12));
  }
  .sequence-phone {
    width: min(258px, 68vw);
  }
  .sequence-step {
    flex-basis: min(272px, 78vw);
    padding: 16px 17px;
  }
  .sequence-step strong {
    font-size: 0.95rem;
  }
  .watch-frame-mockup {
    width: min(190px, 52vw);
  }
  .stage-shadow {
    bottom: 22px;
    height: 72px;
    width: min(420px, 88vw);
    filter: blur(14px);
  }
  .float-note {
    width: min(186px, 52vw);
  }
  .note-state {
    left: 1px;
    top: 282px;
  }
  .note-care {
    right: 1px;
    top: 356px;
  }
  .screen-action {
    width: min(178px, 50vw);
  }
  .action-moment {
    left: 6px;
    top: 468px;
  }
  .action-care {
    right: 6px;
    top: 508px;
  }
  .snapshot-strip {
    padding: 22px 0;
    background: var(--bg-base-2);
  }
  .snapshot-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .snapshot-grid::-webkit-scrollbar { display: none; }
  .snapshot-grid div {
    flex: 0 0 min(292px, 78vw);
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-card);
    padding: var(--sp-l);
  }
  .life-section {
    padding-top: 48px;
  }
  .life-copy {
    text-align: left;
  }
  .life-copy h2 {
    margin-left: 0;
    margin-right: 0;
  }
  .pet-photo-board {
    min-height: 450px;
    margin-top: var(--sp-l);
  }
  .feeding-photo {
    right: 0;
    top: 44px;
    width: min(258px, 68vw);
    height: 340px;
    border-radius: 26px;
  }
  .diary-photo {
    left: -8px;
    bottom: 0;
    width: min(224px, 58vw);
    height: 260px;
    border-radius: 24px;
  }
  .pet-photo-card figcaption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px 11px;
    border-radius: 15px;
  }
  .pet-photo-card figcaption strong,
  .care-receipt strong {
    font-size: 0.86rem;
  }
  .feeding-photo figcaption {
    display: none;
  }
  .care-receipt {
    right: auto;
    left: 14px;
    top: 6px;
    bottom: auto;
    min-width: 190px;
    padding: 13px 14px;
    transform: rotate(-1deg);
    animation-name: receiptFloatMobileLeft;
  }
  .flow-section {
    padding-top: 56px;
  }
  .flow-grid {
    gap: var(--sp-xl);
  }
  .flow-visual {
    min-height: 378px;
    order: 2;
  }
  .flow-phone {
    width: min(196px, 58vw);
  }
  .flow-note {
    width: min(180px, 52vw);
    padding: 11px 12px;
  }
  .flow-note strong {
    font-size: 0.88rem;
  }
  .flow-note em {
    font-size: 0.76rem;
  }
  .flow-note-top {
    left: 0;
    top: 28px;
  }
  .flow-note-bottom {
    right: 0;
    bottom: 34px;
  }
  .flow-copy h2 {
    max-width: 14ch;
  }
  .flow-copy p {
    font-size: 0.98rem;
  }
  .flow-tabs {
    display: flex;
    width: 100%;
  }
  .flow-tab {
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
  }
  .flow-timeline {
    padding-left: 14px;
  }
  .flow-timeline li {
    padding: 14px 15px;
  }
  .flow-timeline li::before {
    left: -18px;
  }
  .feature-stage {
    padding-top: 48px;
  }
  .stage-step {
    padding: 28px 0;
  }
  .stage-step h2 {
    max-width: 14ch;
  }
  .stage-step p {
    font-size: 0.98rem;
  }
  .stage-device-wrap {
    padding-top: 0;
  }
  .stage-phone {
    width: min(238px, 62vw);
  }
  .story-card {
    padding: var(--sp-m);
    box-shadow: 0 14px 30px rgba(65, 45, 35, 0.12);
  }
  .screen-card {
    width: min(230px, 72vw);
  }
  .overview-list li { margin-bottom: var(--sp-s); }
  .feature-card { padding: var(--sp-l); }
  .cta-band { padding: var(--sp-xl) var(--sp-m); }
  .cta-band p { font-size: 1rem; }
  .hc-contact {
    padding: var(--sp-l);
    border-radius: var(--radius-l);
  }
  .site-footer { margin-top: 0; padding: var(--sp-xl) 0; }
  .footer-grid { gap: var(--sp-xl); }

  /* Waitlist: stack full-width so the input isn't cramped next to the button */
  .waitlist-form { flex-direction: column; gap: var(--sp-s); }
  .waitlist-form input[type="email"],
  .waitlist-form .btn { width: 100%; flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@keyframes sideLeftFloatTablet {
  0%, 100% {
    transform: translate(-132%, calc(118px + var(--device-lift))) rotate(-5deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  }
  50% {
    transform: translate(-134%, calc(106px + var(--device-lift))) rotate(-6deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  }
}

@keyframes sideRightFloatTablet {
  0%, 100% {
    transform: translate(34%, calc(126px + var(--device-lift))) rotate(5deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  }
  50% {
    transform: translate(36%, calc(114px + var(--device-lift))) rotate(6deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  }
}

@keyframes sideLeftFloatMobile {
  0%, 100% {
    transform: translate(-122%, calc(128px + var(--device-lift))) rotate(-5deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  }
  50% {
    transform: translate(-124%, calc(118px + var(--device-lift))) rotate(-6deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  }
}

@keyframes sideRightFloatMobile {
  0%, 100% {
    transform: translate(23%, calc(132px + var(--device-lift))) rotate(5deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  }
  50% {
    transform: translate(25%, calc(122px + var(--device-lift))) rotate(6deg) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  }
}

@keyframes receiptFloatMobileLeft {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.4deg);
  }
}

/* =========================================================================
   v11 — Premium rebuild: CSS device frames, carousels, calmer hero & motion
   (supersedes the old phone-theatre / sequence / stage markup, now unused)
   ========================================================================= */

/* ---- CSS-drawn device frame (no PNG overlay) ---- */
.device {
  position: relative;
  width: 100%;
  border-radius: 13.5% / 6.4%;
  background: linear-gradient(155deg, #2a231d, #14100d);
  padding: 2.6%;
  box-shadow:
    0 1px 0 rgba(255, 250, 244, 0.10) inset,
    0 28px 60px -26px rgba(39, 28, 20, 0.60),
    0 10px 22px -16px rgba(39, 28, 20, 0.45);
}
.app-screen {
  position: relative;
  aspect-ratio: 1320 / 2868;
  border-radius: 10% / 4.6%;
  overflow: hidden;
  background: var(--bg-base);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55) inset;
}
.app-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* Apple Watch frame */
.device-watch {
  position: relative;
  width: 100%;
  border-radius: 30% / 24%;
  background: linear-gradient(155deg, #2a231d, #14100d);
  padding: 7%;
  box-shadow:
    0 1px 0 rgba(255, 250, 244, 0.10) inset,
    0 22px 44px -24px rgba(39, 28, 20, 0.55);
}
.device-watch .app-screen {
  aspect-ratio: 410 / 502;
  border-radius: 19% / 15%;
}

/* phone-hardware: use natural img height so the frame PNG establishes parent height */
.phone-hardware { height: auto; }

/* ---- Carousel ---- */
.carousel { width: min(300px, 80vw); margin: 0 auto; }
.carousel .phone-frame-mockup { touch-action: pan-y; }
.carousel-watch { width: min(220px, 60vw); }
.carousel-watch .watch-frame-mockup { width: 100%; touch-action: pan-y; }
.cslide { opacity: 0; transition: opacity 0.5s ease; }
.cslide.is-active { opacity: 1; }
.carousel-caption {
  text-align: center;
  margin: var(--sp-m) auto 0;
  max-width: 34ch;
  min-height: 3.6em;
  color: var(--text-secondary);
}
.carousel-caption .eyebrow { display: block; margin-bottom: 4px; }
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-m);
  margin-top: var(--sp-s);
}
.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.15s ease;
}
.carousel-arrow:hover { background: var(--bg-raised); transform: translateY(-1px); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dots button.is-active { background: var(--accent); transform: scale(1.3); }

/* ---- Hero (calm) ---- */
.hero2 {
  text-align: center;
  padding: 64px 0 78px;
  border-bottom: 1px solid var(--border);
  background: #F8F0E8;
  overflow: hidden;
}
.hero2-title { max-width: 17ch; margin: 0 auto var(--sp-m); font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
.hero2-lead { max-width: 56ch; margin: 0 auto var(--sp-l); color: var(--text-secondary); font-size: clamp(1rem, 1.5vw, 1.16rem); }
.hero2-inner > * { animation: heroRise 0.7s ease both; }
.hero2-inner > .hero2-title { animation-delay: 0.06s; }
.hero2-inner > .hero2-lead { animation-delay: 0.12s; }
.hero2-inner > .hero-cta { animation-delay: 0.18s; }
.hero2-inner > .proof-row { animation-delay: 0.24s; }
.hero2-stage { position: relative; width: min(300px, 72vw); margin: 46px auto 0; }
.hero2-stage .device-primary { position: relative; z-index: 2; }
.device-side {
  position: absolute;
  top: 8%;
  z-index: 1;
  width: 80%;
  opacity: 0.5;
}
.device-side-l { left: 0; transform: translateX(-56%) rotate(-8deg); }
.device-side-r { right: 0; transform: translateX(56%) rotate(8deg); }

@media (prefers-reduced-motion: no-preference) {
  .hero2-stage[data-hero-float] .device-primary { animation: gentleFloat 7s ease-in-out infinite; }
}
@keyframes gentleFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---- Feature rows ---- */
.feature-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.feature-grid.reverse .feature-copy { order: 2; }
.feature-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: var(--sp-m); }
.feature-copy p { color: var(--text-secondary); margin-bottom: var(--sp-m); }
.check-list { list-style: none; padding: 0; margin: var(--sp-m) 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--text-secondary); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }

/* ---- Trust ---- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-l); }
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: var(--sp-xl) var(--sp-l);
  box-shadow: 0 2px 10px rgba(39, 28, 20, 0.05);
}
.trust-card strong { display: block; margin-bottom: 6px; font-size: 1.05rem; color: var(--text-primary); }
.trust-card span { color: var(--text-secondary); }

/* ---- Velpo Plus note (inline feature-section callout) ---- */
.plus-note {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  margin-top: var(--sp-m);
  padding: 10px 14px;
  background: var(--accent-light);
  border-radius: var(--radius-s);
  border-left: 3px solid var(--accent);
}
.plus-note strong { color: var(--accent); }

/* ---- Pricing / plans ---- */
.pricing-section {
  padding: var(--sp-3xl) 0;
  background: var(--bg-base-2);
  border-top: 1px solid var(--border);
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  margin-top: var(--sp-2xl);
  align-items: start;
}
.plan-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: var(--sp-xl) var(--sp-xl);
  box-shadow: var(--shadow-card);
}
.plan-card--plus {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(201, 119, 66, 0.15);
}
.plan-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-on-accent);
  background: var(--accent);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  margin-bottom: var(--sp-m);
  letter-spacing: 0.01em;
}
.plan-header { margin-bottom: var(--sp-l); }
.plan-header h3 { margin-bottom: 4px; font-size: 1.45rem; }
.plan-price {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  font-weight: 600;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}
.plan-features li {
  position: relative;
  padding-left: 26px;
  color: var(--text-secondary);
  font-size: 0.97rem;
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}
.plan-features li.feat-plus::before { content: "＋"; font-size: 0.9rem; }
.plan-divider {
  height: 1px;
  background: var(--border);
  margin: var(--sp-m) 0;
}

/* ---- Watch row ---- */
.watch-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-l); align-items: start; }
.watch-tile { margin: 0; text-align: center; }
.watch-tile .watch-frame-mockup { width: min(190px, 56vw); margin: 0 auto var(--sp-m); }
.watch-tile figcaption strong { display: block; margin-bottom: 4px; color: var(--text-primary); }
.watch-tile figcaption span { color: var(--text-secondary); font-size: 0.95rem; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; justify-items: center; }
  .feature-grid.reverse .feature-copy { order: 0; }
  .feature-copy { text-align: center; max-width: 56ch; }
  .check-list { text-align: left; }
  .trust-grid, .watch-row { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .device-side { display: none; }
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hero2-inner > *, .hero2-stage .device-primary { animation: none !important; }
  .cslide { transition: none !important; }
}
