:root {
  --bg: #faf7f0;
  --surface: #ffffff;
  --surface-warm: #f4efe6;
  --ink: #14241d;
  --muted: #69736e;
  --brand: #153d34;
  --brand-2: #2e7668;
  --gold: #c79a4b;
  --rose: #b98c8d;
  --line: #e8ded0;
  --shadow: 0 24px 70px rgba(20, 36, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.top-announcement {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 10px 16px;
  color: #fff;
  background: #10251e;
  font-size: 13px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(232, 222, 208, 0.92);
  background: rgba(250, 247, 240, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(199, 154, 75, 0.5);
  border-radius: 50%;
  color: var(--gold);
  background: #14241d;
  font-family: "Playfair Display", serif;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
}

.cart-button,
.button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.cart-button {
  padding: 10px 15px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(20, 36, 29, 0.08);
}

#cartCount {
  display: inline-grid;
  min-width: 23px;
  height: 23px;
  margin-left: 6px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 54px;
  align-items: center;
  width: min(1200px, calc(100% - 32px));
  min-height: 760px;
  margin: 0 auto;
  padding: 70px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy,
.section-heading p,
.split p,
.newsletter p,
.detail-copy,
.page-hero p,
.disclaimer {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
}

.button.primary {
  color: #fff;
  background: var(--brand);
}

.button.primary:hover {
  background: #0e2d25;
}

.button.secondary {
  color: var(--brand);
  background: #e6eee9;
}

.shop-pay {
  width: 100%;
  color: #fff;
  background: #5a31f4;
}

.trust-row,
.store-strip,
.hero-proof,
.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row span,
.store-strip p {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.hero-proof {
  max-width: 540px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.hero-proof div {
  flex: 1;
  min-width: 120px;
  padding: 18px;
}

.hero-proof div + div {
  border-left: 1px solid var(--line);
}

.hero-proof strong {
  display: block;
  font-size: 28px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-product {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 44px;
  padding: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(199, 154, 75, 0.18), transparent 32%),
    linear-gradient(145deg, #fff, #efe6d7);
  box-shadow: var(--shadow);
}

.hero-product img {
  width: 100%;
  border-radius: 30px;
}

.hero-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 4px;
  max-width: 220px;
  border-radius: 22px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(20, 36, 29, 0.16);
}

.hero-badge small {
  color: var(--muted);
}

.store-strip {
  justify-content: center;
  border-block: 1px solid var(--line);
  padding: 18px;
  background: #fffaf2;
}

.logo-cloud {
  display: grid;
  gap: 18px;
  padding: 34px 0 18px;
  text-align: center;
}

.logo-cloud p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.logo-cloud div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.logo-cloud span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--brand);
  background: #fff;
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
}

.section,
.newsletter,
.page-hero,
.product-detail {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.section,
.newsletter {
  padding: 86px 0;
}

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

.category-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 28px;
}

.category-row article,
.process-grid article,
.comparison-card,
.formula-card,
.review-grid article,
.product-tabs details,
.policy-grid article {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 26px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(20, 36, 29, 0.06);
}

.category-row span,
.process-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 16px;
  color: var(--brand);
  background: #e6eee9;
  font-weight: 900;
}

.category-row p,
.process-grid p,
.comparison-card li,
.product-tabs p,
.product-tabs li,
.policy-grid p,
.ingredient-grid p,
.routine-finder p,
.subscription-value p,
.founder-note p {
  color: var(--muted);
  line-height: 1.72;
}

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

.product-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(20, 36, 29, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 58px rgba(20, 36, 29, 0.13);
}

.product-art {
  display: grid;
  min-height: 300px;
  place-items: center;
  background: linear-gradient(145deg, #f7efe4, #fff);
}

.image-art img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.product-body {
  padding: 24px;
}

.product-badge {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--brand);
  background: #e6eee9;
  font-size: 12px;
  font-weight: 900;
}

.product-body p {
  color: var(--muted);
  line-height: 1.7;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 14px;
}

.price {
  font-size: 24px;
  font-weight: 900;
}

.text-link {
  color: var(--brand-2);
  font-weight: 900;
}

.routine-finder {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 38px;
  background:
    radial-gradient(circle at 92% 18%, rgba(199, 154, 75, 0.2), transparent 28%),
    linear-gradient(135deg, #fff, #eef5f1);
  box-shadow: 0 18px 48px rgba(20, 36, 29, 0.07);
}

.quiz-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.84);
}

.quiz-step {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 16px;
  color: var(--brand);
  background: #e6eee9;
  font-weight: 900;
}

.quiz-options {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.quiz-options button {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.quiz-options button:hover {
  border-color: var(--brand-2);
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 28px;
}

.ingredient-grid .section-heading {
  grid-column: 1 / -1;
}

.ingredient-grid article {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(20, 36, 29, 0.06);
}

.ingredient-grid article span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--brand);
  background: #e6eee9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 34px;
  align-items: center;
}

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

.check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--brand-2);
  font-weight: 900;
}

.formula-card dl {
  display: grid;
  gap: 12px;
}

.formula-card div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.formula-card dt {
  color: var(--muted);
}

.formula-card dd {
  margin: 0;
  font-weight: 900;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.comparison-card ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

.muted-card {
  background: var(--surface-warm);
}

.premium-card {
  color: #fff;
  background: linear-gradient(135deg, #10251e, #2e7668);
}

.premium-card li {
  color: rgba(255, 255, 255, 0.88);
}

.stars {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 38px;
  background: linear-gradient(135deg, #fffaf2, #e6eee9);
  box-shadow: 0 16px 42px rgba(20, 36, 29, 0.06);
}

.founder-note {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}

.newsletter form {
  display: flex;
  gap: 12px;
}

.newsletter input {
  flex: 1;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  outline: none;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: start;
  padding: 58px 0 36px;
}

.product-gallery {
  position: sticky;
  top: 104px;
}

.main-image {
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.main-image img {
  width: 100%;
  border-radius: 26px;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.thumb,
.swatch {
  border: 1px solid var(--line);
  cursor: pointer;
  background: #fff;
}

.thumb {
  border-radius: 18px;
  padding: 6px;
}

.thumb.active,
.swatch.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(21, 61, 52, 0.18);
}

.thumb img {
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
}

.product-buybox {
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(20, 36, 29, 0.06);
}

.product-buybox h1 {
  font-size: clamp(38px, 5vw, 64px);
}

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

.rating-row a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: underline;
}

.price-block {
  display: grid;
  gap: 4px;
  margin: 24px 0;
}

.price-block strong {
  font-size: 34px;
}

.price-block span,
.mini-promises,
.purchase-option small {
  color: var(--muted);
}

.option-group {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  border: 0;
  padding: 0;
}

.option-group legend,
.quantity-row > span {
  margin-bottom: 8px;
  font-weight: 900;
}

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

.swatch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 18px;
  padding: 12px;
  text-align: left;
  font-weight: 800;
}

.swatch::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--swatch);
}

.purchase-option {
  display: flex;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  cursor: pointer;
}

.purchase-option span {
  display: grid;
  gap: 4px;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0;
}

.add-detail {
  width: 100%;
  margin-bottom: 10px;
}

.mini-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 800;
}

.mini-promises span {
  border-radius: 999px;
  padding: 7px 10px;
  background: #f2f5f1;
}

.clinical-note {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  background: #faf7f0;
}

.clinical-note p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.payment-icons span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.trust-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 34px;
}

.trust-panels article {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(20, 36, 29, 0.06);
}

.trust-panels p {
  color: var(--muted);
  line-height: 1.7;
}

.subscription-value {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 24px;
  align-items: center;
  padding-top: 34px;
}

.value-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.value-table div {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  background: #fff;
}

.value-table .highlight {
  color: #fff;
  background: linear-gradient(135deg, #10251e, #2e7668);
}

.value-table span,
.value-table small {
  color: inherit;
  opacity: 0.72;
  font-weight: 800;
}

.value-table strong {
  font-size: 28px;
}

.sticky-atc {
  position: sticky;
  bottom: 0;
  z-index: 9;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 -12px 30px rgba(20, 36, 29, 0.08);
}

.sticky-atc div {
  display: grid;
  gap: 3px;
}

.sticky-atc span {
  color: var(--muted);
  font-size: 13px;
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 46px;
}

.product-tabs summary,
.faq summary {
  cursor: pointer;
  font-weight: 900;
}

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

.faq details {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 24px;
  background: #fff;
}

.page-hero {
  padding: 74px 0 18px;
}

.page-hero h1 {
  max-width: 940px;
}

.page-hero p {
  max-width: 820px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-top: 36px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  justify-content: end;
  background: rgba(20, 36, 29, 0.46);
}

.cart-drawer.open {
  display: flex;
}

.cart-panel {
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100%;
  padding: 24px;
  background: var(--surface);
}

.cart-header,
.cart-line,
.subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.icon-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 34px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
}

.cart-line {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.cart-line img {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  object-fit: cover;
}

.cart-line small {
  display: block;
  color: var(--muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.cart-footer {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.checkout {
  width: 100%;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.disclaimer {
  max-width: 560px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .newsletter,
  .product-detail,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .product-grid,
  .review-grid,
  .category-row,
  .comparison-grid,
  .routine-finder,
  .ingredient-grid,
  .founder-note,
  .product-tabs,
  .policy-grid,
  .trust-panels,
  .subscription-value,
  .value-table,
  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .top-announcement {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }

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

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-proof {
    display: grid;
  }

  .hero-proof div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .newsletter form {
    flex-direction: column;
  }

  .sticky-atc {
    display: flex;
  }

  .sticky-atc .button {
    min-height: 42px;
    padding: 0 16px;
    white-space: nowrap;
  }
}
