:root {
  --navy: #162e5c;
  --blue: #00b5e2;
  --cyan: #99e6f4;
  --ink: #142033;
  --muted: #5b6678;
  --line: #dfe8ef;
  --paper: #ffffff;
  --mist: #f3f9fc;
  --soft: #eaf7fb;
  --green: #1f8a5b;
  --orange: #ff8a2a;
  --shadow: 0 20px 46px rgba(22, 46, 92, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body.modal-open { overflow: hidden; }

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

a { color: inherit; }

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  z-index: 40;
  padding: 10px 14px;
  background: var(--navy);
  color: white;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(22, 46, 92, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 26px rgba(8, 18, 38, 0.16);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 176px;
}

.brand img {
  width: 100%;
  max-height: 44px;
  object-fit: contain;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  font-size: 0.95rem;
}

.desktop-nav a {
  text-decoration: none;
}

.desktop-nav a:hover { color: white; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 21px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  text-align: center;
  font-weight: 900;
  line-height: 1.08;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
  color: white;
  background: var(--navy);
  box-shadow: 0 14px 26px rgba(22, 46, 92, 0.22);
}

.button-primary:hover { background: #0f2144; }

.button-secondary {
  background: white;
  color: var(--navy);
  border-color: var(--line);
}

.button-small {
  min-height: 42px;
  padding: 11px 16px;
  color: var(--navy);
  background: white;
  border-color: rgba(255, 255, 255, 0.42);
}

.button-selected {
  background: var(--green);
  color: white;
  box-shadow: 0 14px 24px rgba(31, 138, 91, 0.22);
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 181, 226, 0.22), transparent 34%),
    linear-gradient(135deg, var(--navy), #173a78 46%, #00a7d0);
  color: white;
}

.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 70px 0;
}

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

.hero .eyebrow,
.final-cta .eyebrow,
.guarantee-section .eyebrow {
  color: var(--cyan);
}

h1,
h2,
h3,
p { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: 0;
  max-width: 760px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.00rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.2;
}

.lead {
  margin: 24px 0 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.23rem);
}

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

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-weight: 850;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.product-plate {
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96), rgba(234, 247, 251, 0.68) 58%, rgba(255, 255, 255, 0.16));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.25);
}

.product-plate img {
  width: min(88%, 430px);
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.2));
}

.rating-card {
  position: absolute;
  left: 0;
  bottom: 54px;
  width: min(285px, 60%);
  padding: 18px;
  border-radius: 8px;
  color: var(--navy);
  background: white;
  box-shadow: var(--shadow);
}

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

.rating-card strong {
  font-size: 2.25rem;
  line-height: 1;
}

.rating-card span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.service-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

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

.strip-grid article {
  min-height: 190px;
  padding: 30px 26px;
  border-left: 1px solid var(--line);
}

.strip-grid article:last-child {
  border-right: 1px solid var(--line);
}

.strip-grid span {
  color: var(--blue);
  font-weight: 950;
}

.strip-grid h2 {
  margin-top: 8px;
  font-size: 1.22rem;
}

.strip-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.section {
  padding: 92px 0;
}

.intro-grid,
.guarantee-grid,
.faq-grid,
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.intro-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.benefit-stack {
  display: grid;
  gap: 14px;
}

.benefit-stack article,
.ingredient-grid article,
.price-card,
.review-grid article,
.faq-list details,
.guarantee-cards article {
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(22, 46, 92, 0.08);
}

.benefit-stack article {
  padding: 24px;
}

.benefit-stack p,
.ingredient-grid p,
.review-grid p,
.faq-list p,
.guarantee-cards p {
  color: var(--muted);
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

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

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

.ingredient-grid article {
  min-height: 220px;
  padding: 24px;
}

.ingredient-grid span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--navy);
  font-weight: 950;
}

.formula-note {
  margin-top: 18px;
  padding: 22px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
}

.formula-note p {
  margin: 8px 0 0;
  color: var(--muted);
}

.pricing-section {
  background: white;
}

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: 26px;
  text-align: center;
}

.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 22px 54px rgba(0, 181, 226, 0.18);
  transform: translateY(-10px);
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 950;
}

.badge.muted {
  background: var(--blue);
}

.choice-note {
  min-height: 26px;
  margin: 0 96px 10px 0;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 950;
}

.pack-shot {
  height: 220px;
  margin: 18px 0 4px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.pack-shot img {
  width: 135px;
  max-height: 218px;
  object-fit: contain;
  margin: 0 -22px;
  filter: drop-shadow(0 16px 18px rgba(22, 46, 92, 0.16));
}

.pack-shot.one img {
  width: 165px;
}

.per-pack {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 950;
}

.small-label {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.total {
  margin: 14px 0 0;
  font-weight: 900;
}

.price-card ul {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  text-align: left;
  display: grid;
  gap: 10px;
}

.price-card li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 950;
}

.price-card .button {
  margin-top: auto;
  width: 100%;
}

.guarantee-section {
  background: var(--navy);
  color: white;
}

.guarantee-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.guarantee-cards article {
  min-height: 188px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.guarantee-cards strong {
  display: block;
  color: white;
  font-size: 1.1rem;
}

.guarantee-cards p {
  color: rgba(255, 255, 255, 0.78);
}

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

.review-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.review-grid article {
  padding: 20px;
}

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

.review-grid strong {
  color: var(--navy);
}

.review-grid span {
  margin-top: 3px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 850;
}

.review-grid p {
  margin: 14px 0 0;
  font-size: 0.95rem;
}

.faq-grid {
  align-items: start;
}

.faq-grid img {
  width: min(100%, 360px);
  margin-top: 28px;
  filter: drop-shadow(0 18px 18px rgba(22, 46, 92, 0.14));
}

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

details {
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--navy);
  font-weight: 950;
}

details p {
  margin: 0;
  padding: 0 22px 20px;
}

.final-cta {
  padding: 66px 0;
  color: white;
  background: linear-gradient(135deg, var(--navy), #00a7d0);
}

.final-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.site-footer {
  padding: 52px 0 92px;
  color: white;
  background: #0d1c38;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  width: 170px;
  filter: brightness(0) invert(1);
}

.site-footer p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.footer-menu button {
  border: 0;
  padding: 0;
  background: transparent;
  color: white;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.mobile-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 18;
  display: none;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 14px 26px rgba(13, 28, 56, 0.28);
}

.modal-layer,
.exit-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 16, 32, 0.7);
}

.modal-layer[hidden],
.exit-layer[hidden] {
  display: none;
}

.modal-box,
.exit-box {
  position: relative;
  width: min(720px, 100%);
  max-height: min(720px, 90vh);
  overflow: auto;
  border-radius: 8px;
  background: white;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.modal-box {
  padding: 34px;
}

.modal-body {
  color: var(--muted);
}

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

.exit-box {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: center;
  padding: 28px;
}

.exit-box img {
  width: min(100%, 260px);
  margin: 0 auto;
}

.noscript-note {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  padding: 12px 14px;
  background: #fff7df;
  border: 1px solid #f6cf73;
}

:focus-visible {
  outline: 3px solid rgba(0, 181, 226, 0.9);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ingredient-grid,
  .guarantee-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .intro-grid,
  .guarantee-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 48px 0;
  }

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

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

  .strip-grid article,
  .strip-grid article:last-child {
    border: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 76px;
  }

  .container {
    width: min(100% - 24px, 1160px);
  }

  .nav {
    min-height: 66px;
  }

  .brand {
    width: 154px;
  }

  .desktop-nav,
  .site-header .button {
    display: none;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 4.25rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.75rem);
  }

  .hero-actions .button,
  .button {
    width: 100%;
  }

  .trust-list,
  .ingredient-grid,
  .guarantee-cards,
  .review-grid,
  .footer-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .hero-visual {
    min-height: 430px;
  }

  .product-plate {
    width: min(100%, 390px);
  }

  .rating-card {
    left: 8px;
    bottom: 14px;
    width: min(275px, 80%);
  }

  .footer-menu {
    justify-content: flex-start;
  }

  .mobile-cta {
    display: flex;
  }

  .exit-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .pack-shot img {
    width: 112px;
    margin: 0 -20px;
  }

  .pack-shot.one img {
    width: 145px;
  }

  .modal-box,
  .exit-box {
    padding: 22px;
  }
}
