:root {
  color: #1e2422;
  background: #f7f6f2;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: #f7f6f2;
  color: #1e2422;
}

a {
  color: inherit;
  text-decoration-color: #a9aaa5;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: #ef6c35;
}

a:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(239, 108, 53, 0.3);
  outline-offset: 3px;
}

.legal-header {
  border-bottom: 1px solid #deddd7;
  background: rgba(247, 246, 242, 0.94);
}

.legal-header-inner,
.legal-main,
.legal-footer {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
}

.legal-header-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 730;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.legal-brand img {
  width: 28px;
  height: 28px;
}

.legal-nav {
  display: flex;
  gap: 18px;
  color: #69716d;
  font-size: 0.82rem;
}

.landing-main {
  overflow: hidden;
}

.landing-hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 74px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  padding: clamp(68px, 9vw, 120px) max(24px, calc((100vw - 1180px) / 2));
}

.landing-copy {
  position: relative;
  z-index: 1;
  max-width: 690px;
  animation: landing-enter 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.landing-wordmark {
  margin: 0 0 clamp(28px, 5vw, 56px);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 760;
  letter-spacing: -0.035em;
}

.landing-copy h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.45rem, 9vw, 7.4rem);
  line-height: 0.84;
}

.landing-intro {
  max-width: 570px;
  margin: 0 0 34px;
  color: #59615d;
  font-size: clamp(1.03rem, 1.5vw, 1.26rem);
  line-height: 1.55;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.landing-primary,
.landing-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 680;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.landing-primary {
  padding: 0 23px;
  background: #1e2422;
  color: #fffefa;
}

.landing-primary:hover {
  transform: translateY(-2px);
  background: #ef6c35;
}

.landing-secondary {
  padding: 0 6px;
  color: #4e5753;
  text-decoration: underline;
  text-decoration-color: #b7b8b2;
  text-underline-offset: 5px;
}

.nutrition-visual {
  position: relative;
  width: min(100%, 510px);
  justify-self: end;
  animation: landing-visual-enter 900ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nutrition-ring {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #d2d1ca;
  border-radius: 50%;
  background: #fffefa;
}

.nutrition-ring::before,
.nutrition-ring::after {
  position: absolute;
  border: 1px solid #e4e2dc;
  border-radius: 50%;
  content: "";
}

.nutrition-ring::before {
  inset: 13%;
}

.nutrition-ring::after {
  inset: 29%;
}

.nutrition-center {
  position: relative;
  z-index: 1;
  text-align: center;
}

.nutrition-center strong {
  display: block;
  font-size: clamp(4.5rem, 9vw, 7.2rem);
  font-weight: 720;
  letter-spacing: -0.09em;
  line-height: 0.8;
}

.nutrition-center span {
  display: block;
  margin-top: 16px;
  color: #7d847f;
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.macro-stroke {
  position: absolute;
  height: 7px;
  border-radius: 999px;
  transform-origin: left center;
  animation: macro-grow 900ms 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.macro-stroke.protein {
  top: 19%;
  left: -3%;
  width: 37%;
  rotate: -13deg;
  background: #d46058;
}

.macro-stroke.carbs {
  top: 49%;
  right: -7%;
  width: 34%;
  rotate: 12deg;
  background: #d09a23;
}

.macro-stroke.fats {
  bottom: 17%;
  left: 4%;
  width: 32%;
  rotate: 16deg;
  background: #5577c7;
}

.landing-detail {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(42px, 10vw, 150px);
  padding: clamp(78px, 11vw, 150px) max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid #deddd7;
  background: #fffefa;
}

.landing-detail h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.capability-list {
  margin: 0;
}

.capability-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding: 25px 0;
  border-top: 1px solid #deddd7;
}

.capability-row:last-child {
  border-bottom: 1px solid #deddd7;
}

.capability-row dt {
  color: #ef6c35;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.capability-row dd {
  margin: 0;
}

.capability-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.capability-row span {
  color: #69716d;
  line-height: 1.55;
}

.landing-final {
  padding: clamp(82px, 11vw, 150px) max(24px, calc((100vw - 1180px) / 2));
}

.landing-final h2 {
  max-width: 780px;
  margin: 0 0 28px;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 710;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

.landing-final p {
  max-width: 600px;
  margin: 0;
  color: #69716d;
  line-height: 1.6;
}

@keyframes landing-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes landing-visual-enter {
  from { opacity: 0; transform: scale(0.94) rotate(2deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes macro-grow {
  from { opacity: 0; scale: 0 1; }
  to { opacity: 1; scale: 1 1; }
}

.legal-main {
  padding: 72px 0 88px;
}

.legal-eyebrow {
  margin: 0 0 12px;
  color: #ef6c35;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 7vw, 4.25rem);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.legal-updated {
  margin: 0 0 52px;
  color: #69716d;
  font-size: 0.9rem;
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid #deddd7;
}

.legal-section h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.legal-section h3 {
  margin: 24px 0 10px;
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.legal-section p,
.legal-section li {
  color: #4e5753;
  font-size: 0.97rem;
  line-height: 1.72;
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0 0 16px;
  padding-left: 24px;
}

.legal-section li + li {
  margin-top: 6px;
}

.legal-callout {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 3px solid #ef6c35;
  border-radius: 0 8px 8px 0;
  background: #fffefa;
}

.legal-callout p {
  color: #303735;
}

.legal-footer {
  display: flex;
  padding: 30px 0 44px;
  border-top: 1px solid #deddd7;
  justify-content: space-between;
  gap: 24px;
  color: #69716d;
  font-size: 0.82rem;
}

@media (max-width: 620px) {
  .legal-header-inner,
  .legal-main,
  .legal-footer {
    width: min(100% - 28px, 760px);
  }

  .legal-header-inner {
    min-height: 66px;
  }

  .legal-nav {
    gap: 12px;
    font-size: 0.76rem;
  }

  .legal-main {
    padding: 52px 0 68px;
  }

  .legal-updated {
    margin-bottom: 38px;
  }

  .legal-footer {
    flex-direction: column;
  }

  .landing-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 76px;
  }

  .landing-copy h1 {
    font-size: clamp(3.2rem, 18vw, 5.5rem);
  }

  .nutrition-visual {
    width: min(88vw, 430px);
    justify-self: center;
  }

  .landing-detail {
    grid-template-columns: 1fr;
  }

  .capability-row {
    grid-template-columns: 38px 1fr;
  }
}

@media (min-width: 621px) and (max-width: 920px) {
  .landing-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
    gap: 35px;
  }
}

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