:root {
  --background: #f8faf5;
  --surface: #ffffff;

  --text: #151713;
  --muted: #6e7469;

  --border: #e0e6da;

  --green: #79c900;
  --green-light: #a6dd4b;
  --green-dark: #568d00;
  --green-soft: #eef8df;

  --black: #10120f;

  --max-width: 1160px;

  --radius: 22px;
  --radius-large: 32px;
}


/* ----------------------------------------
   Base
---------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  background: var(--background);
  color: var(--text);

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}


/* ----------------------------------------
   Header
---------------------------------------- */

.site-header {
  position: absolute;

  width: 100%;
  top: 0;

  z-index: 20;
}

.nav {
  height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.broolz-link {
  display: flex;
  align-items: center;

  gap: 9px;

  color: var(--text);

  text-decoration: none;

  font-size: 1rem;
  font-weight: 750;

  letter-spacing: -0.02em;
}

.broolz-dot {
  width: 18px;
  height: 18px;

  display: inline-block;

  border-radius: 50%;

  background:
    linear-gradient(
      to bottom,
      var(--green-light) 0 50%,
      var(--green) 50% 100%
    );
}

.nav-link {
  color: var(--muted);

  text-decoration: none;

  font-size: 0.92rem;

  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--text);
}


/* ----------------------------------------
   Hero
---------------------------------------- */

.hero {
  position: relative;

  min-height: 790px;

  padding: 165px 0 120px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 78% 27%,
      rgba(121, 201, 0, 0.16),
      transparent 35%
    );
}

.hero-grid {
  position: relative;
  z-index: 3;

  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(300px, 0.85fr);

  gap: 80px;

  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;

  color: var(--green-dark);

  font-size: 0.76rem;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 0.14em;
}

.hero h1 {
  max-width: 700px;

  margin: 0;

  font-size: clamp(5rem, 9vw, 8rem);

  line-height: 0.88;

  letter-spacing: -0.075em;

  font-weight: 790;
}

.hero-intro {
  max-width: 610px;

  margin: 38px 0 0;

  font-size: clamp(1.25rem, 2vw, 1.55rem);

  line-height: 1.5;
}

.hero-secondary {
  max-width: 570px;

  margin: 17px 0 0;

  color: var(--muted);

  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 35px;

  display: flex;
  align-items: center;

  gap: 28px;
}


/* ----------------------------------------
   App Store
---------------------------------------- */

.app-store-link {
  display: inline-block;

  border-radius: 10px;

  overflow: hidden;

  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.app-store-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.app-store-link img {
  width: 175px;
  height: auto;
}

.text-link {
  color: var(--muted);

  font-weight: 650;

  text-decoration: none;
}

.text-link:hover {
  color: var(--text);
}


/* ----------------------------------------
   App preview
---------------------------------------- */

.app-preview {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 440px;
}

.app-icon-wrap {
  width: 300px;
  height: 300px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 36px;

  background: white;

  border: 1px solid var(--border);

  border-radius: 72px;

  box-shadow:
    0 35px 90px rgba(45, 65, 25, 0.14);

  transform: rotate(-3deg);
}

.app-icon {
  width: 100%;
  height: 100%;

  object-fit: contain;

  border-radius: 48px;
}

.score-card {
  position: absolute;

  right: 0;
  bottom: 5px;

  min-width: 210px;

  padding: 23px;

  background: var(--black);
  color: white;

  border-radius: var(--radius);

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.15);
}

.score-label {
  display: block;

  margin-bottom: 13px;

  color: var(--green-light);

  font-size: 0.7rem;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 0.1em;
}

.score {
  display: flex;
  align-items: center;

  gap: 14px;
}

.score strong {
  font-size: 4rem;

  line-height: 1;

  letter-spacing: -0.07em;
}

.score span {
  color: #b9beb5;

  line-height: 1.25;

  font-size: 0.86rem;
}


/* ----------------------------------------
   Decorative shapes
---------------------------------------- */

.hero-shape {
  position: absolute;

  border-radius: 50%;

  pointer-events: none;
}

.shape-one {
  width: 300px;
  height: 300px;

  right: -120px;
  top: 110px;

  background: var(--green);

  opacity: 0.08;
}

.shape-two {
  width: 110px;
  height: 110px;

  right: 30%;
  top: 100px;

  border: 22px solid var(--green-light);

  opacity: 0.12;
}

.shape-three {
  width: 75px;
  height: 75px;

  left: 52%;
  bottom: 90px;

  background: var(--green);

  opacity: 0.11;
}


/* ----------------------------------------
   Sections
---------------------------------------- */

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 740px;

  margin-bottom: 55px;
}

.section-heading.narrow {
  max-width: 680px;
}

.section-heading h2,
.why-section h2,
.download-section h2 {
  margin: 0;

  font-size: clamp(2.8rem, 5vw, 4.7rem);

  line-height: 0.97;

  letter-spacing: -0.06em;
}

.section-heading > p:last-child {
  margin-top: 24px;

  color: var(--muted);

  font-size: 1.12rem;
}


/* ----------------------------------------
   Foods
---------------------------------------- */

.food-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 16px;
}

.food-card {
  min-height: 230px;

  padding: 28px;

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.food-card:hover {
  transform: translateY(-3px);

  box-shadow:
    0 18px 45px rgba(30, 50, 20, 0.06);
}

.food-icon {
  font-size: 2rem;
}

.food-card h3 {
  margin: 32px 0 8px;

  font-size: 1.32rem;

  letter-spacing: -0.03em;
}

.food-card p {
  margin: 0;

  color: var(--muted);
}


/* ----------------------------------------
   Steps
---------------------------------------- */

.how-section {
  background: var(--green-soft);
}

.steps {
  display: grid;

  grid-template-columns: repeat(3, 1fr);
}

.step {
  padding: 30px 38px 30px 0;

  border-top: 1px solid #ceddb9;
}

.step + .step {
  padding-left: 38px;

  border-left: 1px solid #ceddb9;
}

.step-number {
  color: var(--green-dark);

  font-size: 0.78rem;

  font-weight: 800;
}

.step h3 {
  margin: 50px 0 12px;

  font-size: 1.6rem;

  letter-spacing: -0.035em;
}

.step p {
  margin: 0;

  color: var(--muted);
}


/* ----------------------------------------
   Why
---------------------------------------- */

.why-section {
  color: white;

  background: var(--black);
}

.why-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: 100px;
}

.why-section .eyebrow {
  color: var(--green-light);
}

.why-copy {
  max-width: 650px;
}

.why-copy p {
  color: #b9beb6;

  font-size: 1.08rem;
}

.why-copy .large {
  margin-top: 0;

  color: white;

  font-size: clamp(1.4rem, 2vw, 1.8rem);

  line-height: 1.5;
}


/* ----------------------------------------
   Download
---------------------------------------- */

.download-section {
  padding-top: 50px;
}

.download-box {
  padding: 60px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 50px;

  background: var(--green-soft);

  border-radius: var(--radius-large);
}

.download-box > div {
  max-width: 650px;
}

.download-box p:not(.eyebrow) {
  color: var(--muted);

  font-size: 1.05rem;
}

.large-badge img {
  width: 205px;
}


/* ----------------------------------------
   Footer
---------------------------------------- */

footer {
  padding: 45px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  color: var(--muted);

  font-size: 0.9rem;
}

.footer-content > div:first-child {
  display: flex;

  gap: 8px;
}

.footer-content strong {
  color: var(--text);
}

.footer-links {
  display: flex;

  gap: 24px;
}

.footer-links a {
  text-decoration: none;
}

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


/* ----------------------------------------
   Tablet
---------------------------------------- */

@media (max-width: 900px) {

  .hero {
    min-height: auto;

    padding:
      130px
      0
      100px;
  }

  .hero-grid {
    grid-template-columns: 1fr;

    gap: 65px;
  }

  .app-preview {
    min-height: 390px;

    justify-content: flex-start;
  }

  .score-card {
    left: 230px;
    right: auto;
  }

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

  .why-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }

}


/* ----------------------------------------
   Mobile
---------------------------------------- */

@media (max-width: 650px) {

  .container {
    width: min(
      calc(100% - 28px),
      var(--max-width)
    );
  }

  .hero {
    padding:
      115px
      0
      80px;
  }

  .hero h1 {
    font-size: clamp(
      4.2rem,
      19vw,
      6rem
    );
  }

  .hero-actions {
    align-items: flex-start;

    flex-direction: column;
  }

  .app-preview {
    min-height: 320px;
  }

  .app-icon-wrap {
    width: 230px;
    height: 230px;

    padding: 27px;

    border-radius: 56px;
  }

  .app-icon {
    border-radius: 38px;
  }

  .score-card {
    left: 170px;
    bottom: 0;

    min-width: 170px;

    padding: 18px;
  }

  .score strong {
    font-size: 3.1rem;
  }

  .section {
    padding:
      80px
      0;
  }

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

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

  .step + .step {
    padding-left: 0;

    border-left: 0;
  }

  .download-box {
    padding: 38px 30px;

    flex-direction: column;

    align-items: flex-start;
  }

  .footer-content {
    align-items: flex-start;

    flex-direction: column;
  }

}
