:root {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  color: #101a30;
  background: #fbfbfe;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: #4723c7;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid #4921c4;
  outline-offset: 4px;
}
header,
main,
footer {
  width: min(100% - 3rem, 68rem);
  margin-inline: auto;
}
header {
  padding: 1.7rem 0;
  border-bottom: 1px solid #dedee8;
}
header img {
  display: block;
  width: 10rem;
  height: auto;
}
main {
  flex: 1;
  padding-block: clamp(2rem, 6vw, 5.2rem);
}
.copy {
  max-width: 46rem;
}
h1,
h2 {
  line-height: 1.14;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin: 0 0 1.2rem;
}
h2 {
  font-size: 1.35rem;
  margin: 2.2rem 0 0.5rem;
}
p,
li {
  font-size: 1.04rem;
}
.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.hero h1 {
  max-width: 13ch;
}
.hero p {
  max-width: 34rem;
}
.hero img {
  width: 100%;
  max-width: 22rem;
  height: auto;
  justify-self: center;
}
.button {
  display: inline-block;
  margin-top: 0.8rem;
  background: #4821c5;
  color: white;
  padding: 0.65rem 1.25rem;
  border-radius: 0.55rem;
  text-decoration: none;
  font-weight: 650;
}
footer {
  padding: 1.3rem 0 1.6rem;
  border-top: 1px solid #dedee8;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
footer span {
  margin-right: auto;
}
@media (max-width: 650px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero img {
    display: none;
  }
  header,
  main,
  footer {
    width: calc(100% - 2.5rem);
  }
  footer span {
    width: 100%;
  }
}
