.nutrition-page {
  --local-accent: #0e6865;
  --local-warm: #c28438;
  --local-ink: #172421;
  background: #fbfaf4;
  color: var(--local-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nutrition-page main {
  overflow: hidden;
}

.nutrition-hero {
  position: relative;
  display: grid;
  min-height: clamp(610px, 86vh, 760px);
  align-items: center;
  padding: clamp(20px, 4vw, 58px);
  color: #ffffff;
  isolation: isolate;
}

.nutrition-hero img,
.nutrition-hero-overlay {
  position: absolute;
  inset: 0;
}

.nutrition-hero img {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.nutrition-hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 28, 27, 0.84), rgba(9, 28, 27, 0.5) 48%, rgba(9, 28, 27, 0.08) 78%),
    linear-gradient(180deg, rgba(9, 28, 27, 0.14), rgba(251, 250, 244, 0.96) 100%);
}

.nutrition-nav {
  position: absolute;
  z-index: 2;
  top: clamp(16px, 3vw, 34px);
  left: clamp(16px, 4vw, 56px);
  right: clamp(16px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.nutrition-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(9, 28, 27, 0.34);
  color: #ffffff;
  padding: 0 12px;
  font-weight: 850;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.nutrition-nav a:hover {
  background: rgba(9, 28, 27, 0.52);
}

.nutrition-hero-content {
  z-index: 1;
  display: grid;
  justify-items: start;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-top: 74px;
  text-align: left;
}

.nutrition-eyebrow {
  margin: 0 0 14px;
  color: var(--local-accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nutrition-hero .nutrition-eyebrow {
  color: #d9f4ee;
}

.nutrition-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.75rem, 6.7vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.nutrition-hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  line-height: 1.58;
}

.nutrition-primary-button {
  display: inline-flex;
  min-height: 54px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--local-accent);
  color: #ffffff;
  padding: 0 22px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(5, 24, 28, 0.28);
  transition: transform 160ms ease, background 160ms ease;
}

.nutrition-primary-button:hover {
  background: #0a5d5a;
  transform: translateY(-1px);
}

.nutrition-primary-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nutrition-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 80px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 34px);
  align-items: start;
}

.section-copy h2,
.data-value h2 {
  max-width: 580px;
  margin: 0;
  color: var(--local-ink);
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  line-height: 1;
  letter-spacing: 0;
}

.evaluate-section,
.quiz-section {
  border-top: 1px solid #d8e4e1;
}

.tension-list,
.evaluate-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tension-list li,
.evaluate-list li {
  position: relative;
  border: 1px solid #d8e4e1;
  border-radius: 8px;
  background: #ffffff;
  padding: 20px 20px 20px 56px;
  color: #263936;
  font-size: 1.04rem;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(25, 58, 57, 0.08);
}

.tension-list li::before,
.evaluate-list li::before {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--local-warm);
  box-shadow: inset 0 0 0 5px #f7ead6;
  content: "";
}

.evaluate-list li::before {
  background: var(--local-accent);
  box-shadow: inset 0 0 0 5px #dff3ef;
}

.tally-embed-placeholder {
  border: 1px dashed #9bb8b4;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(232, 244, 241, 0.82), rgba(255, 255, 255, 0.96)),
    #ffffff;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 18px 52px rgba(25, 58, 57, 0.1);
}

.tally-placeholder-header {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.tally-placeholder-header span {
  border-radius: 8px;
  background: #dff3ef;
  color: var(--local-accent);
  padding: 7px 11px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tally-placeholder-header strong {
  color: var(--local-ink);
  font-size: 1.2rem;
}

.tally-embed-placeholder p,
.tally-embed-placeholder li,
.data-value p,
.soft-close p {
  color: #536662;
  line-height: 1.65;
}

.tally-embed-placeholder details {
  margin-top: 20px;
  border-top: 1px solid #d8e4e1;
  padding-top: 18px;
}

.tally-embed-placeholder summary {
  color: var(--local-accent);
  cursor: pointer;
  font-weight: 850;
}

.tally-embed-placeholder ol {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.data-value {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  max-width: 1120px;
  margin: 0 auto clamp(28px, 5vw, 56px);
  border: 1px solid #cfe0dc;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #eef8f5, #fff6e3);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 16px 42px rgba(25, 58, 57, 0.08);
}

.data-value p {
  margin: 0;
  align-self: end;
  font-size: 1.05rem;
}

.soft-close {
  display: grid;
  min-height: 240px;
  place-items: center;
  background: #123533;
  padding: clamp(48px, 7vw, 84px) 20px;
  text-align: center;
}

.soft-close p {
  max-width: 740px;
  margin: 0;
  color: #e9f7f4;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  line-height: 1.24;
}

@media (max-width: 860px) {
  .nutrition-section,
  .data-value {
    grid-template-columns: 1fr;
  }

  .nutrition-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .data-value {
    margin-right: 18px;
    margin-left: 18px;
  }
}

@media (max-width: 560px) {
  .nutrition-hero {
    min-height: 660px;
    align-items: end;
  }

  .nutrition-hero-overlay {
    background:
      linear-gradient(180deg, rgba(9, 28, 27, 0.28), rgba(9, 28, 27, 0.82) 58%, rgba(251, 250, 244, 0.96) 100%);
  }

  .nutrition-nav {
    justify-content: flex-start;
  }

  .nutrition-hero-content {
    padding-top: 116px;
    padding-bottom: 32px;
  }

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

  .nutrition-primary-button {
    width: min(100%, 340px);
  }

  .tally-placeholder-header {
    display: grid;
  }
}
