html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #ffffff;
}

a {
  background-color: transparent;
}

a:active, a:hover {
  outline-width: 0;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

img {
  border-style: none;
}

.page-wrap {
  max-width: 100%;
  margin: 0 auto;
}

.card {
  --dark: linear-gradient(135deg, rgb(95, 40, 214) 0%, rgb(144, 64, 176) 100%);
  background: linear-gradient(135deg, rgb(185, 54, 246) 0%, rgb(135, 76, 251) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  overflow: hidden;
  aspect-ratio: 1;
}

/** index **/
@media (max-width: 600px) {
  .hero {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    row-gap: 16px;
    padding: 20px 0 32px 0 !important;
  }

  .hero-img {
    justify-content: center !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero-img img {
    width: 100% !important;
    margin-left: 0 !important;
    max-width: 100% !important;
    object-position: center center !important;
  }

  .hero-text {
    text-align: center !important;
    padding: 0 24px 0 24px !important;
  }
}

@media (min-width: 601px) and (max-width: 1160px) {
  .hero {
    padding: 20px 24px 32px 24px !important;
  }

  .apps-section-inner {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (max-width: 620px) {
  .apps-section-inner {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .apps-grid {
    grid-template-columns: 1fr !important;
  }

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

  .card {
    padding: 20px !important;
    min-height: 320px !important;
    aspect-ratio: unset !important;
  }

  .card:nth-child(odd) {
    background: var(--dark);
  }

  .card-header h3 {
    font-size: 22px !important;
  }

  .card p {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }


  .stores a {
    width: 175px !important;
    height: 60px !important;
  }

}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 620px) and (max-width: 900px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .apps-section-inner {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .card {
    padding: 22px !important;
    min-height: 300px !important;
    aspect-ratio: unset !important;
  }

  .card:nth-child(4n), .card:nth-child(4n-3) {
    background: var(--dark);
  }

  .card-header h3 {
    font-size: 21px !important;
  }

  .card p {
    font-size: 15px !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
  }

}

@media (min-width: 901px) and (max-width: 1280px) {
  .apps-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .projects-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .apps-section-inner {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .hero {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .card {
    padding: 24px !important;
    min-height: 300px !important;
    aspect-ratio: unset !important;
  }

  .card:nth-child(odd) {
    background: var(--dark);
  }

  .card-header h3 {
    font-size: 20px !important;
  }

  .card p {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }
}

@media (min-width: 1281px) {
  .card {
    padding: 24px !important;
    min-height: 300px !important;
    aspect-ratio: unset !important;
  }
  .card:nth-child(8n), .card:nth-child(8n-2), .card:nth-child(8n-5), .card:nth-child(8n-7) {
    background: var(--dark);
  }
}

@media (min-width: 1820px) {
  .apps-section-inner, .hero {
    max-width: 1440px !important;
  }
}

@media (min-width: 3000px) {
  .apps-section-inner, .hero {
    max-width: 1800px !important;
  }
}

/** radio **/
@media (max-width: 900px) {
  .radio-wrap {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .radio-left {
    order: 2;
  }

  .radio-right {
    order: 1;
    justify-content: center !important;
  }
}

@media (max-width: 620px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 620px) and (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .projects-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
