/* ============================================================
   SOLVÉ — Brand v2
   Cormorant Garamond (display) · DM Sans (body)
   Navy + teal · light/dark themeable via [data-theme]
   Mobile-first, social-traffic optimized
   ============================================================ */

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

:root {
  /* ---------- BRAND CORE ---------- */
  /* Teal — primary */
  --teal-50:  #f0fbfb;
  --teal-100: #d8f4f4;
  --teal-200: #b8eaea;
  --teal-300: #7dd9d9;
  --teal-400: #36c5c5;
  --teal-500: #10b4b4;
  --teal-600: #0a8585;
  --teal-700: #0a6c6c;
  --teal-800: #0d5454;
  --teal-900: #08393a;

  /* Navy — brand dark */
  --navy:      #151929;
  --navy-2:    #1e2540;
  --navy-3:    #2a3147;
  --navy-deep: #0c0f1c;

  /* Cream / warm neutrals */
  --cream:     #f4f7f4;
  --cream-2:   #ecf0eb;
  --cream-3:   #e1e7df;
  --ivory:     #faf9f5;

  /* Text scale (light context) */
  --ink-0:  #0f1822;
  --ink-1:  #1c2530;
  --ink-2:  #2a3441;
  --ink-3:  #4a5560;
  --ink-4:  #6b7680;
  --ink-5:  #97a0a8;

  /* Surfaces (light) */
  --bg:        #fafbfa;
  --surface:   #ffffff;
  --line:      #e5e9e5;
  --line-soft: #eef2ee;

  /* Type */
  --display:  'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans:     'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:     ui-monospace, 'SF Mono', Menlo, monospace;

  /* Scale */
  --r-xs: 6px;  --r-sm: 10px;  --r: 14px;  --r-lg: 20px;  --r-xl: 28px;  --r-2xl: 36px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15,24,34,.04), 0 1px 1px rgba(15,24,34,.03);
  --shadow:    0 4px 14px rgba(15,24,34,.06), 0 1px 3px rgba(15,24,34,.04);
  --shadow-lg: 0 16px 48px rgba(16,180,180,.10), 0 4px 14px rgba(15,24,34,.06);
  --shadow-xl: 0 30px 80px rgba(16,180,180,.16), 0 10px 30px rgba(15,24,34,.10);
  --shadow-teal: 0 14px 38px rgba(16,180,180,.22);

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur:  .25s;
}

/* ---------- Theme variants ---------- */
[data-theme="dark"] {
  --bg:        var(--navy);
  --surface:   var(--navy-2);
  --line:      rgba(255,255,255,.08);
  --line-soft: rgba(255,255,255,.05);
  --ink-0: #ffffff;
  --ink-1: rgba(255,255,255,.92);
  --ink-2: rgba(255,255,255,.78);
  --ink-3: rgba(255,255,255,.64);
  --ink-4: rgba(255,255,255,.48);
  --ink-5: rgba(255,255,255,.34);
  --cream: var(--navy-deep);
  --cream-2: var(--navy-2);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink-1);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--teal-100); color: var(--teal-800); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

.container-narrow { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .container-narrow { padding: 0 32px; } }

.section { padding: 64px 0; }
@media (min-width: 720px) { .section { padding: 96px 0; } }
@media (min-width: 1024px) { .section { padding: 120px 0; } }

.section-tight { padding: 48px 0; }
@media (min-width: 720px) { .section-tight { padding: 72px 0; } }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 9vw, 88px);
  line-height: 1.02;
  letter-spacing: -.022em;
  color: var(--ink-0);
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--teal-600); font-weight: 400; }
[data-theme="dark"] .display em { color: var(--teal-300); }

h1, h2, h3, h4, h5 { font-family: var(--display); font-weight: 400; line-height: 1.15; color: var(--ink-0); text-wrap: balance; }
.section-title { font-family: var(--display); font-size: clamp(30px, 5.4vw, 54px); font-weight: 300; line-height: 1.05; letter-spacing: -.012em; color: var(--ink-0); text-wrap: balance; }
.section-title em { font-style: italic; color: var(--teal-600); font-weight: 400; }
[data-theme="dark"] .section-title em { color: var(--teal-300); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-600);
}
[data-theme="dark"] .eyebrow { color: var(--teal-300); }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.no-line::before { display: none; }

.lead {
  font-family: var(--sans);
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 60ch;
  text-wrap: pretty;
}

.tiny { font-size: 12px; letter-spacing: .04em; }
.muted { color: var(--ink-4); }
.serif-italic { font-family: var(--display); font-style: italic; font-weight: 400; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 14px; font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  white-space: nowrap;
  min-height: 48px;          /* mobile hit target */
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary { background: var(--teal-500); color: white; }
.btn-primary:hover { background: var(--teal-600); transform: translateY(-1px); box-shadow: var(--shadow-teal); }

.btn-dark { background: var(--navy); color: white; }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-1px); }

.btn-light { background: white; color: var(--navy); }
.btn-light:hover { background: var(--cream); transform: translateY(-1px); }

.btn-outline { background: transparent; border-color: var(--line); color: var(--ink-1); }
.btn-outline:hover { border-color: var(--teal-500); color: var(--teal-700); background: var(--teal-50); }
[data-theme="dark"] .btn-outline { border-color: rgba(255,255,255,.18); color: white; }
[data-theme="dark"] .btn-outline:hover { border-color: var(--teal-300); background: rgba(16,180,180,.08); color: var(--teal-300); }

.btn-ghost { background: transparent; color: var(--ink-1); }
.btn-ghost:hover { background: var(--cream); }

.btn-lg { padding: 17px 32px; font-size: 15px; min-height: 54px; }
.btn-sm { padding: 9px 16px; font-size: 13px; min-height: 38px; }

/* ============================================================
   PILLS, TAGS
   ============================================================ */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--teal-50); color: var(--teal-700);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.pill-dark { background: rgba(255,255,255,.08); color: var(--teal-300); }
.pill-outline { background: transparent; border: 1px solid var(--line); color: var(--ink-3); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ============================================================
   LOGO — brand-guidelines aligned
   Mark: hairline outlined double-line S in a square frame
   Wordmark: SOLVÉ all-caps Cormorant Garamond, generous tracking
   ============================================================ */
.solve-mark {
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}
.solve-mark svg { width: 100%; height: 100%; display: block; }
.solve-wordmark {
  font-family: var(--display);
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--ink-0);
  /* compensate trailing tracking visually */
  padding-left: .04em;
}

/* ============================================================
   TOP BAR (rotating announcement)
   ============================================================ */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.86);
  font-size: 12px;
  letter-spacing: .03em;
  padding: 9px 16px;
  display: flex; align-items: center; justify-content: center; gap: 24px;
  text-align: center;
}
.topbar strong { color: var(--teal-300); font-weight: 600; }
.topbar .sep { opacity: .35; display: none; }
@media (min-width: 720px) { .topbar .sep { display: inline; } }

/* ============================================================
   NAV — sticky, with dropdowns, mobile menu
   ============================================================ */
.nav-wrap {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250,251,250,.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
[data-theme="dark"] .nav-wrap {
  background: rgba(21,25,41,.86);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  max-width: 1320px; margin: 0 auto; padding: 0 16px;
}
@media (min-width: 720px) { .nav { height: 72px; padding: 0 32px; } }

.nav-left { display: flex; align-items: center; gap: 36px; }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; }
.nav-brand .solve-mark { width: 28px; height: 28px; }
.nav-brand .solve-wordmark { font-size: 16px; }
@media (min-width: 720px) {
  .nav-brand .solve-mark { width: 32px; height: 32px; }
  .nav-brand .solve-wordmark { font-size: 19px; }
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 2px;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .18s var(--ease);
}
.nav-link:hover, .nav-link.is-open { background: var(--cream); color: var(--teal-700); }
[data-theme="dark"] .nav-link { color: rgba(255,255,255,.78); }
[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.is-open { background: rgba(255,255,255,.06); color: var(--teal-300); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .2s; }
.nav-link.is-open .chev { transform: rotate(180deg); }

/* Solvé AI nav link — teal-colored to stand out */
.nav-link-ai { color: var(--teal-700) !important; font-weight: 600; }
.nav-link-ai:hover, .nav-link-ai.is-open { background: var(--teal-50) !important; color: var(--teal-800) !important; }
[data-theme="dark"] .nav-link-ai { color: var(--teal-300) !important; }
[data-theme="dark"] .nav-link-ai:hover, [data-theme="dark"] .nav-link-ai.is-open { background: rgba(16,180,180,.1) !important; color: var(--teal-200) !important; }
.nav-link-ai-tag {
  font-size: 9px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--teal-500); color: white;
  padding: 2px 6px; border-radius: 4px;
  margin-left: 4px;
}
.mm-link-ai { color: var(--teal-700) !important; display: flex !important; align-items: center; }

/* Dropdown panel */
.dropdown {
  position: absolute;
  top: 100%; left: 0;
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 12px;
  display: none;
  min-width: 320px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
}
[data-theme="dark"] .dropdown { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.nav-link.is-open .dropdown { display: block; opacity: 1; transform: translateY(0); }

.dropdown.dropdown-wide { min-width: 520px; }
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.dropdown.dropdown-wide .dropdown-grid { grid-template-columns: 1fr 1fr; }

.dd-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r);
  text-decoration: none;
  color: var(--ink-1);
  transition: background .15s;
}
.dd-item:hover { background: var(--cream); }
[data-theme="dark"] .dd-item:hover { background: rgba(255,255,255,.04); }
.dd-icon {
  width: 36px; height: 36px; border-radius: 10px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-50); color: var(--teal-700);
}
[data-theme="dark"] .dd-icon { background: rgba(16,180,180,.12); color: var(--teal-300); }
.dd-title { font-size: 14px; font-weight: 600; color: var(--ink-0); line-height: 1.2; }
.dd-sub { font-size: 12px; color: var(--ink-4); margin-top: 3px; line-height: 1.4; }
.dd-foot {
  margin-top: 8px; padding: 12px 14px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}
.dd-foot a { color: var(--teal-700); font-weight: 600; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2); transition: all .2s; position: relative;
  cursor: pointer;
}
.nav-icon-btn:hover { border-color: var(--teal-400); color: var(--teal-600); background: var(--teal-50); }
[data-theme="dark"] .nav-icon-btn { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.7); }
[data-theme="dark"] .nav-icon-btn:hover { border-color: var(--teal-400); color: var(--teal-300); background: rgba(16,180,180,.08); }
.nav-icon-btn svg { width: 16px; height: 16px; }
.nav-icon-btn .badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--teal-500); color: white;
  font-size: 10px; font-weight: 700; line-height: 1;
  padding: 3px 5px; border-radius: 999px; min-width: 16px; text-align: center;
}
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }

.nav-burger { display: inline-flex; }
@media (min-width: 1024px) { .nav-burger { display: none; } }

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.mobile-menu.open { pointer-events: auto; }
.mobile-menu-scrim {
  position: absolute; inset: 0;
  background: rgba(15,24,34,.45);
  opacity: 0;
  transition: opacity .3s;
}
.mobile-menu.open .mobile-menu-scrim { opacity: 1; }
.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(92vw, 380px);
  background: var(--surface);
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mm-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.mm-body { padding: 8px 12px; flex: 1; }
.mm-group { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.mm-group:last-child { border-bottom: none; }
.mm-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 12px;
  font-family: var(--sans); font-size: 16px; font-weight: 600;
  color: var(--ink-1);
  border-radius: var(--r);
}
.mm-toggle:hover { background: var(--cream); }
.mm-sub { display: none; padding: 4px 0 8px; }
.mm-group.open .mm-sub { display: block; }
.mm-group.open .mm-toggle .chev { transform: rotate(180deg); }
.mm-sub a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 28px;
  font-size: 14px; color: var(--ink-3);
  border-radius: var(--r);
}
.mm-sub a:hover { color: var(--teal-700); background: var(--cream); }
.mm-foot { padding: 16px 22px 28px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 10px; }
.mm-link { padding: 14px 12px; font-size: 16px; font-weight: 600; color: var(--ink-1); border-radius: var(--r); }
.mm-link:hover { background: var(--cream); color: var(--teal-700); }

/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */
.imgph {
  background: linear-gradient(135deg, var(--teal-100), var(--cream-2));
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
}
.imgph::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,.6), transparent 40%),
    radial-gradient(circle at 75% 75%, rgba(16,180,180,.18), transparent 50%);
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 20px 0;
}
[data-theme="dark"] .trust-strip { background: rgba(255,255,255,.02); }
.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  align-items: center;
}
@media (min-width: 720px) { .trust-row { grid-template-columns: repeat(5, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-3); }
.trust-item-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-600);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  line-height: 0;                /* kills baseline gap that pushes SVGs off-center */
}
.trust-item-icon svg { display: block; width: 16px; height: 16px; }
[data-theme="dark"] .trust-item-icon { background: rgba(16,180,180,.12); color: var(--teal-300); }
.trust-item strong { display: block; color: var(--ink-0); font-size: 13px; font-weight: 600; }
.trust-item > div > span,
.trust-item > span:not(.trust-item-icon) { display: block; font-size: 11px; color: var(--ink-4); }

/* ============================================================
   FOOTER — large multi-section (mypeptideprotocol.org style)
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 56px 0 28px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-500) 50%, transparent);
  opacity: .5;
}
.footer-cta {
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 64px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.footer-cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 600px 280px at 50% 0%, rgba(16,180,180,.22), transparent 60%);
}
.footer-cta-inner { position: relative; z-index: 1; }
.footer-cta h3 { font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(28px, 5vw, 44px); color: white; margin-bottom: 14px; }
.footer-cta p { color: rgba(255,255,255,.6); font-size: 15px; max-width: 480px; margin: 0 auto 24px; }
.footer-cta-form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; }
.footer-cta-form input {
  flex: 1; padding: 14px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-pill);
  color: white; font-size: 14px;
  outline: none;
}
.footer-cta-form input::placeholder { color: rgba(255,255,255,.4); }
.footer-cta-form input:focus { border-color: var(--teal-400); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.8fr repeat(4, 1fr); gap: 48px; } }

.footer-brand-col { max-width: 360px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .solve-mark { width: 32px; height: 32px; }
.footer-brand .solve-wordmark { font-size: 22px; color: white; letter-spacing: .22em; }
.footer-tag { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all .2s;
}
.footer-social a:hover { border-color: var(--teal-400); color: var(--teal-300); background: rgba(16,180,180,.08); }

.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.55); font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--teal-300); }
.footer-links .sub { font-size: 11px; color: rgba(255,255,255,.35); display: block; margin-top: 1px; }

.footer-disclaimer {
  margin-top: 32px;
  padding: 22px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r);
  font-size: 11px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}
.footer-disclaimer strong {
  color: var(--teal-300);
  display: block; margin-bottom: 6px;
  letter-spacing: .12em; text-transform: uppercase; font-size: 10px;
}

.footer-bottom {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 11px; color: rgba(255,255,255,.4);
}
@media (min-width: 720px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom-links a:hover { color: var(--teal-300); }

/* ============================================================
   SUBSCRIPTION PLAN CARDS — AG1/GRUNS-style 3-up
   ============================================================ */
.sub-plans-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 800px) {
  .sub-plans-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .sub-plans-grid > :nth-child(3) { grid-column: 1 / -1; }   /* stack subscription spans both */
}

/* When the stack card spans full width, give it a horizontal split */
@media (min-width: 800px) {
  .sub-plan.span-full { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
  .sub-plan.span-full .sub-plan-head { grid-column: 1; }
  .sub-plan.span-full .sub-plan-price { grid-column: 1; border-top: none; border-bottom: none; padding: 0; margin: 0; }
  .sub-plan.span-full .sub-plan-feat { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding-left: 32px; border-left: 1px solid var(--line-soft); }
  .sub-plan.span-full > a { grid-column: 1; margin-top: 8px; }
}

.sub-plan {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 26px 26px;
  position: relative;
  display: flex; flex-direction: column;
  transition: all .25s var(--ease);
}
.sub-plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal-200); }
.sub-plan.featured {
  border-color: var(--teal-500);
  border-width: 2px;
  background: linear-gradient(170deg, white, var(--teal-50) 140%);
  box-shadow: 0 30px 80px rgba(16,180,180,.16), 0 4px 16px rgba(15,24,34,.05);
  z-index: 1;
}
@media (min-width: 900px) {
  .sub-plan.featured { transform: scale(1.04); }
  .sub-plan.featured:hover { transform: scale(1.04) translateY(-3px); }
}
.sub-plan-ribbon {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--teal-500); color: white;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(16,180,180,.32);
}
.sub-plan-badge {
  display: inline-block;
  background: var(--teal-500); color: white;
  padding: 4px 12px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 14px;
  align-self: flex-start;
}
.sub-plan-badge-quiet { background: var(--cream); color: var(--ink-3); }
.sub-plan-head h3 {
  font-family: var(--display); font-weight: 400;
  font-size: 26px; line-height: 1.1;
  color: var(--ink-0);
  margin-bottom: 8px;
  letter-spacing: -.005em;
}
.sub-plan-head h3 em { font-style: italic; color: var(--teal-600); font-weight: 400; }
.sub-plan-head p { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; margin-bottom: 22px; }
.sub-plan-price {
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 20px;
}
.sub-plan-price-row { display: flex; align-items: baseline; gap: 10px; }
.sub-plan-price-amt {
  font-family: var(--display); font-weight: 500;
  font-size: 44px; line-height: 1;
  color: var(--ink-0);
}
.sub-plan-price-unit { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-4); margin-left: 2px; }
.sub-plan-price-strike { font-size: 17px; color: var(--ink-4); text-decoration: line-through; font-family: var(--sans); }
.sub-plan-price-meta { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.sub-plan-feat {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 9px;
  flex: 1;
}
.sub-plan-feat li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.5;
}
.sub-plan-feat li svg {
  width: 18px; height: 18px;
  color: var(--teal-600);
  background: var(--teal-50);
  border-radius: 50%; padding: 3px;
  flex-shrink: 0; margin-top: 1px;
}
.sub-plan-feat li.sub-plan-feat-off {
  color: var(--ink-4);
  padding-left: 28px;
}

/* ============================================================
   GOAL TAB IMAGE STRIP — shop-by-goal hero
   ============================================================ */
.goal-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 28px;
  align-items: stretch;
  min-height: 240px;
}
@media (min-width: 720px) { .goal-hero { grid-template-columns: 1fr 1.1fr; } }
.goal-hero-img {
  background-size: cover; background-position: center;
  min-height: 200px;
  transition: opacity .4s var(--ease);
}
.goal-hero-body {
  padding: 26px 28px;
  display: flex; flex-direction: column; justify-content: center;
}
.goal-hero-body .eyebrow { margin-bottom: 10px; }
.goal-hero-body h3 {
  font-family: var(--display); font-weight: 400;
  font-size: 28px; line-height: 1.1;
  color: var(--ink-0);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.goal-hero-body h3 em { font-style: italic; color: var(--teal-600); }
.goal-hero-body p { font-size: 14px; color: var(--ink-3); line-height: 1.6; margin-bottom: 14px; }
.goal-hero-body .compounds {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 12px; color: var(--ink-4);
}
.goal-hero-body .compounds strong { color: var(--ink-1); font-weight: 600; }

/* ============================================================
   SOLVÉ AI · coming-soon teaser
   ============================================================ */
.solve-ai {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: white;
}
.solve-ai::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 460px at 15% 20%, rgba(16,180,180,.22), transparent 60%),
    radial-gradient(ellipse 600px 400px at 85% 80%, rgba(125,217,217,.14), transparent 60%);
  pointer-events: none;
}
.solve-ai-inner { position: relative; }
.solve-ai-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) { .solve-ai-grid { grid-template-columns: 1.05fr .95fr; gap: 80px; } }

.solve-ai .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16,180,180,.14);
  color: var(--teal-300);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.solve-ai .eyebrow::before { display: none; }
.solve-ai .eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-300);
  box-shadow: 0 0 0 4px rgba(16,180,180,.2);
  animation: pulse 2s infinite;
}

.solve-ai h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1; letter-spacing: -.025em;
  color: white; margin-bottom: 20px;
  text-wrap: balance;
  max-width: 14ch;
}
.solve-ai h2 em { font-style: italic; color: var(--teal-300); font-weight: 400; }
.solve-ai .lede {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.7); line-height: 1.65;
  max-width: 52ch; margin-bottom: 28px;
}
.solve-ai .lede em { font-family: var(--display); font-style: italic; color: var(--teal-300); }

.solve-ai-features {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
@media (min-width: 600px) { .solve-ai-features { grid-template-columns: 1fr 1fr; gap: 14px 28px; } }
.solve-ai-feat {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.55;
}
.solve-ai-feat svg {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--teal-300);
  background: rgba(16,180,180,.16);
  border-radius: 50%; padding: 3px;
  margin-top: 1px;
}
.solve-ai-feat strong { color: white; font-weight: 600; }

.solve-ai-waitlist {
  display: flex; gap: 8px;
  max-width: 460px;
}
.solve-ai-waitlist input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: white; font-size: 14px;
  outline: none;
  transition: all .2s;
}
.solve-ai-waitlist input::placeholder { color: rgba(255,255,255,.4); }
.solve-ai-waitlist input:focus { border-color: var(--teal-400); background: rgba(255,255,255,.08); }
.solve-ai-waitlist button { flex-shrink: 0; }

.solve-ai-foot { margin-top: 14px; font-size: 11px; color: rgba(255,255,255,.4); }

/* Right — animated AI demo card */
.solve-ai-demo {
  position: relative;
  background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 28px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.solve-ai-demo-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.solve-ai-demo-avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-700));
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.solve-ai-demo-avatar svg { width: 18px; height: 18px; color: white; }
.solve-ai-demo-avatar::after {
  content: '';
  position: absolute;
  bottom: -2px; right: -2px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal-300);
  border: 2px solid var(--navy);
  box-shadow: 0 0 0 2px rgba(16,180,180,.3);
  animation: pulse 2s infinite;
}
.solve-ai-demo-name {
  font-family: var(--sans); font-size: 13.5px; font-weight: 700; color: white; line-height: 1;
}
.solve-ai-demo-name em { font-style: italic; color: var(--teal-300); font-family: var(--display); font-weight: 400; }
.solve-ai-demo-status {
  font-size: 10.5px; color: rgba(255,255,255,.5); margin-top: 4px;
  font-family: var(--mono); letter-spacing: .04em;
}

.solve-ai-bubble {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,.85);
  max-width: 88%;
  margin-bottom: 10px;
}
.solve-ai-bubble.user {
  background: rgba(16,180,180,.18);
  border-color: rgba(16,180,180,.3);
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.solve-ai-bubble.ai {
  background: rgba(255,255,255,.04);
  border-bottom-left-radius: 4px;
}
.solve-ai-bubble strong { color: white; }
.solve-ai-bubble em { font-family: var(--display); color: var(--teal-300); font-style: italic; }

.solve-ai-typing {
  display: inline-flex; gap: 4px; align-items: center;
  padding: 10px 16px;
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}
.solve-ai-typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-300);
  animation: ai-typing 1.4s infinite ease-in-out;
}
.solve-ai-typing i:nth-child(2) { animation-delay: .2s; }
.solve-ai-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes ai-typing {
  0%, 80%, 100% { opacity: .3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.solve-ai-pills {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 16px;
}
.solve-ai-pill {
  font-size: 11.5px; font-weight: 600;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: 6px 12px; border-radius: 999px;
  cursor: default;
  transition: all .2s;
}
.solve-ai-pill:hover { background: rgba(16,180,180,.14); border-color: rgba(16,180,180,.3); color: var(--teal-300); }
/* ============================================================
   PARALLAX & DRIFT — subtle scroll-tied motion
   ============================================================ */
.drift-up { transition: transform .8s var(--ease); }
.drift-up.in { transform: translateY(0); }
.drift-up { transform: translateY(32px); }

.hero-collage .hero-img,
.hero-collage .hero-float {
  transition: transform .9s var(--ease), opacity .9s var(--ease);
}
.hero-collage.in .hero-img-1 { animation: floatA 7s ease-in-out infinite; }
.hero-collage.in .hero-img-2 { animation: floatB 9s ease-in-out infinite; }
.hero-collage.in .hero-img-3 { animation: floatC 8s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatC { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  .hero-collage.in .hero-img-1,
  .hero-collage.in .hero-img-2,
  .hero-collage.in .hero-img-3 { animation: none !important; }
}

/* Subtle hover-tilt on cards */
.card, .res-card, .shop-card { will-change: transform; }
.card:hover, .res-card:hover, .shop-card:hover { transform: translateY(-6px); }

/* Section enters with a soft scale-in for blocky hero panels */
.reveal.lift {
  transform: translateY(40px) scale(.985);
  filter: blur(2px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.reveal.lift.in { transform: translateY(0) scale(1); filter: blur(0); }

/* Compliance bar — single-line, blends with footer */
.compliance-bar {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 14px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  letter-spacing: .005em;
  line-height: 1.5;
}
.compliance-bar .container {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
}
.compliance-bar strong {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,180,180,.16);
  color: var(--teal-300);
  padding: 3px 10px; border-radius: 999px;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 10px;
  border: 1px solid rgba(16,180,180,.3);
}
.compliance-bar span em { font-style: italic; color: rgba(255,255,255,.92); }
.compliance-bar a {
  color: var(--teal-300); font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(16,180,180,.35);
  padding-bottom: 1px;
}
.compliance-bar a:hover { color: var(--teal-200); border-bottom-color: var(--teal-300); }

/* ============================================================
   ANIM — scroll reveals, marquee, micro-interactions
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.3); } }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.fade-up { animation: fadeUp .8s var(--ease) both; }
.pulse-dot { animation: pulse 2s infinite; }

/* Scroll-reveal — JS adds .in when element enters viewport */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
.reveal.delay-5 { transition-delay: .40s; }
.reveal.from-left  { transform: translateX(-32px); }
.reveal.from-right { transform: translateX(32px); }
.reveal.from-left.in,
.reveal.from-right.in { transform: translateX(0); }
.reveal.scale-in { transform: scale(.94); }
.reveal.scale-in.in { transform: scale(1); }

/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.stagger.in > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.stagger.in > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: .08s; }
.stagger.in > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: .16s; }
.stagger.in > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: .24s; }
.stagger.in > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: .32s; }
.stagger.in > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: .40s; }
.stagger.in > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: .48s; }
.stagger.in > *:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: .56s; }
.stagger.in > *:nth-child(n+9) { opacity: 1; transform: translateY(0); transition-delay: .64s; }

/* Counter — number scrub */
.count-up { font-variant-numeric: tabular-nums; }

/* Marquee */
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee-left 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.from-left, .reveal.from-right, .reveal.scale-in,
  .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none !important; }
  .pulse-dot { animation: none !important; }
}

/* ============================================================
   AGE/RESEARCHER ATTESTATION + ACCOUNT MODAL
   ============================================================ */
.modal-scrim {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(15,24,34,.55);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--surface);
  border-radius: var(--r-xl);
  max-width: 480px; width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-xl);
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px);
  transition: transform .3s var(--ease);
}
.modal-scrim.open .modal { transform: translateY(0); }
.modal h3 { font-family: var(--display); font-weight: 400; font-size: 28px; margin-bottom: 8px; }
.modal h3 em { font-style: italic; color: var(--teal-600); }
.modal p { color: var(--ink-3); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.modal .field { margin-bottom: 14px; }
.modal .field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.modal .field input {
  width: 100%; padding: 13px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  font-size: 14px; outline: none;
}
.modal .field input:focus { border-color: var(--teal-400); box-shadow: 0 0 0 4px var(--teal-50); }
.modal .attest {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px;
  background: var(--cream);
  border-radius: var(--r);
  font-size: 12px; color: var(--ink-3); line-height: 1.55;
  margin-bottom: 16px;
}
.modal .attest input[type=checkbox] {
  margin-top: 2px; flex-shrink: 0;
  accent-color: var(--teal-500);
}
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--cream); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; }
.modal-wrap { position: relative; }
