:root {
  color-scheme: light;
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #171d35;
  background: #f7f8fc;
}

body {
  min-height: 100svh;
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4.5rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .65rem 1.5rem;
  padding: 1.4rem 0;
}

.site-header {
  border-bottom: 1px solid #d8deed;
}

.brand {
  font-weight: 750;
  text-decoration: none;
}

a {
  color: #244195;
  text-underline-offset: .2em;
}

a:focus-visible {
  outline: 2px solid #244195;
  outline-offset: .25rem;
}

main {
  align-self: center;
  padding: clamp(3.5rem, 10vw, 8rem) 0;
}

h1 {
  font-size: clamp(2rem, 7vw, 5.25rem);
  letter-spacing: -.04em;
  line-height: 1.15;
  margin: 0 0 1.4rem;
}

p {
  max-width: 33rem;
  color: #49546d;
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  line-height: 1.8;
  margin: 0 0 1rem;
}

.action {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1rem;
  padding: .75rem 1rem;
  border: 1px solid #8296ca;
  border-radius: .5rem;
  font-weight: 650;
  text-decoration: none;
}

.action:hover {
  background: #e9eefb;
}

.site-footer {
  border-top: 1px solid #d8deed;
  color: #49546d;
  font-size: .875rem;
}

@media (max-width: 35rem) {
  .desktop-break {
    display: none;
  }
}
