/* ---------------------------------------------------------------
   BIOMEWARD storefront prototype
   Palette, type and motifs follow product-brandings/branding-guidelines.md
   --------------------------------------------------------------- */

:root {
  --oat: #f2ebdd;
  --oat-light: #faf7f1;
  --olive: #3f4a2e;
  --olive-dark: #293121;
  --terracotta: #c97854;
  --clay: #d69570;
  --mustard: #d89b16;
  --sand: #dcc9ad;
  --ink: #24271f;
  --muted: #6d6b61;
  --line: rgba(63, 74, 46, 0.16);
  --line-light: rgba(255, 255, 255, 0.24);
  --white: #fffdf9;

  --max-width: 1240px;
  --gutter: 48px;
  /* Sections that follow a section of the same colour drop their top padding,
     so every seam stays one --section-space regardless of the background. */
  --section-space: 110px;
  --radius-large: 36px;
  --radius-medium: 22px;
  --shadow-soft: 0 30px 80px rgba(60, 47, 34, 0.14);
  --shadow-lift: 0 20px 50px rgba(60, 47, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--oat-light);
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
}

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

a {
  color: inherit;
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--olive-dark);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

h1 {
  font-size: clamp(3.4rem, 7.4vw, 7rem);
}

h1 em {
  display: inline-block;
  color: var(--terracotta);
  font-style: normal;
}

h2 {
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  text-wrap: balance;
}

h3 {
  font-size: 1.6rem;
}

.section-shell {
  width: min(calc(100% - var(--gutter)), var(--max-width));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lede {
  color: #4e5148;
  font-size: 1.25rem;
}

.microcopy {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

/* --- Shared motifs ------------------------------------------------ */

.motif-definitions {
  position: absolute;
  width: 0;
  height: 0;
}

.arch-mark {
  display: block;
  width: 76px;
  height: 40px;
  color: var(--terracotta);
  opacity: 0.55;
}

/* --- Reveal on scroll --------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --- Buttons and links -------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  color: var(--white);
  background: var(--olive);
  border: 1px solid var(--olive);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  background: var(--olive-dark);
  box-shadow: 0 14px 30px rgba(41, 49, 33, 0.24);
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 0 22px;
  font-size: 0.82rem;
}

.button-wide {
  width: 100%;
  margin-top: 8px;
}

.text-link,
.paper-link {
  color: var(--olive);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.paper-link:hover,
.site-navigation a:not(.button):hover,
.footer-links a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--olive-dark);
  border-radius: 8px;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* --- Header ------------------------------------------------------- */

.announcement {
  padding: 11px 24px;
  color: var(--oat-light);
  background: var(--olive-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  background: rgba(250, 247, 241, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 240ms ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.site-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - var(--gutter)), var(--max-width));
  min-height: 82px;
  margin-inline: auto;
}

.wordmark {
  color: var(--olive);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-navigation a:not(.button) {
  color: var(--olive-dark);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.menu-button {
  display: none;
  padding: 8px 0;
  color: var(--olive);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- Hero --------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 78% 12%, rgba(220, 201, 173, 0.5), transparent 62%),
    var(--oat-light);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 60px;
  align-items: center;
  padding-block: 84px 110px;
}

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

.hero h1 {
  margin-bottom: 30px;
}

.hero .lede {
  max-width: 540px;
  margin-bottom: 30px;
}

.benefit-list {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
  padding: 0;
  color: #494d43;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 30px;
}

.benefit-list li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--mustard);
  border-radius: 50%;
  content: "";
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 22px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-landscape {
  position: absolute;
  z-index: 0;
  bottom: 0;
  width: 122%;
  aspect-ratio: 200 / 140;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

/* --- Ingredient marquee ------------------------------------------- */

.ingredient-marquee {
  overflow: hidden;
  padding-block: 18px;
  color: var(--oat-light);
  background: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* --- Proof strip -------------------------------------------------- */

.proof-strip {
  color: var(--oat-light);
  background: var(--olive);
}

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

.proof-grid div {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 40px 36px 40px 0;
  border-right: 1px solid var(--line-light);
}

.proof-grid div:last-child {
  border-right: 0;
}

.proof-grid div + div {
  padding-left: 36px;
}

.proof-grid strong {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- Why gut health matters --------------------------------------- */

.gut-health {
  padding-block: var(--section-space);
  background: var(--oat-light);
  text-align: center;
}

.gut-health h2 {
  max-width: 860px;
  margin-inline: auto;
}

.gut-lede {
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.05rem;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 44px;
  max-width: 1060px;
  margin: 48px auto;
  padding: 0;
  list-style: none;
  text-align: left;
}

.signal-list li {
  position: relative;
  padding-left: 30px;
  color: var(--olive);
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.signal-list li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--mustard);
  border-radius: 50%;
  content: "";
}

.gut-close {
  max-width: 620px;
  margin-inline: auto;
  color: #4d5047;
  font-size: 1.08rem;
}

.gut-note {
  max-width: 620px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 0.78rem;
}

/* --- Ingredients -------------------------------------------------- */

.ingredients-section {
  padding-block: var(--section-space);
  background: var(--oat);
}

.section-heading {
  margin-bottom: 64px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.ingredient-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
  overflow: hidden;
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(63, 74, 46, 0.12);
  border-radius: var(--radius-medium);
  transition:
    transform 300ms ease,
    box-shadow 300ms ease;
}

.ingredient-card::after {
  position: absolute;
  top: -56px;
  right: -48px;
  width: 168px;
  height: 168px;
  background: var(--clay);
  border-radius: 50%;
  content: "";
  opacity: 0.16;
}

.ingredient-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

.ingredient-card-featured {
  color: #f6f0e5;
  background: var(--olive);
}

.ingredient-card-featured h3,
.ingredient-card-featured .paper-link {
  color: var(--white);
}

.ingredient-card-featured .ingredient-index,
.ingredient-card-featured .ingredient-name,
.ingredient-card-featured .evidence-type {
  color: rgba(255, 255, 255, 0.72);
}

.ingredient-cta {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 34px;
  color: var(--oat-light);
  background: var(--olive);
  border-radius: var(--radius-medium);
}

.ingredient-cta .arch-mark {
  color: var(--oat-light);
  opacity: 0.5;
}

.ingredient-cta h3 {
  color: var(--white);
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
}

.ingredient-cta p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.82);
}

.ingredient-cta .button {
  color: var(--olive-dark);
  background: var(--oat-light);
  border-color: var(--oat-light);
}

.ingredient-cta .button:hover {
  color: var(--white);
}

.ingredient-index {
  margin-bottom: 26px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.evidence-type {
  margin-bottom: 14px;
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ingredient-name {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ingredient-card h3 {
  margin-bottom: 10px;
}

.ingredient-body {
  max-width: 600px;
}

blockquote {
  margin: 0 0 24px;
  padding-top: 30px;
  border-top: 1px solid currentColor;
  font-size: 1.16rem;
  font-weight: 500;
  line-height: 1.45;
}

.paper-link {
  display: inline-block;
  margin-right: auto;
}

/* --- Routine ------------------------------------------------------ */

.routine {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 90px;
  align-items: center;
  padding-block: var(--section-space);
}

.routine-image img {
  width: 100%;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

.routine-copy h2 {
  margin-bottom: 10px;
}

.direction-list {
  margin: 40px 0 26px;
  padding: 0;
  list-style: none;
}

.direction-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.direction-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.direction-list strong {
  color: var(--terracotta);
}

/* --- Offer -------------------------------------------------------- */

.offer-section {
  padding-block: 0 var(--section-space);
}

.offer-heading {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.offer-heading > p:not(.eyebrow) {
  margin-inline: auto;
}

.offer-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 70px;
  align-items: center;
}

.offer-image {
  position: relative;
  padding: 46px;
  overflow: hidden;
  background: var(--oat);
  border-radius: var(--radius-large);
}

.offer-landscape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 200 / 140;
}

.offer-image img {
  position: relative;
  border-radius: var(--radius-medium);
}

.offer-options {
  display: grid;
  gap: 14px;
}

.offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.offer-card:hover {
  border-color: var(--olive);
  box-shadow: var(--shadow-lift);
}

.offer-card.is-selected {
  background: var(--oat);
  border: 2px solid var(--olive);
}

.offer-card span:first-child {
  display: flex;
  flex-direction: column;
}

.offer-card strong {
  color: var(--olive-dark);
  font-size: 1.05rem;
}

.offer-card small {
  margin-top: 4px;
  color: var(--muted);
}

.offer-price {
  color: var(--olive);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.offer-status {
  min-height: 26px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.offer-assurances {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  list-style: none;
}

.offer-assurances li::before {
  margin-right: 10px;
  color: var(--olive);
  content: "✓";
  font-weight: 700;
}

/* --- Creators ----------------------------------------------------- */

.creator-section {
  padding-block: var(--section-space);
  color: var(--oat-light);
  background: var(--terracotta);
}

.creator-section h2,
.creator-section .eyebrow {
  color: var(--oat-light);
}

.creator-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 90px;
}

.creator-copy {
  color: rgba(255, 255, 255, 0.88);
}

.button-light {
  margin-top: 32px;
  color: var(--olive-dark);
  background: var(--oat-light);
  border-color: var(--oat-light);
}

.button-light:hover {
  color: var(--white);
}

.creator-status {
  min-height: 24px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

/* --- Shared cards and dark bands ---------------------------------- */

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

.info-card {
  padding: 36px;
  background: var(--oat);
  border-radius: var(--radius-medium);
}

.info-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.info-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.dark-band {
  padding-block: var(--section-space);
  color: var(--oat-light);
  background: var(--olive-dark);
}

.section-heading-light h2,
.section-heading-light .eyebrow {
  color: var(--oat-light);
}

.dark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.dark-grid h3 {
  margin-bottom: 16px;
  color: var(--oat-light);
  font-size: 1.25rem;
}

.dark-grid p {
  color: rgba(255, 255, 255, 0.8);
}

.rule-list {
  display: grid;
  gap: 12px;
  padding: 0;
  color: rgba(255, 255, 255, 0.86);
  list-style: none;
}

.rule-list li::before {
  margin-right: 10px;
  font-weight: 700;
}

.rule-list-allowed li::before {
  color: var(--mustard);
  content: "✓";
}

.rule-list-banned li::before {
  color: var(--clay);
  content: "✕";
}

.dark-band-note {
  max-width: 620px;
  margin-top: 60px;
  padding-top: 28px;
  color: var(--white);
  border-top: 1px solid var(--line-light);
  font-size: 0.9rem;
  font-weight: 600;
}

/* --- Creator program page ----------------------------------------- */

.package-section {
  padding-block: var(--section-space);
}

.flow-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
  align-items: start;
  padding-bottom: var(--section-space);
}

.flow-copy h2 {
  margin-bottom: 22px;
}

.flow-section .direction-list {
  margin: 0;
}

.fit-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 90px;
  align-items: center;
  padding-block: var(--section-space);
}

.fit-image img {
  width: 100%;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

.fit-copy h2 {
  margin-bottom: 22px;
}

.fit-copy .offer-assurances {
  margin-top: 26px;
  font-size: 0.95rem;
}

/* --- Research summary band (home) --------------------------------- */

.research-summary {
  padding-block: var(--section-space);
  color: var(--oat-light);
  background: var(--olive-dark);
  text-align: center;
}

.research-summary h2,
.research-summary .eyebrow {
  color: var(--oat-light);
}

.research-summary p {
  max-width: 640px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.82);
}

/* --- Research page ------------------------------------------------ */

.page-header {
  max-width: 900px;
  padding-block: 70px var(--section-space);
}

.page-header-note {
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.standards-section,
.context-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.standards-section {
  padding-block: var(--section-space);
}

.standards-section .direction-list {
  margin: 0;
}

.context-section {
  padding-block: var(--section-space);
  background: var(--oat);
}

.context-copy p + p {
  margin-top: 18px;
}

.context-copy .paper-link {
  margin-top: 28px;
}

.glance-section,
.glossary-section {
  padding-block: var(--section-space);
}

.table-scroll {
  overflow-x: auto;
}

.evidence-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.evidence-table th,
.evidence-table td {
  padding: 20px 28px 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 500;
}

.evidence-table thead th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.evidence-table tbody th {
  color: var(--ink);
  font-weight: 700;
}

.grade {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.grade-strong {
  color: var(--white);
  background: var(--olive);
}

.grade-moderate {
  color: var(--olive-dark);
  background: var(--sand);
}

.grade-early {
  color: var(--white);
  background: var(--clay);
}

.dossier-section {
  padding-block: 0 var(--section-space);
}

.evidence-entry {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 80px;
  padding-block: 60px;
  border-top: 1px solid var(--line);
}

.evidence-entry:last-of-type {
  border-bottom: 1px solid var(--line);
}

.study-facts {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px 20px;
  margin: 32px 0 0;
  font-size: 0.9rem;
}

.study-facts dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.study-facts dd {
  margin: 0;
}

.evidence-body h4 {
  margin: 34px 0 12px;
  color: var(--terracotta);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.evidence-body h4:first-child {
  margin-top: 0;
}

.limitation {
  padding-left: 22px;
  border-left: 2px solid var(--clay);
  color: var(--muted);
}

.evidence-body .paper-link {
  margin-top: 28px;
}

.references-section {
  padding-block: 0 var(--section-space);
}

.reference-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.reference-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.reference-list li:first-child {
  border-top: 1px solid var(--line);
}

.reference-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 600;
}

.reference-list a {
  color: var(--muted);
  font-size: 0.85rem;
  word-break: break-word;
}

.research-disclaimer {
  max-width: 780px;
  margin-top: 48px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* --- FAQ ---------------------------------------------------------- */

.faq {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 90px;
  padding-block: 0 var(--section-space);
}

.faq .section-heading {
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 26px 46px 26px 0;
  color: var(--olive-dark);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 22px;
  right: 0;
  color: var(--terracotta);
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 700px;
  padding: 0 40px 26px 0;
  color: var(--muted);
}

/* --- Footer ------------------------------------------------------- */

.site-footer {
  padding-block: 80px 40px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  background: var(--olive);
}

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-tagline {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--white);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-wordmark {
  margin-block: 40px 24px;
  color: rgba(250, 247, 241, 0.14);
  font-size: clamp(3rem, 15vw, 13.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.9;
  text-align: center;
}

.footer-note {
  max-width: 700px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
}

.mobile-purchase {
  display: none;
}

/* --- Responsive --------------------------------------------------- */

@media (max-width: 1050px) {
  .site-navigation {
    gap: 20px;
  }

  .hero-inner {
    grid-template-columns: 1fr 0.95fr;
    gap: 40px;
  }
}

@media (max-width: 820px) {
  :root {
    --gutter: 32px;
    --section-space: 84px;
  }

  body {
    padding-bottom: 64px;
    font-size: 16px;
  }

  .site-header-inner {
    min-height: 70px;
  }

  .menu-button {
    display: block;
  }

  .site-navigation {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 20px;
    background: var(--oat-light);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
  }

  .site-navigation.is-open {
    display: grid;
  }

  .site-navigation a:not(.button) {
    padding: 10px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-block: 70px 90px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    order: -1;
  }

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

  .proof-grid div {
    min-height: 150px;
    padding: 28px 24px 28px 0;
    border-bottom: 1px solid var(--line-light);
  }

  .proof-grid div:nth-child(even) {
    border-right: 0;
  }

  .routine,
  .offer-layout,
  .creator-layout,
  .flow-section,
  .fit-section,
  .standards-section,
  .context-layout,
  .evidence-entry,
  .faq {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

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

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

  .routine-image {
    order: 2;
  }

  .mobile-purchase {
    position: fixed;
    z-index: 30;
    right: 12px;
    bottom: 10px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    color: var(--white);
    background: var(--olive);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(30, 37, 24, 0.28);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
  }
}

@media (max-width: 560px) {
  .announcement {
    padding: 9px 12px;
    font-size: 0.62rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .text-link {
    text-align: center;
  }

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

  .proof-grid div,
  .proof-grid div + div {
    min-height: 120px;
    padding-inline: 0;
    border-right: 0;
  }

  .signal-list {
    grid-template-columns: 1fr;
  }

  .ingredient-card {
    padding: 28px 24px;
  }

  blockquote {
    margin-top: 36px;
  }

  .info-grid,
  .dark-grid {
    grid-template-columns: 1fr;
  }

  .direction-list li {
    grid-template-columns: 90px 1fr;
  }

  .offer-card {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .ingredient-card,
  .reveal {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}
