/* =========================================================================
   Copper Bisglycinate — static build
   Palette + type scale mirrored from the live Elementor site.
   Primary #175AA1 · Secondary #1277EE · Text #1B1B1B · Accent #0DA0B5
   Copper #AA5831 · Off-white #FAFAFA · Border #EAEAEA
   Headings: Outfit · Body: Montserrat
   ========================================================================= */

:root {
  --primary: #175AA1;
  --secondary: #1277EE;
  --text: #1B1B1B;
  --accent: #0DA0B5;
  --copper: #AA5831;
  --white: #FFFFFF;
  --offwhite: #FAFAFA;
  --border: #EAEAEA;
  --muted: #5b6470;
  --tint: rgba(234, 234, 234, 0.4);

  --font-head: "Outfit", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Montserrat", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1140px;
  --radius: 14px;
  --radius-pill: 99px;
  --shadow: 0 10px 30px rgba(23, 90, 161, 0.08);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.25; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

.section { padding: 72px 0; }
.section--tint { background: var(--tint); }
.section--offwhite { background: var(--offwhite); }
.section--blue { background: var(--secondary); color: #fff; }
.section--blue h1, .section--blue h2, .section--blue h3 { color: #fff; }
.section--blue a { color: #fff; text-decoration: underline; }

.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section--blue .eyebrow { color: #d7ecff; }

/* -------- Buttons -------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  background: var(--secondary);
  color: #fff !important;
  border: 2px solid var(--secondary);
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none !important;
}
.btn:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--secondary) !important; }
.btn--ghost:hover { background: var(--secondary); color: #fff !important; }
.btn--light { background: #fff; color: var(--secondary) !important; border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff !important; border-color: #fff; }

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.brand .wordmark {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-transform: uppercase;
}
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
}
.nav a:hover { color: var(--secondary); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  font-size: 1.6rem; line-height: 1; color: var(--text); padding: 6px;
}

/* -------- Hero -------- */
.hero { position: relative; overflow: hidden; background: var(--offwhite); }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.badge {
  font-family: var(--font-head); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--border); color: var(--primary);
}
.hero h1 span { display: block; color: var(--secondary); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-figure {
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
  background: radial-gradient(120% 120% at 30% 20%, #fff 0%, #f0f4f8 100%);
}
.hero-figure img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }

/* -------- Benefit chips marquee -------- */
.chips { background: var(--secondary); }
.chips .row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; padding: 22px 0;
}
.chip {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: #fff; padding: 8px 16px; border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-pill);
}

/* -------- Prose -------- */
.prose { font-size: 1.02rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--primary); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose a { text-decoration: underline; }
.prose strong { color: var(--text); }
.lead-note { color: var(--muted); font-size: 1.08rem; }

/* -------- Cards / grids -------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card--feature { border-top: 4px solid var(--accent); }
.card .eyebrow { margin-bottom: 8px; }

.article-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.article-card .body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card h3 { margin: 0; font-size: 1.2rem; }
.article-card h3 a { color: var(--text); }
.article-card h3 a:hover { color: var(--secondary); text-decoration: none; }
.article-card .excerpt { color: var(--muted); font-size: 0.95rem; }
.article-card .more { margin-top: auto; font-family: var(--font-head); font-weight: 600; }

/* -------- Product cards (buy) -------- */
.product {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; text-align: center; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.product .brandname { font-family: var(--font-head); letter-spacing: 0.1em; color: var(--primary); font-size: 1.1rem; font-weight: 600; text-transform: uppercase; }
.product img { height: 190px; width: auto; object-fit: contain; }
.product .pname { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* -------- Table -------- */
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--border); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--offwhite); font-family: var(--font-head); color: var(--primary); }
tbody tr:last-child td { border-bottom: 0; }

/* -------- FAQ accordion -------- */
.faq-cat { margin-bottom: 40px; }
.faq-cat > h2 { border-bottom: 3px solid var(--secondary); display: inline-block; padding-bottom: 6px; }
.qa {
  border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden;
}
.qa > summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--text);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::after { content: "+"; font-size: 1.4rem; color: var(--secondary); transition: transform 0.2s ease; }
.qa[open] > summary::after { transform: rotate(45deg); }
.qa .answer { padding: 0 22px 20px; color: var(--muted); }
.qa .answer p:last-child { margin-bottom: 0; }

/* -------- Contact -------- */
.contact-box { text-align: center; max-width: 620px; margin: 0 auto; }
.email-cta {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 1.35rem;
  margin-top: 10px;
}

/* -------- Disclaimer strip / meta -------- */
.post-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.cat-pill {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent);
  border: 1px solid var(--accent); border-radius: var(--radius-pill); padding: 4px 12px; margin-right: 6px;
}
.figure-hero { border-radius: var(--radius); overflow: hidden; margin: 0 0 30px; box-shadow: var(--shadow-sm); }
.references { font-size: 0.9rem; color: var(--muted); }
.references h4 { color: var(--text); }
.references li { word-break: break-word; }

/* -------- Footer -------- */
.site-footer { background: #0f1b28; color: #c7d0da; padding: 56px 0 30px; margin-top: 0; }
.site-footer a { color: #c7d0da; }
.site-footer a:hover { color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand .wordmark { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: #fff; text-transform: uppercase; letter-spacing: 0.02em; }
.disclaimer { max-width: 620px; font-size: 0.85rem; color: #9aa6b2; line-height: 1.6; }
.footer-nav { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { font-family: var(--font-head); font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: #9aa6b2;
}

/* -------- Utilities -------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.maxw-prose { max-width: 760px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: #fff; color: var(--secondary);
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* -------- Responsive -------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 420px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column;
    align-items: flex-start; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 12px; }
  .nav-toggle { display: block; }
  .section { padding: 52px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}
