/* =============================================
   DoseFlo Marketing Site — styles.css
   Brand: #1E5B4F (primary), #E38B5B (accent), #F3EFE7 (bg)
   ============================================= */

:root {
  --primary:       #1E5B4F;
  --primary-soft:  #DDEDE8;
  --primary-light: #E8F5F2;
  --accent:        #E38B5B;
  --accent-dark:   #c9703f;
  --bg:            #F3EFE7;
  --surface:       #FFFDF9;
  --text:          #1F2933;
  --text-muted:    #52606D;
  --text-secondary:#616E7C;
  --border:        #D9E2EC;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.06);
  --shadow-md:     0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.12);
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max:           1160px;
  --nav-h:         68px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
p  { font-size: 1rem; color: var(--text-muted); line-height: 1.75; }

/* ── Layout helpers ── */
.container  { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  border: none; transition: all .2s ease;
  white-space: nowrap; text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(227,139,91,.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(227,139,91,.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
}
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 18px 36px; font-size: 1.0625rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 50px;
  font-size: 0.8125rem; font-weight: 600;
}
.badge-primary { background: var(--primary-soft); color: var(--primary); }
.badge-accent  { background: #FDE9D9; color: var(--accent-dark); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,253,249,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.125rem; color: var(--primary);
}
.nav__brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav__links {
  display: flex; align-items: center; gap: 8px;
}
.nav__links a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 0.9375rem; font-weight: 500; color: var(--text-muted);
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--primary); background: var(--primary-light); }
.nav__links a.active { color: var(--primary); font-weight: 600; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__hamburger { display: none; }

/* ── Hero ── */
.hero {
  background: linear-gradient(155deg, var(--primary) 0%, #2d7a6a 55%, #1a4d43 100%);
  color: #fff;
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 6px 14px; border-radius: 50px;
  font-size: 0.8125rem; font-weight: 600; color: rgba(255,255,255,.9);
  margin-bottom: 24px;
}
.hero__eyebrow span { color: var(--accent); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero__sub {
  font-size: 1.125rem; color: rgba(255,255,255,.8);
  line-height: 1.7; margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero__actions .btn-primary { background: var(--accent); }
.hero__actions .btn-outline {
  border-color: rgba(255,255,255,.4); color: #fff;
}
.hero__actions .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero__trust {
  display: flex; align-items: center; gap: 20px;
  font-size: 0.875rem; color: rgba(255,255,255,.65);
}
.hero__trust-item { display: flex; align-items: center; gap: 6px; }
.hero__trust-item svg { opacity: .8; }
.hero__visual {
  display: flex; justify-content: center; align-items: center;
}
.hero__phone-wrap {
  position: relative; display: inline-block;
}
.hero__phone-glow {
  position: absolute; inset: -30px;
  background: radial-gradient(ellipse at center, rgba(227,139,91,.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
/* Phone shell */
.hero__phone-shell {
  background: #1a1a1a;
  border-radius: 48px;
  padding: 14px 10px;
  box-shadow:
    0 0 0 1px #3a3a3a,
    0 30px 80px rgba(0,0,0,.45),
    0 0 0 8px #111;
  position: relative;
  width: 360px;
}
/* Side buttons */
.hero__phone-shell::before {
  content: '';
  position: absolute;
  left: -10px; top: 88px;
  width: 4px; height: 34px;
  background: #2a2a2a;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 44px 0 #2a2a2a, 0 80px 0 #2a2a2a;
}
.hero__phone-shell::after {
  content: '';
  position: absolute;
  right: -10px; top: 110px;
  width: 4px; height: 52px;
  background: #2a2a2a;
  border-radius: 0 2px 2px 0;
}
.hero__phone-card {
  background: var(--surface);
  border-radius: 36px;
  padding: 0 0 20px;
  overflow: hidden;
  position: relative;
}
.hero__phone-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.hero__phone-title { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.hero__phone-date  { font-size: 0.75rem; color: var(--text-muted); }
.hero__dose-card {
  background: var(--primary-light);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.hero__dose-name { font-size: 0.9375rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.hero__dose-time { font-size: 0.8125rem; color: var(--text-muted); }
.hero__dose-actions { display: flex; gap: 8px; margin-top: 12px; }
.hero__dose-btn {
  flex: 1; padding: 8px 0; border-radius: 8px;
  font-size: 0.75rem; font-weight: 600; text-align: center;
  cursor: pointer; border: none;
}
.hero__dose-btn--taken { background: var(--primary); color: #fff; }
.hero__dose-btn--skip  { background: var(--border); color: var(--text-muted); }
.hero__streak {
  display: flex; align-items: center; gap: 10px;
  background: #FDE9D9; border-radius: var(--radius);
  padding: 12px 14px;
}
.hero__streak-icon { font-size: 1.25rem; }
.hero__streak-label { font-size: 0.8125rem; font-weight: 600; color: var(--accent-dark); }
.hero__streak-sub   { font-size: 0.75rem; color: var(--text-muted); }

/* ── Phone UI — screenshot-accurate ── */
.hero__app-header {
  display: flex; align-items: center;
  padding: 16px 20px 14px; border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.hero__search-bar {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 50px; padding: 10px 16px;
  margin: 0 20px 18px;
}
.hero__section-label { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 3px; padding: 0 20px; }
.hero__section-sub   { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 12px; padding: 0 20px; }
.hero__next-dose-card {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface); border: 2px solid var(--primary);
  border-radius: 14px; padding: 14px 16px; margin: 0 20px 16px;
}
.hero__nd-name { font-size: 1rem; font-weight: 700; color: var(--text); }
.hero__nd-meta { font-size: 0.8125rem; color: var(--text-muted); margin-top: 2px; }
.hero__nd-time { font-size: 1.125rem; font-weight: 700; color: var(--primary); }
.hero__plan-actions { display: flex; gap: 10px; margin: 0 20px 14px; }
.hero__plan-btn {
  flex: 1; padding: 10px 0; border-radius: 10px;
  font-size: 0.875rem; font-weight: 600; text-align: center; cursor: pointer;
}
.hero__plan-btn--outline { background: var(--surface); border: 1.5px solid var(--primary); color: var(--primary); }
.hero__plan-btn--primary { background: var(--primary); border: none; color: #fff; }
.hero__med-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 16px; margin: 0 20px;
}
.hero__med-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 4px; }
.hero__med-name   { font-size: 1rem; font-weight: 700; color: var(--text); }
.hero__med-dose   { font-size: 0.8125rem; color: var(--text-muted); }
.hero__med-badge  { font-size: 0.8125rem; font-weight: 700; color: var(--text-muted); background: var(--bg); border-radius: 8px; padding: 3px 9px; }
.hero__med-note   { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 8px; }
.hero__med-progress-row { margin-bottom: 3px; }
.hero__med-bold   { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.hero__med-next   { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 10px; }
.hero__med-bar    { height: 5px; background: var(--border); border-radius: 99px; overflow: hidden; }
.hero__med-bar-fill { height: 100%; background: var(--primary); border-radius: 99px; }
.hero__tab-bar {
  display: flex; align-items: center; justify-content: space-around;
  border-top: 1px solid var(--border); padding: 12px 0 6px;
  margin: 20px 0 0; background: var(--surface);
}
.hero__tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 0.6875rem; font-weight: 500; color: var(--text-muted);
}
.hero__tab--active { color: var(--primary); }

/* ── Logos / Trust bar ── */
@keyframes trust-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
}
/* Desktop: centred, no scroll */
.trust-bar__track-wrap {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: center;
}
.trust-bar__track {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center;
}
.trust-bar__track [aria-hidden="true"] { display: none; }
.trust-bar__item  { font-size: 0.875rem; font-weight: 700; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; white-space: nowrap; }

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem; margin-bottom: 16px;
  background: var(--primary-light);
}
.feature-card__icon--accent { background: #FDE9D9; }
.feature-card h3 { margin-bottom: 8px; color: var(--text); }
.feature-card p  { font-size: 0.9375rem; }

/* ── How it works ── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: steps;
}
.how-step {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}
.how-step::before {
  counter-increment: steps;
  content: counter(steps);
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-weight: 800; font-size: 1.125rem;
  margin: 0 auto 20px;
}
.how-step h3 { margin-bottom: 8px; }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.plan-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: box-shadow .2s;
}
.plan-card--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.plan-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  padding: 4px 16px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.plan-card__name  { font-size: 0.875rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.plan-card__price { font-size: 2.5rem; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 4px; }
.plan-card__price sup { font-size: 1.25rem; vertical-align: top; margin-top: 8px; }
.plan-card__price sub { font-size: 0.875rem; color: var(--text-muted); font-weight: 400; }
.plan-card__billing { font-size: 0.875rem; color: var(--text-muted); margin: -12px 0 16px; }
.plan-card__desc  { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 28px; }
.plan-card__features { margin-bottom: 32px; }
.plan-card__feature {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-size: 0.9375rem; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.plan-card__feature:last-child { border-bottom: none; }
.plan-card__check { color: var(--primary); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.plan-card__check--muted { color: var(--border); }
.plan-card .btn { width: 100%; justify-content: center; }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-card__stars { color: #F59E0B; font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card__quote { font-size: 0.9375rem; color: var(--text); font-style: italic; line-height: 1.7; margin-bottom: 20px; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-soft); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem; color: var(--primary);
}
.testimonial-card__name   { font-weight: 600; font-size: 0.875rem; color: var(--text); }
.testimonial-card__handle { font-size: 0.8125rem; color: var(--text-muted); }

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #2d7a6a 100%);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p  { color: rgba(255,255,255,.75); margin-bottom: 36px; font-size: 1.0625rem; }
.cta-band .btn-primary { background: var(--accent); font-size: 1.0625rem; padding: 16px 36px; }
.cta-band .btn-ghost { color: rgba(255,255,255,.7); }
.cta-band .btn-ghost:hover { color: #fff; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; padding: 12px 22px; border-radius: 12px;
  font-weight: 600; font-size: 0.9375rem;
  transition: background .2s;
}
.store-badge:hover { background: rgba(255,255,255,.2); }
.store-badge svg { flex-shrink: 0; }

/* ── Section header ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .badge { margin-bottom: 14px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p  { max-width: 560px; margin: 0 auto; font-size: 1.0625rem; }

/* ── Footer ── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.65);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand img { width: 36px; height: 36px; border-radius: 8px; margin-bottom: 12px; }
.footer__brand-name { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer__brand p { font-size: 0.875rem; line-height: 1.7; max-width: 240px; }
.footer__col-title { font-size: 0.8125rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer__col a {
  display: block; font-size: 0.875rem;
  padding: 4px 0; color: rgba(255,255,255,.6);
  transition: color .15s;
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer__bottom p { font-size: 0.8125rem; margin: 0; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 0.8125rem; color: rgba(255,255,255,.5); transition: color .15s; }
.footer__legal a:hover { color: #fff; }

/* ── Inner page header ── */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, #2d7a6a 100%);
  color: #fff; padding: 80px 0 64px; text-align: center;
}
.page-header .badge { margin-bottom: 16px; background: rgba(255,255,255,.15); color: #fff; }
.page-header h1 { color: #fff; margin-bottom: 16px; }
.page-header p  { color: rgba(255,255,255,.75); font-size: 1.125rem; max-width: 560px; margin: 0 auto; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem; font-weight: 600; color: var(--text);
  gap: 16px;
}
.faq-question ion-icon.faq-icon { flex-shrink: 0; transition: transform .25s; color: var(--primary); }
.faq-item.open .faq-question ion-icon.faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }
.faq-answer p { margin: 0; }

/* ── Prose (privacy / terms) ── */
.prose {
  max-width: 760px; margin: 0 auto;
}
.prose h2 { margin: 48px 0 16px; color: var(--text); }
.prose h3 { margin: 32px 0 10px; color: var(--text); }
.prose p  { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 20px; list-style: disc; }
.prose ul li { margin-bottom: 6px; font-size: 1rem; color: var(--text-muted); }
.prose a { color: var(--primary); text-decoration: underline; }

/* ── Ionicons web component sizing ── */
ion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
  flex-shrink: 0;
}
.icon-sm  { font-size: 18px; }
.icon-md  { font-size: 22px; }
.icon-lg  { font-size: 28px; }
.icon-xl  { font-size: 36px; }
.icon-feature { font-size: 26px; color: var(--primary); }
.icon-feature--accent { font-size: 26px; color: var(--accent); }

/* ── Util ── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.color-primary { color: var(--primary); }
.color-accent  { color: var(--accent); }

/* ── Mobile menu ── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta .btn-outline { display: none; }
  .nav__hamburger {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
  }
  .nav__hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px; transition: all .2s;
  }
  .nav.open .nav__links {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px; gap: 4px; box-shadow: var(--shadow-md);
  }
  .nav.open .nav__links a { padding: 12px 14px; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__visual { display: flex; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero__phone-shell { width: 320px; }
}
@media (max-width: 600px) {
  /* Trust bar marquee on mobile */
  .trust-bar { padding: 14px 0; }
  .trust-bar__track-wrap { max-width: 100%; padding: 0; overflow: hidden; }
  .trust-bar__track {
    flex-wrap: nowrap; justify-content: flex-start; gap: 32px;
    animation: trust-marquee 18s linear infinite;
    width: max-content;
  }
  .trust-bar__track [aria-hidden="true"] { display: flex; }

  .section    { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
