:root {
  color-scheme: light;
  --ink: #18221b;
  --ink-strong: #101712;
  --muted: #626a61;
  --paper: #fffdf8;
  --paper-warm: #fff5e8;
  --paper-green: #f2f8f0;
  --surface: #ffffff;
  --line: #e4e0d7;
  --line-strong: #c9d8c3;
  --green: #3f7a34;
  --green-dark: #245629;
  --tomato: #d43c26;
  --tomato-dark: #a72d20;
  --gold: #f1c56d;
  --shadow: 0 22px 55px rgba(24, 34, 27, 0.14);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

.section-pad {
  padding: 92px 0;
}

.hero.section-pad {
  padding: 42px 0 26px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(228, 224, 215, 0.82);
  backdrop-filter: blur(18px);
}

.compact-header {
  position: relative;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--tomato);
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

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

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a,
.site-footer a,
.text-link {
  color: var(--ink-strong);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--tomato-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--ink-strong);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 68%, rgba(212, 60, 38, 0.08), transparent 30%),
    linear-gradient(90deg, var(--paper) 0%, #fff 58%, #f8fbf5 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 62px;
  min-height: min(610px, calc(100vh - 170px));
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.25rem, 4.7vw, 4.75rem);
}

.hero-body {
  max-width: 560px;
  margin: 28px 0 0;
  color: #394139;
  font-size: 1.14rem;
  line-height: 1.55;
}

.mobile-hero-screenshot {
  display: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.button svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.button-primary {
  background: #080908;
  color: #fff;
  box-shadow: 0 16px 36px rgba(8, 9, 8, 0.22);
}

.button-primary:hover {
  background: #171917;
}

.button-secondary {
  border: 1px solid #b9b4aa;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-strong);
}

.button-secondary:hover {
  border-color: var(--tomato);
  color: var(--tomato-dark);
}

.waitlist-submit {
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
}

.waitlist-submit:disabled {
  cursor: wait;
  opacity: 0.74;
}

.waitlist-card {
  max-width: 620px;
  margin-top: 30px;
}

.waitlist-copy {
  max-width: 540px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.45;
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.waitlist-form input {
  width: 100%;
  min-height: 58px;
  border: 1px solid #b9b4aa;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-strong);
  font: 700 1rem/1.2 var(--font-body);
  padding: 0 16px;
  outline: none;
}

.waitlist-form input::placeholder {
  color: #8b8c84;
  font-weight: 600;
}

.waitlist-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(63, 122, 52, 0.14);
}

.waitlist-note,
.waitlist-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.waitlist-status {
  min-height: 1.35em;
  font-weight: 800;
}

.waitlist-status.is-success {
  color: var(--green-dark);
}

.waitlist-status.is-error {
  color: var(--tomato-dark);
}

.trust-list {
  display: grid;
  gap: 11px;
  margin: 30px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.98rem;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 30px;
}

.trust-list li::before {
  position: absolute;
  top: 0.17em;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  content: "";
}

.trust-list li::after {
  position: absolute;
  top: 0.56em;
  left: 6px;
  width: 7px;
  height: 4px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: rotate(-45deg);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 610px;
}

.step svg,
.privacy-icon svg,
.subscription-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.app-preview-visual {
  min-height: 610px;
}

.landing-phone-frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: 0;
  border: 8px solid #111;
  border-radius: 36px;
  background: #fbfbf7;
  box-shadow: var(--shadow);
}

.landing-phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.primary-preview {
  width: min(100%, 342px);
}

.preview-rail {
  position: absolute;
  right: -18px;
  bottom: 42px;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.secondary-preview {
  width: 184px;
  border-width: 5px;
  border-radius: 24px;
  opacity: 0.94;
}

.review-preview {
  transform: translateX(10px) rotate(5deg);
}

.decide-preview {
  transform: translateX(-52px) rotate(-6deg);
}

.section-heading {
  max-width: 700px;
}

.section-heading.centered {
  margin: 0 auto;
  text-align: center;
}

.section-heading h2,
.contrast-grid h2,
.privacy-grid h2,
.final-cta h2,
.legal-page h1 {
  font-size: clamp(2.35rem, 3.5vw, 3.35rem);
}

.section-heading p,
.contrast-grid p,
.final-cta p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.problem-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.problem-section.section-pad {
  padding-top: 54px;
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
  gap: 64px;
  align-items: start;
}

.pain-list {
  display: grid;
  gap: 20px;
}

.pain-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.pain-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.pain-list span {
  color: var(--tomato);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.pain-list h3 {
  font-family: var(--font-body);
  font-size: 1.18rem;
  line-height: 1.35;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 56px;
}

.step {
  position: relative;
  padding: 0 14px;
  text-align: center;
}

.step + .step::before {
  position: absolute;
  top: 42px;
  left: -25px;
  width: 20px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.step-number {
  display: grid;
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
}

.step svg {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  color: var(--tomato);
}

.step h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.26;
}

.step p {
  max-width: 250px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.benefits-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, #fff 0%, #fff 60%, rgba(242, 248, 240, 0.88) 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(520px, 1.26fr);
  gap: 58px;
  align-items: start;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.benefit-list article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(24, 34, 27, 0.05);
}

.benefit-list article:first-child {
  grid-row: span 2;
  background: var(--ink-strong);
}

.benefit-list article:first-child h3,
.benefit-list article:first-child p {
  color: #fff;
}

.benefit-list h3 {
  font-family: var(--font-body);
  font-size: 1.12rem;
  line-height: 1.28;
}

.benefit-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.contrast-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(480px, 1.2fr);
  gap: 64px;
  align-items: center;
}

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

.comparison > div {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.comparison > div:first-child {
  border-color: rgba(212, 60, 38, 0.28);
  background: #fff8f4;
}

.comparison h3 {
  color: var(--tomato);
  font-family: var(--font-body);
  font-size: 1.1rem;
}

.comparison ul,
.privacy-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.comparison li,
.privacy-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.comparison li::before,
.privacy-list li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.comparison > div + div li::before {
  background: #9a9a92;
}

.privacy-band {
  background: #f4faef;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 116px minmax(0, 760px);
  align-items: start;
  gap: 38px;
}

.privacy-icon,
.subscription-icon {
  display: grid;
  width: 98px;
  height: 98px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-dark);
}

.privacy-list {
  margin-bottom: 18px;
}

.text-link {
  display: inline-block;
  color: var(--green-dark);
}

.subscription-section {
  padding: 42px 0;
  background: #fff;
}

.subscription-panel {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  align-items: center;
  max-width: 880px;
}

.subscription-icon {
  width: 72px;
  height: 72px;
}

.subscription-icon svg {
  color: var(--green-dark);
}

.subscription-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.subscription-panel strong {
  color: var(--ink-strong);
}

.faq-section {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

summary {
  cursor: pointer;
  color: var(--ink-strong);
  font-weight: 850;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.final-cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  bottom: -56px;
  width: 300px;
  height: 210px;
  border-radius: 26px;
  background-image: url("assets/hero-meal.jpg");
  background-size: cover;
  content: "";
}

.final-cta::before {
  left: -74px;
  background-position: 42% 64%;
}

.final-cta::after {
  right: -82px;
  background-position: 92% 42%;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.final-cta p {
  max-width: 620px;
  margin-bottom: 28px;
}

.final-waitlist {
  width: min(100%, 660px);
  margin-top: 0;
  text-align: left;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.legal-page {
  max-width: 780px;
}

.page-kicker {
  margin: 0 0 14px;
  color: var(--tomato);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-page h1 {
  margin-bottom: 12px;
}

.legal-page h2 {
  margin: 42px 0 12px;
  font-family: var(--font-body);
  font-size: 1.28rem;
  line-height: 1.25;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-page p {
  margin: 0 0 16px;
}

.legal-page ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-page a {
  color: var(--green-dark);
  font-weight: 800;
}

.meta {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 1080px) {
  .hero-grid,
  .problem-grid,
  .benefits-grid,
  .contrast-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-visual {
    min-height: 560px;
  }

  .primary-preview {
    width: min(100%, 330px);
  }

  .benefit-list {
    max-width: 820px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 70px;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .section-pad {
    padding: 70px 0;
  }

  .hero.section-pad {
    padding: 42px 0 52px;
  }

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

  .primary-preview {
    width: min(360px, 72vw);
  }

  .preview-rail {
    right: calc(50% - 300px);
    bottom: 26px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 24px;
  }

  .step + .step::before {
    content: none;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .final-cta::before,
  .final-cta::after {
    opacity: 0.28;
  }
}

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

  .brand {
    font-size: 1.24rem;
  }

  .nav-links a {
    white-space: nowrap;
  }

  h1 {
    font-size: 3.25rem;
  }

  .mobile-hero-screenshot {
    display: block;
    overflow: hidden;
    width: min(188px, 52vw);
    margin: 26px 0 0;
    border: 5px solid #111;
    border-radius: 24px;
    background: #fbfbf7;
    box-shadow: 0 18px 42px rgba(24, 34, 27, 0.14);
  }

  .mobile-hero-screenshot img {
    display: block;
    width: 100%;
    height: auto;
  }

  .hero-body,
  .section-heading p,
  .contrast-grid p,
  .final-cta p {
    font-size: 1rem;
  }

  .hero-actions,
  .button,
  .waitlist-form,
  .waitlist-form input,
  .waitlist-submit {
    width: 100%;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .button {
    padding: 0 16px;
  }

  .primary-preview {
    width: min(360px, 86vw);
  }

  .app-preview-visual,
  .preview-rail {
    display: none;
  }

  .steps,
  .benefit-list,
  .comparison {
    grid-template-columns: 1fr;
  }

  .benefit-list article:first-child {
    grid-row: auto;
  }

  .pain-list article {
    grid-template-columns: 44px 1fr;
  }

  .subscription-panel {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .site-footer nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer nav {
    gap: 12px;
  }
}
