:root {
  --brand-900: #0b1f4d;
  --brand-800: #1240a8;
  --brand-700: #1a56db;
  --brand-600: #2f6bea;
  --tint-100: #ebf3ff;
  --tint-200: #d6e6ff;
  --bg: #f8fbff;
  --bg-warm: #eef4fb;
  --accent: #22c3a6;
  --accent-dark: #138a75;
  --ink: #111a2e;
  --muted: #566279;
  --line: #e2e2d9;
  --white: #ffffff;
  --danger: #b3261e;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(11, 31, 77, 0.08);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Semibold", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

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

a { color: var(--brand-700); text-underline-offset: 3px; }
a:hover { color: var(--brand-900); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brand-900);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 4.7vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand-900); color: var(--white); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

/* Announcement + header */
.announce {
  background: var(--brand-900);
  color: #e3edff;
  font-size: 0.86rem;
  text-align: center;
  padding: 8px 16px;
}
.announce a { color: #8ff0dc; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 251, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand-900); }
.brand img { width: 38px; height: 38px; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.97rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand-700); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--brand-900);
  align-items: center; justify-content: center;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-links .btn { margin-top: 12px; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-800); color: var(--white); }
.btn-primary:hover { background: var(--brand-900); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--brand-900); }
.btn-accent:hover { background: #1aae93; color: var(--brand-900); }
.btn-outline { border-color: var(--brand-800); color: var(--brand-800); background: transparent; }
.btn-outline:hover { background: var(--brand-800); color: var(--white); }
.btn-small { padding: 9px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.nav-links .btn { color: var(--white); }

/* Hero */
.hero { padding: 72px 0 80px; background: radial-gradient(ellipse at 85% 20%, var(--tint-200) 0, transparent 55%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: 0.93rem; color: var(--brand-800); font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent-dark); }

.hero-visual {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: var(--tint-100);
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-badge {
  position: absolute; left: 20px; top: 20px;
  background: var(--white); color: var(--brand-900);
  border-radius: 999px; padding: 8px 14px;
  font-size: 0.82rem; font-weight: 700;
  box-shadow: var(--shadow);
}

@media (max-width: 880px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; }
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } .section { padding: 56px 0; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.section-alt .card { background: var(--bg); }

.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--tint-100); color: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }

/* Categories */
.category-card {
  display: block; text-decoration: none; color: inherit;
  border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.category-card h3 { margin-bottom: 6px; }
.category-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.category-card .feature-icon { background: var(--bg-warm); color: var(--accent-dark); }

/* Products */
.product-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-media { overflow: hidden; }
.product-media img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.3s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }

.photo { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 24px; }
.bg-green { background: #e6efe8; }
.bg-amber { background: #f7ecd8; }
.bg-blue { background: #e4edf4; }
.bg-rose { background: #f6e6e3; }
.bg-orange { background: #fbe9d8; }
.bg-purple { background: #ece6f3; }
.bg-slate { background: #e8eaec; }
.bg-teal { background: #e0f0ee; }
.product-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: 4px; font-size: 1.15rem; }
.product-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.product-body p { font-size: 0.95rem; color: var(--muted); flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.price { font-weight: 700; font-size: 1.15rem; color: var(--brand-900); }
.price small { font-weight: 500; font-size: 0.8rem; color: var(--muted); }
.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-700); background: var(--tint-100); border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; align-self: flex-start;
}

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-bar button {
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 0.93rem; font-weight: 500;
}
.filter-bar button[aria-pressed="true"] { background: var(--brand-800); color: var(--white); border-color: var(--brand-800); }

/* Page hero */
.page-hero { padding: 64px 0 48px; background: linear-gradient(180deg, var(--tint-100), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); font-size: 1.08rem; max-width: 680px; margin-bottom: 0; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* SMS / CTA band */
.cta-band {
  background: var(--brand-900);
  color: #e3ece5;
  border-radius: 28px;
  padding: 48px;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center;
}
.cta-band h2 { color: var(--white); }
.cta-band .eyebrow { color: #8ff0dc; }
.cta-band ul { padding-left: 20px; margin: 0; }
.cta-band li { margin-bottom: 6px; }
@media (max-width: 880px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Forms */
.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  align-self: start;
}
.form-card h3 { margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 24px 20px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: var(--brand-900); }
.field label .optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid #cfd5cf;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(47, 107, 234, 0.2); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { display: block; color: var(--danger); font-size: 0.85rem; margin-top: 6px; min-height: 0; }

.consent {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  background: var(--tint-100);
  border: 1px solid var(--tint-200);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 8px 0 6px;
}
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand-700); cursor: pointer; }
.consent label { font-size: 0.86rem; line-height: 1.55; color: var(--ink); cursor: pointer; font-weight: 400; }
.consent.invalid { border-color: var(--danger); }
.form-legal { font-size: 0.82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-legal a { color: var(--brand-700); font-weight: 600; }

.form-success {
  display: none;
  border-radius: 12px; padding: 18px 20px;
  background: #e9fbf6; border: 1px solid #b5ecdf; color: var(--brand-900);
}
.form-success.show { display: block; }
.form-success strong { display: block; margin-bottom: 4px; }
.form-success p { margin: 0; font-size: 0.93rem; }

/* Program summary */
.program-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.program-facts li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.program-facts .feature-icon { width: 40px; height: 40px; margin: 0; border-radius: 12px; }
.program-facts .feature-icon svg { width: 20px; height: 20px; }
.program-facts strong { display: block; color: var(--brand-900); }
.program-facts span { color: var(--muted); font-size: 0.95rem; }

/* Legal pages */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: 0.9rem; }
.toc strong { display: block; margin-bottom: 10px; color: var(--brand-900); }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--brand-700); text-decoration: underline; }
@media (max-width: 880px) { .legal-layout { grid-template-columns: 1fr; } .toc { position: static; } }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; padding-top: 0.4em; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin-top: 1.5em; scroll-margin-top: 96px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose .meta { color: var(--muted); font-size: 0.93rem; }

.callout {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 1.2em 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout-strong { border-left-color: var(--brand-700); background: var(--tint-100); }

.address-block { font-style: normal; line-height: 1.7; }

/* FAQ */
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 28px 18px 0; position: relative;
  font-weight: 600; color: var(--brand-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--accent-dark); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats strong { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--brand-800); }
.stats span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Disclaimer + footer */
.disclaimer-box {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 40px;
}

.site-footer { background: var(--brand-900); color: #c7d4ee; padding: 64px 0 28px; margin-top: 0; font-size: 0.93rem; }
.site-footer a { color: #eef4ff; text-decoration: none; }
.site-footer a:hover { color: #8ff0dc; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8ff0dc; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.site-footer .brand-name small { color: #93a3c4; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 48px; padding-top: 24px; font-size: 0.82rem; color: #93a3c4; }
.footer-legal p { margin: 0 0 10px; }
.footer-legal .fda { border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 10px; padding: 12px 14px; color: #c7d4ee; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 */
.not-found { text-align: center; padding: 120px 0; }
.not-found .code { font-family: var(--font-display); font-size: 5rem; color: var(--tint-200); line-height: 1; margin-bottom: 8px; }

.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }

.ph { aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; background: linear-gradient(160deg, var(--tint-100), var(--bg-warm)); color: var(--brand-800); }
.ph small { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-dark); }
.ph strong { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; color: var(--brand-900); }
.ph span { font-size: 0.8rem; color: var(--muted); }
.ph-hero { aspect-ratio: 4 / 3; background: radial-gradient(circle at 30% 20%, var(--tint-200), transparent 60%), linear-gradient(150deg, var(--tint-100), var(--bg-warm)); }
.ph-hero img { width: 96px; height: 96px; aspect-ratio: 1 / 1; object-fit: contain; margin-bottom: 8px; }
.ph-hero strong { font-size: 1.8rem; }
.ph-hero span { font-size: 0.9rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-dark); }
