/* ============================================================
   CANINE INSIGHTS — DESIGN SYSTEM
   canineinsights.app
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Brand */
  --bg:           #F0EDE8;
  --bg-card:      #FFFFFF;
  --bg-subtle:    #F7F5F1;
  --navy:         #2D3142;
  --navy-deep:    #1E2235;
  --teal:         #3DBFBF;
  --teal-dark:    #2EA5A5;
  --teal-pale:    #E8F7F7;
  --teal-mid:     #C0E8E8;
  --green:        #4CAF72;
  --green-pale:   #EAF6EE;
  --amber:        #F5A623;
  --amber-pale:   #FEF5E7;
  --red:          #E8513A;
  --muted:        #7A7D8C;
  --muted-light:  #A8AABB;

  /* Layout */
  --max-w:        1080px;
  --page-px:      clamp(20px, 5vw, 60px);

  /* Borders */
  --border:       rgba(45,49,66,0.09);
  --border-md:    rgba(45,49,66,0.14);
  --border-strong:rgba(45,49,66,0.22);

  /* Radius */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-pill:100px;

  /* Type */
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(45,49,66,0.06), 0 1px 2px rgba(45,49,66,0.04);
  --shadow-md: 0 4px 16px rgba(45,49,66,0.08), 0 1px 4px rgba(45,49,66,0.04);
  --shadow-lg: 0 8px 32px rgba(45,49,66,0.10), 0 2px 8px rgba(45,49,66,0.05);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ── BASE ───────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.6;
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-px);
}

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 112px 0; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
}

h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.5px; }
h2 { font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.3px; }
h3 { font-size: 20px; }
h4 { font-size: 16px; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 12px;
}

.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  transition: all 0.18s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--teal);
  color: #fff;
}
.btn--primary:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(61,191,191,0.35); }
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
}
.btn--outline:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }

.btn--ghost {
  background: transparent;
  color: var(--muted);
  padding-left: 0;
  padding-right: 0;
}
.btn--ghost:hover { color: var(--navy); }

.btn--dark {
  background: var(--navy);
  color: #fff;
}
.btn--dark:hover { background: var(--navy-deep); transform: translateY(-1px); }

.btn--sm { font-size: 13px; padding: 9px 18px; }
.btn--lg { font-size: 17px; padding: 16px 36px; }

/* ── BADGES ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: var(--r-pill);
}
.badge--teal  { background: var(--teal-pale);  color: var(--teal);  border: 0.5px solid rgba(61,191,191,0.3); }
.badge--green { background: var(--green-pale); color: var(--green); border: 0.5px solid rgba(76,175,114,0.3); }
.badge--amber { background: var(--amber-pale); color: var(--amber); border: 0.5px solid rgba(245,166,35,0.3); }
.badge--navy  { background: rgba(45,49,66,0.08); color: var(--navy); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ── CARDS ───────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 0.5px solid var(--border-md);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(61,191,191,0.3);
}

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240,237,232,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border-md);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-px);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 32px;
  height: 32px;
  background: var(--teal);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__logo-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--navy);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  font-size: 14px;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}
.nav__links a:hover { color: var(--navy); background: rgba(45,49,66,0.05); }
.nav__links a.active { color: var(--teal); font-weight: 500; }
.nav__cta { margin-left: 8px; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.2s; }
.nav__mobile { display: none; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  padding: 88px 0 72px;
  text-align: center;
}
.hero__badge { margin-bottom: 28px; }
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 6.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 auto 20px;
  max-width: 780px;
}
.hero__headline em {
  font-style: italic;
  color: var(--teal);
}
.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 40px;
}
.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__trust-check {
  width: 16px;
  height: 16px;
  background: var(--teal-pale);
  border: 1px solid rgba(61,191,191,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__trust-check::after {
  content: '';
  display: block;
  width: 6px;
  height: 3.5px;
  border-left: 1.5px solid var(--teal);
  border-bottom: 1.5px solid var(--teal);
  transform: rotate(-45deg) translateY(-1px);
}

/* ── APP MOCKUP ─────────────────────────────────────────────── */
.mockup-wrap {
  margin: 0 auto 80px;
  max-width: 600px;
  position: relative;
}
.mockup-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at 50% 60%, rgba(61,191,191,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.mockup {
  background: #fff;
  border: 0.5px solid var(--border-strong);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.5) inset;
  position: relative;
}
.mockup__bar {
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup__dot { width: 9px; height: 9px; border-radius: 50%; }
.mockup__bar-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 auto;
}
.mockup__body { padding: 20px; }

/* Recovery Ring */
.recovery-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 18px;
  padding: 28px 20px 20px;
  text-align: center;
  margin-bottom: 14px;
}
.ring-wrap { position: relative; width: 110px; height: 110px; margin: 0 auto 14px; }
.ring-wrap svg { width: 110px; height: 110px; transform: rotate(-90deg); }
.ring-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
}
.ring-num { font-size: 32px; font-weight: 700; color: var(--navy); line-height: 1; }
.ring-pct { font-size: 13px; color: var(--muted); }
.recovery-label { font-size: 14px; color: var(--muted); margin-bottom: 8px; }

.metrics { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.metric {
  background: var(--bg-subtle);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}
.metric__icon { font-size: 18px; line-height: 1; margin-bottom: 6px; }
.metric__val { font-size: 18px; font-weight: 700; line-height: 1; }
.metric__val sup { font-size: 11px; font-weight: 500; }
.metric__name { font-size: 11px; color: var(--muted); margin-top: 3px; }
.metric--teal  .metric__val { color: var(--teal); }
.metric--amber .metric__val { color: var(--amber); }
.metric--green .metric__val { color: var(--green); }

.insight-box {
  background: var(--teal-pale);
  border: 0.5px solid rgba(61,191,191,0.22);
  border-radius: 12px;
  padding: 14px 16px;
}
.insight-box__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 5px;
}
.insight-box__text { font-size: 13px; color: var(--navy); line-height: 1.55; }

/* ── PROBLEM GRID ───────────────────────────────────────────── */
.problems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.problem-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border-md);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.problem-card:hover {
  border-color: rgba(61,191,191,0.4);
  background: var(--teal-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.problem-card__icon {
  width: 40px; height: 40px;
  background: var(--amber-pale);
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.problem-card__name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.problem-card__desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── FEATURES DARK ──────────────────────────────────────────── */
.features-dark {
  background: var(--navy-deep);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  margin: 0 0 80px;
}
.features-dark .eyebrow { color: var(--teal); }
.features-dark .display-md { color: #fff; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.feat-card {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.09);
  border-radius: var(--r-md);
  padding: 22px;
  transition: background 0.18s;
}
.feat-card:hover { background: rgba(255,255,255,0.08); }
.feat-card__num { font-size: 11px; font-weight: 600; color: var(--teal); letter-spacing: 0.8px; margin-bottom: 10px; }
.feat-card__name { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.feat-card__desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ── HOW IT WORKS ───────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 48px; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 17px; left: calc(100%/6);
  width: calc(100% - 100%/3);
  height: 1px;
  background: var(--border-strong);
}
.step__num {
  width: 34px; height: 34px;
  background: var(--teal-pale);
  border: 1px solid rgba(61,191,191,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--teal);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--bg);
}
.step__name { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.step__desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── SCIENCE BAND ───────────────────────────────────────────── */
.science-band {
  background: var(--green-pale);
  border: 0.5px solid rgba(76,175,114,0.2);
  border-radius: var(--r-xl);
  padding: 36px 40px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.science-band__icon {
  width: 50px; height: 50px;
  background: var(--green);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.science-band__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.science-band__body { font-size: 14px; color: var(--muted); line-height: 1.7; }
.science-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.science-pill {
  font-size: 11px; font-weight: 500;
  color: var(--green);
  background: #fff;
  border: 0.5px solid rgba(76,175,114,0.3);
  border-radius: var(--r-pill);
  padding: 4px 11px;
}

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.testi {
  background: var(--bg-card);
  border: 0.5px solid var(--border-md);
  border-radius: var(--r-lg);
  padding: 24px;
}
.testi__stars { color: var(--amber); font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.testi__quote { font-size: 14px; color: var(--navy); line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.testi__author { display: flex; align-items: center; gap: 10px; }
.testi__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal-pale);
  border: 1px solid rgba(61,191,191,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--teal);
  flex-shrink: 0;
}
.testi__name { font-size: 13px; font-weight: 600; }
.testi__dog { font-size: 12px; color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list {
  border: 0.5px solid var(--border-md);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-item { background: var(--bg-card); border-bottom: 0.5px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--navy);
  transition: background 0.15s;
  user-select: none;
}
.faq-q:hover { background: var(--teal-pale); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-pale);
  border: 1px solid rgba(61,191,191,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 14px; font-weight: 400;
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  font-size: 14px; color: var(--muted); line-height: 1.7;
  padding: 0 24px 20px;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ── CTA SECTION ─────────────────────────────────────────────── */
.cta-block {
  background: var(--navy-deep);
  border-radius: var(--r-xl);
  padding: 72px 60px;
  text-align: center;
}
.cta-block .display-md { color: #fff; max-width: 520px; margin: 0 auto 14px; }
.cta-block p { color: rgba(255,255,255,0.45); font-size: 15px; margin-bottom: 36px; }
.cta-block__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn--teal-light {
  background: var(--teal);
  color: #fff;
}
.btn--teal-light:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(61,191,191,0.4); }

/* ── INLINE CTA BAND ─────────────────────────────────────────── */
.cta-band {
  background: var(--teal-pale);
  border: 0.5px solid rgba(61,191,191,0.25);
  border-radius: var(--r-xl);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.cta-band p { font-size: 14px; color: var(--muted); }

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0;
}
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb__sep { color: var(--muted-light); }
.breadcrumb__current { color: var(--navy); font-weight: 500; }

/* ── BLOG GRID ───────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.blog-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border-md);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.2s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(61,191,191,0.3); }
.blog-card__img {
  height: 160px;
  background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  border-bottom: 0.5px solid var(--border);
}
.blog-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card__tag { font-size: 11px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 8px; }
.blog-card__title { font-size: 15px; font-weight: 600; line-height: 1.35; margin-bottom: 8px; color: var(--navy); }
.blog-card__excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; flex: 1; }
.blog-card__meta { font-size: 12px; color: var(--muted-light); margin-top: 14px; padding-top: 12px; border-top: 0.5px solid var(--border); }

/* ── ARTICLE ─────────────────────────────────────────────────── */
.article-header { padding: 48px 0 40px; }
.article-body {
  max-width: 720px;
  margin: 0 auto;
}
.article-body h2 { font-size: 22px; font-weight: 700; margin: 40px 0 14px; color: var(--navy); }
.article-body h3 { font-size: 18px; font-weight: 600; margin: 28px 0 10px; }
.article-body p { font-size: 16px; line-height: 1.8; color: #3D4052; margin-bottom: 20px; }
.article-body ul { margin: 0 0 20px 20px; list-style: disc; }
.article-body ul li { font-size: 16px; line-height: 1.7; color: #3D4052; margin-bottom: 6px; }
.article-body strong { color: var(--navy); font-weight: 600; }
.article-callout {
  background: var(--teal-pale);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.65;
}
.article-references {
  background: var(--bg-subtle);
  border: 0.5px solid var(--border-md);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-top: 40px;
}
.article-references h4 { font-size: 13px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); }
.article-references p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 4px; }
.article-disclaimer {
  font-size: 12px;
  color: var(--muted);
  background: var(--amber-pale);
  border: 0.5px solid rgba(245,166,35,0.2);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  margin-top: 16px;
}

/* ── TOOL UI ─────────────────────────────────────────────────── */
.tool-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border-md);
  border-radius: var(--r-xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
}
.tool-q { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.tool-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.tool-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1.5px solid var(--border-md);
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.15s;
  background: transparent;
  color: var(--navy);
  text-align: left;
}
.tool-option:hover { border-color: var(--teal); background: var(--teal-pale); }
.tool-option.selected { border-color: var(--teal); background: var(--teal-pale); color: var(--navy); }
.tool-option input[type=radio] { accent-color: var(--teal); }
.tool-result {
  background: var(--navy-deep);
  border-radius: var(--r-lg);
  padding: 28px;
  color: #fff;
  display: none;
}
.tool-result.show { display: block; }
.tool-result__score { font-size: 48px; font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 8px; }
.tool-result__label { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.tool-result__recs { list-style: none; }
.tool-result__recs li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.85);
  padding: 10px 0; border-bottom: 0.5px solid rgba(255,255,255,0.08);
  line-height: 1.5;
}
.tool-result__recs li:last-child { border-bottom: none; }
.tool-result__recs li::before { content: '→'; color: var(--teal); flex-shrink: 0; font-weight: 600; }
.progress-bar { height: 5px; background: rgba(255,255,255,0.1); border-radius: 3px; margin: 16px 0; }
.progress-fill { height: 100%; border-radius: 3px; background: var(--teal); transition: width 0.6s var(--ease-out); }

/* ── PRICING ─────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 48px; align-items: start; }
.price-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border-md);
  border-radius: var(--r-xl);
  padding: 28px;
  position: relative;
}
.price-card--featured {
  background: var(--navy-deep);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.price-card--featured * { color: #fff !important; }
.price-card--featured .price-card__feature { border-color: rgba(255,255,255,0.1) !important; }
.price-card__popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: var(--r-pill); letter-spacing: 0.3px;
}
.price-card__name { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.price-card__amount { font-size: 44px; font-weight: 700; letter-spacing: -2px; line-height: 1; color: var(--navy); margin-bottom: 4px; }
.price-card__amount span { font-size: 18px; font-weight: 400; letter-spacing: 0; }
.price-card__period { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.price-card__features { border-top: 0.5px solid var(--border); padding-top: 20px; }
.price-card__feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; padding: 8px 0;
  border-bottom: 0.5px solid var(--border);
  color: var(--navy);
}
.price-card__feature:last-child { border-bottom: none; }
.feat-check { width: 16px; height: 16px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feat-check::after { content: ''; display: block; width: 5px; height: 3px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg) translateY(-1px); }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  margin-top: 80px;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px var(--page-px) 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand p { font-size: 14px; line-height: 1.7; margin-top: 12px; max-width: 260px; }
.footer__logo { display: flex; align-items: center; gap: 9px; }
.footer__logo-mark { width: 28px; height: 28px; background: var(--teal); border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.footer__logo-name { font-size: 15px; font-weight: 700; color: #fff; }
.footer__col-title { font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer__links a:hover { color: var(--teal); }
.footer__bottom {
  border-top: 0.5px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer__legal a:hover { color: var(--teal); }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { opacity: 0; }
.animate.in { animation: fadeUp 0.55s var(--ease-out) forwards; }
.animate[data-delay="1"] { animation-delay: 0.08s; }
.animate[data-delay="2"] { animation-delay: 0.16s; }
.animate[data-delay="3"] { animation-delay: 0.24s; }
.animate[data-delay="4"] { animation-delay: 0.32s; }
.animate[data-delay="5"] { animation-delay: 0.40s; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
/* ── TABLET ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .features-dark { padding: 36px 24px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

/* ── MOBILE ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --page-px: 16px; }

  /* Nav */
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile.open { display: block; padding: 16px var(--page-px); background: rgba(240,237,232,0.98); border-top: 0.5px solid var(--border-md); }
  .nav__mobile a { display: block; font-size: 16px; padding: 12px 0; border-bottom: 0.5px solid var(--border); color: var(--navy); }

  /* Hero */
  .hero { padding: 40px 0 36px; }
  .hero__headline { font-size: clamp(28px, 8vw, 42px); }
  .hero__sub { font-size: 15px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { text-align: center; justify-content: center; }
  .hero__trust { gap: 12px; font-size: 12px; }

  /* Sections */
  .section { padding: 44px 0; }
  .section--sm { padding: 28px 0; }
  .section--lg { padding: 64px 0; }

  /* Grids → single column */
  .problems { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { display: none; }
  .blog-grid { grid-template-columns: 1fr; }

  /* Features dark block */
  .features-dark { padding: 28px 20px; }

  /* Science + CTA bands */
  .science-band { flex-direction: column; padding: 24px 20px; }
  .cta-band { flex-direction: column; text-align: center; padding: 24px 20px; }
  .cta-band .btn { width: 100%; justify-content: center; }
  .cta-block { padding: 40px 20px; }
  .cta-block__btns { flex-direction: column; align-items: stretch; }
  .cta-block__btns .btn { text-align: center; justify-content: center; }

  /* Cards */
  .card { padding: 16px; }
  .tool-card { padding: 20px 16px; }
  .pricing-grid { grid-template-columns: 1fr; }

  /* Article */
  .article-body h2 { font-size: 19px; }
  .article-body p, .article-body ul li { font-size: 15px; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer__inner { padding: 40px var(--page-px) 28px; }

  /* Mockup phone — scale down */
  .mockup-wrap { max-width: 100%; }

  /* Display headings scale */
  .display-xl { font-size: clamp(30px, 9vw, 52px); }
  .display-lg { font-size: clamp(24px, 7vw, 40px); }
  .display-md { font-size: clamp(20px, 6vw, 32px); }

  /* Breadcrumb */
  .breadcrumb { font-size: 12px; flex-wrap: wrap; }
  .breadcrumb__current { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* FAQ */
  .faq-q { font-size: 14px; padding: 16px; }
  .faq-a { font-size: 13px; padding: 0 16px 16px; }

  /* Inline two-column grids via utility class */
  .mobile-stack { grid-template-columns: 1fr !important; flex-direction: column !important; }
  .mobile-stack > * { min-width: unset !important; max-width: 100% !important; }
}
