.hero {
  padding: 64px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: 65px;
  font-weight: 800;
  color: var(--deep-green);
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 20px;
  color: var(--black);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
}

/* How It Works */
.how-it-works {
  background: var(--light-green-bg);
  padding: 64px 24px;
}

.how-it-works-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.how-it-works h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--deep-green);
  margin-bottom: 48px;
}

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

.step-card {
  text-align: center;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 194, 0, 0.2);
  color: var(--deep-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--deep-green);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--black);
}

/* Why Rova */
.why-rova {
  padding: 64px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-rova h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--deep-green);
  margin-bottom: 48px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.trust-grid .card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--deep-green);
  margin-bottom: 8px;
}

.trust-grid .card p {
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: var(--deep-green);
  color: var(--white);
  padding: 48px 24px;
  text-align: center;
}

.site-footer p {
  margin-bottom: 24px;
  font-size: 14px;
  opacity: 0.8;
}

.site-footer .btn-primary {
  margin-bottom: 24px;
}

/* Coming Soon */
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 48px 24px;
}

.coming-soon h1 {
  font-size: 48px;
  color: var(--deep-green);
  margin-bottom: 16px;
}

/* Track a Delivery modal / bottom sheet */
.track-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-modal[hidden] {
  display: none;
}

.track-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, 0.5);
  opacity: 0;
  transition: opacity 250ms ease;
}

.track-modal.open .track-modal-backdrop {
  opacity: 1;
}

.track-sheet {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 24px;
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: scale(0.96);
  opacity: 0;
  transition:
    transform 250ms ease,
    opacity 250ms ease;
}

.track-modal.open .track-sheet {
  transform: scale(1);
  opacity: 1;
}

.track-sheet-handle {
  display: none;
}

.track-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--gray-400);
  cursor: pointer;
}

.track-sheet h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--deep-green);
  margin-bottom: 8px;
}

.track-sheet > p {
  font-size: 15px;
  color: var(--black);
  margin-bottom: 20px;
}

#track-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#track-input {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid var(--bright-green);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  text-transform: uppercase;
  outline: none;
  transition: border-color 150ms;
}

#track-input:focus {
  border-color: var(--deep-green);
}

#track-input::placeholder {
  text-transform: none;
  color: var(--gray-400);
}

.track-error {
  color: var(--error-red);
  font-size: 13px;
  margin: -4px 0 0;
}

#track-form .btn-primary {
  width: 100%;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 16px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-graphic {
    display: none;
  }

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

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

  .how-it-works h2,
  .why-rova h2 {
    font-size: 28px;
  }

  /* Bottom sheet on mobile */
  .track-modal {
    align-items: flex-end;
  }

  .track-sheet {
    max-width: 100%;
    margin: 0;
    border-radius: 24px 24px 0 0;
    padding: 12px 20px 32px;
    transform: translateY(100%);
  }

  .track-modal.open .track-sheet {
    transform: translateY(0);
  }

  .track-sheet-handle {
    display: block;
    width: 40px;
    height: 4px;
    margin: 0 auto 16px;
    border-radius: 2px;
    background: var(--gray-400);
    opacity: 0.4;
  }

  .track-close {
    display: none;
  }
}
