:root {
  --forest: #00663a;
  --forest-deep: #004d2c;
  --herb: #39745a;
  --leaf: #dbe8e2;
  --oat: #f6fbf9;
  --paper: #ffffff;
  --apricot: #ff9a75;
  --honey: #f2ad37;
  --ink: #171a19;
  --muted: #62706a;
  --line: #d8e4de;
  --shadow: 0 24px 70px rgba(0, 77, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--oat);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest-deep);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.brand img {
  display: block;
  border-radius: 13px;
}

.support-link {
  color: var(--forest-deep);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.support-link:hover,
.support-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: clamp(38px, 7vw, 110px);
  min-height: 612px;
  padding: 56px 0 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.055em;
}

h1 {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--forest-deep);
  font-size: clamp(3.1rem, 6.8vw, 5.7rem);
  line-height: 0.95;
}

.hero-text {
  max-width: 490px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.6;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.primary-button {
  background: var(--forest);
  color: var(--paper);
  box-shadow: 0 13px 25px rgba(0, 102, 58, 0.2);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--forest-deep);
  box-shadow: 0 16px 32px rgba(0, 77, 44, 0.24);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 460px;
  place-items: center;
  overflow: hidden;
  border-radius: 40px;
  background: linear-gradient(140deg, #e3f0ea 0%, #c9e2d6 100%);
}

.glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  filter: blur(2px);
}

.glow-top {
  top: -110px;
  right: -80px;
  background: #8de2c2;
}

.glow-bottom {
  bottom: -110px;
  left: -75px;
  background: #ffbd9e;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(260px, 66vw);
  min-height: 462px;
  padding: 13px;
  border: 7px solid #15221c;
  border-radius: 38px;
  background: #fff;
  box-shadow: 0 30px 55px rgba(12, 45, 30, 0.25);
}

.phone::before {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 82px;
  height: 19px;
  border-radius: 0 0 13px 13px;
  background: #15221c;
  content: "";
  transform: translateX(-50%);
}

.phone-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 19px 2px 17px;
  color: var(--forest-deep);
  font-size: 0.74rem;
  font-weight: 800;
}

.phone-logo {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
  font-size: 0.72rem;
}

.avatar {
  width: 19px;
  height: 19px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--apricot);
}

.phone-body {
  padding: 5px 0 0;
}

.phone-heading {
  padding: 10px 3px 16px;
}

.phone-heading p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.phone-heading strong {
  color: var(--forest-deep);
  font-size: 1.25rem;
  letter-spacing: -0.055em;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 80px;
  margin-bottom: 11px;
  padding: 12px;
  border-radius: 17px;
}

.mini-card strong,
.mini-card small {
  display: block;
}

.mini-card strong {
  color: var(--forest-deep);
  font-size: 0.73rem;
}

.mini-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.61rem;
}

.fresh-card {
  background: #e8f2ee;
}

.mini-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  font-weight: 900;
}

.recipe-card {
  position: relative;
  overflow: hidden;
  background: #fff0e9;
}

.recipe-card > div {
  position: relative;
  z-index: 1;
  margin-left: 34px;
}

.recipe-dot {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.dot-one {
  top: 18px;
  left: 14px;
  width: 33px;
  height: 33px;
  background: var(--apricot);
}

.dot-two {
  bottom: 10px;
  left: 37px;
  width: 19px;
  height: 19px;
  background: var(--honey);
}

.phone-nav {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  padding: 7px 8px 0;
}

.phone-nav span {
  display: block;
  width: 17px;
  height: 5px;
  border-radius: 999px;
  background: #c4d0ca;
}

.phone-nav .active {
  width: 29px;
  background: var(--forest);
}

.features {
  padding: 88px 0 110px;
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-intro .eyebrow {
  flex: 0 0 190px;
  margin-bottom: 8px;
}

h2 {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--forest-deep);
  font-size: clamp(2.15rem, 4.6vw, 3.8rem);
  line-height: 1.02;
}

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

.feature-card {
  min-height: 258px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 15px;
  background: var(--leaf);
}

.fridge-icon::before {
  width: 17px;
  height: 24px;
  border: 2px solid var(--forest);
  border-radius: 4px;
  background: linear-gradient(var(--leaf) 43%, var(--forest) 43% 48%, var(--leaf) 48%);
  content: "";
}

.list-icon::before {
  width: 19px;
  height: 18px;
  border-left: 3px solid var(--forest);
  background: repeating-linear-gradient(to bottom, transparent 0 3px, var(--forest) 3px 5px, transparent 5px 8px);
  content: "";
}

.sparkle-icon {
  color: var(--forest);
  font-size: 1.75rem;
}

h3 {
  margin-bottom: 10px;
  color: var(--forest-deep);
  font-size: 1.3rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(34px, 6vw, 64px);
  border-radius: 32px;
  background: var(--forest);
  color: #fff;
}

.closing .eyebrow {
  color: #a9ddc6;
}

.closing h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(2rem, 3.7vw, 3.25rem);
}

.closing p:not(.eyebrow) {
  margin-bottom: 0;
  color: #d4eee1;
  line-height: 1.55;
}

.secondary-button {
  flex: 0 0 auto;
  background: #fff;
  color: var(--forest-deep);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  background: #e3f3eb;
  transform: translateY(-2px);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 130px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-size: 1.05rem;
}

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

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 580px);
  }

  .site-header {
    min-height: 76px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 44px 0 70px;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 4.9rem);
  }

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

  .phone {
    min-height: 426px;
  }

  .features {
    padding: 66px 0 80px;
  }

  .section-intro,
  .closing,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-intro {
    gap: 2px;
  }

  .section-intro .eyebrow {
    flex-basis: auto;
  }

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

  .feature-card {
    min-height: 0;
  }

  .feature-icon {
    margin-bottom: 28px;
  }

  .closing {
    gap: 25px;
  }

  footer {
    justify-content: center;
    min-height: 150px;
    padding: 30px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .primary-button,
  .secondary-button {
    transition: none;
  }
}
