/* Buddylio landing - mobile-first redesign matching the app's visual language.
 * Two principles drive the file:
 *   1) Never let the page scroll horizontally (every section is contained).
 *   2) Visual tokens match the live iOS/Android app: coral header, white
 *      rounded cards on cream, green for "Steady" state, terracotta CTAs.
 */

/* ---------- Global overflow safeguards ---------- */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0; /* grid children won't push out beyond track */
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, button { font-family: inherit; }
a { color: inherit; text-decoration: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Honeypot input. Hidden to humans, visible to bots that auto-fill
 * every text field. If filled, the JS silently drops the submission. */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

/* ---------- Design tokens sourced from iOS Theme.swift ----------
 * Every value here mirrors the canonical brand palette in
 * ios-swiftui/Buddylio/Theme.swift. If the iOS app changes a token,
 * change it here too. The website is meant to feel like the same
 * product when an owner moves from App Store to landing page. */
:root {
  --coral: #D9685A;         /* Theme.brand */
  --coral-deep: #B8534A;    /* Theme.brandDark */
  --coral-light: #E58875;   /* Theme.brandLight */
  --coral-tint: #F1D5CC;
  --coral-soft: rgba(217, 104, 90, 0.10);
  --coral-tile: rgba(217, 104, 90, 0.14);
  --alert-red: #B5483A;     /* Theme.alertRed, Level-4 only */
  --green: #A8C97B;
  --green-deep: #7FA251;
  --amber: #E0A56C;
  --cream: #E8DDD0;         /* Theme.bgApp */
  --cream-deep: #DCCFB9;
  --cream-card: #EFE6D8;
  --ink: #2D2D2D;           /* Theme.textPrimary */
  --ink-soft: #555555;      /* Theme.textSecondary */
  --ink-mute: #6B6B6B;      /* Theme.textTertiary */
  --white: #FFFFFF;
  --line: rgba(45, 45, 45, 0.10);
  --shadow-card: 0 1px 2px rgba(45, 31, 24, 0.04), 0 14px 40px -16px rgba(45, 31, 24, 0.18);
  --shadow-lift: 0 2px 6px rgba(45, 31, 24, 0.06), 0 26px 60px -22px rgba(45, 31, 24, 0.24);
  --shadow-app: 0 1px 2px rgba(45, 31, 24, 0.04), 0 8px 22px -10px rgba(45, 31, 24, 0.18);
  --radius-card: 26px;
  --radius-app: 22px;
  --radius-pill: 999px;
  --content: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* ---------- Base typography ---------- */
body {
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 720px) { body { font-size: 18px; } }
@media (min-width: 1100px) { body { font-size: 19px; } }

h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
}
p { color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--coral-soft);
  white-space: nowrap;
  max-width: 100%;
}
/* On narrow viewports the longer eyebrows (e.g. "Made for dogs who
 * need extra care") truncated against the screen edge. Tightened
 * letter-spacing + smaller font + allow flex shrink so the eyebrow
 * either fits on one line at narrow widths or wraps inside the pill
 * gracefully without escaping the gutter. */
@media (max-width: 480px) {
  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    white-space: normal;
    text-align: left;
    line-height: 1.25;
  }
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 244, 237, 0.78);
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease;
}
.site-header.is-scrolled {
  background: rgba(251, 244, 237, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(45, 31, 24, 0.10), 0 4px 12px -4px rgba(214, 107, 84, 0.30);
  object-fit: cover;
}
.brand-word {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 160ms ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta {
  background: var(--coral);
  color: var(--white);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  min-height: 40px;
  font-weight: 600;
  transition: background 160ms ease, transform 160ms ease;
}
.site-nav .nav-cta:hover { background: var(--coral-deep); color: var(--white); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  color: var(--ink);
  flex-shrink: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .site-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
    /* Stacking: above main (z-2) so the hamburger overlay covers hero
     * content. Sticky header is z-50, this nav lives inside it but
     * fixed-positioned, so an explicit z-index is required. */
    z-index: 60;
    /* Shift by own height + header offset so the menu is fully off-screen
     * when closed. Plain -100% / -110% leaves the bottom items peeking
     * because the menu starts at top: 68px. */
    transform: translateY(calc(-100% - 80px));
    transition: transform 220ms ease;
    box-shadow: var(--shadow-card);
    max-width: 100%;
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    justify-content: flex-start;
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav .nav-cta {
    width: 100%;
    margin-top: 8px;
    justify-content: center;
    border-radius: 16px;
  }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 96px);
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 60%;
  background: radial-gradient(120% 80% at 80% 0%, rgba(217, 104, 90, 0.12) 0%, rgba(217, 104, 90, 0) 60%);
  pointer-events: none;
  z-index: 0;
}
.hero .inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 980px) {
  .hero .inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 6vw, 80px);
  }
}

.hero-copy { min-width: 0; }
.hero h1 {
  font-size: clamp(38px, 7.2vw, 72px);
  font-variation-settings: "opsz" 144;
  margin: 18px 0 18px;
  max-width: 18ch;
  letter-spacing: -0.02em;
}
.hero .lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 28px;
  line-height: 1.55;
}

/* App Store / Google Play style badges. Two-line text ("Notify me on"
 * + "App Store" / "Google Play"), white logo on solid black, matches
 * the proportions of Apple's official badge so the row reads as a real
 * store-button row not a custom invention. Side-by-side on every
 * viewport - kept compact enough to fit at 320px. */
.cta-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 12px;
  background: #000000;
  color: var(--white);
  min-height: 54px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 220px;
  transition: transform 160ms ease, background 160ms ease;
}
.badge-btn:hover {
  background: #1A1A1A;
  transform: translateY(-1px);
}
.badge-btn .badge-logo {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--white);
}
.badge-btn .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.badge-btn .badge-small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.95;
}
.badge-btn .badge-large {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 1px;
}
@media (max-width: 640px) {
  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .badge-btn {
    flex: 0 0 auto;
    width: min(100%, 260px);
    max-width: none;
  }
}
@media (max-width: 360px) {
  .badge-btn { padding: 8px 12px; gap: 8px; max-width: none; }
  .badge-btn .badge-logo { width: 22px; height: 22px; }
  .badge-btn .badge-large { font-size: 15px; }
  .badge-btn .badge-small { font-size: 9px; }
}

/* Waitlist form: clean modern card. Subtle outer border + soft shadow
 * inspired by Stripe / Linear newsletter inputs. Stacks at <480px so
 * the button never gets squeezed under 44px tap target. */
.waitlist-card { max-width: 520px; }
.waitlist-card .intro {
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: 10px;
  font-weight: 500;
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
@media (min-width: 480px) {
  .waitlist-form {
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
  }
}
.waitlist-form input[type="email"] {
  flex: 1;
  border: 1px solid var(--line);
  outline: none;
  padding: 16px 20px;
  background: var(--white);
  font-size: 16px;
  color: var(--ink);
  min-height: 56px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(45, 31, 24, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease;
  font-family: inherit;
  font-weight: 500;
}
.waitlist-form input[type="email"]::placeholder {
  color: var(--ink-mute);
  font-weight: 400;
}
.waitlist-form input[type="email"]:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(217, 104, 90, 0.12);
}
.waitlist-form button[type="submit"] {
  background: var(--coral);
  color: var(--white);
  padding: 0 28px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  min-height: 56px;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(45, 31, 24, 0.10), 0 6px 16px -6px rgba(217, 104, 90, 0.45);
  letter-spacing: -0.005em;
}
.waitlist-form button[type="submit"]:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(45, 31, 24, 0.10), 0 10px 20px -6px rgba(217, 104, 90, 0.55);
}
.waitlist-form button[type="submit"]:active {
  transform: translateY(0);
}
.waitlist-form input[type="email"]:disabled {
  background: var(--cream);
  color: var(--ink-mute);
  cursor: not-allowed;
}
.waitlist-form button[type="submit"]:disabled {
  background: var(--cream-deep);
  color: var(--ink-mute);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.waitlist-form button[type="submit"]:disabled:hover {
  background: var(--cream-deep);
  transform: none;
  box-shadow: none;
}
@media (max-width: 640px) {
  .waitlist-form {
    flex-direction: column;
    align-items: stretch;
  }
  .waitlist-form button[type="submit"] {
    width: 100%;
  }
}
.waitlist-note {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 14px;
  line-height: 1.5;
  max-width: 44ch;
}
.waitlist-status {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 10px;
  min-height: 18px;
  font-weight: 500;
}
.waitlist-status.is-pending { color: var(--ink-mute); }
.waitlist-status.is-success { color: var(--green-deep); }
.waitlist-status.is-error   { color: var(--coral-deep); }
.waitlist-note--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Hero phone mockup (matches real app) ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: visible;
  isolation: isolate;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: min(78vw, 760px);
  height: min(76vw, 760px);
  left: 52%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 42%,
      rgba(217, 104, 90, 0.24) 0%,
      rgba(217, 104, 90, 0.17) 28%,
      rgba(229, 136, 117, 0.09) 52%,
      rgba(217, 104, 90, 0) 76%);
  filter: blur(22px);
  opacity: 0.95;
  z-index: 0;
  pointer-events: none;
}
.phone {
  --phone-w: 320px;
  position: relative;
  width: var(--phone-w);
  max-width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #15110D;
  border-radius: 50px;
  padding: 12px;
  z-index: 1;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 0 0 1.5px #1F1812,
    0 30px 80px -20px rgba(45, 31, 24, 0.45),
    0 60px 120px -40px rgba(217, 104, 90, 0.25);
}
.phone--lg { --phone-w: 340px; }
@media (min-width: 980px) {
  .phone--lg { --phone-w: 400px; }
}
@media (min-width: 1180px) {
  .phone--lg { --phone-w: 440px; }
}
.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #15110D;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone--live::before {
  display: none;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--cream);
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone-screen--live {
  display: block;
  background: #e8ddd0;
}
.phone-screen--live > :not(.phone-screenshot) {
  display: none;
}
.phone-screenshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* App top - coral header section. Real-iOS parity: a soft cream
 * fade at the bottom of the coral hero so the white cards below
 * read as floating on a warm gradient (matches Theme.bgApp.opacity
 * fade in DashboardHero on iOS). */
.app-top {
  background: var(--coral);
  color: var(--white);
  padding: 46px 22px 30px;
  position: relative;
}
.app-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38px;
  background: linear-gradient(
    to bottom,
    rgba(232, 221, 208, 0)   0%,
    rgba(232, 221, 208, 0.18) 50%,
    rgba(232, 221, 208, 0.58) 82%,
    rgba(232, 221, 208, 1)    100%
  );
  pointer-events: none;
}
.app-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.app-brand {
  font-family: "Fraunces", serif;
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.012em;
}
.app-gear {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: var(--white);
}
.app-gear svg { width: 20px; height: 20px; }
.app-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.app-avatar {
  /* Matches iOS DogPhotoCircle 88pt with the white ring + coral
   * inner ring stack rendered around the photo. Stronger shadow so
   * the avatar reads as floating above the coral, not painted on
   * top of it. */
  width: 92px; height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 4px solid rgba(255, 255, 255, 0.96);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(45, 31, 24, 0.28);
}
.app-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.app-greet { min-width: 0; }
.greet-sub {
  font-size: 17px;
  opacity: 0.95;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.005em;
}
.greet-name {
  font-family: "Fraunces", serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.0;
  letter-spacing: -0.022em;
  margin-top: 4px;
}
.app-cta {
  background: var(--white);
  color: var(--coral);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  padding: 17px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(45, 31, 24, 0.18);
  position: relative;
  z-index: 1;
}

/* App body - cream area with cards */
.app-body {
  flex: 1;
  padding: 16px 14px 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.app-card {
  background: var(--white);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-app);
}

/* Score card with green ring */
.score-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
}
.score-card .ring {
  position: relative;
  width: 78px;
  height: 78px;
  flex-shrink: 0;
}
.score-card .ring svg { width: 100%; height: 100%; }
.score-card .ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
}
.score-text { min-width: 0; flex: 1; }
.score-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.score-state {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--green-deep);
  line-height: 1.05;
  margin: 3px 0 5px;
  letter-spacing: -0.01em;
}
.score-note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.3;
}
.score-foot {
  font-size: 12px;
  color: var(--ink-mute);
  font-style: italic;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

/* Mini weekly bar chart inside phone */
.trend-card-mini { padding: 14px 14px 10px; }
.tc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.tc-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}
.tc-action {
  font-size: 11px;
  font-weight: 700;
  color: var(--coral);
}
.tc-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.tc-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  flex: 1;
  height: 70px;
}
.tc-bars .bar {
  flex: 1;
  height: var(--h, 50%);
  background: var(--green);
  border-radius: 6px;
  min-width: 0;
}
.tc-bars .bar--mid { background: var(--amber); }
.tc-bars .bar--empty {
  background: #EFE6DA;
}
.tc-meta {
  text-align: right;
  flex-shrink: 0;
}
.tc-meta-title {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.1;
}
.tc-meta-title--green { color: var(--green-deep); }
.tc-meta-sub {
  font-size: 11px;
  color: var(--amber);
  font-weight: 700;
  margin-top: 3px;
}
.tc-meta-sub--green { color: var(--green-deep); }
.tc-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-right: 70px;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* Medication card populated with a real example dose */
.med-card-mini { padding: 16px; }
.mc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.mc-emoji { font-size: 20px; }
.mc-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  flex: 1;
}
.mc-plus {
  color: var(--coral);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}
.mc-next-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mc-row-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mc-dose-name {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.mc-dose-meta {
  font-size: 12px;
  color: var(--ink-mute);
}
.mc-time {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--coral);
  flex-shrink: 0;
}

/* Shared dashboard icon-bubble. Echoes the app's IconBubble primitive
   so the hero phone preview reads as the same product. */
.icon-bubble {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.icon-bubble--coral { background: rgba(217, 104, 90, 0.12); color: var(--coral); }
.icon-bubble--sage  { background: #E8F5E9; color: #2E7D32; }
.icon-bubble--sm    { width: 24px; height: 24px; font-size: 12px; }

/* Walks card — premium layout: icon bubble, big headline,
   weekday dot row, weekly minute summary. */
.walks-card { padding: 18px; }
.wlk-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.wlk-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  flex: 1;
}
.wlk-streak {
  font-size: 11px;
  font-weight: 700;
  color: #FFA726;
  letter-spacing: 0.02em;
}
.wlk-headline {
  font-family: "DM Sans", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--coral);
  line-height: 1.05;
}
.wlk-sub {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 2px;
  margin-bottom: 12px;
}
.wlk-dots { margin-bottom: 12px; }
.wlk-dots-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}
.wlk-dots-labels { font-size: 12px; font-weight: 600; color: var(--ink-mute); margin-bottom: 6px; }
.wlk-dots-labels .is-today { color: var(--ink); }
.wlk-dots-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(217, 104, 90, 0.18);
  justify-self: center;
}
.wlk-dots-dots span.on { background: var(--coral); }
.wlk-week {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Weight card — premium layout: icon bubble, big number,
   logged-today chip with white check bubble, sparkline + weekly summary. */
.weight-card { padding: 18px; }
.wt-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.wt-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  flex: 1;
}
.wt-plus {
  width: 28px; height: 28px;
  background: var(--coral);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}
.wt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.wt-value {
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--ink);
  line-height: 1;
}
.wt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E8F5E9;
  color: #2E7D32;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}
.wt-badge-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #2E7D32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
}
.wt-spark {
  width: 100%;
  height: 36px;
  margin: 4px 0 10px;
}
.wt-spark svg { width: 100%; height: 100%; display: block; }
.wt-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.wt-foot-text { font-weight: 500; }

/* App bottom nav, floating capsule pill */
.app-nav {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 10px 6px;
  background: var(--white);
  border-radius: 28px;
  box-shadow:
    0 1px 2px rgba(45, 31, 24, 0.06),
    0 12px 28px -10px rgba(45, 31, 24, 0.22);
}
.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-mute);
  line-height: 1.1;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 2px;
}
.nav-tab > span:not(.nav-svg) {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-tab .nav-svg {
  width: 20px;
  height: 20px;
  color: var(--ink-mute);
  flex-shrink: 0;
}
.nav-tab.is-active { color: var(--coral); }
.nav-tab.is-active .nav-svg { color: var(--coral); }

/* ---------- Sections ---------- */
.section {
  padding: clamp(56px, 8vw, 112px) 0;
}
.section-head {
  max-width: 720px;
  margin: 0 0 40px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head--center h2 { margin-left: auto; margin-right: auto; }
.section-head h2 {
  font-size: clamp(28px, 4.4vw, 48px);
  margin-top: 16px;
  max-width: 20ch;
}
.section-head p {
  margin-top: 16px;
  font-size: clamp(16px, 1.6vw, 18px);
  max-width: 56ch;
  color: var(--ink-soft);
}

/* ---------- Features grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 920px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--coral-tile);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.feature-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
  font-weight: 600;
}
.feature-card p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Pricing ---------- */
.section--pricing {
  padding-top: 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 760px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}
.pricing-plan {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 4vw, 32px);
  position: relative;
  border: 1px solid rgba(45, 45, 45, 0.08);
}
.pricing-plan--featured {
  border-color: rgba(217, 104, 90, 0.36);
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(217, 104, 90, 0.07) 100%);
}
.pricing-plan h3 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.pricing-plan p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin-top: 14px;
}
.pricing-plan .price {
  display: block;
  font-family: "Fraunces", serif;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
  font-weight: 600;
  color: var(--ink);
}
.pricing-plan .period {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}
.pricing-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: var(--radius-pill);
  background: var(--coral-soft);
  color: var(--coral-deep);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
/* Narrow screens: ribbon drops above the title instead of overlapping it. */
@media (max-width: 520px) {
  .pricing-ribbon {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
    top: auto;
    right: auto;
  }
}
.pricing-note {
  font-size: 13px !important;
  color: var(--ink-mute) !important;
  margin: 18px 0 0;
  max-width: 68ch;
}
.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}
.pricing-cta,
.pricing-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  padding: 0 20px;
}
.pricing-cta {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(45, 31, 24, 0.08), 0 8px 18px -8px rgba(217, 104, 90, 0.45);
}
.pricing-link {
  background: var(--white);
  color: var(--coral-deep);
  border: 1px solid rgba(217, 104, 90, 0.22);
}

/* ---------- Two-column sections ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 880px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 6vw, 80px);
  }
}
@media (min-width: 880px) {
  .two-col.reverse .col-text { order: 2; }
  .two-col.reverse .col-visual { order: 1; }
}
.col-text { min-width: 0; }
.col-visual { min-width: 0; }
.col-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 14px 0 16px;
  max-width: 20ch;
}
.col-text p {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 56ch;
}
.col-text .disclaimer {
  font-size: 13px;
  color: var(--ink-mute);
  font-style: italic;
}
.check-list {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--coral-tile);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9685A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* ---------- Patterns: timeline preview ---------- */
.trend-preview {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 18px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 12px;
}
.tp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--cream);
  border-radius: 16px;
  padding: 14px 16px;
  min-width: 0;
}
.tp-day { min-width: 0; flex: 1; }
.tp-day-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2px;
}
.tp-day-state {
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.tp-day-state--ok { color: var(--green-deep); }
.tp-day-state--mid { color: var(--amber); }
.tp-pill {
  background: var(--green);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  min-width: 56px;
  text-align: center;
  flex-shrink: 0;
}
.tp-pill--mid { background: var(--amber); color: var(--white); }
.tp-bars-mini {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 36px;
  flex-shrink: 0;
}
.tp-bars-mini span {
  width: 8px;
  height: var(--h, 50%);
  background: var(--green);
  border-radius: 3px;
}
.tp-bars-mini span.mid { background: var(--amber); }

/* ---------- Vet report ---------- */
.section--vet {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.report-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 36px) clamp(22px, 4vw, 32px);
  box-shadow: var(--shadow-lift);
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  border: 1px solid var(--line);
}
.report-card::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-card) + 8px);
  background: linear-gradient(135deg, rgba(217, 104, 90, 0.18), rgba(168, 201, 123, 0.16));
  z-index: -1;
  filter: blur(20px);
}
.report-card .rc-title {
  font-family: "Fraunces", serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.report-card .rc-meta {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(42, 30, 24, 0.18);
}
.report-card .rc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  border-bottom: 1px solid rgba(42, 30, 24, 0.06);
}
.report-card .rc-row:last-child { border-bottom: none; }
.report-card .rc-row .k { color: var(--ink-soft); }
.report-card .rc-row .v { color: var(--ink); font-weight: 600; text-align: right; }
.report-card .rc-foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(42, 30, 24, 0.18);
  font-size: 11.5px;
  color: var(--coral);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Medication mock ---------- */
.med-mock {
  max-width: 360px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.med-notif {
  background: var(--white);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-card);
}
.med-notif--past { opacity: 0.85; }
.med-notif .head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.med-notif .app-tile {
  width: 28px; height: 28px;
  border-radius: 8px;
}
.med-notif .app-name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  font-weight: 600;
}
.med-notif .time {
  margin-left: auto;
  font-size: 11px;
  color: var(--ink-mute);
}
.med-notif .title {
  font-family: "Fraunces", serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.med-notif .body {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.med-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.med-actions span {
  flex: 1;
  text-align: center;
  background: var(--coral);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 9px;
  border-radius: 12px;
}
.med-actions span.secondary {
  background: rgba(42, 30, 24, 0.06);
  color: var(--ink-soft);
}

/* ---------- Privacy card ---------- */
.section--privacy {
  background: linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%);
}
.privacy-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow-card);
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.privacy-card .lock-tile {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--coral-tile);
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.privacy-card .eyebrow { margin-bottom: 14px; }
.privacy-card h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 14px;
}
.privacy-card > p {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.privacy-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: left;
  margin-top: 8px;
}
@media (min-width: 600px) { .privacy-points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { .privacy-points { grid-template-columns: repeat(4, 1fr); } }
.privacy-point {
  padding-left: 16px;
  border-left: 2px solid var(--coral);
}
.privacy-point .num {
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--coral);
  display: block;
  margin-bottom: 4px;
}
.privacy-point p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
  line-height: 1.45;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  font-family: "Fraunces", serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}
.faq-q .chev {
  width: 22px; height: 22px;
  flex-shrink: 0;
  transition: transform 200ms ease;
  color: var(--coral);
}
.faq-item[open] .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}
.faq-a-inner {
  padding: 0 22px 20px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 64ch;
}
.faq-item[open] .faq-a { max-height: 320px; }

/* ---------- Final CTA ---------- */
.cta-final {
  background: linear-gradient(135deg, #D9685A 0%, #B85740 100%);
  color: var(--white);
  padding: clamp(56px, 9vw, 112px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: -100px 0 auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
.cta-final h2 {
  font-size: clamp(28px, 4.6vw, 50px);
  color: var(--white);
  margin-bottom: 16px;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-final p {
  color: rgba(255, 245, 235, 0.92);
  font-size: clamp(16px, 1.8vw, 18px);
  max-width: 52ch;
  margin: 0 auto 28px;
  line-height: 1.55;
  position: relative;
}
.cta-final .waitlist-form {
  max-width: 520px;
  margin: 0 auto;
  background: transparent;
  position: relative;
}
.cta-final .waitlist-form input[type="email"] {
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}
.cta-final .waitlist-form input[type="email"]:focus {
  border-color: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}
.cta-final .waitlist-form button[type="submit"] {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.cta-final .waitlist-form button[type="submit"]:hover {
  background: #1A100A;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}
.cta-final .waitlist-status {
  color: var(--white);
  margin-top: 14px;
  text-align: center;
}
.cta-final .waitlist-status.is-pending,
.cta-final .waitlist-status.is-success,
.cta-final .waitlist-status.is-error {
  color: var(--white);
}
.cta-final .waitlist-note {
  color: rgba(255, 245, 235, 0.92);
  margin-top: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream-deep);
  padding: clamp(48px, 6vw, 72px) 0 28px;
  color: var(--ink-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
}
.footer-col h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a {
  color: var(--ink-soft);
  font-size: 15px;
  transition: color 160ms ease;
  min-height: 22px;
  display: inline-block;
}
.footer-col a:hover { color: var(--coral); }
.footer-tag {
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 36ch;
  line-height: 1.55;
  margin-top: 14px;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.6;
  max-width: 72ch;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Focus rings ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =====================================================================
   PREMIUM UPGRADE LAYER - 2026-05-17
   Overrides previous styles for: hero typography, feature icons (no more
   emoji), background depth (noise + gradient mesh), phone mockup tilt,
   trust strip, asymmetric Patterns section, card-radius variation.
   Each block is self-contained and uses higher-specificity selectors
   so it wins against the original definitions above.
   ===================================================================== */

/* --- Background texture: cream + subtle SVG noise --- */
body {
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(217, 104, 90, 0.10) 0%, rgba(217, 104, 90, 0) 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(168, 201, 123, 0.08) 0%, rgba(168, 201, 123, 0) 55%),
    var(--cream);
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.12 0 0 0 0 0.09 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* Preserve original stacking: sticky header (z-50), main (z-2), footer (z-2).
   The body::before noise sits at z-0 so all of these paint above it. The
   mobile fixed nav gets z-60 below so it always overlaps the hero copy
   when the hamburger is tapped open. */
main, .site-footer { position: relative; z-index: 2; }

/* --- Hero typography: dramatic display, dropped letter-spacing --- */
.hero {
  padding: clamp(40px, 6vw, 96px) 0 clamp(60px, 8vw, 112px);
}
.hero::before {
  background:
    radial-gradient(70% 65% at 78% 12%, rgba(217, 104, 90, 0.22) 0%, rgba(217, 104, 90, 0) 60%),
    radial-gradient(50% 50% at 8% 90%, rgba(229, 136, 117, 0.16) 0%, rgba(229, 136, 117, 0) 65%);
  height: 100%;
  inset: 0;
}
.hero h1 {
  font-size: clamp(46px, 8.8vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  margin: 22px 0 22px;
  max-width: 15ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--coral-deep);
  font-variation-settings: "opsz" 144;
}
.hero .lead {
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.5;
  max-width: 50ch;
  color: var(--ink-soft);
  font-weight: 400;
}

/* --- Trust strip below hero CTA row --- */
.trust-strip {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin: 26px 0 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  border: 1px solid rgba(45, 45, 45, 0.06);
  max-width: 560px;
  box-shadow: 0 1px 2px rgba(45, 31, 24, 0.04), 0 8px 24px -16px rgba(45, 31, 24, 0.15);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.trust-item strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.trust-item span {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.35;
  font-weight: 500;
}
.trust-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(45, 45, 45, 0.14) 30%, rgba(45, 45, 45, 0.14) 70%, transparent 100%);
  flex-shrink: 0;
}
@media (max-width: 520px) {
  .trust-strip { flex-direction: column; gap: 12px; padding: 14px 16px; }
  .trust-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(45, 45, 45, 0.14) 30%, rgba(45, 45, 45, 0.14) 70%, transparent 100%); }
}

/* --- Phone mockup: 3D tilt, glass reflection, layered depth --- */
.hero-visual {
  perspective: 1600px;
}
.phone.phone--lg {
  transform: rotateY(-7deg) rotateX(2deg);
  transform-origin: 60% 50%;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.phone.phone--lg:hover {
  transform: rotateY(-3deg) rotateX(1deg);
}
.phone.phone--lg::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 38px;
  pointer-events: none;
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.32) 0%,
      rgba(255, 255, 255, 0.10) 18%,
      rgba(255, 255, 255, 0) 35%,
      rgba(255, 255, 255, 0) 65%,
      rgba(255, 255, 255, 0.06) 90%,
      rgba(255, 255, 255, 0.18) 100%);
  z-index: 4;
  mix-blend-mode: screen;
  opacity: 0.55;
}
.phone.phone--lg {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 0 0 1.5px #1F1812,
    0 22px 50px -22px rgba(45, 31, 24, 0.50),
    0 50px 100px -30px rgba(45, 31, 24, 0.55),
    -22px 50px 110px -40px rgba(217, 104, 90, 0.40);
}
/* Side power button + volume rocker for realism */
.phone.phone--lg::before {
  /* keep the existing notch styling */
}
.hero-visual::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 64px;
  right: calc(50% - var(--phone-w, 320px) / 2 - 6px);
  top: 22%;
  background: linear-gradient(180deg, #1A1410 0%, #2A201A 50%, #1A1410 100%);
  border-radius: 0 3px 3px 0;
  z-index: 0;
  display: none;
}

/* --- Feature card grid: removed emoji, hand-drawn line icons, varied tints --- */
.features-grid {
  gap: 18px;
}
@media (min-width: 600px) { .features-grid { gap: 18px; } }
@media (min-width: 920px) { .features-grid { gap: 22px; } }

.feature-card {
  padding: 26px 24px 26px;
  background: var(--white);
  border-radius: 22px;
  border: 1px solid rgba(45, 45, 45, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 280ms ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto auto;
  width: 100px; height: 100px;
  border-radius: 0 22px 0 100px;
  background: radial-gradient(80% 80% at 100% 0%, rgba(217, 104, 90, 0.10) 0%, rgba(217, 104, 90, 0) 70%);
  z-index: 0;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 6px rgba(45, 31, 24, 0.06), 0 28px 70px -24px rgba(45, 31, 24, 0.28);
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card .feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--coral-soft);
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 0;
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), background 280ms ease;
}
.feature-card .feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--coral);
}
.feature-card:hover .feature-icon {
  transform: rotate(-3deg) scale(1.04);
  background: var(--coral-tile);
}
.feature-card .feature-num {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.02em;
  opacity: 0.55;
  z-index: 1;
}
.feature-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-bottom: 8px;
  color: var(--ink);
}
.feature-card p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
/* Per-card subtle accent variation for differentiation */
.feature-card--02 .feature-icon { background: rgba(168, 201, 123, 0.20); color: var(--green-deep); }
.feature-card--02 .feature-icon svg { color: var(--green-deep); }
.feature-card--04 .feature-icon { background: rgba(224, 165, 108, 0.20); color: #B5743A; }
.feature-card--04 .feature-icon svg { color: #B5743A; }
.feature-card--05 .feature-icon { background: rgba(75, 90, 130, 0.10); color: #4B5A82; }
.feature-card--05 .feature-icon svg { color: #4B5A82; }
.feature-card--06 .feature-icon { background: rgba(224, 165, 108, 0.18); color: #C28245; }
.feature-card--06 .feature-icon svg { color: #C28245; }

/* --- Patterns: asymmetric layout with score anchor --- */
.section--patterns {
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 60%, var(--cream) 100%);
}
.patterns-asym {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) {
  .patterns-asym {
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    grid-template-areas:
      "anchor copy"
      "anchor rows";
    column-gap: clamp(40px, 6vw, 80px);
    row-gap: 32px;
  }
  .patterns-anchor { grid-area: anchor; align-self: stretch; }
  .patterns-copy { grid-area: copy; }
  .patterns-rows { grid-area: rows; }
}
.patterns-anchor {
  background: var(--white);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(45, 45, 45, 0.05);
  box-shadow:
    0 1px 2px rgba(45, 31, 24, 0.04),
    0 30px 80px -24px rgba(45, 31, 24, 0.20);
  min-height: 320px;
}
.patterns-anchor::before {
  content: "";
  position: absolute;
  inset: auto -30% -50% -30%;
  height: 80%;
  background: radial-gradient(60% 80% at 50% 0%, rgba(168, 201, 123, 0.30) 0%, rgba(168, 201, 123, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.patterns-anchor > * { position: relative; z-index: 1; }
.patterns-anchor-label {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.patterns-anchor-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(88px, 10vw, 148px);
  font-variation-settings: "opsz" 144;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  color: var(--green-deep);
  margin: 18px 0 6px;
  display: block;
}
.patterns-anchor-state {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: 0;
  line-height: 1.15;
  display: block;
  margin-top: 0;
}
.patterns-anchor-foot {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: auto;
  padding-top: 18px;
  font-style: italic;
  font-weight: 500;
}
.patterns-copy h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 14px 0 18px;
  max-width: 18ch;
  line-height: 1.04;
}
.patterns-copy p {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  max-width: 52ch;
}
.patterns-rows {
  display: grid;
  gap: 10px;
}
.patterns-rows .tp-row {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(45, 45, 45, 0.04);
  border-radius: 18px;
  padding: 16px 20px;
}

/* --- Pricing: removed (already deleted from index.html) - keep card variation --- */

/* --- Vary card radii so not everything is 26px --- */
.faq-item { border-radius: 14px; }
.privacy-card { border-radius: 32px; }
.report-card { border-radius: 24px; }
.med-notif { border-radius: 16px; }

/* --- Vet report: warmer gradient backdrop + nicer card border --- */
.section--vet {
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 50%, var(--cream) 100%),
    radial-gradient(50% 80% at 30% 30%, rgba(217, 104, 90, 0.06) 0%, transparent 70%);
}

/* --- Section heads: tighter eyebrow + more dramatic h2 --- */
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 56px);
  letter-spacing: -0.025em;
  font-weight: 500;
  line-height: 1.04;
  max-width: 22ch;
}
.col-text h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.025em;
  font-weight: 500;
  line-height: 1.05;
}

/* --- Eyebrow refined: tighter padding + sharper feel --- */
.eyebrow {
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  border: 1px solid rgba(217, 104, 90, 0.20);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.eyebrow .dot {
  width: 6px; height: 6px;
}

/* Eyebrow color variants, used sparingly to break coral monotony.
   Brand coral stays primary; these are subordinate accent moods. */
.eyebrow.eyebrow--green {
  color: #4F6A30;
  border-color: rgba(79, 106, 48, 0.45);
  background: rgba(168, 201, 123, 0.38);
}
.eyebrow.eyebrow--green .dot { background: #4F6A30; }

.eyebrow.eyebrow--amber {
  color: #B5743A;
  border-color: rgba(224, 165, 108, 0.32);
  background: rgba(224, 165, 108, 0.20);
}
.eyebrow.eyebrow--amber .dot { background: #B5743A; }

/* --- Final CTA: deeper gradient + character --- */
.cta-final {
  background:
    radial-gradient(80% 100% at 20% 0%, rgba(255, 200, 180, 0.30) 0%, transparent 60%),
    linear-gradient(135deg, #D9685A 0%, #A04A3E 100%);
}
.cta-final h2 {
  font-size: clamp(32px, 5vw, 60px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  font-weight: 500;
}

/* --- Mobile: ease back tilt + smaller display type --- */
@media (max-width: 880px) {
  .phone.phone--lg {
    transform: none;
  }
  .hero h1 {
    font-size: clamp(40px, 9vw, 64px);
    letter-spacing: -0.028em;
  }
  .patterns-anchor-num {
    font-size: clamp(120px, 30vw, 180px);
  }
}

/* --- Mobile phone mockup: bigger frame, fewer cards, more breathing room
   Operator feedback May 17: the cramped 5-card stack on mobile read as
   "gestaucht" (squashed). The real iOS app shows each card with generous
   spacing. We mirror that by hiding the lower-priority cards (walks +
   weight) and giving the remaining hero cards (score + trend + medication)
   bigger padding, larger numbers, and a wider phone frame.
   ---------------------------------------------------------------------- */
@media (max-width: 760px) {
  /* Phone occupies more of the viewport so the cards inside look closer to
     iPhone real-pixel proportions, not a thumbnail. */
  .phone.phone--lg {
    --phone-w: min(94vw, 380px);
    border-radius: 46px;
    padding: 11px;
  }
  .phone-screen {
    border-radius: 36px;
  }
  /* Hide the two least-priority cards on mobile so the hero cards breathe.
     They remain visible on tablet/desktop where vertical space is fine. */
  .phone .walks-card,
  .phone .weight-card {
    display: none;
  }
  /* App-top: tighter so 3 hero cards (score, trend, medication) all fit
     above the bottom nav inside the 9:19.5 aspect frame. */
  .phone .app-top {
    padding: 38px 20px 18px;
  }
  .phone .app-top-row {
    margin-bottom: 10px;
  }
  .phone .app-brand {
    font-size: 21px;
  }
  .phone .app-hero {
    gap: 11px;
    margin-bottom: 12px;
  }
  .phone .greet-sub {
    font-size: 13px;
  }
  .phone .greet-name {
    font-size: 30px;
    line-height: 1.0;
    margin-top: 2px;
  }
  .phone .app-avatar {
    width: 62px;
    height: 62px;
    border-width: 2.5px;
  }
  .phone .app-cta {
    padding: 13px;
    font-size: 14.5px;
  }
  /* Cards: just enough padding to feel app-like, not crammed. */
  .phone .app-body {
    padding: 14px 12px 76px;
    gap: 11px;
  }
  .phone .app-card {
    padding: 14px;
    border-radius: 18px;
  }
  /* Score card: bigger ring + bigger Fraunces "Good Today" headline. */
  .phone .score-card {
    padding: 14px;
    gap: 14px;
  }
  .phone .score-card .ring {
    width: 74px;
    height: 74px;
  }
  .phone .score-card .ring-num {
    font-size: 24px;
  }
  .phone .score-card .score-label {
    font-size: 11px;
  }
  .phone .score-card .score-state {
    font-size: 23px;
    line-height: 1.05;
  }
  .phone .score-card .score-note {
    font-size: 12.5px;
    line-height: 1.3;
  }
  .phone .score-card .score-foot {
    font-size: 11px;
    margin-top: 7px;
    padding-top: 7px;
  }
  /* Trend mini chart: taller bars + bigger Fraunces meta. */
  .phone .trend-card-mini {
    padding: 14px 14px 10px;
  }
  .phone .tc-bars {
    height: 64px;
  }
  .phone .tc-meta-title {
    font-size: 16px;
  }
  .phone .tc-meta-sub {
    font-size: 11px;
  }
  .phone .tc-axis {
    font-size: 10px;
    padding-right: 74px;
  }
  /* Medication card: slightly bigger title + larger time. */
  .phone .med-card-mini {
    padding: 14px;
  }
  .phone .mc-title {
    font-size: 16px;
  }
  .phone .mc-emoji {
    font-size: 20px;
  }
  .phone .mc-dose-name {
    font-size: 15px;
  }
  .phone .mc-time {
    font-size: 16px;
  }
  /* Bottom nav: tighter on mobile to leave more card room. */
  .phone .app-nav {
    padding: 9px 4px;
  }
  .phone .nav-tab {
    font-size: 9px;
    gap: 3px;
  }
  .phone .nav-tab .nav-svg {
    width: 18px;
    height: 18px;
  }
}

/* Tablet sweet-spot: keep all 5 cards visible but with slightly bigger
   sizes so they still feel app-like, not crammed. */
@media (min-width: 760px) and (max-width: 980px) {
  .phone.phone--lg {
    --phone-w: 360px;
  }
}

/* ---------- Card hover polish ----------
   Subtle lift + shadow bloom on real marketing cards.
   Mirrors the Linear / Stripe convention. Skipped on touch devices
   to avoid stuck hover state after tap. */
@media (hover: hover) and (pointer: fine) {
  .pricing-plan,
  .report-card,
  .privacy-card {
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 220ms ease;
    will-change: transform;
  }
  .pricing-plan:hover,
  .report-card:hover,
  .privacy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 6px rgba(45, 31, 24, 0.06),
                0 28px 70px -24px rgba(45, 31, 24, 0.28);
  }
  .pricing-plan--featured:hover {
    box-shadow: 0 2px 6px rgba(45, 31, 24, 0.06),
                0 28px 70px -24px rgba(217, 104, 90, 0.32);
  }
}

/* ---------- Search landing articles ----------
   Static SEO pages should feel like Buddylio product pages, not unstyled
   documents. These rules also give Google a visible, crawlable image near
   the top of comparison pages. */
.static-doc {
  padding: clamp(44px, 6vw, 88px) 0;
}
.static-doc .lead {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.42;
  max-width: 68ch;
  margin: 12px 0 18px;
}
.static-doc h1,
.static-doc h2,
.static-doc h3 {
  letter-spacing: 0;
}
.static-doc h1 {
  font-size: clamp(42px, 6vw, 76px);
  max-width: 12ch;
  margin-bottom: 14px;
}
.static-doc h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 34px 0 10px;
}
.static-doc h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 20px 0 8px;
}
.static-doc p,
.static-doc li {
  max-width: 76ch;
}
.static-doc a {
  color: var(--coral-deep);
  font-weight: 700;
}
.static-list {
  display: grid;
  gap: 8px;
  padding-left: 1.1em;
  color: var(--ink-soft);
}
.static-meta {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-mute);
}

.article-page {
  --article-ink: #22312d;
  --article-soft: #52615d;
  --article-green: #233d35;
  --article-mint: #dfe9e5;
  --article-paper: #fffaf2;
  --article-coral: #d9685a;
  color: var(--article-ink);
  background:
    radial-gradient(780px 540px at 100% 4%, rgba(126, 169, 167, 0.24), transparent 60%),
    radial-gradient(620px 480px at 0% 74%, rgba(217, 104, 90, 0.12), transparent 62%),
    linear-gradient(180deg, #f8f2ea 0%, #eef4f0 46%, #f7efe7 100%);
}
.article-page h1,
.article-page h2,
.article-page h3 {
  letter-spacing: 0;
}
.comparison-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(42px, 6vw, 76px);
}
.comparison-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -34% 50%;
  height: 320px;
  background: rgba(35, 61, 53, 0.10);
  transform: rotate(-6deg);
  pointer-events: none;
}
.comparison-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
}
.article-kicker {
  margin: 0 0 18px;
  color: var(--article-coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}
.comparison-copy h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--article-ink);
  font-size: clamp(43px, 5.6vw, 78px);
  line-height: 1.04;
}
.article-lead {
  max-width: 58ch;
  margin: 24px 0 0;
  color: var(--article-soft);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.48;
}
.search-answer {
  max-width: 62ch;
  margin: 22px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--article-coral);
  background: rgba(255, 255, 255, 0.56);
  color: var(--article-soft);
  font-size: 17px;
  line-height: 1.5;
}
.search-answer strong {
  color: var(--article-ink);
}
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.article-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--article-coral);
  border-radius: 8px;
  background: var(--article-coral);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 14px 30px rgba(154, 76, 64, 0.18);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.article-button:hover {
  background: var(--coral-deep);
  border-color: var(--coral-deep);
  color: var(--white);
  transform: translateY(-1px);
}
.article-button-secondary {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(35, 49, 45, 0.16);
  color: var(--article-ink);
  box-shadow: none;
}
.article-button-secondary:hover {
  background: var(--white);
  border-color: rgba(35, 49, 45, 0.24);
  color: var(--article-ink);
}
.comparison-visual-frame {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(35, 49, 45, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 70px -34px rgba(35, 49, 45, 0.34);
}
.comparison-visual-frame img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: 6px;
}
.comparison-visual-frame figcaption {
  margin: 10px 2px 2px;
  color: var(--article-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.comparison-band {
  padding: clamp(44px, 6vw, 82px) 0;
  background: var(--article-green);
}
.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}
.comparison-column {
  min-height: 100%;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.94);
}
.comparison-column h2 {
  max-width: 11ch;
  margin: 0 0 18px;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04;
}
.column-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--article-coral);
}
.comparison-column ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.1em;
  color: var(--article-soft);
}
.comparison-column li {
  padding-left: 2px;
}
.buddylio-column {
  background: #f5fbf7;
}
.buddylio-column h2 {
  color: var(--article-green);
}
.article-section,
.signal-section,
.article-faq-section {
  padding: clamp(56px, 7vw, 96px) 0;
}
.article-section-tight {
  padding-top: clamp(34px, 5vw, 68px);
}
.article-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}
.article-two-column h2,
.section-heading h2,
.article-faq h2,
.article-cta-inner h2 {
  margin: 0;
  color: var(--article-ink);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.06;
  max-width: 12ch;
}
.article-copy {
  display: grid;
  gap: 18px;
}
.article-copy p {
  margin: 0;
  color: var(--article-soft);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.56;
}
.article-copy strong {
  color: var(--article-ink);
}
.section-heading {
  max-width: 780px;
  margin-bottom: clamp(26px, 4vw, 44px);
}
.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.signal-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(35, 49, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 18px 44px -30px rgba(35, 49, 45, 0.32);
}
.signal-card span {
  display: block;
  margin-bottom: 24px;
  color: var(--article-coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}
.signal-card h3 {
  margin: 0 0 10px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.18;
  color: var(--article-ink);
}
.signal-card p {
  margin: 0;
  color: var(--article-soft);
  font-size: 16px;
  line-height: 1.46;
}
.article-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-list article {
  padding: 22px;
  border: 1px solid rgba(35, 49, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.70);
}
.faq-list h3 {
  margin: 0 0 8px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.22;
}
.faq-list p {
  margin: 0;
  color: var(--article-soft);
  font-size: 16px;
}
.article-cta-strip {
  padding: clamp(42px, 6vw, 72px) 0;
  background:
    linear-gradient(135deg, rgba(35, 61, 53, 0.96), rgba(51, 83, 76, 0.96)),
    var(--article-green);
}
.article-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.article-cta-inner .article-kicker {
  color: #f2b3a8;
}
.article-cta-inner h2 {
  max-width: 13ch;
  color: var(--white);
}
.article-meta {
  margin-bottom: 44px;
}
.article-meta a {
  color: var(--coral-deep);
  font-weight: 800;
}

@media (max-width: 960px) {
  .comparison-hero-grid,
  .article-two-column,
  .article-faq {
    grid-template-columns: 1fr;
  }
  .comparison-copy h1 {
    max-width: 12ch;
  }
  .comparison-visual-frame {
    max-width: 760px;
  }
  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .comparison-hero {
    padding-top: 36px;
  }
  .comparison-hero-grid {
    display: block;
  }
  .comparison-copy,
  .comparison-visual-frame {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .comparison-copy h1 {
    max-width: 100%;
    font-size: clamp(38px, 10.8vw, 50px);
    overflow-wrap: anywhere;
  }
  .article-lead {
    font-size: 18px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .search-answer {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .comparison-visual-frame {
    margin-top: 30px;
  }
  .comparison-table,
  .signal-grid {
    grid-template-columns: 1fr;
  }
  .article-actions,
  .article-cta-inner {
    align-items: stretch;
    flex-direction: column;
  }
  .article-button {
    width: 100%;
  }
  .signal-card {
    min-height: 0;
  }
}
