/* Nervion landing page — brand colors sampled from product label artwork */
:root {
  --teal-900: #0f4a56;
  --teal-700: #146b7d;
  --teal-600: #1a7d92;
  --blue-500: #3bb1e0;
  --blue-300: #7ecbe8;
  --bg-tint: #eaf5f9;
  --bg-tint-2: #f5fafc;
  --ink: #1c2b30;
  --ink-soft: #4a5c62;
  --white: #ffffff;
  --border: #d8e8ec;
  --danger: #c0392b;
  --success: #2f9e63;
  --max: 1180px;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(15, 74, 86, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 74, 86, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--bg-tint);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 14px; color: var(--teal-900); }
h1 { font-size: clamp(30px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.6vw, 34px); text-align: center; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; color: var(--ink-soft); }

.section { padding: 64px 0; }
.section--tint { background: var(--bg-tint-2); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 34px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--teal-600));
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(15, 74, 86, 0.22); }
.btn-block { width: 100%; }
.btn-sub { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-soft); text-align: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--teal-900);
}
.header-cta { font-size: 14px; padding: 11px 22px; }

/* Hero */
.hero { padding: 48px 0 40px; background: linear-gradient(180deg, var(--bg-tint) 0%, var(--white) 100%); }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy p.lead { font-size: 18px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-700);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
}
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-image-wrap img {
  max-height: 440px;
  width: auto;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.hero-disclaimer { font-size: 12px; color: var(--ink-soft); margin-top: 8px; }

/* Intro / split */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.split img { border-radius: var(--radius); }
.split.reverse .split-media { order: 2; }

/* Ingredients */
.ingredient-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.ingredient-card .amount {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: var(--teal-600);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.ingredient-card h3 { margin-bottom: 6px; font-size: 17px; }
.ingredient-card .latin { font-style: italic; font-size: 13px; color: var(--ink-soft); display: block; margin-bottom: 8px; }
.label-panel { margin-top: 44px; text-align: center; }
.label-panel img {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  padding: 12px;
}
.label-panel figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }

/* Benefits */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}
.benefit-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--teal-700);
}
.benefit-card p { margin-bottom: 0; font-size: 15px; }

/* Offer / pricing */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.offer-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-align: center;
}
.offer-card.featured {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}
.offer-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-700);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.offer-card img { max-height: 190px; margin: 6px auto 14px; width: auto; aspect-ratio: 1 / 1; }
.offer-card h3 { margin-bottom: 4px; }
.offer-qty { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.offer-price { margin: 6px 0 4px; }
.offer-price .now { font-size: 32px; font-weight: 800; color: var(--teal-900); }
.offer-price .per { font-size: 14px; color: var(--ink-soft); }
.offer-price .was { font-size: 14px; color: #a9b6ba; text-decoration: line-through; margin-left: 6px; }
.offer-save { font-size: 13px; color: var(--success); font-weight: 700; margin-bottom: 4px; }
.offer-ship { font-size: 12px; color: var(--ink-soft); margin-bottom: 18px; }
.offer-card .btn { margin-top: auto; }

/* Guarantee */
.guarantee {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-tint);
  border-radius: 20px;
  padding: 44px;
}
.guarantee-badge {
  display: block;
  width: 190px;
  height: 190px;
  margin: 0 auto;
  filter: drop-shadow(0 6px 16px rgba(15, 74, 86, 0.18));
}

/* Trust / compliance */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  max-width: 640px;
  margin: 0 auto 40px;
}
.cert-grid figure { margin: 0; text-align: center; }
.cert-grid img { width: 100px; height: 100px; margin: 0 auto 10px; }
.cert-grid figcaption { font-size: 12px; font-weight: 600; color: var(--ink-soft); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}
.trust-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-700);
}
.trust-item small { display: block; font-weight: 400; color: var(--ink-soft); margin-top: 4px; }
.disclaimer-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-size: 13px;
  color: var(--ink-soft);
}
.disclaimer-box strong { color: var(--ink); }

/* Payment */
.payment-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}
.payment-strip img { height: 34px; width: auto; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  font-weight: 700;
  color: var(--teal-900);
  padding: 20px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq-q .icon { flex: none; transition: transform 0.2s ease; color: var(--blue-500); font-size: 20px; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a p { padding: 0 4px 18px; margin: 0; font-size: 15px; }

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-600));
  color: var(--white);
  border-radius: 24px;
  padding: 56px 40px;
  display: grid;
  grid-template-columns: 1fr minmax(180px, 260px);
  gap: 32px;
  align-items: center;
}
.final-cta h2, .final-cta p { color: var(--white); text-align: left; }
.final-cta .btn-primary { background: var(--white); color: var(--teal-800, var(--teal-700)); }
.final-cta-media img { max-height: 220px; width: auto; aspect-ratio: 1 / 1; }

.final-cta-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.final-cta-trust .buy-now-badge { display: inline-block; line-height: 0; }
.final-cta-trust .buy-now-badge img { height: 40px; width: auto; aspect-ratio: 314 / 103; transition: transform 0.15s ease; }
.final-cta-trust .buy-now-badge:hover img { transform: translateY(-2px); }
.final-cta-trust .cards-dark-img { height: 26px; width: auto; aspect-ratio: 391 / 57; }

.offer-card .buy-now-badge {
  display: block;
  width: 100%;
  margin-top: auto;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.offer-card .buy-now-badge img { width: 100%; height: auto; aspect-ratio: 314 / 103; display: block; }
.offer-card .buy-now-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.offer-card .offer-cards-img { display: block; margin: 10px auto 0; height: 22px; width: auto; aspect-ratio: 180 / 31; }
@media (max-width: 900px) {
  .final-cta-trust { justify-content: center; }
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(15, 74, 86, 0.12);
  padding: 10px 16px;
  display: none;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }

/* Footer */
.site-footer {
  background: var(--teal-900);
  color: #bcd6dc;
  padding: 40px 0 90px;
  font-size: 13px;
}
.site-footer .brand span { color: var(--white); }
.footer-meta { margin-top: 18px; line-height: 1.7; }
.footer-meta strong { color: var(--white); }

/* Responsive */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-image-wrap { order: -1; }
  .hero-image-wrap img { max-height: 280px; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1 !important; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-card.featured { transform: none; }
  .guarantee { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .final-cta { grid-template-columns: 1fr; text-align: center; padding: 40px 26px; }
  .final-cta h2, .final-cta p { text-align: center; }
  .final-cta-media { order: -1; }
  .final-cta-media img { max-height: 170px; margin: 0 auto; }
  .sticky-cta { display: block; }
  body { padding-bottom: 0; }
}

@media (max-width: 560px) {
  .section { padding: 44px 0; }
  .header-cta { display: none; }
  .hero-image-wrap img { max-height: 220px; }
  .offer-grid { grid-template-columns: 1fr; }
}

/* ============================
   Header nav links (blog)
   ============================ */
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 28px;
  font-size: 15px;
  font-weight: 600;
}
.site-nav a { text-decoration: none; color: var(--ink-soft); }
.site-nav a:hover { color: var(--teal-700); }
.header-flex { display: flex; align-items: center; justify-content: space-between; width: 100%; }
@media (max-width: 700px) {
  .site-nav { display: none; }
}

/* ============================
   Breadcrumbs
   ============================ */
.breadcrumbs {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 18px 0 0;
}
.breadcrumbs a { color: var(--teal-700); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { margin: 0 6px; color: #b7c9ce; }

/* ============================
   Blog hub
   ============================ */
.blog-hero {
  padding: 48px 0 12px;
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--white) 100%);
  text-align: center;
}
.blog-hero h1 { font-size: clamp(30px, 4.6vw, 42px); }
.blog-hero p { max-width: 620px; margin: 0 auto; font-size: 17px; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card .post-card-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-700);
  background: var(--bg-tint);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 20px 20px 0;
  width: fit-content;
}
.post-card h3 { margin: 14px 20px 8px; font-size: 19px; color: var(--teal-900); }
.post-card p { margin: 0 20px 20px; font-size: 14px; color: var(--ink-soft); flex-grow: 1; }
.post-card .post-card-read { margin: 0 20px 20px; font-size: 13px; font-weight: 700; color: var(--blue-500); }
.post-card.pillar { grid-column: 1 / -1; }
.post-card.pillar h3 { font-size: 24px; }

/* ============================
   Article layout
   ============================ */
.article-header { padding: 20px 0 10px; }
.article-header .eyebrow { margin-bottom: 10px; }
.article-header h1 { text-align: left; max-width: 820px; }
.article-meta { font-size: 14px; color: var(--ink-soft); margin-bottom: 0; }
.article-lead { font-size: 18px; max-width: 760px; }

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 10px 0 20px;
}
.article-body h2 {
  text-align: left;
  font-size: 25px;
  margin-top: 40px;
}
.article-body h3 { font-size: 19px; margin-top: 26px; }
.article-body p, .article-body li { font-size: 16px; color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 16px; }
.article-body li { margin-bottom: 8px; color: var(--ink-soft); }
.article-body a { color: var(--teal-700); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: var(--teal-700); }
.article-body strong { color: var(--teal-900); }

.toc {
  max-width: 760px;
  margin: 0 auto 32px;
  background: var(--bg-tint-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.toc p { margin: 0 0 10px; font-weight: 700; color: var(--teal-900); font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 6px; font-size: 15px; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--teal-700); text-decoration: underline; }

.key-takeaways {
  max-width: 760px;
  margin: 0 auto 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue-500);
  border-radius: 10px;
  padding: 18px 22px;
}
.key-takeaways p:first-child { font-weight: 700; color: var(--teal-900); margin-bottom: 8px; }
.key-takeaways ul { margin: 0; padding-left: 20px; }
.key-takeaways li { margin-bottom: 6px; font-size: 15px; }

.callout {
  max-width: 760px;
  margin: 32px auto;
  background: linear-gradient(135deg, var(--bg-tint), var(--white));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.callout img { width: 84px; height: 84px; object-fit: contain; flex: none; }
.callout-copy h3 { margin: 0 0 6px; font-size: 17px; }
.callout-copy p { margin: 0 0 12px; font-size: 14px; color: var(--ink-soft); }
.callout .btn { font-size: 14px; padding: 11px 22px; }
@media (max-width: 560px) {
  .callout { flex-direction: column; text-align: center; }
}

.article-disclaimer {
  max-width: 760px;
  margin: 30px auto 0;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.sources {
  max-width: 760px;
  margin: 24px auto 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.sources p:first-child { font-weight: 700; color: var(--teal-900); margin-bottom: 8px; }
.sources ul { padding-left: 18px; margin: 0; }
.sources li { margin-bottom: 4px; }

.related-posts { max-width: 900px; margin: 0 auto; }
.related-posts h2 { text-align: center; }

/* Blog footer nav (landing page) */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
}
.footer-links a { color: #bcd6dc; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
