:root {
  --forest: #0a3b25;
  --sage: #2a6151;
  --laurel: #b2b7aa;
  --cream: #fcf7f0;
  --gold: #dbc2a4;
  --gold-deep: #a8864b;
  --ink: #12382d;
  --muted: #63756d;
  --line: rgba(10, 59, 37, 0.14);
  --shadow: 0 24px 70px rgba(10, 59, 37, 0.12);
  --radius: 0;
  --delivery-banner-height: 28px;
  --nav-height: 70px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body *,
body *::before,
body *::after {
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

main {
  overflow: hidden;
}

.delivery-banner {
  position: sticky;
  top: 0;
  z-index: 31;
  height: var(--delivery-banner-height);
  overflow: hidden;
  color: #fff;
  background: var(--forest);
  border-bottom: 1px solid rgba(219, 194, 164, 0.25);
}

.delivery-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  animation: delivery-scroll 28s linear infinite;
}

.delivery-track span {
  padding-right: clamp(88px, 12vw, 170px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes delivery-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.site-header {
  --header-inline-padding: clamp(18px, 4vw, 58px);
  position: sticky;
  top: var(--delivery-banner-height);
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr auto;
  align-items: center;
  min-height: var(--nav-height);
  padding: 10px var(--header-inline-padding);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

/* Visible horizontal nav — desktop only */
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 32px);
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 0 6px;
  border-bottom: 1.5px solid transparent;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--forest);
  border-bottom-color: var(--gold-deep);
}

.desktop-nav a:hover {
  transform: translateY(-1px);
}

.nav-link-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--sage);
  transition: color 160ms ease;
}

.nav-link-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.desktop-nav a:hover .nav-link-icon,
.desktop-nav a.is-active .nav-link-icon {
  color: var(--gold-deep);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
}

.nav-logo-frame {
  display: block;
  --nav-logo-center-offset: 19px;
  width: clamp(170px, 21vw, 260px);
  height: 38px;
  overflow: hidden;
}

.nav-logo {
  width: 100%;
  max-width: none;
  transform: translateY(calc(-49.3% + var(--nav-logo-center-offset)));
}

.nav-menu {
  position: static;
  justify-self: end;
  display: none;
}

.header-cart-link {
  position: relative;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  justify-self: end;
  color: var(--forest);
  border: 1px solid rgba(168, 134, 75, 0.38);
  background: #fff;
  box-shadow: 0 10px 26px rgba(10, 59, 37, 0.08);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-cart-link:hover,
.header-cart-link.is-active {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}

.header-cart-icon,
.header-cart-icon svg {
  display: block;
  width: 21px;
  height: 21px;
}

.header-cart-count {
  position: absolute;
  right: -7px;
  top: -7px;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 5px;
  color: #fff;
  background: var(--gold-deep);
  border: 1px solid #fff;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
}

.nav-toggle {
  position: relative;
  z-index: 61;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--forest);
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  box-shadow: none;
}

.nav-menu.is-open .nav-toggle,
.nav-toggle:hover {
  color: var(--sage);
  background: transparent;
}

.burger-icon,
.burger-icon::before,
.burger-icon::after {
  display: block;
  content: "";
}

.burger-icon {
  position: relative;
  width: 17px;
  height: 17px;
  background: transparent;
}

.burger-icon::before,
.burger-icon::after {
  position: absolute;
  background: currentColor;
  border-radius: 999px !important;
}

.burger-icon::before {
  top: 8px;
  left: 0;
  width: 17px;
  height: 1px;
}

.burger-icon::after {
  top: 0;
  left: 8px;
  width: 1px;
  height: 17px;
}

.drawer-nav {
  position: absolute;
  top: 100%;
  right: calc(-1 * var(--header-inline-padding));
  left: calc(-1 * var(--header-inline-padding));
  z-index: 60;
  display: grid;
  padding: 0 clamp(20px, 5vw, 72px);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 26px 70px rgba(10, 59, 37, 0.16);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
  transform: translateY(-18px) scaleY(0.98);
  transform-origin: top;
  transition:
    clip-path 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 360ms ease;
  will-change: clip-path, opacity, transform;
}

.nav-menu.is-open .drawer-nav {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  clip-path: inset(0);
  transform: translateY(0);
}

.drawer-simple-link {
  display: flex;
  min-height: 58px;
  align-items: center;
  color: var(--forest);
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  text-transform: none;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    color 160ms ease,
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer-simple-link:last-child {
  border-bottom: 0;
}

.nav-menu.is-open .drawer-simple-link {
  opacity: 1;
  transform: translateY(0);
}

.nav-menu.is-open .drawer-simple-link:nth-child(1) {
  transition-delay: 55ms;
}

.nav-menu.is-open .drawer-simple-link:nth-child(2) {
  transition-delay: 90ms;
}

.nav-menu.is-open .drawer-simple-link:nth-child(3) {
  transition-delay: 125ms;
}

.nav-menu.is-open .drawer-simple-link:nth-child(4) {
  transition-delay: 160ms;
}

.nav-menu.is-open .drawer-simple-link:nth-child(5) {
  transition-delay: 195ms;
}

.drawer-simple-link:hover,
.drawer-simple-link.is-active {
  color: var(--sage);
}

.drawer-home-link {
  display: inline-flex;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  width: 100%;
}

.drawer-home-link:hover,
.drawer-home-link.is-active {
  color: var(--forest);
}

.drawer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 5vw, 72px);
  max-width: 860px;
}

.drawer-col-heading {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.drawer-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 12px 0;
  color: var(--forest);
  border-bottom: 1px solid var(--line);
  transition: color 140ms ease;
  width: 100%;
}

.drawer-item:last-child {
  border-bottom: 0;
}

.drawer-item:hover,
.drawer-item.is-active {
  color: var(--sage);
}

.drawer-item-icon {
  flex-shrink: 0;
  position: relative;
  width: 38px;
  height: 38px;
  background: rgba(219, 194, 164, 0.16);
  border: 1px solid rgba(168, 134, 75, 0.22);
  margin-top: 1px;
}

.drawer-item-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 1px;
}

.drawer-item-title {
  display: block;
  color: inherit;
  font-family: "Lora", Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
}

.drawer-item-desc {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Icon: Browse Products - 2x2 grid of small squares */
.icon-products::before,
.icon-products::after {
  position: absolute;
  content: "";
  background: var(--sage);
}

.icon-products::before {
  top: 10px;
  left: 9px;
  width: 8px;
  height: 8px;
  box-shadow: 12px 0 0 var(--sage);
}

.icon-products::after {
  top: 21px;
  left: 9px;
  width: 8px;
  height: 8px;
  box-shadow: 12px 0 0 var(--sage);
}

/* Icon: Stacks - three horizontal bars */
.icon-stacks::before {
  position: absolute;
  top: 10px;
  left: 9px;
  width: 20px;
  height: 2px;
  content: "";
  background: var(--sage);
  box-shadow: 0 8px 0 var(--sage), 0 16px 0 var(--sage);
}

/* Icon: Peptides - two nodes with a connecting line */
.icon-peptides::before {
  position: absolute;
  top: 9px;
  left: 8px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--sage);
  box-shadow: 14px 12px 0 var(--sage);
}

.icon-peptides::after {
  position: absolute;
  top: 12px;
  left: 15px;
  width: 14px;
  height: 1.5px;
  content: "";
  background: var(--sage);
  transform: rotate(38deg);
  transform-origin: left center;
}

/* Icon: Quiz - document outline with inner lines */
.icon-quiz::before {
  position: absolute;
  inset: 7px 9px;
  content: "";
  border: 1.5px solid var(--sage);
}

.icon-quiz::after {
  position: absolute;
  top: 15px;
  left: 13px;
  width: 12px;
  height: 1.5px;
  content: "";
  background: var(--sage);
  box-shadow: 0 5px 0 var(--sage);
}

/* Icon: Info - vertical bar with dot above */
.icon-info::before {
  position: absolute;
  top: 8px;
  left: 17px;
  width: 4px;
  height: 4px;
  content: "";
  background: var(--sage);
}

.icon-info::after {
  position: absolute;
  top: 17px;
  left: 18px;
  width: 2px;
  height: 12px;
  content: "";
  background: var(--sage);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
  min-height: calc(100svh - var(--delivery-banner-height) - var(--nav-height));
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 84px);
  background:
    linear-gradient(90deg, rgba(252, 247, 240, 0.88), rgba(252, 247, 240, 0.46) 46%, rgba(252, 247, 240, 0.08)),
    url("herobg.jpg") center 42% / cover no-repeat;
  isolation: isolate;
}

.hero-home {
  grid-template-columns: minmax(280px, 680px) minmax(0, 1fr);
  align-items: center;
  min-height: calc(100svh - var(--delivery-banner-height) - var(--nav-height));
  padding-top: clamp(34px, 5vw, 68px);
  padding-bottom: clamp(48px, 6vw, 86px);
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 650px;
}

.hero-brand-logo {
  width: clamp(280px, 38vw, 560px);
  max-width: 100%;
  margin-bottom: clamp(14px, 2.2vw, 24px);
}

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

h1,
h2,
h3 {
  color: var(--forest);
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 7.4rem);
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 18px;
  color: var(--forest);
  font-size: clamp(2.4rem, 5.2vw, 4.9rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.8rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

p {
  color: var(--muted);
}

.hero p,
.page-hero p,
.quiz-intro p {
  max-width: 720px;
  font-size: clamp(1.05rem, 1.7vw, 1.34rem);
}

.hero p {
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.24rem);
}

.hero-actions,
.card-actions,
.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-home .hero-actions {
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: clamp(-112px, -7vw, -68px);
  margin-left: clamp(24px, 4vw, 64px);
}

.hero-home .hero-actions .button {
  position: relative;
  overflow: hidden;
  min-width: clamp(198px, 13vw, 224px);
  min-height: 48px;
  padding: 13px 22px;
  border-radius: var(--radius);
  color: var(--forest);
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(10, 59, 37, 0.28);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: none;
}

.hero-home .hero-actions .button::before {
  display: none;
}

.button,
button.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.button.primary {
  color: var(--cream, #fcf7f0);
  background: var(--forest);
  border-color: var(--forest);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--sage);
  border-color: var(--sage);
  outline: 0;
}

.button.secondary {
  color: var(--forest);
  background: transparent;
  border-color: var(--forest);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--cream, #fcf7f0);
  background: var(--forest);
  border-color: var(--forest);
  outline: 0;
}

.hero .button.primary {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}

.hero .button.secondary {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(168, 134, 75, 0.5);
}

.hero.hero-home .button.primary {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(10, 59, 37, 0.28);
}

.hero.hero-home .button.secondary {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(10, 59, 37, 0.28);
}

.button.light {
  color: var(--forest);
  background: #fff;
  border-color: #fff;
}

.text-button {
  padding: 0;
  color: var(--sage);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
}

.science-panel {
  position: relative;
  min-height: clamp(440px, 54vw, 680px);
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 28%, rgba(219, 194, 164, 0.22), transparent 18%),
    linear-gradient(135deg, #0a3b25, #12382d 58%, #2a6151);
  border: 1px solid rgba(219, 194, 164, 0.32);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.science-panel::before,
.science-panel::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.science-panel::before {
  right: -70px;
  top: 60px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(252, 247, 240, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.45), transparent 5%),
    radial-gradient(circle at 58% 22%, rgba(219, 194, 164, 0.5), transparent 4%),
    radial-gradient(circle at 58% 62%, rgba(255, 255, 255, 0.35), transparent 5%);
}

.science-panel::after {
  right: 38px;
  bottom: 36px;
  width: 54%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(219, 194, 164, 0.75), transparent);
  transform: rotate(-16deg);
}

.capsule-line {
  position: absolute;
  top: 58px;
  left: 56px;
  width: 112px;
  height: 220px;
  border: 2px solid rgba(219, 194, 164, 0.58);
  border-right-color: transparent;
  border-left-color: transparent;
  border-radius: 999px;
  opacity: 0.7;
}

.molecule-chain {
  position: absolute;
  top: 88px;
  left: 112px;
  width: 190px;
  height: 250px;
}

.molecule-chain span {
  position: absolute;
  width: 23px;
  height: 23px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(219, 194, 164, 0.11);
}

.molecule-chain span:nth-child(1) { left: 12px; top: 18px; }
.molecule-chain span:nth-child(2) { left: 58px; top: 52px; }
.molecule-chain span:nth-child(3) { left: 36px; top: 104px; }
.molecule-chain span:nth-child(4) { left: 84px; top: 132px; }
.molecule-chain span:nth-child(5) { left: 74px; top: 192px; }
.molecule-chain span:nth-child(6) { left: 134px; top: 212px; }

.molecule-chain::before,
.molecule-chain::after {
  position: absolute;
  content: "";
  width: 170px;
  height: 1px;
  background: rgba(219, 194, 164, 0.52);
  transform-origin: left center;
}

.molecule-chain::before {
  top: 92px;
  left: 24px;
  transform: rotate(53deg);
}

.molecule-chain::after {
  top: 164px;
  left: 46px;
  transform: rotate(-31deg);
}

.glass-card {
  position: absolute;
  right: 38px;
  bottom: 42px;
  left: 38px;
  display: flex;
  min-height: 210px;
  align-items: end;
  justify-content: center;
  gap: 22px;
  padding: 28px;
  background: rgba(252, 247, 240, 0.88);
  border: 1px solid rgba(219, 194, 164, 0.5);
}

.pack-box {
  width: clamp(170px, 24vw, 280px);
  aspect-ratio: 1.4 / 1;
  background:
    linear-gradient(90deg, rgba(10, 59, 37, 0.08), transparent 18%),
    #fff;
  border: 1px solid rgba(10, 59, 37, 0.16);
  box-shadow: 0 18px 28px rgba(10, 59, 37, 0.14);
}

.pack-box::after {
  display: block;
  margin: 18% auto 0;
  width: 42%;
  height: 1px;
  content: "";
  background: var(--gold-deep);
  box-shadow: 0 18px 0 rgba(10, 59, 37, 0.32), 0 36px 0 rgba(10, 59, 37, 0.12);
}

.vial {
  width: 74px;
  height: 150px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.48), transparent 40%),
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(10, 59, 37, 0.18);
  border-radius: 15px 15px 24px 24px;
  box-shadow: 0 16px 24px rgba(10, 59, 37, 0.16);
}

.vial::before {
  display: block;
  width: 62px;
  height: 22px;
  margin: -19px auto 0;
  content: "";
  background: linear-gradient(90deg, #a8864b, var(--gold), #a8864b);
  border-radius: 5px 5px 2px 2px;
}

.pathway-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.pathway-band a {
  display: grid;
  min-height: 156px;
  place-items: center;
  gap: 10px;
  padding: 24px;
  color: var(--sage);
  text-align: center;
  border-right: 1px solid var(--line);
  font-size: 0.96rem;
  font-weight: 700;
}

.pathway-band a:last-child {
  border-right: 0;
}

.line-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  color: var(--sage);
}

.dna-icon::before,
.dna-icon::after,
.gauge-icon::before,
.form-icon::before,
.bolt-icon::before {
  position: absolute;
  content: "";
}

.dna-icon::before {
  inset: 3px 15px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(28deg);
}

.dna-icon::after {
  top: 8px;
  left: 8px;
  width: 26px;
  height: 24px;
  background:
    linear-gradient(currentColor, currentColor) 0 4px / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 16px / 100% 2px no-repeat;
  transform: rotate(-20deg);
}

.gauge-icon::before {
  inset: 5px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.gauge-icon::after {
  position: absolute;
  left: 20px;
  top: 13px;
  width: 2px;
  height: 15px;
  content: "";
  background: currentColor;
  transform: rotate(42deg);
  transform-origin: bottom center;
}

.form-icon::before {
  left: 9px;
  top: 6px;
  width: 24px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.form-icon::after {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 10px;
  height: 10px;
  content: "";
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.bolt-icon::before {
  top: 3px;
  left: 12px;
  width: 17px;
  height: 34px;
  background: currentColor;
  clip-path: polygon(58% 0, 0 56%, 42% 56%, 28% 100%, 100% 39%, 58% 39%);
}

.home-previews {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
  padding: clamp(58px, 8vw, 112px) 0 clamp(70px, 10vw, 132px);
}

.home-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding: clamp(34px, 6vw, 74px) 0;
  border-top: 1px solid var(--line);
}

.home-preview:last-child {
  border-bottom: 1px solid var(--line);
}

.home-preview:nth-child(even) .home-preview-media {
  order: 2;
}

.home-preview:nth-child(even) .home-preview-copy {
  justify-self: end;
}

.home-preview-media {
  position: relative;
  display: grid;
  min-height: 280px;
  place-items: center;
  overflow: hidden;
  color: rgba(10, 59, 37, 0.64);
  background:
    linear-gradient(135deg, rgba(252, 247, 240, 0.92), rgba(219, 194, 164, 0.32)),
    linear-gradient(90deg, rgba(10, 59, 37, 0.06), transparent 34%);
  border: 1px solid rgba(219, 194, 164, 0.5);
}

.home-preview-media::before,
.home-preview-media::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.home-preview-media::before {
  inset: 26px;
  border: 1px solid rgba(10, 59, 37, 0.11);
}

.home-preview-media::after {
  width: min(46%, 210px);
  aspect-ratio: 1;
  border: 1px solid rgba(168, 134, 75, 0.34);
  transform: rotate(34deg);
}

/* hide decorative overlays when a real image is present */
.home-preview-media:has(img)::before,
.home-preview-media:has(img)::after {
  display: none;
}

.home-preview-media img {
  display: block;
  width: 100%;
  height: auto;
}

.home-preview-media span {
  position: relative;
  z-index: 1;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.home-preview-copy {
  max-width: 530px;
}

.home-preview-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
}

.home-preview-copy p {
  max-width: 560px;
}

.home-preview-lead {
  margin-bottom: 12px;
  color: var(--forest);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.28;
}

.home-preview-copy .button {
  max-width: 100%;
  margin-top: 12px;
  text-align: center;
  white-space: normal;
}

.home-preview-copy h2 + .button {
  margin-top: 0;
}

.home-preview-copy .button.primary {
  min-height: 36px;
  padding: 8px 18px;
  color: var(--forest);
  background: var(--cream);
  border: 1px solid rgba(168, 134, 75, 0.45);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: none;
}

.home-preview-copy .button.primary:hover,
.home-preview-copy .button.primary:focus-visible {
  background: rgba(219, 194, 164, 0.28);
  border-color: var(--gold-deep);
  color: var(--forest);
  outline: 0;
}

.split-section,
.page-hero,
.quiz-shell,
.cart-page-shell,
.checkout-layout,
.article-grid,
.faq-section,
.notice-panel,
.feature-grid,
.goal-panel,
.stack-layout,
.product-grid,
.protocol-grid {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 6vw, 78px);
  align-items: start;
  padding: clamp(64px, 9vw, 128px) 0;
}

.quiet-card,
.cart-summary,
.notice-panel {
  padding: clamp(24px, 4vw, 38px);
  background: var(--cream);
  border: 1px solid rgba(219, 194, 164, 0.42);
  border-radius: var(--radius);
}

.quiet-card h3,
.cart-summary h2,
.notice-panel h2 {
  margin-bottom: 12px;
}

.quiet-card {
  padding: 0 0 0 clamp(18px, 3vw, 34px);
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
}

.feature-grid,
.cards-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

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

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

.cards-grid.is-empty {
  grid-template-columns: 1fr;
}

.feature-grid {
  padding-bottom: clamp(70px, 10vw, 132px);
}

.stack-card,
.product-card,
.article-grid article {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.stack-card:hover,
.product-card:hover {
  box-shadow: 0 16px 48px rgba(10, 59, 37, 0.13);
  transform: translateY(-3px);
}

.stack-card::before,
.product-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), transparent);
}

.feature-grid article {
  position: relative;
  overflow: visible;
  padding: 0 clamp(18px, 3vw, 34px) 0 0;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
}

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

.feature-grid a,
.stack-card a {
  color: var(--forest);
  border-bottom: 1px solid var(--gold-deep);
  font-weight: 700;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
  padding: clamp(54px, 8vw, 112px) 0 clamp(34px, 6vw, 76px);
}

.compact-hero h1,
.products-hero h1,
.education-hero h1,
.quiz-intro h1 {
  font-size: clamp(2.8rem, 6vw, 6.2rem);
}

.products-hero-compact {
  grid-template-columns: 1fr;
  padding-bottom: 32px;
}

.weight-loss-hero h1 {
  max-width: none;
}

.education-mark {
  position: relative;
  min-height: 300px;
  background:
    linear-gradient(145deg, rgba(10, 59, 37, 0.95), rgba(42, 97, 81, 0.93)),
    var(--forest);
  border: 1px solid rgba(219, 194, 164, 0.35);
  border-radius: var(--radius);
}

.green-band {
  display: flex;
  width: min(1180px, calc(100% - 36px));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(48px, 8vw, 90px) auto clamp(70px, 9vw, 132px);
  padding: clamp(30px, 5vw, 56px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(219, 194, 164, 0.1), transparent),
    var(--forest);
  border-radius: var(--radius);
}

.green-band h2,
.green-band p {
  color: #fff;
}

.green-band p {
  max-width: 710px;
  opacity: 0.85;
}

.stack-layout,
.product-grid,
.protocol-grid {
  padding-bottom: clamp(28px, 5vw, 72px);
}

.goal-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 54px);
  padding: clamp(24px, 4vw, 38px);
  background: var(--cream);
  border: 1px solid rgba(219, 194, 164, 0.42);
  border-radius: var(--radius);
}

.goal-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.goal-panel h2 span {
  color: var(--muted);
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
}

.goal-panel p {
  margin-bottom: 0;
}

.goal-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.weight-loss-mode-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.goal-button {
  min-height: 42px;
  padding: 9px 14px;
  color: var(--forest);
  background: #fff;
  border: 1px solid rgba(168, 134, 75, 0.45);
  border-radius: 0;
  cursor: pointer;
  font-weight: 700;
}

.goal-button:hover,
.goal-button.is-active {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}

.goal-select {
  width: min(100%, 360px);
  min-height: 48px;
  padding: 11px 48px 11px 16px;
  color: var(--forest);
  background:
    linear-gradient(45deg, transparent 50%, var(--forest) 50%) calc(100% - 22px) 52% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--forest) 50%, transparent 50%) calc(100% - 16px) 52% / 7px 7px no-repeat,
    #fff;
  border: 1px solid rgba(168, 134, 75, 0.45);
  border-radius: 0;
  cursor: pointer;
  font-weight: 700;
  appearance: none;
}

.goal-select:focus {
  outline: 2px solid rgba(168, 134, 75, 0.42);
  outline-offset: 3px;
}

.product-filter-panel {
  grid-template-columns: auto 1fr;
  align-items: center;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: #fff;
}

.product-filter-panel h2 {
  margin: 0;
  font-size: 1rem;
}

.product-filter-panel .goal-options {
  justify-content: flex-end;
}

.product-filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 14px;
}

.product-filter-panel .goal-button {
  min-height: 34px;
  padding: 6px 11px;
  font-size: 0.78rem;
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sort-control .goal-select {
  width: auto;
  min-width: 168px;
  min-height: 34px;
  padding: 6px 34px 6px 11px;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
}

.stack-filter-panel {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
  padding: 0;
  background: transparent;
  border: 0;
}

.stack-filter-panel .goal-options {
  justify-content: flex-end;
}

.stack-filter-panel .goal-button {
  min-height: 34px;
  padding: 6px 11px;
  font-size: 0.78rem;
}

.stack-card,
.product-card {
  min-height: 100%;
}

.stack-card h2,
.product-card h2 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.stack-meta,
.product-meta,
.quiz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.chip {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 9px;
  color: var(--forest);
  background: rgba(219, 194, 164, 0.18);
  border: 1px solid rgba(168, 134, 75, 0.28);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: rgba(42, 97, 81, 0.08);
  border: 1px solid rgba(42, 97, 81, 0.15);
  color: var(--sage);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.stack-products {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.stack-products li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.price-line {
  color: var(--forest);
  font-size: 1.35rem;
  font-weight: 700;
}

.stack-per-month {
  margin-left: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.category-line {
  color: var(--sage);
  font-weight: 700;
}

.image-slot {
  position: relative;
  display: flex;
  min-height: clamp(260px, 28vw, 380px);
  align-items: center;
  justify-content: center;
  margin: 0 0 22px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, rgba(255, 255, 255, 0.7) 100%);
  border-bottom: 1px solid rgba(168, 134, 75, 0.18);
}

.image-slot::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 22px,
    rgba(168, 134, 75, 0.055) 22px,
    rgba(168, 134, 75, 0.055) 23px
  );
  pointer-events: none;
}

.image-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-slot span {
  position: relative;
  z-index: 1;
  color: var(--laurel);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.protocol-image-slot {
  min-height: clamp(220px, 24vw, 340px);
}

.protocol-block {
  margin: 20px 0 0;
  padding: 14px 16px;
  background: rgba(252, 247, 240, 0.7);
  border: 1px solid rgba(219, 194, 164, 0.38);
}

.protocol-block h3 {
  margin-bottom: 6px;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.protocol-block p {
  margin-bottom: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.selection-prompt {
  padding: clamp(30px, 5vw, 54px);
  text-align: center;
  background: #fff;
  border: 1px dashed rgba(168, 134, 75, 0.45);
  border-radius: var(--radius);
}

.selection-prompt h2 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.tier-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.tier-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tier-row h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.tier-row p {
  margin-bottom: 0;
}

.tier-action {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 12px;
}

.tier-action strong {
  color: var(--forest);
  font-size: 1.18rem;
}

.cart-summary {
  align-self: stretch;
}

.cart-page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  padding: 0 0 clamp(80px, 10vw, 132px);
}

.cart-page-list,
.cart-page-summary,
.cart-empty-state,
.checkout-summary-panel,
.checkout-form {
  background: #fff;
  border: 1px solid var(--line);
}

.cart-page-list,
.cart-page-summary,
.cart-empty-state,
.checkout-summary-panel,
.checkout-form {
  padding: clamp(22px, 3vw, 34px);
}

.cart-page-heading,
.cart-page-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px 18px;
  align-items: center;
}

.cart-page-heading {
  padding-bottom: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cart-page-list > ul,
.checkout-summary-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.cart-page-item:last-child {
  border-bottom: 0;
}

.cart-page-item strong {
  color: var(--forest);
}

.cart-page-item span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: capitalize;
}

.stack-line-items {
  display: grid;
  gap: 4px;
  padding: 8px 0 0 14px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  list-style: disc;
}

.stack-line-items li {
  padding-left: 2px;
}

.cart-page-qty {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(10, 59, 37, 0.22);
}

.cart-page-summary {
  position: sticky;
  top: calc(var(--delivery-banner-height) + var(--nav-height) + 20px);
  display: grid;
  gap: 14px;
  background: var(--cream);
  border-color: rgba(219, 194, 164, 0.42);
}

.cart-summary-row,
.checkout-summary-list > li {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgba(10, 59, 37, 0.12);
}

.cart-summary-row strong,
.checkout-summary-list > li > strong {
  color: var(--forest);
  white-space: nowrap;
}

.cart-page-actions,
.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.cart-empty-state {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  justify-items: start;
  background: var(--cream);
  border-color: rgba(219, 194, 164, 0.42);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  padding: 0 0 clamp(80px, 10vw, 132px);
}

.checkout-summary-panel {
  background: var(--cream);
  border-color: rgba(219, 194, 164, 0.42);
}

.checkout-total {
  margin-top: 12px;
  font-size: 1.08rem;
}

.checkout-form {
  display: grid;
  gap: 16px;
}

.checkout-form h2 {
  margin-bottom: 2px;
}

.returning-customer-field {
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid rgba(219, 194, 164, 0.42);
  font-weight: 600;
}

.contact-fields {
  display: contents;
}

.contact-fields.is-hidden {
  display: none;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.checkout-acknowledgements {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--cream);
  border: 1px solid rgba(219, 194, 164, 0.42);
}

.checkbox-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.45;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--forest);
}

.checkbox-field a {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.button:disabled,
button.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.legal-document {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(70px, 9vw, 132px);
}

.legal-document header,
.legal-section,
.legal-notice,
.legal-confirmation {
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
}

.legal-notice,
.legal-confirmation {
  background: var(--cream);
  border-color: rgba(219, 194, 164, 0.42);
}

.legal-document h2,
.legal-document h3 {
  margin-bottom: 10px;
}

.legal-document ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
  margin: 12px 0 0;
}

.legal-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

body.modal-open {
  overflow: hidden;
}

.disclaimer-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
  background: rgba(10, 59, 37, 0.48);
}

.disclaimer-modal-overlay[hidden] {
  display: none;
}

.disclaimer-modal {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(820px, 100%);
  max-height: min(82vh, 760px);
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(219, 194, 164, 0.58);
  box-shadow: 0 28px 90px rgba(10, 59, 37, 0.3);
}

.disclaimer-modal-header {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
}

.disclaimer-modal-header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.disclaimer-modal-close {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  color: var(--forest);
  background: #fff;
  border: 1px solid rgba(10, 59, 37, 0.2);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.disclaimer-modal-close:hover,
.disclaimer-modal-close:focus-visible {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
  outline: 0;
}

.disclaimer-modal-body {
  min-height: 0;
  overflow-y: auto;
  padding: clamp(18px, 3vw, 28px);
}

.disclaimer-modal-body .legal-document {
  gap: 16px;
  width: 100%;
  margin-bottom: 0;
}

.disclaimer-modal-body .legal-document header,
.disclaimer-modal-body .legal-section,
.disclaimer-modal-body .legal-notice,
.disclaimer-modal-body .legal-confirmation {
  padding: clamp(16px, 2.4vw, 24px);
}

.notice-panel {
  margin-bottom: clamp(70px, 9vw, 132px);
}

/* ── Upsell / monthly dose modal ───────────────────────────────────── */

.upsell-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
  background: rgba(10, 59, 37, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.upsell-overlay[hidden] {
  display: none;
}

.upsell-modal {
  position: relative;
  width: min(500px, 100%);
  padding: clamp(28px, 4vw, 40px);
  background: var(--cream, #fcf7f0);
  border: 1px solid rgba(168, 134, 75, 0.35);
  box-shadow: 0 28px 80px rgba(10, 59, 37, 0.28);
}

.upsell-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  color: var(--forest, #0a3b25);
  background: transparent;
  border: 1px solid rgba(10, 59, 37, 0.22);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.upsell-close:hover,
.upsell-close:focus-visible {
  color: #fff;
  background: var(--forest, #0a3b25);
  border-color: var(--forest, #0a3b25);
  outline: 0;
}

.upsell-name {
  margin: 0 0 4px;
  padding-right: 44px;
  font-family: var(--font-serif, Lora, serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--forest, #0a3b25);
  line-height: 1.3;
}

.upsell-unit-price {
  margin: 0 0 26px;
  font-size: 0.82rem;
  color: var(--muted, #63756d);
  letter-spacing: 0.01em;
}

.upsell-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 16px;
}

.upsell-actions--single {
  margin-bottom: 0;
}

.upsell-btn-single {
  flex-shrink: 0;
  white-space: nowrap;
}

.upsell-btn-monthly {
  flex: 1;
  text-align: left;
}

.upsell-cycle-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(168, 134, 75, 0.25);
  font-size: 0.76rem;
  color: var(--muted, #63756d);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .upsell-actions {
    flex-direction: column;
  }

  .upsell-btn-single,
  .upsell-btn-monthly {
    width: 100%;
    flex: none;
  }
}

/* ── Inline card quantity stepper ──────────────────────────────────── */

.card-stepper-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-qty-stepper {
  display: inline-flex;
  align-items: stretch;
  height: 44px;
  border: 1.5px solid var(--forest, #0a3b25);
  align-self: stretch;
}

.card-step-btn {
  display: grid;
  place-items: center;
  width: 44px;
  padding: 0;
  color: var(--forest, #0a3b25);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: background 150ms ease, color 150ms ease;
}

.card-step-btn:hover,
.card-step-btn:focus-visible {
  background: var(--forest, #0a3b25);
  color: var(--cream, #fcf7f0);
  outline: 0;
}

.card-step-value {
  flex: 1;
  display: grid;
  place-items: center;
  font-family: var(--font-serif, Lora, serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--forest, #0a3b25);
  border-left: 1.5px solid var(--forest, #0a3b25);
  border-right: 1.5px solid var(--forest, #0a3b25);
  min-width: 52px;
  user-select: none;
  letter-spacing: 0.01em;
}

.card-step-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  padding: 0 20px;
  color: var(--cream, #fcf7f0);
  background: var(--forest, #0a3b25);
  border: 1.5px solid var(--forest, #0a3b25);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}

.card-step-add:hover,
.card-step-add:focus-visible {
  background: var(--sage, #2a6151);
  border-color: var(--sage, #2a6151);
  outline: 0;
}

/* ── Dosing guide button (card) ────────────────────────────────────── */

.dosing-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  color: var(--forest, #0a3b25);
  background: transparent;
  border: 1px solid rgba(10, 59, 37, 0.22);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 140ms ease, color 140ms ease;
}

.dosing-guide-btn:hover,
.dosing-guide-btn:focus-visible {
  color: #fff;
  background: var(--forest, #0a3b25);
  outline: 0;
}

.dosing-guide-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: var(--forest, #0a3b25);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  font-style: normal;
  flex-shrink: 0;
  transition: background 140ms ease;
}

.dosing-guide-btn:hover .dosing-guide-icon,
.dosing-guide-btn:focus-visible .dosing-guide-icon {
  background: rgba(255, 255, 255, 0.28);
}

/* ── Dosing modal ───────────────────────────────────────────────────── */

.dosing-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
  background: rgba(10, 59, 37, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dosing-overlay[hidden] {
  display: none;
}

.dosing-modal {
  position: relative;
  width: min(460px, 100%);
  padding: clamp(24px, 4vw, 36px);
  background: var(--cream, #fcf7f0);
  border: 1px solid rgba(168, 134, 75, 0.35);
  box-shadow: 0 28px 80px rgba(10, 59, 37, 0.28);
}

.dosing-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  color: var(--forest, #0a3b25);
  background: transparent;
  border: 1px solid rgba(10, 59, 37, 0.22);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.dosing-close:hover,
.dosing-close:focus-visible {
  color: #fff;
  background: var(--forest, #0a3b25);
  border-color: var(--forest, #0a3b25);
  outline: 0;
}

.dosing-label {
  margin: 0 0 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep, #a8864b);
}

.dosing-name {
  margin: 0 0 20px;
  padding-right: 44px;
  font-family: var(--font-serif, Lora, serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest, #0a3b25);
  line-height: 1.3;
}

.dosing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}

.dosing-table th,
.dosing-table td {
  padding: 9px 0;
  border-bottom: 1px solid rgba(168, 134, 75, 0.18);
  font-size: 0.84rem;
  line-height: 1.45;
  vertical-align: top;
  text-align: left;
}

.dosing-table th {
  width: 38%;
  padding-right: 14px;
  font-weight: 600;
  color: var(--forest, #0a3b25);
  white-space: nowrap;
}

.dosing-table td {
  color: var(--ink, #1a1a1a);
}

.dosing-table tr:last-child th,
.dosing-table tr:last-child td {
  border-bottom: none;
}

.dosing-disclaimer {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted, #63756d);
  line-height: 1.5;
  padding-top: 14px;
  border-top: 1px solid rgba(168, 134, 75, 0.2);
}

.quiz-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 3vw, 36px);
  padding: clamp(36px, 5vw, 64px) 0 clamp(60px, 8vw, 110px);
}

.quiz-intro {
  width: 100%;
  position: static;
  padding-right: 0;
  padding-bottom: clamp(24px, 4vw, 44px);
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.quiz-intro h1 {
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
}

.quiz-intro p {
  color: var(--forest);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.32;
}

.quiz-card {
  width: 100%;
  min-height: 420px;
  padding: clamp(24px, 4vw, 46px);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(219, 194, 164, 0.12), transparent 34%),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(10, 59, 37, 0.1);
}

.quiz-card h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--forest);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.quiz-step-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.quiz-step-header > span {
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.quiz-progress {
  height: 1px;
  overflow: hidden;
  background: rgba(10, 59, 37, 0.14);
  border-radius: 999px;
}

.quiz-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--forest), var(--gold-deep));
  transition: width 180ms ease;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(22px, 3.4vw, 34px) 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.quiz-option {
  position: relative;
  width: 100%;
  min-height: 108px;
  padding: 16px 40px 16px 16px;
  color: var(--forest);
  text-align: left;
  background: #fff;
  border: 0;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.quiz-option::before {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 14px;
  height: 14px;
  content: "";
  border: 1px solid rgba(10, 59, 37, 0.32);
  transition: background 160ms ease, border-color 160ms ease;
}

.quiz-option:hover {
  background: var(--cream);
  transform: translateY(-1px);
}

.quiz-option.is-selected {
  color: #fff;
  background: var(--sage);
}

.quiz-option.is-selected::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: inset 0 0 0 4px var(--sage);
}

.quiz-option strong {
  display: block;
  max-width: 88%;
  margin-bottom: 7px;
  font-family: "Lora", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.18;
}

.quiz-option span {
  display: block;
  color: inherit;
  font-size: 0.82rem;
  line-height: 1.38;
  opacity: 0.72;
}

.quiz-actions {
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.quiz-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  transform: none;
}

.quiz-result {
  display: grid;
  gap: 22px;
}

.quiz-result > p {
  max-width: 760px;
  color: var(--muted);
}

.quiz-result .chip {
  color: var(--forest);
  background: rgba(219, 194, 164, 0.18);
  border-color: rgba(168, 134, 75, 0.28);
}

.quiz-result .price-line {
  color: var(--forest);
}

.result-card {
  padding: 22px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
}

.result-card h3 {
  margin-bottom: 10px;
  color: var(--sage);
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.result-card h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
}

.result-card p {
  color: var(--muted);
}

.result-card .card-actions {
  margin-top: 16px;
}

.education-mark {
  display: grid;
  place-items: center;
}

.education-mark span {
  width: 150px;
  height: 150px;
  border: 2px solid rgba(219, 194, 164, 0.72);
  border-radius: 50%;
  background:
    linear-gradient(rgba(219, 194, 164, 0.55), rgba(219, 194, 164, 0.55)) 50% 22% / 1px 56% no-repeat,
    radial-gradient(circle at 50% 20%, var(--gold) 0 6px, transparent 7px),
    radial-gradient(circle at 36% 42%, var(--gold) 0 6px, transparent 7px),
    radial-gradient(circle at 64% 42%, var(--gold) 0 6px, transparent 7px),
    radial-gradient(circle at 50% 64%, var(--gold) 0 6px, transparent 7px);
}

.article-grid {
  padding-bottom: clamp(42px, 7vw, 86px);
}

.article-grid article:first-child {
  grid-column: span 2;
  background: var(--cream);
  border-color: rgba(219, 194, 164, 0.45);
}

.faq-section {
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(78px, 10vw, 140px);
}

.faq-section h2 {
  max-width: 760px;
}

.info-intro {
  max-width: 820px;
  padding-bottom: clamp(28px, 4vw, 48px);
}

.info-intro p {
  margin-bottom: 16px;
  line-height: 1.75;
}

.info-intro p:last-child {
  margin-bottom: 0;
}

.info-links-label {
  margin-top: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-links {
  padding: 0 0 22px;
  margin: 6px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-deep);
}

.info-links a::after {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  flex: 0 0 auto;
  content: "";
  background: currentColor;
  opacity: 0.72;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") center / contain no-repeat;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 20px 0;
  color: var(--forest);
  cursor: pointer;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
}

details p {
  max-width: 820px;
  padding-bottom: 22px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 64px);
  align-items: start;
  padding: clamp(28px, 4vw, 42px) clamp(18px, 5vw, 84px);
  color: var(--forest);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.footer-brand img {
  width: min(210px, 100%);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.footer-nav a {
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 700;
}

.footer-nav a:hover {
  color: var(--sage);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(340px, calc(100vw - 40px));
  padding: 14px 16px;
  color: var(--forest);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(10, 59, 37, 0.16), 0 2px 8px rgba(10, 59, 37, 0.08);
  animation: toast-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.toast-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(42, 97, 81, 0.1);
  border: 1px solid rgba(42, 97, 81, 0.2);
  position: relative;
}

.toast-icon::before {
  position: absolute;
  top: 7px;
  left: 5px;
  width: 7px;
  height: 11px;
  content: "";
  border-right: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(40deg);
}

.toast-text {
  flex: 1;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
}

.toast-close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.78rem;
  transition: color 120ms ease;
}

.toast-close:hover {
  color: var(--forest);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.floating-cart {
  position: fixed;
  right: clamp(12px, 4vw, 32px);
  bottom: clamp(12px, 4vw, 28px);
  left: clamp(12px, 4vw, 32px);
  z-index: 45;
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin-inline: auto;
  color: var(--forest);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(252, 247, 240, 0.62)),
    rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-top-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 22px 60px rgba(10, 59, 37, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(10, 59, 37, 0.05);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 28px));
  transition: opacity 260ms ease, transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.floating-cart.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-cart.is-visible.is-scroll-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 28px));
}

.floating-cart-bar {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 10px 14px;
  align-items: center;
  padding: 11px 14px;
}

/* Cart bag icon */
.floating-cart-icon {
  position: relative;
  width: 22px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.floating-cart-icon::before {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 6px;
  content: "";
  border: 1.5px solid var(--forest);
}

.floating-cart-icon::after {
  position: absolute;
  top: 0;
  left: 5px;
  width: 2px;
  height: 8px;
  content: "";
  background: var(--forest);
  box-shadow: 10px 0 0 var(--forest);
}

.floating-cart-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.floating-cart-label {
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.floating-cart-total {
  color: var(--forest);
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
}

.floating-cart-edit-btn {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 5px 13px;
  color: var(--forest);
  background: transparent;
  border: 1px solid rgba(10, 59, 37, 0.28);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.floating-cart-edit-btn:hover,
.floating-cart.is-expanded .floating-cart-edit-btn {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}

.floating-cart-checkout-btn {
  min-height: 34px;
  padding: 5px 15px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(10, 59, 37, 0.18);
}

/* Expanded cart panel */
.floating-cart-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.floating-cart.is-expanded .floating-cart-panel {
  max-height: 360px;
  overflow-y: auto;
}

.floating-cart-items {
  margin: 0;
  padding: 0 14px 12px;
  list-style: none;
  border-top: 1px solid rgba(10, 59, 37, 0.1);
}

.floating-cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10, 59, 37, 0.08);
}

.floating-cart-item:last-child {
  border-bottom: 0;
}

.floating-cart-item-name {
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.floating-cart-item-price {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.floating-cart-qty {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(10, 59, 37, 0.22);
}

.qty-btn {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  color: var(--forest);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: background 120ms ease;
}

.qty-btn:hover {
  background: rgba(10, 59, 37, 0.08);
}

.qty-value {
  min-width: 26px;
  text-align: center;
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 26px;
  border-left: 1px solid rgba(10, 59, 37, 0.22);
  border-right: 1px solid rgba(10, 59, 37, 0.22);
}

.floating-cart-empty {
  padding: 14px 0;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
  }

  .desktop-nav {
    display: none;
  }

  .header-cart-link {
    display: none;
  }

  .nav-menu {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .hero,
  .page-hero,
  .quiz-shell,
  .cart-page-shell,
  .checkout-layout,
  .goal-panel,
  .split-section {
    grid-template-columns: 1fr;
  }

  .goal-options {
    justify-content: flex-start;
  }

  .quiz-options {
    grid-template-columns: 1fr;
  }

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

  .product-filter-panel .goal-options {
    justify-content: flex-start;
  }

  .weight-loss-mode-controls {
    justify-content: flex-start;
  }

  .product-filter-controls {
    justify-content: flex-start;
  }

  .stack-filter-panel {
    justify-content: flex-start;
  }

  .stack-filter-panel .goal-options {
    justify-content: flex-start;
  }

  .hero {
    min-height: calc(100svh - var(--delivery-banner-height) - var(--nav-height));
  }

  .quiz-intro {
    position: static;
  }

  .cart-page-summary {
    position: static;
  }

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

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

  .pathway-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .pathway-band a:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .site-header {
    --header-inline-padding: 14px;
    gap: 8px 12px;
    min-height: 0;
    padding: 8px var(--header-inline-padding);
  }

  .drawer-nav {
    padding-inline: 28px;
  }

  .nav-logo-frame {
    --nav-logo-center-offset: 18px;
    width: 170px;
    height: 36px;
  }

  .hero-home .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
  }

  .hero.hero-home .hero-actions .button,
  .hero.hero-home .hero-actions .button.primary,
  .hero.hero-home .hero-actions .button.secondary {
    min-width: min(168px, 100%);
    min-height: 40px;
    padding: 10px 14px;
    color: var(--forest);
    background: rgba(255, 255, 255, 0.38);
    border-color: rgba(10, 59, 37, 0.28);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    box-shadow: none;
  }

  .hero.hero-home .hero-actions .button::before {
    display: none;
  }

  .hero-brand-logo {
    width: min(94vw, 430px);
    margin-inline: auto;
  }

  .hero-home .hero-copy {
    align-items: center;
  }

  .hero,
  .page-hero,
  .quiz-shell {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 4.8rem);
  }

  .science-panel {
    min-height: 460px;
  }

  .glass-card {
    right: 18px;
    left: 18px;
    padding: 18px;
  }

  .quiet-card {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .pathway-band,
  .feature-grid,
  .cards-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .tier-row {
    grid-template-columns: 1fr;
  }

  .cart-page-heading {
    display: none;
  }

  .cart-page-item {
    grid-template-columns: 1fr auto;
  }

  .cart-page-item > strong {
    grid-column: 1 / -1;
  }

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

  .tier-action {
    justify-items: start;
  }

  .pathway-band a,
  .pathway-band a:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pathway-band a:last-child {
    border-bottom: 0;
  }

  .home-previews {
    padding-top: 42px;
  }

  .home-preview {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-preview:nth-child(even) .home-preview-media {
    order: 0;
  }

  .home-preview:nth-child(even) .home-preview-copy {
    justify-self: stretch;
  }

  .home-preview-media {
    min-height: 0;
  }

  .home-preview-copy .button {
    width: 100%;
  }

  .article-grid article:first-child {
    grid-column: auto;
  }

  .green-band,
  .site-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-nav {
    align-items: flex-start;
  }

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

  .quiz-actions {
    align-items: stretch;
  }

  .quiz-actions .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-logo-frame {
    --nav-logo-center-offset: 16px;
    width: 150px;
    height: 32px;
  }

  .drawer-nav {
    padding-inline: 20px;
  }

  .hero-brand-logo {
    width: min(96vw, 360px);
  }

  .hero.hero-home .hero-actions .button,
  .hero.hero-home .hero-actions .button.primary,
  .hero.hero-home .hero-actions .button.secondary {
    min-width: min(152px, calc(50% - 4px));
    padding-inline: 11px;
  }

  .floating-cart-bar {
    grid-template-columns: auto 1fr auto auto;
    gap: 8px 10px;
    padding: 10px 12px;
  }
}
