/* glp1supplement.us.com - GLP-1 Supplements vs Medications */
/* Color Palette: Warm amber/gold for supplements, contrasted against clinical tones */

:root {
  --amber-dark: #92400e;
  --amber-mid: #b45309;
  --amber-light: #d97706;
  --amber-pale: #fffbeb;
  --green-dark: #2d6a4f;
  --green-mid: #40916c;
  --green-light: #52b788;
  --green-pale: #d8f3dc;
  --text-primary: #1b1b1b;
  --text-secondary: #4a4a4a;
  --text-light: #6b6b6b;
  --bg-white: #ffffff;
  --bg-off: #f8f9fa;
  --border-light: #e0e0e0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.7;
  background: var(--bg-white);
}

a { color: var(--amber-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-mid); }
img { max-width: 100%; height: auto; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.site-header { background: var(--bg-white); border-bottom: 1px solid var(--border-light); position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--max-width); margin: 0 auto; }
.site-logo { font-size: 1.4rem; font-weight: 700; color: var(--amber-dark); }
.site-logo span { color: var(--amber-light); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); }
.nav-links a:hover { color: var(--amber-dark); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-primary); }

.hero {
  /* end stop capped at --amber-mid (#b45309) so white hero text keeps AA contrast (1.4.3) */
  background: linear-gradient(135deg, var(--amber-dark) 0%, var(--amber-mid) 60%, var(--amber-mid) 100%);
  color: #fff; padding: 80px 24px; text-align: center;
}
.hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; max-width: 820px; margin-left: auto; margin-right: auto; }
.hero p { font-size: 1.15rem; line-height: 1.7; max-width: 660px; margin: 0 auto 32px; color: #fff; opacity: 1; }
.hero .cta-btn { display: inline-block; background: var(--green-mid); color: #fff; padding: 14px 36px; border-radius: 50px; font-size: 1.05rem; font-weight: 600; transition: background 0.2s, transform 0.2s; }
.hero .cta-btn:hover { background: var(--green-dark); transform: translateY(-1px); color: #fff; }

.section { padding: 72px 24px; }
.section-alt { background: var(--amber-pale); }
.section-natural { background: var(--green-pale); }
.section-title { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 16px; color: var(--amber-dark); }
.section-title-green { color: var(--green-dark); }
.section-subtitle { text-align: center; color: var(--text-light); font-size: 1.05rem; max-width: 660px; margin: 0 auto 48px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; max-width: var(--max-width); margin: 0 auto; }
.card { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--amber-dark); }
.card p { color: var(--text-secondary); font-size: 0.95rem; }
.card ul { color: var(--text-secondary); font-size: 0.93rem; padding-left: 20px; margin-top: 8px; }
.card ul li { margin-bottom: 4px; }
.card-natural { border-left: 4px solid var(--green-mid); background: #f0faf4; }
.card-natural h3 { color: var(--green-dark); }

.product-highlight { background: linear-gradient(135deg, var(--amber-pale) 0%, var(--green-pale) 100%); border-radius: var(--radius-lg); padding: 48px; max-width: 900px; margin: 0 auto; text-align: center; }
.product-highlight h3 { font-size: 1.6rem; color: var(--green-dark); margin-bottom: 16px; }
.product-highlight p { color: var(--text-secondary); max-width: 600px; margin: 0 auto 24px; }
.ingredient-list { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.ingredient-tag { background: var(--bg-white); border: 1px solid var(--green-light); border-radius: 50px; padding: 8px 20px; font-size: 0.9rem; font-weight: 500; color: var(--green-dark); }
.badge { display: inline-block; background: var(--green-dark); color: #fff; padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 16px; }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); padding: 24px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; }
.faq-answer { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

.disclaimer-banner { background: var(--amber-pale); border-left: 4px solid var(--amber-light); padding: 20px 24px; margin: 48px auto; max-width: var(--max-width); border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.85rem; color: var(--text-light); line-height: 1.7; }

.article-list { max-width: var(--max-width); margin: 0 auto; }
.article-card { display: block; background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 16px; transition: box-shadow 0.2s, border-color 0.2s; }
.article-card:hover { box-shadow: var(--shadow-md); border-color: var(--amber-light); }
.article-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--amber-dark); }
.article-card p { font-size: 0.9rem; color: var(--text-light); }

.site-footer { background: var(--amber-dark); color: rgba(255,255,255,0.8); padding: 48px 24px 32px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: var(--max-width); margin: 32px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.85); }
.footer-bottom a { color: rgba(255,255,255,0.85); }

@media (max-width: 768px) {
  .hero { padding: 56px 20px; }
  .hero h1 { font-size: 1.9rem; }
  .section { padding: 48px 20px; }
  .section-title { font-size: 1.6rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg-white); border-bottom: 1px solid var(--border-light); padding: 16px 24px; gap: 16px; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .product-highlight { padding: 32px 20px; }
  .footer-inner { flex-direction: column; }
  .card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .section-title { font-size: 1.35rem; }
}

/* Accessibility: skip link (2.4.1) — hidden until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--amber-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Accessibility: visible focus indicator (2.4.7) */
a:focus-visible,
button:focus-visible,
.cta-btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--amber-dark);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Accessibility: respect reduced-motion preference (2.3.3) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover,
  .article-card:hover,
  .hero .cta-btn:hover {
    transform: none !important;
  }
}
