:root {
  --green: #155c3b;
  --green-dark: #0c3b28;
  --lime: #b8dc64;
  --cream: #f7f4ea;
  --ink: #18221d;
  --muted: #637067;
  --white: #ffffff;
  --line: rgba(21, 92, 59, 0.14);
  --shadow: 0 22px 60px rgba(18, 58, 39, 0.12);
}


/* RESET */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}


/* NAVIGATION */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 6vw;
  background: rgba(247, 244, 234, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.25rem;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: var(--green);
  border-radius: 13px;
  font-size: 1.1rem;
}

.brand span:last-child {
  color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}


/* BUTTONS */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(21, 92, 59, 0.22);
}

.button.secondary {
  color: var(--green);
  background: transparent;
  border: 1px solid rgba(21, 92, 59, 0.28);
}

.button.light {
  color: var(--green-dark);
  background: var(--white);
}


/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  min-height: 670px;
  padding: 74px 7vw 84px;
  background:
    radial-gradient(
      circle at 90% 12%,
      rgba(184, 220, 100, 0.3),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #f9f7ef 0%,
      #e9f2e6 100%
    );
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 22px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-copy > p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}


/* PROFILE CARD */

.profile-card {
  position: relative;
  width: min(100%, 460px);
  margin-left: auto;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dceccf;
  font-size: 1.55rem;
}

.profile-top h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.profile-top p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.match-score {
  margin-left: auto;
  color: var(--green);
  font-weight: 900;
}

.meal-photo {
  position: relative;
  min-height: 230px;
  margin: 22px 0 18px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  border-radius: 22px;
  color: white;
  background:
    linear-gradient(
      to top,
      rgba(8, 35, 24, 0.76),
      transparent 58%
    ),
    url("https://images.unsplash.com/photo-1512621776951-a57141f2eefd?auto=format&fit=crop&w=1000&q=85")
    center / cover;
}

.meal-photo strong {
  display: block;
  font-size: 1.15rem;
}

.meal-photo small {
  opacity: 0.85;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 8px 11px;
  border-radius: 999px;
  background: #edf4e7;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
}


/* SECTIONS */

.section {
  padding: 96px 7vw;
}

.section.white {
  background: var(--white);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head h2 {
  margin: 16px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}


/* STEPS */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1240px;
  margin: auto;
  counter-reset: steps;
}

.step {
  position: relative;
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fbfcf8;
  counter-increment: steps;
}

.step::before {
  content: "0" counter(steps);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--green);
  color: white;
  font-weight: 900;
}

.step h3 {
  margin: 36px 0 12px;
  font-size: 1.22rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
}


/* RESTAURANT SECTION */

.restaurant-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 66px;
  align-items: center;
  max-width: 1220px;
  margin: auto;
}

.restaurant-copy h2 {
  margin: 16px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.restaurant-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.benefits {
  display: grid;
  gap: 14px;
}

.benefit {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #e6f0dd;
}

.benefit h3 {
  margin: 1px 0 5px;
  font-size: 1rem;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}


/* CALL TO ACTION */

.cta {
  margin: 0 7vw 80px;
  padding: 64px 7%;
  border-radius: 34px;
  text-align: center;
  color: white;
  background: var(--green-dark);
}

.cta h2 {
  max-width: 760px;
  margin: 0 auto 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.05;
}

.cta p {
  max-width: 650px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}


/* FOOTER */

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 7vw;
  color: var(--muted);
  font-size: 0.9rem;
}


/* TABLET */

@media (max-width: 980px) {

  .hero,
  .restaurant-wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 48px;
  }

  .profile-card {
    margin: auto;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .restaurant-wrap {
    gap: 38px;
  }

}


/* MOBILE */

@media (max-width: 620px) {

  .nav {
    min-height: 68px;
    padding: 0 18px;
  }

  .brand span:last-child {
    font-size: 1.05rem;
  }

  .nav .secondary {
    display: none;
  }

  .nav .button {
    min-height: 42px;
    padding: 0 16px;
  }

  .hero {
    min-height: auto;
    padding: 54px 20px 64px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .profile-card {
    padding: 18px;
    border-radius: 24px;
  }

  .meal-photo {
    min-height: 205px;
  }

  .section {
    padding: 72px 20px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 240px;
  }

  .cta {
    margin: 0 20px 50px;
    padding: 50px 22px;
    border-radius: 26px;
  }

  footer {
    flex-direction: column;
    padding: 26px 20px;
  }

}