:root {
  --bg: #ebebeb;
  --text: #111111;
  --muted: #606060;
  --recommended-route: #14b84b;
  --mock-test: #2a7bff;
  --practice-questions: #f0b200;
  --trickiest-questions: #f35325;
  --footer-bg: #1f1f1c;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: Verdana, Geneva, sans-serif;
}

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

.container {
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 0 22px;
}

.hero {
  padding-top: 26px;
  text-align: center;
}

.wordmark {
  display: block;
  width: min(260px, 84vw);
  margin: 0 auto 10px;
}

.hero h1 {
  margin: 0 auto;
  max-width: 860px;
  font-size: clamp(20px, 11vw, 48px);
  line-height: 1.12;
  font-weight: 700;
}

.hero-image {
  display: block;
  width: min(100%, 620px);
  margin: 24px auto 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
  /* Hide any square-corner background from the source PNG. */
  clip-path: inset(0 round 23%);
}

.store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  overflow: visible;
}

.store-badge img {
  display: block;
  height: 100%;
  width: auto;
}

.store-badge-app img {
  border-radius: 6px;
}

.store-badge-play img {
  border-radius: 7px;
}

.hero-note {
  margin: 16px auto 0;
  max-width: 760px;
  color: #4c4c4c;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.hero-note a {
  color: inherit;
}

.hero-subheading {
  margin: 30px auto;
  max-width: 320px;
  text-align: center;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  color: #111111;
}

.features {
  padding: 0 0 60px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.feature-card {
  border: 2px solid;
  border-radius: 16px;
  background: transparent;
  padding: 14px 14px 14px;
  min-height: 180px;
}

.feature-card.green {
  border-color: var(--recommended-route);
}

.feature-card.blue {
  border-color: var(--mock-test);
}

.feature-card.yellow {
  border-color: var(--practice-questions);
}

.feature-card.orange {
  border-color: var(--trickiest-questions);
}

.feature-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.feature-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.feature-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.site-footer {
  background: var(--footer-bg);
}

.footer-road {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 160px;
  background: #1f1f1c;
  overflow: hidden;
}

.footer-road-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.footer-content {
  padding-top: 14px;
  padding-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-links a {
  color: #8b8b8b;
  font-size: 16px;
}

.footer-links a:first-child {
  color: #ffffff;
  font-weight: 700;
}

.footer-content p {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

@media (min-width: 1280px) {
  .container {
    padding: 0 72px;
  }

  .hero {
    padding-top: 34px;
  }

  .wordmark {
    width: 240px;
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(24px, 4.6vw, 52px);
    max-width: 1110px;
    letter-spacing: 0.2px;
  }

  .hero-image {
    width: 570px;
    margin-top: 26px;
    margin-bottom: 34px;
  }

  .store-buttons {
    gap: 12px;
  }

  .store-badge {
    height: 78px;
  }

  .hero-note {
    margin-top: 22px;
    max-width: 980px;
    font-size: 18px;
    line-height: 1.35;
  }

  .hero-subheading {
    margin: 40px auto;
    max-width: 980px;
    font-size: 22px;
    line-height: 1.3;
  }

  .features {
    padding-top: 0;
    padding-bottom: 86px;
  }

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

  .feature-card {
    min-height: 168px;
    border-width: 2px;
    border-radius: 15px;
    padding: 15px 16px;
  }

  .feature-title-row {
    gap: 10px;
    margin-bottom: 8px;
  }

  .feature-icon {
    width: 25px;
    height: 25px;
  }

  .feature-card h3 {
    font-size: 20px;
    line-height: 1.05;
  }

  .feature-card p {
    font-size: 17px;
    line-height: 1.3;
  }

  .site-footer {
    background: linear-gradient(92deg, #1f1f1c 0%, #2a2a26 100%);
  }

  .footer-road {
    height: 190px;
  }

  .footer-content {
    padding-top: 12px;
    padding-bottom: 18px;
  }

  .footer-links {
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 10px;
  }

  .footer-links a {
    font-size: 16px;
  }

  .footer-content p {
    font-size: 16px;
  }
}
