@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&display=swap");

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: #666;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

a {
  color: #2ea3f2;
  text-decoration: none;
}

main {
  background: #fff;
}

.logo-section {
  margin: 0 auto;
  max-width: 1080px;
  padding: 54px 24px 28px;
  text-align: center;
}

.logo {
  display: inline-block;
  height: auto;
  max-width: 300px;
  width: 100%;
}

.cta-band {
  background: linear-gradient(120deg, #2ea3f2, #2e6df4);
  color: #fff;
  margin: 0 auto 54px;
  max-width: 1080px;
  padding: 36px 30px;
  text-align: center;
}

.cta-band h1 {
  color: #fff;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 10px;
}

.cta-band p {
  margin: 0 auto 18px;
  max-width: 760px;
}

.button,
.footer-button,
button {
  border: 2px solid currentColor;
  color: inherit;
  display: inline-block;
  font-size: 20px;
  line-height: 1.4;
  padding: 0.3em 1em;
  transition: all 180ms ease;
}

.button:hover,
.footer-button:hover,
button:hover {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0;
}

.headline {
  background: #f7f7f7;
  padding: 54px 24px;
  text-align: center;
}

.headline h2 {
  color: #333;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 10px;
}

.headline p {
  margin: 0 auto;
  max-width: 760px;
}

.features {
  display: grid;
  gap: 5.5%;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1080px;
  padding: 54px 24px;
}

.features article img {
  display: block;
  height: auto;
  margin-bottom: 26px;
  width: 100%;
}

.features h3 {
  color: #333;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 10px;
}

.features p {
  margin: 0;
}

footer {
  align-items: flex-start;
  border-top: 1px solid #f0f0f0;
  display: grid;
  gap: 5.5%;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 0 auto;
  max-width: 1080px;
  padding: 28px 24px 54px;
}

footer h2 {
  color: #333;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 10px;
}

footer p {
  margin: 0;
}

.footer-button {
  color: #2ea3f2;
  grid-column: 3;
  justify-self: start;
}

.policy-layout {
  display: grid;
  gap: 5.5%;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: 1080px;
  padding: 58px 24px 54px;
}

.policy-copy p {
  margin: 0 0 1em;
}

.request-box h1 {
  color: #333;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 24px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  color: #333;
  display: grid;
  gap: 6px;
  font-weight: 600;
}

input,
textarea {
  border: 1px solid #bbb;
  color: #4e4e4e;
  font: inherit;
  padding: 12px;
  width: 100%;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button {
  background: #fff;
  color: #2ea3f2;
  cursor: pointer;
  justify-self: start;
}

@media (max-width: 780px) {
  body {
    font-size: 12px;
  }

  .logo-section,
  .headline,
  .features,
  .policy-layout,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cta-band {
    margin-left: 20px;
    margin-right: 20px;
  }

  .cta-band h1,
  .headline h2,
  .request-box h1 {
    font-size: 22px;
  }

  .features,
  .policy-layout,
  footer {
    gap: 32px;
    grid-template-columns: 1fr;
  }

  .policy-layout {
    padding-bottom: 34px;
  }

  .policy-copy p:last-child {
    margin-bottom: 0;
  }

  footer {
    padding-bottom: 24px;
    padding-top: 28px;
  }

  .footer-button {
    grid-column: auto;
  }
}
