:root {
  --ink: #10243f;
  --muted: #607188;
  --line: #dce7ee;
  --soft: #f4f9fb;
  --white: #ffffff;
  --blue: #0e9fba;
  --blue-dark: #0b5b78;
  --teal: #16c6bd;
  --pink: #c94b8b;
  --yellow: #ffd447;
  --shadow: 0 20px 48px rgba(18, 65, 92, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -44px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: var(--radius);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 9px 18px;
  color: #eafcff;
  background: linear-gradient(90deg, var(--blue-dark), #123d64);
  font-size: 0.84rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 231, 238, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 950;
  font-size: 1.32rem;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 28px;
  height: 28px;
  image-rendering: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
}

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

.nav-cta {
  color: var(--ink) !important;
  padding: 10px 16px;
  background: var(--yellow);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(255, 212, 71, 0.28);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 91, 120, 0.95), rgba(18, 61, 100, 0.78) 52%, rgba(18, 61, 100, 0.22)),
    linear-gradient(0deg, rgba(11, 91, 120, 0.62), rgba(11, 91, 120, 0));
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
  width: min(1180px, calc(100% - 36px));
  min-height: 760px;
  margin: 0 auto;
  padding: 62px 0 78px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.split-copy h2,
.expert-copy h2,
.offer-copy h2,
.exit-copy h2,
.policy-dialog h2 {
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 770px;
  font-size: clamp(3rem, 5.7vw, 3.9rem);
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 16px 32px rgba(255, 212, 71, 0.25);
}

.button.primary:hover {
  background: #ffe173;
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

.button.dark-text {
  color: var(--blue-dark);
  background: var(--white);
  border-color: var(--line);
}

.fine-print {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.hero-product {
  position: relative;
  justify-self: center;
  width: min(430px, 100%);
  padding: 28px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-product::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(22, 198, 189, 0.34), transparent 64%);
}

.hero-product img {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  margin: 36px auto 34px;
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.24));
}

.hero-badges {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hero-badges span {
  display: grid;
  min-height: 34px;
  place-items: center;
  padding: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
}

.notice-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 64px);
  background: #fff8df;
  border-bottom: 1px solid rgba(255, 212, 71, 0.38);
}

.notice-panel p {
  margin: 4px 0 0;
  color: #6d5e34;
}

.notice-panel button,
.footer-links button {
  padding: 0;
  color: var(--blue-dark);
  background: transparent;
  border: 0;
  font-weight: 950;
  text-decoration: underline;
  cursor: pointer;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(66px, 9vw, 112px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section h2,
.split-copy h2,
.expert-copy h2,
.offer-copy h2 {
  font-size: clamp(2.15rem, 4.2vw, 4rem);
}

.section-heading p:not(.eyebrow),
.section-copy p,
.split-copy p,
.expert-copy p,
.offer-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 42px;
  align-items: center;
}

.stat-card {
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.stat-card img {
  width: 150px;
  margin-bottom: 24px;
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  font-size: 1.35rem;
}

.stat-card span {
  margin-top: 10px;
  color: var(--muted);
}

.cards-section {
  border-top: 1px solid var(--line);
}

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

.factor-grid article,
.ingredient-card,
.review-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(18, 65, 92, 0.07);
}

.factor-grid img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
}

.factor-grid h3,
.ingredient-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.factor-grid p,
.ingredient-card p,
.review-card p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(64px, 9vw, 108px) clamp(18px, 5vw, 64px);
  background: linear-gradient(135deg, #edf9fd, #fff7f9);
}

.split-media {
  display: grid;
  place-items: center;
  min-height: 420px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.split-media img {
  width: min(420px, 88%);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(22, 198, 189, 0.16);
}

.ingredient-section {
  border-top: 1px solid var(--line);
}

.ingredient-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ingredient-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 18px;
}

.expert-section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 91, 120, 0.92), rgba(16, 36, 63, 0.9)),
    url("images/b6-bg.jpg") center / cover;
}

.expert-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: min(1120px, 100%);
  margin: 0 auto;
}

.doctor-card {
  display: grid;
  place-items: end center;
  min-height: 420px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  overflow: hidden;
}

.doctor-card img {
  max-height: 410px;
}

.expert-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.medical-note {
  padding: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.review-section {
  border-top: 1px solid var(--line);
}

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

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--teal);
}

.review-head strong,
.review-head span {
  display: block;
}

.review-head span {
  color: var(--muted);
  font-size: 0.9rem;
}

.review-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.offer-section {
  width: min(1220px, calc(100% - 36px));
}

.offer-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.54fr) 1fr;
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.offer-product {
  display: grid;
  place-items: center;
  min-height: 360px;
  background: radial-gradient(circle, rgba(22, 198, 189, 0.24), transparent 68%);
}

.offer-product img {
  width: min(380px, 90%);
}

.offer-copy .button {
  margin: 10px 10px 0 0;
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px;
  color: var(--ink);
  font-weight: 950;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 28px;
  padding: 42px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.84);
  background: #0b2138;
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  max-width: 760px;
  margin: 14px 0 0;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links button {
  color: var(--white);
  text-align: left;
}

.policy-overlay,
.exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 24, 42, 0.72);
}

.policy-overlay[hidden],
.exit-overlay[hidden] {
  display: none;
}

.policy-dialog,
.exit-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.policy-dialog h2,
.exit-copy h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.policy-content {
  color: var(--muted);
}

.policy-content h3 {
  margin: 24px 0 8px;
  color: var(--ink);
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

.policy-content ul {
  padding-left: 20px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

.exit-dialog {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}

.exit-product {
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: var(--radius);
}

.exit-product img {
  width: 190px;
}

.exit-copy p {
  color: var(--muted);
}

.plain-button {
  display: block;
  margin-top: 14px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-weight: 950;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 1020px) {
  .hero-inner,
  .intro-section,
  .split-section,
  .expert-inner,
  .offer-card {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-product {
    justify-self: start;
    width: min(390px, 100%);
  }

  .factor-grid,
  .ingredient-layout,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .notice-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .notice-panel {
    align-items: flex-start;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .hero-inner,
  .section,
  .offer-section {
    width: min(100% - 28px, 1180px);
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }

  .hero-actions,
  .offer-copy .button {
    display: grid;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .factor-grid,
  .ingredient-layout,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .split-media,
  .offer-product {
    min-height: 280px;
  }

  .doctor-card {
    min-height: 320px;
  }

  .doctor-card img {
    max-height: 310px;
  }

  .exit-dialog {
    grid-template-columns: 1fr;
  }

  .exit-product img {
    width: 170px;
  }
}
