@import url("https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap");

:root {
  --primary-color: #ff5b04;
  --light-color: #f2f2f7;
  --dark-color: #1c1b28;
  --body-color: #ffffff;
  --main-color: var(--light-color);
  --text-color: var(--dark-color);
  --dashed-color: var(--primary-color);
  --main-width: 50rem;
  --main-padding: 1rem;
}

* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--body-color);
  padding: var(--main-padding) var(--main-padding) 2rem;
  font-family: "Geist", Verdana, Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  color: var(--text-color);
}

main {
  border-radius: 2rem;
  background-color: var(--main-color);
  padding: 5rem var(--main-padding);
}

h1,
h2 {
  margin: 0;
  text-align: center;
}

h1 {
  font-size: 4rem;
  font-weight: 900;
}

h2 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.25;
}

h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

p {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

a {
  color: var(--dark-color);
  border-bottom-width: 0.125rem;
  border-bottom-style: solid;
  border-bottom-color: transparent;
  text-decoration: none;
  transition-duration: 0.3s;
}

a:hover {
  border-bottom-color: var(--primary-color);
}

a.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.header,
.description {
  max-width: var(--main-width);
  margin: 0 auto;
  text-align: center;
}

.header > img {
  margin-bottom: 1rem;
  width: 5rem;
  height: auto;
}

.cta-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cta-buttons a {
  height: 3.75rem;
}

.button {
  border: 0;
}

.button img {
  margin: 0;
  max-width: 100%;
  width: auto;
  height: 3.75rem;
}

.screens {
  margin: 5rem 0;
  text-align: center;
}

.screens img {
  max-width: 100%;
  width: 25rem;
  height: auto;
}

.description {
  font-size: 1.5rem;
  line-height: 1.4;
}

.features {
  margin: 5rem auto 0;
  max-width: var(--main-width);
  display: grid;
  grid-template-columns: 1fr;
}

.feature-item {
  border-right: none;
  border-bottom: 0.0625rem dashed var(--dashed-color);
  padding: 1rem;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item i {
  font-size: 1.5rem;
}

.feature-item h3 {
  margin: 0.5rem 0 0.2rem;
}

.feature-item p {
  font-size: 1rem;
  font-weight: 400;
}

.faqs {
  margin: 5rem auto 0;
  max-width: var(--main-width);
}

.faqs span {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
}

.faqs p {
  margin-top: 0.25rem;
}

.faqs p:not(:last-child) {
  margin-bottom: 2rem;
}

footer {
  margin-top: 2rem;
  text-align: center;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li:not(:last-child) {
  margin-bottom: 1rem;
}

@media screen and (min-width: 500px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-item {
    border-right: 0.0625rem dashed var(--dashed-color);
    border-bottom: 0.0625rem dashed var(--dashed-color);
  }

  .feature-item:nth-child(2n) {
    border-right: none;
  }

  .content {
    max-width: var(--main-width);
    margin: 5rem auto 0 auto;
  }

  .content h3 {
    margin: 2rem 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
  }

  .content ul {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
  }
}

@media screen and (min-width: 900px) {
  footer ul {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  footer ul li {
    margin: 0 1.5rem;
  }

  footer ul li:not(:last-child) {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 700px) {
  :root {
    --main-padding: 2rem;
  }

  body {
    padding-bottom: var(--main-padding);
  }

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

  .feature-item:nth-child(3n) {
    border-right: none;
  }

  .feature-item:nth-child(2),
  .feature-item:nth-child(4),
  .feature-item:nth-child(8) {
    border-right: 0.0625rem dashed var(--dashed-color);
  }

  .feature-item:nth-child(7),
  .feature-item:nth-child(8),
  .feature-item:nth-child(9) {
    border-bottom: none;
  }
}
