:root {
  --bg: #f6f3e8;
  --bg-deep: #ece5d2;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf7;
  --text: #233127;
  --muted: #5e6f60;
  --primary: #314f35;
  --primary-dark: #203523;
  --secondary: #8d7340;
  --secondary-soft: #d7c59c;
  --line: rgba(49, 79, 53, 0.15);
  --shadow: 0 24px 60px rgba(35, 49, 39, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
  --section-gap: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(141, 115, 64, 0.22), transparent 32%),
    radial-gradient(circle at top right, rgba(49, 79, 53, 0.14), transparent 30%),
    linear-gradient(180deg, #fbf8ef 0%, var(--bg) 42%, #f2eedf 100%);
  line-height: 1.6;
}

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

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

a {
  color: inherit;
}

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

.hero {
  padding: 1.25rem 0 0;
}

main {
  display: grid;
  gap: var(--section-gap);
  margin-top: var(--section-gap);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 24px rgba(49, 79, 53, 0.22);
}

.button--cta {
  color: #fff;
  background: linear-gradient(135deg, #b3924c, #8d7340 55%, #6b552d);
  box-shadow: 0 18px 34px rgba(141, 115, 64, 0.34);
  min-width: 168px;
  position: relative;
}

.button--cta::after {
  content: "Shop now";
  margin-left: 0.55rem;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
}

.button--cta:hover,
.button--cta:focus-visible {
  box-shadow: 0 22px 38px rgba(141, 115, 64, 0.42);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 253, 247, 0.82);
  border: 1px solid rgba(49, 79, 53, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(35, 49, 39, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
}

.brand__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 1rem;
}

.brand__text span {
  color: var(--muted);
  font-size: 0.85rem;
}

.topbar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(49, 79, 53, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  cursor: pointer;
}

.topbar__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.topbar__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.topbar__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.topbar__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.topbar__toggle:focus-visible {
  outline: 2px solid rgba(49, 79, 53, 0.35);
  outline-offset: 2px;
}

.topbar__links a {
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--primary);
  font-weight: 700;
}

.topbar__links a:hover,
.topbar__links a:focus-visible {
  background: rgba(49, 79, 53, 0.08);
  outline: none;
}

.product-section {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.eyebrow,
.product-section__eyebrow {
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.73rem;
  font-weight: 800;
  color: var(--secondary);
}

.product-section h2 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  line-height: 1.12;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button--ghost,
.button--secondary {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(49, 79, 53, 0.15);
}

.is-disabled {
  pointer-events: none;
  opacity: 0.6;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: clamp(1.3rem, 2vw, 2rem);
  align-items: start;
  padding: clamp(1.2rem, 2vw, 1.75rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(255, 251, 240, 0.82));
  scroll-margin-top: 1rem;
}

.product-section--alt {
  background: linear-gradient(180deg, rgba(239, 244, 236, 0.94), rgba(255, 252, 246, 0.88));
}

.product-section__media {
  display: grid;
  gap: 1rem;
  order: 2;
}

.product-section__content {
  order: 1;
}

.product-shot,
.supplement-shot,
.video-card {
  background: var(--surface-strong);
  border: 1px solid rgba(49, 79, 53, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-shot,
.supplement-shot {
  padding: 1rem;
}

.product-shot img,
.supplement-shot img {
  width: 100%;
  object-fit: contain;
}

.product-section__content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.product-section__lede {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.product-section__marketing {
  margin: 1rem 0 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.product-section__marketing-title {
  margin: 1.35rem 0 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--primary-dark);
}

.benefits {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.benefits li + li {
  margin-top: 0.45rem;
}

.video-card {
  margin-top: 1.3rem;
}

.video-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0;
}

.video-card__header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.video-card__header a {
  color: var(--primary);
  font-weight: 800;
}

.video-frame {
  aspect-ratio: 16 / 9;
  margin: 0.8rem 1rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #d7d8d4;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-note {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.site-footer {
  padding: 0 0 2rem;
  text-align: center;
  color: var(--muted);
}

.site-footer__note {
  max-width: 64ch;
  margin: 0.4rem auto 0;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .topbar,
  .product-section {
    grid-template-columns: 1fr;
  }

  .product-section__media,
  .product-section__content {
    order: initial;
  }

  .topbar {
    border-radius: 28px;
  }
}

@media (max-width: 720px) {
  .hero,
  .product-section,
  .site-footer {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .hero {
    padding-top: 0.5rem;
  }

  .topbar {
    align-items: flex-start;
    padding: 1rem;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .topbar__toggle {
    display: inline-flex;
  }

  .topbar__links {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.7rem;
    background: rgba(255, 253, 247, 0.97);
    border: 1px solid rgba(49, 79, 53, 0.12);
    border-radius: 24px;
    box-shadow: 0 18px 32px rgba(35, 49, 39, 0.12);
    backdrop-filter: blur(14px);
    z-index: 5;
  }

  .topbar__links.is-open {
    display: flex;
  }

  .topbar__links a {
    width: 100%;
    padding: 0.8rem 0.95rem;
    text-align: left;
    background: rgba(49, 79, 53, 0.04);
  }

  .product-section {
    border-radius: 26px;
  }

  .video-card__header {
    align-items: flex-start;
    flex-direction: column;
  }
}
