:root {
  --forest: #163C2A;
  --bottle: #0E2B1E;
  --olive: #738F25;
  --sage: #78907B;
  --gold: #C5A65A;
  --ivory: #F7F4ED;
  --cream: #EFEADF;
  --charcoal: #202820;
  --white: #FFFFFF;
  --line: rgba(22, 60, 42, 0.16);
  --shadow: 0 26px 70px rgba(14, 43, 30, 0.15);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--ivory);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
}

body.locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.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;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  background: var(--bottle);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
  transform: translateY(-160%);
}

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

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.top-bar {
  background: var(--bottle);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.top-grid {
  min-height: 38px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  gap: 22px;
  align-items: center;
}

.top-grid span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
  vertical-align: middle;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 237, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark img {
  width: 138px;
  height: auto;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

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

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--forest);
  margin: 0 auto;
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -7px;
}

.menu-lines::after {
  top: 7px;
}

.main-action,
.order-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--forest), var(--bottle));
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(14, 43, 30, 0.18);
}

.order-button.small {
  min-height: 42px;
  padding: 11px 16px;
}

.order-button.light {
  background: var(--gold);
  color: var(--bottle);
}

.text-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  font-weight: 800;
  color: var(--forest);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 84px 0 62px;
  background:
    radial-gradient(circle at 78% 18%, rgba(197, 166, 90, 0.22), transparent 32%),
    linear-gradient(125deg, var(--ivory) 0%, var(--cream) 52%, rgba(120, 144, 123, 0.22) 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(115deg, transparent 0 38%, rgba(22, 60, 42, 0.25) 38% 38.4%, transparent 38.4%),
    linear-gradient(65deg, transparent 0 52%, rgba(197, 166, 90, 0.26) 52% 52.5%, transparent 52.5%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--olive);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--bottle);
  line-height: 1.02;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(46px, 7vw, 48px);
  max-width: 820px;
}

h2 {
  font-size: clamp(36px, 5vw, 32px);
}

h3 {
  font-size: 21px;
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 18px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.hero-points span,
.choice-grid .trust-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  padding: 11px 12px;
  font-weight: 700;
}

.hero-points span::before,
.choice-grid .trust-item::before {
  content: "✓";
  color: var(--olive);
  margin-right: 8px;
  font-weight: 900;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-notice {
  max-width: 650px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
}

.hero-notice.strong {
  border-left-color: var(--forest);
}

.product-stage {
  background: linear-gradient(145deg, rgba(255,255,255,0.88), rgba(239,234,223,0.9));
  border: 1px solid rgba(197, 166, 90, 0.45);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.hero-media img {
  filter: drop-shadow(0 34px 34px rgba(14, 43, 30, 0.24));
}

.facts-section {
  background: var(--forest);
  color: var(--white);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.16);
}

.fact-item {
  background: var(--forest);
  padding: 24px 16px;
  text-align: center;
}

.fact-item span {
  display: block;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.fact-item p {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.intro-grid,
.routine-grid,
.care-grid,
.final-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 46px;
  align-items: center;
}

.intro-grid p,
.section-heading p,
.routine-grid p,
.care-grid p,
.final-grid p {
  font-size: 17px;
}

.intro-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.intro-card img {
  max-height: 440px;
  width: 100%;
  object-fit: contain;
}

.intro-card strong {
  color: var(--forest);
  font-size: 20px;
}

.formula-section,
.offers-section,
.faq-section {
  background: var(--cream);
}

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

.section-heading.center,
.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.formula-overview,
.ingredient-grid,
.choice-grid,
.trust-grid,
.review-grid,
.offers-grid {
  display: grid;
  gap: 20px;
}

.formula-overview {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 24px;
}

.formula-overview div,
.formula-card,
.trust-card,
.review-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.formula-overview div {
  padding: 22px;
}

.formula-overview strong {
  color: var(--forest);
}

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

.formula-card {
  padding: 24px;
  min-height: 270px;
}

.dose {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: var(--radius);
  background: rgba(197, 166, 90, 0.2);
  color: var(--forest);
  font-weight: 900;
}

.formula-card h3 {
  margin-top: 20px;
}

.fine-note {
  margin: 24px 0 0;
  color: rgba(32, 40, 32, 0.72);
  font-size: 14px;
}

.step-list {
  display: grid;
  gap: 16px;
}

.step-list article {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-list span,
.trust-card span {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
}

.step-list h3,
.step-list p {
  grid-column: 2;
}

.step-list h3 {
  grid-row: 1;
}

.step-list p {
  margin: -10px 0 0;
}

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--forest);
  color: var(--white);
}

td:nth-child(2) {
  color: var(--forest);
  font-weight: 800;
}

.offers-grid {
  grid-template-columns: 1fr 1.14fr 1fr;
  align-items: stretch;
}

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 48px rgba(14, 43, 30, 0.1);
}

.offer-card.featured {
  background: linear-gradient(145deg, var(--forest), var(--bottle));
  color: var(--white);
  border: 2px solid var(--gold);
  transform: translateY(-14px);
  box-shadow: 0 34px 80px rgba(14, 43, 30, 0.28);
}

.offer-card.featured h3,
.offer-card.featured .unit-price,
.offer-card.featured .total-price {
  color: var(--white);
}

.offer-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 46px;
}

.offer-label {
  margin: 0 0 5px;
  color: var(--olive);
  font-weight: 800;
}

.featured .offer-label,
.featured .saving-line,
.featured .guarantee-line {
  color: rgba(255, 255, 255, 0.8);
}

.offer-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--bottle);
  font-size: 12px;
  font-weight: 900;
}

.offer-badge.subtle {
  background: rgba(197, 166, 90, 0.22);
}

.bundle-view {
  display: grid;
  place-items: center;
  min-height: 210px;
  margin: 16px 0 10px;
}

.bundle-view img {
  max-height: 238px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(14, 43, 30, 0.18));
}

.featured .bundle-view {
  min-height: 270px;
}

.featured .bundle-view img {
  max-height: 292px;
}

.single img {
  width: 78%;
  clip-path: inset(0 32% 0 32%);
  transform: scale(1.12);
}

.double img {
  width: 92%;
}

.triple img {
  width: 100%;
}

.offer-card ul {
  margin: 10px 0 18px;
  padding: 0;
  list-style: none;
}

.offer-card li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(120, 144, 123, 0.24);
}

.unit-price {
  margin: auto 0 0;
  color: var(--forest);
  font-size: 19px;
  font-weight: 900;
}

.total-price {
  margin: 4px 0 0;
  color: var(--bottle);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 44px;
  font-weight: 700;
}

.saving-line,
.shipping-line,
.guarantee-line {
  margin: 8px 0 0;
  font-size: 14px;
}

.shipping-line {
  font-weight: 900;
}

.offer-card .order-button {
  margin-top: 18px;
  width: 100%;
}

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

.trust-card,
.review-card {
  padding: 26px;
}

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

.avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 18px;
}

.review-card p {
  margin: 0 0 18px;
}

.review-card time,
.review-card small {
  display: block;
  color: rgba(32, 40, 32, 0.64);
  font-size: 13px;
}

.review-card small {
  margin-top: 14px;
}

.care-section {
  background: var(--forest);
  color: var(--white);
}

.care-section h2 {
  color: var(--white);
}

.medical-notice {
  padding: 18px;
  border: 1px solid rgba(197, 166, 90, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.warning-panel {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
}

.warning-panel ul {
  margin: 0;
  padding-left: 20px;
}

.warning-panel li {
  margin: 8px 0;
}

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

.accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 20px;
  border: 0;
  background: transparent;
  color: var(--bottle);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--olive);
  font-size: 24px;
}

.faq-item button[aria-expanded="true"]::after {
  content: "−";
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.faq-panel > p {
  overflow: hidden;
  margin: 0;
  padding: 0 20px;
}

.faq-item button[aria-expanded="true"] + .faq-panel {
  grid-template-rows: 1fr;
}

.faq-item button[aria-expanded="true"] + .faq-panel > p {
  padding-bottom: 20px;
}

.final-section {
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--ivory), rgba(197, 166, 90, 0.2));
}

.final-grid {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.final-grid img {
  filter: drop-shadow(0 24px 28px rgba(14, 43, 30, 0.2));
}

.site-footer {
  padding: 42px 0;
  background: var(--bottle);
  color: rgba(255, 255, 255, 0.82);
}

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

.footer-grid img {
  max-width: 130px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 5px 8px;
}

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

.legal-trigger {
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  padding: 10px 12px;
  cursor: pointer;
}

.legal-modal,
.exit-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

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

.legal-backdrop,
.exit-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 43, 30, 0.72);
}

.legal-window,
.exit-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border-radius: var(--radius);
  background: var(--ivory);
  padding: 34px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.close-panel {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--bottle);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.exit-panel {
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 26px;
  align-items: center;
}

.exit-panel img {
  filter: drop-shadow(0 18px 20px rgba(14, 43, 30, 0.18));
}

@media (max-width: 980px) {
  .top-grid,
  .facts-grid,
  .formula-overview,
  .ingredient-grid,
  .choice-grid,
  .trust-grid,
  .review-grid,
  .offers-grid,
  .hero-grid,
  .intro-grid,
  .routine-grid,
  .care-grid,
  .faq-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .menu-button {
    display: block;
  }

  .nav-panel {
    position: fixed;
    inset: 76px 0 auto 0;
    display: grid;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 20px 20px;
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .nav-panel.open {
    transform: translateY(0);
  }

  .nav-panel a {
    padding: 14px 0;
  }

  .hero-section {
    padding-top: 52px;
  }

  .hero-grid {
    gap: 34px;
  }

  .facts-grid {
    background: var(--forest);
  }

  .offers-grid {
    display: flex;
    flex-direction: column;
  }

  .three-pack {
    order: 1;
  }

  .two-pack {
    order: 2;
  }

  .one-pack {
    order: 3;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .top-grid {
    gap: 8px;
    justify-items: start;
    padding: 10px 0;
  }

  .top-grid span {
    font-size: 12px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .step-list article {
    grid-template-columns: 1fr;
  }

  .step-list h3,
  .step-list p {
    grid-column: auto;
    grid-row: auto;
  }

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

  .exit-panel img {
    max-height: 220px;
    object-fit: contain;
  }

  .legal-window,
  .exit-panel {
    padding: 28px 20px;
  }
}
