:root {
  --ink: #20232a;
  --muted: #626a73;
  --line: #e7ebe7;
  --paper: #fffdf9;
  --soft: #f4f8ef;
  --brand: #e84f35;
  --brand-dark: #ba351f;
  --mint: #14846d;
  --lime: #dced6d;
  --yellow: #f5c452;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(32, 35, 42, .13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
summary {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 14px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  color: var(--ink);
  background: rgba(255, 253, 249, .94);
  box-shadow: 0 10px 36px rgba(32, 35, 42, .08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  border-radius: 8px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 15px;
  font-weight: 650;
}

.nav a,
.footer a {
  opacity: .86;
}

.nav a:hover,
.footer a:hover {
  opacity: 1;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 750;
}

.header-cta:hover {
  color: var(--white);
  background: var(--brand);
  border-color: var(--brand);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 74px 12px auto;
  z-index: 29;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 10px;
  border-radius: 8px;
  font-weight: 750;
}

.mobile-menu a:hover {
  background: var(--soft);
}

.mobile-menu__cta {
  color: var(--white);
  background: var(--brand);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: url("/cli/diet/03_balanced.jpg") center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 24, 26, .83) 0%, rgba(20, 24, 26, .58) 44%, rgba(20, 24, 26, .24) 100%),
    linear-gradient(0deg, rgba(20, 24, 26, .54), rgba(20, 24, 26, .06) 48%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 128px 0 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--lime);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(18px, 2vw, 22px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--white);
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 18px 42px rgba(232, 79, 53, .28);
}

.button--primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .38);
  backdrop-filter: blur(12px);
}

.button--wide {
  width: 100%;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 160px));
  gap: 12px;
  margin: 0;
}

.hero__metrics div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
}

.hero__metrics dt {
  font-size: 24px;
  font-weight: 900;
}

.hero__metrics dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.intro-band {
  padding: 28px 0;
  color: var(--white);
  background: var(--mint);
}

.intro-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intro-band p {
  margin: 0;
  font-weight: 800;
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.section--light {
  background: var(--paper);
}

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

.section__heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section__heading h2 {
  margin-bottom: 0;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillar,
.step,
.price-card,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 42px rgba(32, 35, 42, .06);
}

.pillar {
  min-height: 260px;
  padding: 24px;
}

.pillar__number {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 900;
}

.pillar p,
.step p,
.product__copy p,
.price p,
.faq p,
.visual-section p,
.footer p {
  color: var(--muted);
}

.product {
  padding: clamp(72px, 9vw, 122px) 0;
  color: var(--white);
  background: var(--ink);
}

.product .eyebrow {
  color: var(--yellow);
}

.product__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
}

.product__copy p {
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, .88);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 4px var(--mint);
}

.app-preview {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(390px, 100%);
  padding: 22px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f6faf4 100%);
  border: 8px solid #101215;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone__top,
.task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone__top {
  margin-bottom: 24px;
}

.phone__top span {
  color: var(--muted);
  font-weight: 700;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 176px;
  height: 176px;
  margin: 0 auto 24px;
  border: 18px solid var(--lime);
  border-top-color: var(--brand);
  border-right-color: var(--mint);
  border-radius: 50%;
}

.score-ring span {
  display: block;
  font-size: 48px;
  font-weight: 950;
  line-height: 1;
}

.score-ring small {
  color: var(--muted);
  font-weight: 750;
}

.mini-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 8px;
  height: 88px;
  padding: 12px;
  margin-bottom: 16px;
  background: var(--soft);
  border-radius: 8px;
}

.mini-chart span {
  display: block;
  border-radius: 8px 8px 3px 3px;
  background: var(--mint);
}

.mini-chart span:nth-child(even) {
  background: var(--brand);
}

.task-row {
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.task-row span {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
}

.task-row p {
  flex: 1;
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

.task-row strong {
  color: var(--mint);
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  align-items: stretch;
  min-height: 560px;
  background: var(--paper);
}

.visual-section__image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.visual-section__content {
  align-self: center;
  padding: clamp(40px, 6vw, 86px);
}

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

.step {
  padding: 26px;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--mint);
  border-radius: 50%;
  font-weight: 900;
}

.price {
  padding: clamp(72px, 9vw, 118px) 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(32, 35, 42, .92), rgba(32, 35, 42, .74)),
    url("/cli/images/pay-bg.jpg") center / cover no-repeat;
}

.price .eyebrow {
  color: var(--lime);
}

.price p {
  max-width: 650px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.price__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.price-card {
  padding: 30px;
  color: var(--ink);
}

.price-card__label {
  margin-bottom: 8px;
  color: var(--mint);
  font-weight: 900;
}

.price-card__price {
  margin-bottom: 22px;
  font-size: 56px;
  font-weight: 950;
  line-height: 1;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding-left: 20px;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq details {
  padding: 0 22px;
}

.faq summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 850;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-size: 24px;
  line-height: 1;
}

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

.faq p {
  margin-bottom: 22px;
}

.final-cta {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--lime);
}

.final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.final-cta h2 {
  max-width: 760px;
  margin: 0;
}

.footer {
  padding: 34px 0;
  background: var(--ink);
  color: var(--white);
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, .66);
}

.brand--footer {
  font-size: 18px;
}

.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 25;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  color: var(--white);
  background: var(--brand);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(32, 35, 42, .22);
  font-weight: 900;
}

@media (max-width: 980px) {
  .nav,
  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-button {
    display: block;
  }

  .pillars,
  .steps,
  .intro-band__grid {
    grid-template-columns: 1fr 1fr;
  }

  .product__grid,
  .price__grid,
  .visual-section {
    grid-template-columns: 1fr;
  }

  .visual-section__content {
    order: -1;
  }

  .footer__inner,
  .final-cta__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .final-cta__inner {
    display: grid;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .mobile-menu {
    inset: 68px 10px auto;
  }

  .hero {
    min-height: 90vh;
    background-position: 58% center;
  }

  .hero__content {
    width: min(100% - 28px, 860px);
    padding: 104px 0 72px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 33px;
  }

  .hero__metrics,
  .pillars,
  .steps,
  .intro-band__grid {
    grid-template-columns: 1fr;
  }

  .hero__metrics div {
    padding: 14px;
  }

  .button {
    width: 100%;
  }

  .product__grid {
    gap: 30px;
  }

  .phone {
    border-width: 6px;
    border-radius: 28px;
  }

  .visual-section {
    min-height: 0;
  }

  .visual-section__image img {
    min-height: 260px;
  }

  .price-card {
    padding: 24px;
  }

  .price-card__price {
    font-size: 46px;
  }

  .footer {
    padding-bottom: 86px;
  }

  .sticky-cta {
    display: flex;
  }
}

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