@font-face {
  font-family: "Comfortaa";
  src: url("assets/Comfortaa.ttf") format("truetype");
  font-display: swap;
}

:root {
  --accent: #43a485;
  --accent-dark: #246d57;
  --sky: #5bbced;
  --warm: #e06e28;
  --ink: #101412;
  --muted: #66736d;
  --line: rgba(16, 20, 18, 0.12);
  --sage: #eef8ef;
  --cream: #fffaf1;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fff9 0%, #ffffff 34%, #f4fbff 100%);
  font-family: Comfortaa, ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
}

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

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

.site-header {
  position: fixed;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 34px;
  width: min(690px, 100%);
  min-height: 62px;
  padding: 7px 9px 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 50px rgba(19, 71, 51, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: #2d3531;
  font-size: 0.92rem;
  font-weight: 700;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: #101412;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(16, 20, 18, 0.18);
}

.download-btn.large {
  min-height: 54px;
  padding: 0 28px;
}

.hero {
  position: relative;
  min-height: 850px;
  overflow: hidden;
  padding: 132px 24px 0;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, #ffffff 41%, rgba(238, 248, 239, 0.88) 100%),
    radial-gradient(circle at 52% 72%, rgba(91, 188, 237, 0.2), transparent 32%);
}

.hero-media {
  position: absolute;
  top: -120px;
  left: 50%;
  z-index: -2;
  display: grid;
  grid-template-columns: repeat(4, 290px);
  gap: 18px;
  width: 1220px;
  transform: translateX(-50%) rotate(-3deg);
  opacity: 0.78;
  filter: grayscale(0.86) blur(1.5px);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.82) 42%, transparent 100%);
}

.hero-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 0 0 28px 28px;
}

.hero-copy {
  max-width: 930px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 660px;
  margin: 0 auto;
  color: #4c5a54;
  font-size: clamp(1.05rem, 1.7vw, 1.34rem);
  line-height: 1.55;
  font-weight: 700;
}

.phone-stage {
  position: relative;
  width: min(560px, 92vw);
  margin: 34px auto 0;
}

.phone {
  position: relative;
  width: min(410px, 80vw);
  margin: 0 auto;
  padding: 13px;
  border: 5px solid #0a0d0c;
  border-radius: 48px;
  background: #050605;
  box-shadow: 0 40px 100px rgba(26, 89, 63, 0.28);
}

.phone-speaker {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 3;
  width: 86px;
  height: 25px;
  border-radius: 0 0 18px 18px;
  background: #050605;
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 710px;
  overflow: hidden;
  padding: 34px 16px 18px;
  border-radius: 36px;
  background: linear-gradient(180deg, var(--sage), #fff 58%, #f8fcff);
}

.app-top,
.macro-row,
.prompt-card,
.meal-list div {
  display: flex;
  align-items: center;
}

.app-top {
  justify-content: space-between;
  margin-bottom: 16px;
}

.app-top strong {
  display: block;
  font-size: 1.08rem;
}

.mini-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.streak {
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--warm);
  font-size: 0.76rem;
  font-weight: 800;
}

.meal-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 20px 46px rgba(25, 65, 45, 0.18);
}

.meal-hero img {
  width: 100%;
  height: 285px;
  object-fit: cover;
}

.meal-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px;
  border-radius: 19px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
}

.meal-overlay span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
}

.macro-row {
  gap: 8px;
  margin: 14px 0;
}

.macro-row span {
  flex: 1;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--muted);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
}

.macro-row strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.98rem;
}

.prompt-card {
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--sky));
  font-size: 0.85rem;
  font-weight: 800;
}

.prompt-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.prompt-card p {
  margin: 0;
  line-height: 1.35;
}

.meal-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.meal-list div {
  gap: 10px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.meal-list img {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  object-fit: cover;
}

.meal-list span {
  flex: 1;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 800;
}

.meal-list strong {
  color: var(--accent-dark);
  font-size: 0.68rem;
}

.mascot {
  position: absolute;
  right: -76px;
  bottom: 36px;
  width: 210px;
  filter: drop-shadow(0 26px 38px rgba(19, 84, 44, 0.22));
}

.intro-band,
.reviews {
  padding: 96px 24px;
  text-align: center;
}

.intro-band h2,
.reviews h2,
.showcase h2,
.final-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.2vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1110px;
  margin: 44px auto 0;
}

.step,
.review,
.meal-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(49, 82, 67, 0.08);
}

.step {
  padding: 28px;
  text-align: left;
}

.step span {
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.step h3 {
  margin: 15px 0 10px;
  font-size: 1.3rem;
}

.step p,
.showcase-copy p,
.review p,
.final-cta p {
  color: var(--muted);
  line-height: 1.65;
  font-weight: 700;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) 1.18fr;
  gap: 44px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px 110px;
}

.showcase-copy {
  text-align: left;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent-dark);
  font-weight: 900;
}

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

.meal-grid article {
  overflow: hidden;
  background: #fff;
}

.meal-grid article:nth-child(2) {
  transform: translateY(38px);
}

.meal-grid img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
}

.meal-grid span {
  display: block;
  min-height: 58px;
  padding: 14px;
  font-size: 0.84rem;
  font-weight: 900;
}

.reviews {
  background: linear-gradient(180deg, #f4fbff, #fff);
}

.review-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1110px;
  margin: 42px auto 0;
}

.review {
  padding: 26px;
  text-align: left;
}

.review strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.06rem;
}

.review span {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.final-cta {
  padding: 100px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.92)),
    url("assets/paywall-background.png") center 18% / cover;
  text-align: center;
}

.final-cta > div {
  max-width: 760px;
  margin: 0 auto;
}

.final-cta img {
  width: 96px;
  margin: 0 auto 22px;
  border-radius: 22px;
}

.final-cta p {
  max-width: 560px;
  margin: 0 auto 26px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 34px;
  color: #4d5a54;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 800;
}

.footer .brand img {
  width: 34px;
  height: 34px;
}

.footer div {
  display: flex;
  gap: 20px;
}

.policy-page {
  padding: 142px 20px 82px;
}

.policy-hero {
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: center;
}

.policy-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.policy-hero p:not(.eyebrow) {
  color: var(--muted);
  font-weight: 800;
}

.policy-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 60px rgba(49, 82, 67, 0.1);
}

.policy-card h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.policy-card h2:first-of-type {
  margin-top: 0;
}

.policy-card p {
  color: var(--muted);
  line-height: 1.75;
  font-weight: 700;
}

.policy-card a {
  color: var(--accent-dark);
  font-weight: 900;
}

@media (max-width: 900px) {
  .nav-pill {
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .download-btn {
    margin-left: auto;
  }

  .hero {
    min-height: 900px;
    padding-top: 142px;
  }

  .hero-media {
    grid-template-columns: repeat(4, 210px);
    width: 900px;
  }

  .hero-media img {
    height: 280px;
  }

  .phone-screen {
    min-height: 640px;
  }

  .meal-hero img {
    height: 235px;
  }

  .mascot {
    right: -24px;
    bottom: -14px;
    width: 148px;
  }

  .steps,
  .review-track,
  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase {
    padding-top: 42px;
  }

  .meal-grid article:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 12px;
    padding: 0 10px;
  }

  .nav-pill {
    min-height: 56px;
    padding: 7px 8px 7px 10px;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .download-btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 820px;
    padding: 118px 16px 0;
  }

  h1 {
    font-size: clamp(2.3rem, 11vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .phone-stage {
    margin-top: 34px;
  }

  .phone {
    width: min(350px, 88vw);
    padding: 10px;
    border-radius: 40px;
  }

  .phone-screen {
    min-height: 565px;
    padding: 30px 12px 14px;
    border-radius: 30px;
  }

  .meal-hero img {
    height: 205px;
  }

  .macro-row {
    gap: 6px;
  }

  .macro-row span {
    padding: 10px 4px;
    font-size: 0.6rem;
  }

  .meal-list img {
    width: 46px;
    height: 46px;
  }

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

  .intro-band,
  .reviews,
  .final-cta {
    padding: 70px 16px;
  }

  .showcase {
    padding: 34px 16px 82px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 18px;
  }

  .policy-page {
    padding: 118px 16px 64px;
  }

  .policy-card {
    padding: 28px 20px;
  }
}
