:root {
  --forest: #123f32;
  --forest-dark: #092a22;
  --leaf: #588a46;
  --sage: #dde7d2;
  --cream: #f7f1e7;
  --sand: #e9d7b5;
  --coffee: #493326;
  --amber: #c77b27;
  --paper: #ffffff;
  --charcoal: #222722;
  --muted: #677067;
  --line: #dfe5dc;
  --shadow: 0 24px 80px rgba(9, 42, 34, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--cream);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.modal-active {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--forest-dark);
  box-shadow: var(--shadow);
}

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

.notice-bar {
  background: var(--forest-dark);
  color: var(--sage);
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.86rem;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 231, 0.92);
  border-bottom: 1px solid rgba(18, 63, 50, 0.12);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 2rem));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--forest-dark);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 126px;
  height: auto;
}

.brand-text {
  color: var(--coffee);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--forest-dark);
}

.nav-links a,
.text-link {
  text-decoration: none;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--amber);
}

.offer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--paper);
  font-weight: 850;
  text-decoration: none;
  line-height: 1.1;
  box-shadow: 0 14px 28px rgba(199, 123, 39, 0.23);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.offer-button:hover {
  transform: translateY(-2px);
  background: #a9631e;
  box-shadow: 0 18px 34px rgba(199, 123, 39, 0.28);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--forest-dark);
  transition: transform 180ms ease;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
}

.menu-lines::before {
  transform: translateY(-7px);
}

.menu-lines::after {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-lines::before {
  transform: translateY(1px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines::after {
  transform: translateY(-1px) rotate(-45deg);
}

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

.hero-section {
  width: min(var(--max), calc(100% - 2rem));
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6.5rem) 0 2rem;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--forest-dark);
  line-height: 1.05;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "DM Serif Display", "Playfair Display", Georgia, serif;
  font-weight: 500;
}

h1 {
  max-width: 720px;
  font-size: 3.6rem;
}

h2 {
  font-size: 3.0rem;
}

h3 {
  font-size: 1.05rem;
}

p {
  margin: 1rem 0 0;
}

.hero-lede,
.section-heading p,
.split-section p,
.guarantee-copy p,
.final-section p {
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.chip-row span,
.overview-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.48rem 0.8rem;
  border: 1px solid rgba(18, 63, 50, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

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

.small-note,
.section-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-product {
  position: relative;
  isolation: isolate;
}

.hero-product img,
.product-figure,
.guarantee-section img,
.final-section img {
  filter: drop-shadow(0 28px 46px rgba(9, 42, 34, 0.18));
}

.lab-ring {
  position: absolute;
  inset: 8% 8% 2%;
  z-index: -1;
  border: 1px solid rgba(88, 138, 70, 0.34);
  border-radius: 50%;
  transform: rotate(-11deg);
}

.lab-ring::before,
.lab-ring::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: var(--leaf);
  opacity: 0.24;
}

.lab-ring::before {
  width: 62px;
  height: 14px;
  left: -18px;
  top: 30%;
  transform: rotate(34deg);
}

.lab-ring::after {
  width: 34px;
  height: 34px;
  right: 6%;
  bottom: 8%;
  background: var(--amber);
}

.snapshot-section,
.section,
.final-section,
.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid rgba(18, 63, 50, 0.13);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.snapshot-grid article {
  min-height: 118px;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
}

.snapshot-grid article:last-child {
  border-right: 0;
}

.snapshot-grid span,
.step-card span,
.saving-label,
.top-label {
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.snapshot-grid strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--forest-dark);
  line-height: 1.25;
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.split-section,
.steps-layout,
.guarantee-section,
.final-section,
.safety-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.product-figure {
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(18, 63, 50, 0.12);
  border-radius: var(--radius);
  background: var(--paper);
}

.product-figure img {
  border-radius: calc(var(--radius) - 2px);
}

figcaption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.overview-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.panel-section,
.comparison-section,
.safety-section {
  border-top: 1px solid rgba(18, 63, 50, 0.1);
  border-bottom: 1px solid rgba(18, 63, 50, 0.1);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.pillar-grid,
.ingredient-grid,
.routine-grid,
.review-grid,
.pricing-grid,
.check-grid {
  display: grid;
  gap: 1rem;
}

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

.formula-card,
.ingredient-card,
.step-card,
.review-card,
.package-card,
.advice-panel {
  border: 1px solid rgba(18, 63, 50, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.formula-card {
  padding: 1.35rem;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
  font-weight: 900;
}

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

.ingredient-card {
  overflow: hidden;
}

.ingredient-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ingredient-card div {
  padding: 1.2rem;
}

.ingredient-card p,
.formula-card p,
.step-card p,
.review-card p,
.package-card p,
.advice-panel p,
.site-footer p {
  color: var(--muted);
  font-size: 0.96rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(18, 63, 50, 0.13);
  background: var(--paper);
}

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

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

th {
  background: var(--forest);
  color: var(--paper);
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.step-list {
  display: grid;
  gap: 1rem;
}

.step-card {
  padding: 1.4rem;
}

.compact-figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.routine-grid article {
  min-height: 118px;
  display: flex;
  align-items: end;
  padding: 1rem;
  border: 1px solid rgba(18, 63, 50, 0.13);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--paper), var(--sage));
  color: var(--forest-dark);
  font-weight: 900;
}

.comparison-grid {
  display: grid;
  border: 1px solid rgba(18, 63, 50, 0.13);
  background: var(--paper);
  overflow-x: auto;
}

.comparison-grid [role="row"] {
  min-width: 820px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
}

.comparison-grid [role="cell"],
.comparison-grid [role="columnheader"] {
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.comparison-grid [role="row"] span:last-child,
.comparison-grid [role="row"] strong:last-child {
  border-right: 0;
}

.comparison-head {
  background: var(--forest-dark);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.review-card {
  min-height: 180px;
  padding: 1.3rem;
}

.offer-section {
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: var(--radius);
  background: var(--forest-dark);
  color: var(--paper);
}

.offer-section h2,
.offer-section h3 {
  color: var(--paper);
}

.offer-section p {
  color: rgba(255, 255, 255, 0.76);
}

.offer-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.offer-intro img {
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.25));
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.popular-card,
.value-card {
  background: rgba(255, 255, 255, 0.13);
}

.top-label {
  align-self: start;
  margin-bottom: 0.6rem;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--coffee);
}

.saving-label {
  color: var(--sand);
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: 1.1rem;
}

.price-line strong {
  color: var(--paper);
  font-size: 2.45rem;
  line-height: 1;
}

.price-line span,
.total-line {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.package-card .offer-button {
  margin-top: auto;
}

.one-time-panel {
  display: grid;
  gap: 0.3rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.guarantee-section {
  padding-top: clamp(4rem, 7vw, 6.5rem);
}

.guarantee-section img,
.final-section img {
  max-height: 520px;
  margin: 0 auto;
  object-fit: contain;
}

.check-grid {
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-grid li {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 1rem 1rem 1rem 2.6rem;
  border: 1px solid rgba(18, 63, 50, 0.13);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--forest-dark);
  font-weight: 800;
  position: relative;
}

.check-grid li::before {
  content: "";
  position: absolute;
  left: 1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--leaf);
}

.safety-section {
  align-items: start;
}

.advice-panel {
  padding: 1.4rem;
  background: var(--paper);
}

.advice-panel ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid rgba(18, 63, 50, 0.13);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 0;
  background: transparent;
  color: var(--forest-dark);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--amber);
  font-size: 1.5rem;
}

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

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

.faq-answer > p {
  overflow: hidden;
  margin: 0;
  padding: 0 1.2rem;
  color: var(--muted);
}

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

.faq-item button[aria-expanded="true"] + .faq-answer > p {
  padding-bottom: 1.2rem;
}

.final-section {
  margin-top: clamp(4rem, 7vw, 6rem);
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 4rem 0 7rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(18, 63, 50, 0.14);
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 0.7rem;
}

.footer-link {
  display: block;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forest);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.footer-link:hover {
  color: var(--amber);
}

.footer-bottom {
  margin-top: 2rem;
  font-size: 0.88rem;
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem max(0.75rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(18, 63, 50, 0.14);
  background: rgba(247, 241, 231, 0.96);
  box-shadow: 0 -14px 34px rgba(9, 42, 34, 0.12);
  backdrop-filter: blur(16px);
}

.mobile-bar span {
  color: var(--forest-dark);
  font-size: 0.88rem;
  font-weight: 900;
}

.mobile-bar .offer-button {
  min-height: 44px;
  padding: 0.76rem 0.9rem;
}

dialog {
  width: min(680px, calc(100% - 2rem));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--charcoal);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(9, 42, 34, 0.62);
  backdrop-filter: blur(4px);
}

.modal-inner,
.exit-inner {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.2rem);
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--forest-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.exit-modal {
  width: min(820px, calc(100% - 2rem));
}

.exit-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: center;
}

.exit-inner img {
  max-height: 320px;
  object-fit: contain;
}

:focus-visible {
  outline: 3px solid rgba(199, 123, 39, 0.7);
  outline-offset: 3px;
}

@media (max-width: 1020px) {
  .nav-shell {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.4rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.7rem;
    border: 1px solid rgba(18, 63, 50, 0.13);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 0.7rem;
  }

  .header-offer {
    justify-self: end;
  }

  .hero-section,
  .split-section,
  .steps-layout,
  .guarantee-section,
  .final-section,
  .safety-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-product {
    max-width: 560px;
    margin: 0 auto;
  }

  .snapshot-grid,
  .pillar-grid,
  .ingredient-grid,
  .routine-grid,
  .review-grid,
  .pricing-grid,
  .check-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .snapshot-grid article {
    border-bottom: 1px solid var(--line);
  }

  .offer-intro {
    grid-template-columns: 1fr;
  }

  .offer-intro img {
    max-width: 220px;
  }
}

@media (max-width: 860px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.9rem;
  }
}

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

  .notice-bar {
    font-size: 0.78rem;
  }

  .nav-shell {
    width: min(100% - 1rem, var(--max));
    min-height: 66px;
    grid-template-columns: auto auto;
  }

  .brand-logo {
    width: 102px;
  }

  .brand-text {
    max-width: 72px;
    white-space: normal;
    line-height: 1.05;
    font-size: 0.72rem;
  }

  .header-offer {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-section,
  .snapshot-section,
  .section,
  .final-section,
  .site-footer {
    width: min(100% - 1rem, var(--max));
  }

  .hero-section {
    padding-top: 2.3rem;
  }

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

  .text-link {
    justify-content: center;
  }

  .snapshot-grid,
  .pillar-grid,
  .ingredient-grid,
  .routine-grid,
  .review-grid,
  .pricing-grid,
  .check-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .snapshot-grid article {
    min-height: 86px;
    border-right: 0;
  }

  .section {
    padding: 3.8rem 0;
  }

  .offer-section,
  .final-section {
    padding: 1.2rem;
  }

  .price-line strong {
    font-size: 2.1rem;
  }

  .mobile-bar {
    display: grid;
  }

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

  .exit-inner img {
    max-height: 240px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
