:root {
  --navy: #082342;
  --blue: #0c5f94;
  --light-blue: #e8f5ff;
  --ice: #f7fbff;
  --silver: #d9e2ea;
  --gold: #d9a73d;
  --gold-dark: #a87411;
  --ink: #11243a;
  --muted: #5f7186;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(8, 35, 66, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  user-select: none;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  z-index: 20;
}

.skip-link:focus {
  left: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 234, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a,
.nav-cta,
.secondary-cta,
.buy-button {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta,
.primary-cta,
.buy-button {
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #e9bd55, var(--gold));
  color: #1c2733;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(217, 167, 61, 0.28);
}

.nav-cta {
  padding: 11px 16px;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  align-items: center;
  gap: 42px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 22px 42px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 44% 0 -20vw;
  background: linear-gradient(140deg, #eef8ff 0%, #ffffff 70%);
  z-index: -1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  background: var(--white);
  border: 1px solid var(--silver);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(8, 35, 66, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.stars {
  color: var(--gold);
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-top: 18px;
  font-size: clamp(2.45rem, 6vw, 3.85rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.05rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-subhead {
  max-width: 720px;
  margin: 20px 0 22px;
  color: #33485f;
  font-size: 1.18rem;
}

.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin: 10px 0;
  color: #263b52;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #eaf7ef;
  color: #168047;
  font-weight: 900;
  font-size: 0.8rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 14px;
}

.primary-cta,
.secondary-cta,
.buy-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-size: 1rem;
}

.secondary-cta {
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-weight: 850;
}

.stock-alert {
  display: inline-block;
  margin: 4px 0 16px;
  color: var(--navy);
  font-weight: 800;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-strip span,
.pill-grid span {
  border: 1px solid rgba(12, 95, 148, 0.16);
  border-radius: 999px;
  background: var(--white);
  color: #24445f;
  padding: 8px 12px;
  font-size: 0.91rem;
  font-weight: 750;
}

.secure-note,
.micro-disclaimer,
.verified,
.payment-icons,
.supply,
.save {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-product {
  display: grid;
  gap: 18px;
}

.hero-product-panel {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 226, 234, 0.9);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 20%, rgba(217, 167, 61, 0.18), transparent 34%),
    linear-gradient(180deg, #ffffff, #eef8ff);
  box-shadow: var(--shadow);
  padding: 30px 22px;
}

.hero-product-panel img {
  width: min(100%, 600px);
  filter: drop-shadow(0 30px 34px rgba(8, 35, 66, 0.22));
}

.hero-badge,
.deal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #2a1f0a;
  background: linear-gradient(180deg, #f6d987, var(--gold));
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-badge {
  position: absolute;
  right: 20px;
  top: 18px;
  padding: 9px 12px;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.badge-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  background: var(--white);
  padding: 9px;
}

.section,
.split-section,
.guarantee-section,
.final-cta {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 22px;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.card-grid,
.review-grid,
.pricing-grid,
.compare-grid,
.ingredient-grid {
  display: grid;
  gap: 18px;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.review-card,
.price-card,
.compare-grid article,
.ingredient-grid article,
.warning-box,
.faq-list details {
  border: 1px solid rgba(217, 226, 234, 0.95);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(8, 35, 66, 0.07);
}

.info-card,
.review-card,
.ingredient-grid article {
  padding: 24px;
}

.info-card p,
.ingredient-grid p,
.review-card p {
  margin-bottom: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: start;
}

.rich-copy {
  color: #30475d;
  font-size: 1.08rem;
}

.blue-section {
  max-width: none;
  padding-left: max(22px, calc((100vw - var(--max)) / 2 + 22px));
  padding-right: max(22px, calc((100vw - var(--max)) / 2 + 22px));
  background: linear-gradient(180deg, var(--navy), #0d3d66);
}

.blue-section h2,
.blue-section h3 {
  color: var(--white);
}

.blue-section .eyebrow {
  color: #9ed8ff;
}

.ingredient-grid {
  grid-template-columns: repeat(5, 1fr);
}

.ingredient-grid article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: #dceaf5;
}

.ingredient-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--gold);
  color: #231a07;
  font-weight: 950;
}

.compact {
  padding-top: 54px;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.warning-box {
  padding: 24px;
}

.review-snapshot {
  background: var(--ice);
  max-width: none;
  padding-left: max(22px, calc((100vw - var(--max)) / 2 + 22px));
  padding-right: max(22px, calc((100vw - var(--max)) / 2 + 22px));
}

.bars {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.bars div {
  display: grid;
  grid-template-columns: 80px 1fr 44px;
  align-items: center;
  gap: 12px;
}

.bars b {
  position: relative;
  height: 13px;
  overflow: hidden;
  border-radius: 99px;
  background: #dfeaf2;
}

.bars b::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.bars span,
.bars em {
  font-style: normal;
  font-weight: 850;
  color: var(--navy);
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  font-weight: 950;
}

.verified {
  margin: 6px 0 12px;
  color: #168047;
  font-weight: 850;
}

.pricing-section {
  max-width: none;
  padding-left: max(22px, calc((100vw - var(--max)) / 2 + 22px));
  padding-right: max(22px, calc((100vw - var(--max)) / 2 + 22px));
  background: linear-gradient(180deg, #f8fcff, #ffffff);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  text-align: center;
}

.price-card.featured {
  border: 2px solid var(--gold);
  transform: translateY(-16px);
  box-shadow: 0 22px 60px rgba(217, 167, 61, 0.2);
}

.deal-badge {
  min-height: 30px;
  padding: 7px 12px;
  margin-bottom: 14px;
}

.price-card img {
  height: 190px;
  object-fit: contain;
  margin: 18px 0;
}

.per-bottle {
  margin: 0;
  color: var(--navy);
  font-size: 2.55rem;
  font-weight: 950;
  line-height: 1;
}

.per-bottle span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.total {
  margin: 10px 0 12px;
}

.total del {
  color: #8392a3;
  margin-right: 8px;
}

.total strong {
  color: var(--navy);
  font-size: 1.7rem;
}

.price-card ul {
  min-height: 76px;
  padding: 0;
  margin: 0 0 18px;
  color: #28445f;
  list-style: none;
}

.buy-button {
  width: 100%;
  background: linear-gradient(180deg, var(--blue), var(--navy));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(8, 35, 66, 0.2);
}

.buy-button.gold {
  background: linear-gradient(180deg, #efc65f, var(--gold));
  color: #1f2730;
}

.payment-icons {
  margin: 14px 0 0;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.guarantee-section {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 34px;
  align-items: center;
}

.guarantee-section img {
  width: 190px;
}

.check-list.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 18px;
}

.compare-grid {
  grid-template-columns: repeat(2, 1fr);
}

.compare-grid article {
  padding: 28px;
}

.muted-compare {
  background: #f7f9fb;
}

.muted-compare ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

.faq-list p {
  margin-bottom: 0;
  color: #30475d;
}

.final-cta {
  max-width: none;
  text-align: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.final-cta h2,
.final-cta .eyebrow {
  color: var(--white);
}

.footer {
  background: #061a2f;
  color: #d9e6f2;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 22px 96px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.footer button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 9px 12px;
  cursor: pointer;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 26, 47, 0.72);
}

.modal,
.exit-modal {
  position: relative;
  width: min(100%, 650px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.modal {
  padding: 30px;
}

.modal-close,
.exit-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.exit-modal {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
  padding: 28px;
}

.exit-modal img {
  width: 220px;
}

.sticky-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  display: none;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--silver);
}

.sticky-mobile-cta button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #e9bd55, var(--gold));
  color: #1f2730;
  font-weight: 950;
}

@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .card-grid.four,
  .ingredient-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    order: -1;
    transform: none;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 70px;
  }

  .nav {
    padding: 12px 16px;
  }

  .brand span:last-child {
    max-width: 178px;
    white-space: normal;
    line-height: 1.1;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .section,
  .split-section,
  .guarantee-section,
  .final-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .hero-subhead {
    font-size: 1.03rem;
  }

  .rating {
    align-items: flex-start;
    border-radius: var(--radius);
  }

  .cta-row,
  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .card-grid.four,
  .ingredient-grid,
  .compare-grid,
  .guarantee-section,
  .exit-modal {
    grid-template-columns: 1fr;
  }

  .badge-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guarantee-section img,
  .exit-modal img {
    width: 150px;
    justify-self: center;
  }

  .bars div {
    grid-template-columns: 72px 1fr 40px;
    gap: 8px;
    font-size: 0.9rem;
  }

  .price-card {
    padding: 20px 16px;
  }

  .price-card img {
    height: 155px;
  }

  .footer-inner {
    padding-bottom: 92px;
  }

  .sticky-mobile-cta {
    display: block;
  }
}
