:root {
  --ink: #18211f;
  --surface: #fafbf7;
  --sage: #6d9b74;
  --tomato: #e15b3f;
  --sky: #5c8dcb;
  --oat: #e8e1d4;
  --paper: #fffefa;
  --line: rgba(24, 33, 31, 0.13);
  --muted: rgba(24, 33, 31, 0.68);
  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;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(250, 251, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

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

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero-section {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  padding: clamp(36px, 6vw, 76px) clamp(20px, 5vw, 72px) 44px;
  border-bottom: 1px solid var(--line);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 7rem;
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 3.25rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.hero-lede {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.28rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.primary-action,
.secondary-action,
.app-action {
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
}

.primary-action,
.app-action {
  background: var(--ink);
  color: white;
}

.secondary-action {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.primary-action:hover,
.app-action:hover {
  background: #24312e;
}

.secondary-action:hover {
  border-color: rgba(24, 33, 31, 0.28);
  background: #f3f5ef;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 360px);
  aspect-ratio: 9 / 18.7;
  padding: 14px;
  border: 1px solid rgba(24, 33, 31, 0.2);
  border-radius: 42px;
  background: #1e2724;
  box-shadow: 0 24px 64px rgba(24, 33, 31, 0.22);
}

.phone-status {
  width: 96px;
  height: 26px;
  margin: 0 auto 10px;
  border-radius: 0 0 16px 16px;
  background: #1e2724;
}

.app-screen {
  min-height: calc(100% - 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 18px 18px;
  border-radius: 30px;
  background: var(--surface);
  overflow: hidden;
}

.screen-topline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--muted);
}

.screen-topline strong {
  color: var(--ink);
  font-size: 2.4rem;
  line-height: 1;
}

.progress-layout {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 14px;
  align-items: center;
}

.progress-ring {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--surface) 58%, transparent 59%),
    conic-gradient(var(--sage) 0 72%, var(--oat) 72% 100%);
}

.progress-ring span {
  font-size: 1.6rem;
  font-weight: 850;
}

.progress-ring small,
.meal-preview small {
  color: var(--muted);
}

.macro-list {
  display: grid;
  gap: 8px;
}

.macro-list div,
.meal-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.macro-list div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
}

.macro-list span {
  color: var(--muted);
}

.meal-preview {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}

.meal-preview p {
  margin-bottom: 2px;
  font-weight: 800;
}

.meal-preview strong {
  display: block;
  color: var(--tomato);
}

.meal-photo {
  min-height: 86px;
  border-radius: 8px;
  background: var(--oat);
  position: relative;
  overflow: hidden;
}

.meal-photo::before,
.meal-photo::after,
.meal-photo span {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.meal-photo::before {
  width: 70px;
  height: 70px;
  left: 9px;
  top: 12px;
  background: var(--sage);
}

.meal-photo::after {
  width: 38px;
  height: 38px;
  right: 8px;
  bottom: 12px;
  background: var(--tomato);
}

.meal-photo span {
  width: 40px;
  height: 14px;
  left: 25px;
  bottom: 17px;
  background: rgba(250, 251, 247, 0.78);
  border: 1px solid rgba(24, 33, 31, 0.08);
}

.app-action {
  margin-top: auto;
  width: 100%;
}

.signal-strip {
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: white;
}

.signal-strip p {
  max-width: 920px;
  margin: 0 auto;
  font-size: 1.32rem;
  text-align: center;
}

.content-band {
  padding: clamp(58px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.alt-band {
  background: #f2f4ee;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow),
.split-layout p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

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

.feature-grid article,
.pricing-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  font-weight: 850;
}

.feature-grid p,
.pricing-grid p,
.faq-list p,
.site-footer p {
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

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

.check-list li {
  padding: 15px 16px;
  border-left: 5px solid var(--sage);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 750;
}

.featured-plan {
  border-color: rgba(225, 91, 63, 0.48) !important;
  box-shadow: inset 0 0 0 2px rgba(225, 91, 63, 0.14);
}

.price {
  margin-bottom: 12px;
  color: var(--ink) !important;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
}

.small-print {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 4px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.policy-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 20px;
}

.policy-page h1 {
  font-size: 4.5rem;
}

.policy-page a {
  color: var(--sage);
  font-weight: 800;
}

@media (max-width: 860px) {
  h1 {
    font-size: 5.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-section,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .phone-stage {
    justify-content: flex-start;
  }

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

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

@media (max-width: 560px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lede,
  .signal-strip p {
    font-size: 1.1rem;
  }

  .policy-page h1 {
    font-size: 2.5rem;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .phone-frame {
    width: 100%;
    max-width: 340px;
  }

  .progress-layout {
    grid-template-columns: 1fr;
  }

  .progress-ring {
    width: 128px;
    height: 128px;
  }
}
