:root {
  color-scheme: light;
  --ink: #18201b;
  --muted: #637066;
  --line: #dce5dc;
  --paper: #ffffff;
  --soft: #f4f8f2;
  --mist: #eef7f5;
  --leaf: #1f6b43;
  --leaf-dark: #124b32;
  --teal: #16747b;
  --gold: #c8922c;
  --clay: #b95b3f;
  --shadow: 0 18px 45px rgb(22 35 26 / 14%);
  --header-height: 108px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

body.drawer-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 30;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgb(18 75 50 / 8%);
  backdrop-filter: blur(16px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 34px;
  padding: 0 clamp(24px, 5vw, 72px);
  background: var(--leaf-dark);
  color: #f7fff9;
  font-size: 0.8rem;
}

.topbar p {
  margin: 0;
  color: rgb(255 255 255 / 82%);
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
}

.topbar a {
  opacity: 0.9;
}

.topbar a:hover {
  opacity: 1;
}

.mainnav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 74px;
  padding: 0 clamp(24px, 5vw, 72px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 230px;
}

.brand__mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: inset 0 0 0 6px rgb(255 255 255 / 18%);
}

.brand__mark::before,
.brand__mark::after {
  position: absolute;
  content: "";
  background: #fff;
}

.brand__mark::before {
  left: 12px;
  top: 9px;
  width: 16px;
  height: 20px;
  border-radius: 100% 0 100% 0;
  transform: rotate(34deg);
}

.brand__mark::after {
  left: 18px;
  top: 9px;
  width: 2px;
  height: 22px;
  transform: rotate(28deg);
}

.brand strong {
  display: block;
  font-size: clamp(1.14rem, 1.45vw, 1.45rem);
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.brand--footer small {
  color: rgb(255 255 255 / 64%);
}

.menu-toggle,
.menu-toggle.icon-button {
  display: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #29352d;
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 800;
}

.nav-link:hover,
.nav-link:focus-visible,
.categories-toggle[aria-expanded="true"] {
  background: var(--soft);
  color: var(--leaf-dark);
}

.nav-link svg {
  width: 16px;
  height: 16px;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--leaf);
  background: var(--leaf);
  color: #fff;
}

.icon-button:active {
  transform: translateY(1px);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.cart-toggle {
  position: relative;
}

.cart-count {
  position: absolute;
  right: -5px;
  top: -6px;
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--clay);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(20vw, 230px);
  min-width: 150px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0 12px;
}

.search svg {
  width: 18px;
  height: 18px;
  color: var(--leaf);
  flex: 0 0 auto;
}

.search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search:focus-within {
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgb(31 107 67 / 12%);
}

.mega-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mega-menu.is-open {
  display: block;
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr)) minmax(220px, 0.95fr);
  gap: 28px;
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 30px 0;
}

.mega-menu section {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mega-menu h2 {
  margin: 0 0 4px;
  color: var(--leaf-dark);
  font-size: 0.88rem;
  text-transform: uppercase;
}

.mega-menu a {
  color: var(--muted);
  font-size: 0.93rem;
}

.mega-menu a:hover {
  color: var(--leaf-dark);
}

.mega-menu__feature {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.mega-menu__feature span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mega-menu__feature p {
  margin: 0;
  color: var(--muted);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgb(24 32 27 / 50%);
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer__panel {
  width: min(360px, 86vw);
  height: 100%;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 900;
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: min(760px, calc(100vh - var(--header-height)));
  background: var(--ink);
}

.hero__viewport {
  position: relative;
  min-height: clamp(560px, 74vh, 760px);
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero__slide img {
  height: 100%;
  object-fit: cover;
}

.hero__slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgb(12 32 22 / 78%) 0%, rgb(12 32 22 / 54%) 40%, rgb(12 32 22 / 12%) 74%),
    linear-gradient(0deg, rgb(0 0 0 / 22%), transparent 48%);
}

.hero__content {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 5vw, 72px);
  top: 47%;
  width: min(560px, 82vw);
  transform: translateY(-50%);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 10px 0 18px;
  font-size: clamp(2.75rem, 5.2vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 500px;
  margin: 0;
  color: rgb(255 255 255 / 86%);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 900;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

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

.button--primary {
  background: var(--gold);
  color: #1b1408;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #e2aa41;
}

.button--ghost {
  border-color: rgb(255 255 255 / 52%);
  color: #fff;
  background: rgb(255 255 255 / 9%);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: #fff;
  color: var(--leaf-dark);
}

.button--secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--leaf-dark);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--leaf);
  background: var(--soft);
}

.button--dark {
  background: var(--ink);
  color: #fff;
}

.button--dark:hover,
.button--dark:focus-visible {
  background: #2f3f34;
}

.text-cta {
  display: inline-flex;
  align-items: center;
  color: var(--leaf-dark);
  font-weight: 950;
}

.text-cta::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.hero__controls {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 5vw, 72px);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__controls .icon-button {
  border-color: rgb(255 255 255 / 34%);
  background: rgb(255 255 255 / 12%);
  color: #fff;
}

.hero__controls .icon-button:hover {
  background: #fff;
  color: var(--leaf-dark);
}

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

.hero__dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 38%);
  padding: 0;
}

.hero__dots button.is-active {
  background: #fff;
}

.hero__rail {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: 28px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(620px, 52vw);
  border-left: 0;
}

.hero__rail a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 7px 12px;
  min-height: 96px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  padding: 16px;
  color: #fff;
  background: rgb(12 41 27 / 72%);
  box-shadow: 0 18px 38px rgb(0 0 0 / 18%);
  backdrop-filter: blur(14px);
}

.hero__rail a:hover,
.hero__rail a:focus-visible {
  background: rgb(255 255 255 / 12%);
}

.hero__rail span {
  grid-column: 1 / -1;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero__rail strong {
  max-width: 170px;
  font-size: 0.98rem;
  line-height: 1.13;
}

.hero__rail svg {
  align-self: end;
  width: 18px;
  height: 18px;
}

.intro-band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  padding: 44px 5vw;
  background: var(--mist);
}

.intro-band h2 {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.intro-band p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section {
  padding: 72px 5vw;
}

.section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, 100%);
  margin: 0 auto 28px;
}

.section__header h2 {
  max-width: 760px;
  margin: 6px 0 0;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: 1;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.category-card {
  position: relative;
  isolation: isolate;
  min-height: 290px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 1px 0 var(--line);
}

.category-card img {
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.category-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, transparent 28%, rgb(8 30 19 / 76%) 100%);
}

.category-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1.08;
}

.category-card:hover img,
.category-card:focus-visible img {
  transform: scale(1.04);
}

.offer-section {
  background: var(--soft);
}

.clarity {
  background: var(--mist);
}

.clarity .section__header p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.clarity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.clarity-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.clarity-grid svg {
  width: 26px;
  height: 26px;
  color: var(--leaf);
}

.clarity-grid h3 {
  margin: 12px 0 8px;
  font-size: 1.16rem;
  line-height: 1.1;
}

.clarity-grid p {
  margin: 0;
  color: var(--muted);
}

.program-center {
  background: #fff;
}

.program-center .section__header p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
}

.program-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.program-status {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.program-status div {
  background: var(--mist);
  padding: 18px;
}

.program-status span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-status strong {
  display: block;
  margin-top: 5px;
  font-size: 1.55rem;
  line-height: 1;
}

.program-workbench {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.program-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  padding: 8px;
}

.program-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 0 14px;
  font-weight: 900;
}

.program-tabs button.is-active {
  background: var(--leaf);
  color: #fff;
}

.program-panel {
  display: grid;
  gap: 16px;
  min-height: 260px;
  padding: 22px;
}

.program-panel h3 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
  line-height: 1;
}

.program-panel p {
  margin: 0;
  color: var(--muted);
}

.program-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.program-actions button {
  min-height: 40px;
}

.program-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.program-choice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 14px;
}

.program-choice span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-choice strong {
  display: block;
  margin-top: 5px;
  font-size: 1rem;
  line-height: 1.18;
}

.program-choice small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-weight: 800;
}

.program-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.program-product {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.program-product.is-selected {
  border-color: rgb(31 107 67 / 42%);
  background: var(--mist);
  box-shadow: inset 4px 0 0 var(--leaf);
}

.program-product img {
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--soft);
  object-fit: cover;
}

.program-product strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.1;
}

.program-product span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.program-meter {
  display: grid;
  gap: 7px;
  border-radius: 8px;
  background: var(--mist);
  padding: 14px;
}

.program-meter div {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(31 107 67 / 14%);
}

.program-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--leaf);
}

.catalog {
  background: #fff;
}

.routine-builder {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr);
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto 28px;
}

.routine-builder__intro {
  border-radius: 8px;
  background: var(--mist);
  padding: 24px;
}

.routine-builder__intro h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.55rem, 2.8vw, 2.6rem);
  line-height: 1;
}

.routine-builder__intro p {
  margin: 0;
  color: var(--muted);
}

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

.routine-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 1px 0 var(--line);
}

.routine-card h3 {
  margin: 7px 0;
  font-size: 1.3rem;
  line-height: 1.08;
}

.routine-card p {
  flex: 1;
  margin: 0 0 16px;
  color: var(--muted);
}

.routine-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.routine-card__meta span {
  border-radius: 999px;
  background: var(--soft);
  color: var(--leaf-dark);
  padding: 5px 9px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.routine-card .button {
  width: 100%;
}

.member-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 1px 0 var(--line);
}

.member-switch span {
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.member-switch button,
.category-filter-list button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 0 12px;
  font-weight: 900;
}

.member-switch button.is-active,
.category-filter-list button.is-active {
  background: var(--leaf);
  color: #fff;
}

.catalog-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.catalog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.catalog-sidebar h3 {
  margin: 0 0 10px;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.category-filter-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-filter-list button {
  justify-content: flex-start;
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
}

.point-card {
  border-radius: 8px;
  background: var(--mist);
  padding: 20px;
}

.care-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 1px 0 var(--line);
}

.care-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.point-card strong {
  display: block;
  margin-top: 6px;
  font-size: 2.4rem;
  line-height: 1;
}

.point-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.catalog-main {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.catalog-toolbar p {
  margin: 0;
  color: var(--muted);
}

.catalog-toolbar strong {
  color: var(--ink);
}

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

.catalog-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  padding: 28px;
}

.catalog-empty strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1.2rem;
}

.store-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.store-card__media {
  position: relative;
  background: var(--soft);
}

.store-card__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.store-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 92%);
  color: var(--leaf-dark);
  padding: 5px 9px;
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.store-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.store-card h3 {
  margin: 0 0 4px;
  font-size: 1.08rem;
  line-height: 1.12;
}

.store-card__size {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.store-card__price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.store-card__price {
  display: flex;
  flex-direction: column;
}

.store-card__price strong {
  font-size: 1.35rem;
  line-height: 1;
}

.store-card__price span,
.store-card__points span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.store-card__points {
  display: grid;
  place-items: center;
  min-width: 52px;
  min-height: 52px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--leaf-dark);
  text-align: center;
}

.store-card__points strong {
  font-size: 1.2rem;
  line-height: 1;
}

.store-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 14px;
}

.store-card__actions .button {
  min-height: 40px;
}

.store-card__details {
  width: 42px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.savings-line {
  margin-top: 8px;
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 900;
}

.offer-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  width: min(1180px, 100%);
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.offer-panel img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.offer-panel div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(30px, 5vw, 62px);
}

.offer-panel h2 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.offer-panel p {
  max-width: 520px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.product-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.product-card__tag {
  color: var(--clay);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 6px 0 8px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.product-card p {
  flex: 1;
  margin: 0 0 18px;
  color: var(--muted);
}

.membership {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr) auto;
  align-items: center;
  gap: 32px;
  padding: 70px 5vw;
  background:
    linear-gradient(90deg, rgb(31 107 67 / 96%), rgb(22 116 123 / 94%)),
    url("assets/generated/offer-new-member-box.png") center / cover;
  color: #fff;
}

.membership .eyebrow {
  color: #ffe0a2;
}

.membership h2 {
  max-width: 760px;
  margin: 8px 0 14px;
  font-size: clamp(2.1rem, 4.4vw, 4.4rem);
  line-height: 1;
}

.membership p {
  max-width: 620px;
  margin: 0;
  color: rgb(255 255 255 / 82%);
  font-size: 1.06rem;
}

.membership__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 8px;
  background: rgb(255 255 255 / 18%);
}

.membership__stats div {
  min-width: 0;
  padding: 18px;
  background: rgb(255 255 255 / 10%);
}

.membership__stats strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1;
}

.membership__stats span {
  display: block;
  margin-top: 7px;
  color: rgb(255 255 255 / 78%);
  font-size: 0.82rem;
  line-height: 1.25;
}

.story {
  background: #fff;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.story-grid article {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.story-grid img {
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.story-grid div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px;
}

.story-grid h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.story-grid p {
  margin: 0 0 18px;
  color: var(--muted);
}

.footer {
  background: #172019;
  color: #f7fff9;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, minmax(160px, 0.8fr));
  gap: 38px;
  padding: 58px 5vw 42px;
}

.footer section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer p,
.footer a,
.footer label {
  color: rgb(255 255 255 / 72%);
}

.footer p {
  margin: 0;
}

.footer a:hover {
  color: #fff;
}

.select-label {
  font-size: 0.86rem;
  font-weight: 800;
}

select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.socials a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 6px;
}

.socials svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 5vw;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.82rem;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: none;
  background: rgb(24 32 27 / 50%);
}

.cart-drawer.is-open {
  display: block;
}

.cart-drawer__panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(460px, 92vw);
  height: 100%;
  margin-left: auto;
  overflow-y: auto;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px;
}

.cart-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cart-drawer__header h2 {
  margin: 5px 0 0;
  font-size: 1.8rem;
  line-height: 1;
}

.point-progress {
  border-radius: 8px;
  background: var(--mist);
  padding: 16px;
}

.point-progress__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.point-progress__top span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: right;
}

.point-progress__bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(31 107 67 / 14%);
}

.point-progress__bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--leaf);
  transition: width 180ms ease;
}

.cart-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.empty-cart {
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 18px;
}

.cart-line {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.cart-line img {
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--soft);
  object-fit: cover;
}

.cart-line h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  line-height: 1.12;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quantity-control button {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 900;
}

.cart-summary {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.cart-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  padding: 12px 14px;
}

.cart-summary span {
  color: var(--muted);
  font-weight: 800;
}

.cart-note {
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  padding: 14px;
  font-size: 0.9rem;
}

.cart-program {
  border: 1px solid rgb(31 107 67 / 20%);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  padding: 14px;
  font-size: 0.9rem;
}

.cart-program strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.cart-program p {
  margin: 8px 0 0;
}

.cart-program button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: var(--leaf);
  color: #fff;
  margin-top: 12px;
  padding: 0 12px;
  font-weight: 900;
}

.cart-program button:hover,
.cart-program button:focus-visible {
  background: var(--leaf-dark);
}

.cart-helper {
  border: 1px solid rgb(31 107 67 / 18%);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, var(--soft));
  color: var(--muted);
  padding: 14px;
  font-size: 0.9rem;
}

.cart-helper strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.cart-helper button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--leaf-dark);
  margin: 10px 8px 0 0;
  padding: 0 10px;
  font-weight: 900;
}

.cart-helper button:hover,
.cart-helper button:focus-visible {
  border-color: var(--leaf);
  background: var(--leaf);
  color: #fff;
}

.product-dialog {
  width: min(900px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 0;
}

.product-dialog::backdrop {
  background: rgb(24 32 27 / 56%);
}

.product-dialog-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
}

.product-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
}

.product-detail__media {
  background: var(--soft);
}

.product-detail__media img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.product-detail__body {
  padding: clamp(26px, 4vw, 48px);
}

.product-detail__body h2 {
  margin: 8px 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.product-detail__body > p {
  color: var(--muted);
}

.product-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.product-detail__meta span {
  border-radius: 999px;
  background: var(--soft);
  color: var(--leaf-dark);
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 900;
}

.product-detail__pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.product-detail__pricing div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.product-detail__pricing span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-detail__pricing strong {
  display: block;
  margin-top: 5px;
  font-size: 1.45rem;
}

.product-detail__sections {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.product-detail__sections section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.product-detail__sections h3 {
  margin: 0 0 5px;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.product-detail__sections p {
  margin: 0;
  color: var(--muted);
}

.claim-review {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
  margin: 18px 0;
  padding: 14px;
}

.claim-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.claim-review__head h3 {
  margin: 0;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.claim-review__head span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fff;
  color: var(--leaf-dark);
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 950;
}

.claim-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.claim-item {
  border: 1px solid rgb(220 229 220 / 78%);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.claim-item p {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.35;
}

.claim-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.claim-pill {
  border-radius: 999px;
  background: var(--soft);
  color: var(--leaf-dark);
  padding: 3px 7px;
  font-weight: 950;
}

.claim-pill--risk-medium,
.claim-pill--status-needs-review {
  background: #fff3d4;
  color: #78520d;
}

.claim-pill--risk-high {
  background: #ffe2da;
  color: #8d321f;
}

.claim-pill--status-approved-demo {
  background: #e5f5e8;
  color: var(--leaf-dark);
}

.claim-pill--status-modeled {
  background: var(--soft);
  color: var(--teal);
}

.demo-dialog {
  width: min(420px, calc(100vw - 36px));
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 32px;
}

.demo-dialog::backdrop {
  background: rgb(24 32 27 / 56%);
}

.demo-dialog h2 {
  margin: 6px 0 10px;
  font-size: 1.8rem;
  line-height: 1.05;
}

.demo-dialog p {
  margin: 0 0 22px;
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__rail {
    position: static;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 0;
    border-top: 1px solid rgb(255 255 255 / 16%);
    border-left: 0;
    background: var(--leaf-dark);
  }

  .hero__rail a {
    min-height: 118px;
    border: 0;
    border-radius: 0;
    border-right: 1px solid rgb(255 255 255 / 16%);
    border-bottom: 0;
    box-shadow: none;
  }

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

  .category-card:last-child {
    grid-column: span 2;
  }

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

@media (max-width: 980px) {
  :root {
    --header-height: 94px;
  }

  .topbar {
    display: none;
  }

  .mainnav {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    min-height: 76px;
  }

  .menu-toggle,
  .menu-toggle.icon-button {
    display: inline-grid;
  }

  .primary-nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-actions .search {
    display: none;
  }

  .mega-menu {
    display: none;
  }

  .intro-band,
  .section__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .offer-panel,
  .story-grid,
  .story-grid article,
  .routine-builder,
  .program-shell,
  .catalog-shell,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    order: 2;
  }

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

  .routine-grid,
  .clarity-grid,
  .program-choice-grid,
  .program-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .story-grid img {
    min-height: 240px;
  }

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

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

@media (max-width: 720px) {
  .mainnav {
    padding: 0 16px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 1.1rem;
  }

  .nav-actions {
    gap: 6px;
  }

  .sign-in {
    display: none;
  }

  .hero__viewport {
    min-height: 610px;
  }

  .hero__content {
    left: 20px;
    top: 46%;
    width: calc(100vw - 40px);
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }

  .hero__controls {
    left: 20px;
    right: 20px;
    justify-content: space-between;
    bottom: 20px;
  }

  .hero__dots button {
    width: 24px;
  }

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

  .hero__rail a {
    min-height: 98px;
    padding: 22px 20px;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 16%);
  }

  .intro-band,
  .section,
  .membership,
  .footer__main,
  .footer__bottom {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .category-card:last-child {
    grid-column: auto;
  }

  .category-card,
  .category-card img {
    min-height: 230px;
  }

  .offer-panel img {
    min-height: 260px;
  }

  .member-switch,
  .catalog-toolbar,
  .program-tabs,
  .program-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .product-grid,
  .routine-grid,
  .clarity-grid,
  .program-choice-grid,
  .program-products,
  .product-detail__pricing {
    grid-template-columns: 1fr;
  }

  .product-detail__media img {
    min-height: 300px;
  }

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

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

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