:root {
  --green: #15b84f;
  --green-dark: #078738;
  --green-soft: #e9f9ef;
  --black: #090d0a;
  --ink: #151a16;
  --muted: #5e675f;
  --line: #dde6de;
  --paper: #ffffff;
  --off-white: #f6f8f4;
  --warm: #f8c856;
  --shadow: 0 20px 60px rgba(9, 13, 10, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 5vw;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(9, 13, 10, 0.08);
  backdrop-filter: blur(14px);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand,
.nav-links,
.hero-actions,
.hero-proof,
.footer-inner {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  color: var(--black);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--black);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0;
}

.nav-links {
  gap: 26px;
  color: rgba(9, 13, 10, 0.72);
  font-size: 15px;
  font-weight: 650;
}

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

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.nav-cta {
  min-width: 112px;
  padding: 0 18px;
  background: var(--black);
  color: var(--paper);
  font-size: 14px;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  min-height: 78vh;
  max-height: 760px;
  display: flex;
  align-items: center;
  padding: 112px 5vw 64px;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 35%, rgba(255, 255, 255, 0.34) 62%, rgba(255, 255, 255, 0) 100%),
    url("/site/assets/eatsmart-hero.webp");
  background-position: center;
  background-size: cover;
}

.hero-content {
  width: min(650px, 100%);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
}

h1 {
  color: var(--black);
  font-size: 72px;
  font-weight: 900;
}

.hero-copy {
  max-width: 590px;
  margin: 22px 0 0;
  color: #263027;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.28;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  padding: 14px 22px;
  white-space: normal;
}

.button-primary {
  background: var(--green);
  color: var(--black);
  box-shadow: 0 16px 36px rgba(21, 184, 79, 0.26);
}

.button-primary:hover {
  background: #24c95f;
}

.button-secondary {
  border: 1px solid rgba(9, 13, 10, 0.18);
  background: rgba(255, 255, 255, 0.84);
  color: var(--black);
}

.button-secondary:hover {
  border-color: rgba(9, 13, 10, 0.34);
  background: var(--paper);
}

.hero-proof {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-proof span {
  border: 1px solid rgba(9, 13, 10, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  padding: 8px 11px;
  color: #2c362e;
  font-size: 14px;
  font-weight: 750;
}

.section {
  padding: 86px 5vw;
}

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

.section-dark {
  background: var(--black);
  color: var(--paper);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

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

.section-heading h2,
.final-cta h2,
.error-card h1 {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.05;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.steps-grid,
.feature-grid,
.trust-list {
  display: grid;
  gap: 16px;
}

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

.step-card,
.feature-card,
.trust-list article,
.error-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.step-card {
  min-height: 218px;
  padding: 22px;
}

.step-number {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
}

.step-card h3,
.feature-card h3,
.trust-list h3 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.step-card p,
.feature-card p,
.trust-list p,
.error-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 42px;
  align-items: start;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  min-height: 194px;
  border-color: rgba(255, 255, 255, 0.1);
  background: #111811;
  box-shadow: none;
  padding: 22px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.68);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--green);
  color: var(--black);
  font-size: 14px;
  font-weight: 900;
}

.trust-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.trust-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-list article {
  min-height: 178px;
  padding: 24px;
}

.final-cta {
  padding: 84px 5vw;
  background: #111811;
  color: var(--paper);
}

.final-cta-inner {
  width: min(880px, 100%);
  margin: 0 auto;
  text-align: center;
}

.final-cta .button {
  margin-top: 28px;
}

.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.72);
  padding: 26px 5vw;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.footer-inner span:first-child {
  color: var(--paper);
  font-weight: 900;
}

.footer a:hover {
  color: var(--paper);
}

.error-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8)),
    url("/site/assets/eatsmart-hero.webp");
  background-position: center;
  background-size: cover;
}

.error-shell {
  width: min(760px, 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 44px 5vw;
}

.error-card {
  padding: 32px;
}

.error-card .button {
  margin-top: 24px;
}

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

  .hero {
    min-height: 76vh;
    padding-top: 104px;
    background-position: 60% center;
  }

  h1 {
    font-size: 56px;
  }

  .hero-copy {
    font-size: 20px;
  }

  .steps-grid,
  .feature-layout,
  .trust-layout,
  .trust-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-cta {
    min-width: 98px;
    min-height: 42px;
    padding: 0 14px;
  }

  .hero {
    min-height: 74vh;
    padding: 96px 18px 42px;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 46%, rgba(255, 255, 255, 0.36) 100%),
      url("/site/assets/eatsmart-hero.webp");
    background-position: 62% center;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    max-width: 420px;
    font-size: 18px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-proof {
    max-width: 360px;
  }

  .hero-proof span {
    font-size: 13px;
  }

  .section {
    padding: 64px 18px;
  }

  .section-heading h2,
  .final-cta h2,
  .error-card h1 {
    font-size: 32px;
  }

  .steps-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .step-card,
  .feature-card,
  .trust-list article {
    min-height: auto;
  }

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

  .error-card {
    padding: 24px;
  }
}
