:root {
  color-scheme: light;
  --font-sans: Inter, "SF Pro Display", "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font-sans);
  color: #172033;
  background: #f7f9fc;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f7f9fc;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
main,
footer {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(35, 51, 77, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 720;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a,
footer a {
  color: #647086;
  font-size: 14px;
}

nav a:hover,
footer a:hover {
  color: #2477f3;
}

.notes-link,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 7px;
  background: #2477f3;
  color: white;
  font-weight: 650;
}

nav .notes-link:hover,
.primary-link:hover {
  color: white;
  background: #1266df;
}

main {
  padding: 86px 0 72px;
}

.page-intro {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #7b8798;
  font-size: 14px;
  font-weight: 600;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.page-lead {
  max-width: 680px;
  margin-bottom: 0;
  color: #647086;
  font-size: 18px;
  line-height: 1.7;
  text-wrap: pretty;
}

.page-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 64px;
}

.info-block {
  min-height: 200px;
  padding: 28px;
  border: 1px solid rgba(35, 51, 77, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.info-block.wide {
  grid-column: 1 / -1;
}

.info-block h2 {
  margin-bottom: 12px;
  font-size: 20px;
}

.info-block p,
.info-block li {
  color: #647086;
  font-size: 16px;
  line-height: 1.7;
}

.info-block ul,
.info-block ol {
  margin: 16px 0 0;
  padding-left: 20px;
}

.info-block a {
  color: #2477f3;
  font-weight: 620;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #168a55;
  font-size: 14px;
  font-weight: 650;
}

.status-line::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #24bd78;
}

.next-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 72px;
  padding: 34px 0;
  border-top: 1px solid rgba(35, 51, 77, 0.1);
  border-bottom: 1px solid rgba(35, 51, 77, 0.1);
}

.next-step h2 {
  margin-bottom: 8px;
  font-size: 26px;
}

.next-step p:last-child {
  margin-bottom: 0;
  color: #647086;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 38px;
  color: #8a94a6;
  font-size: 13px;
}

@media (max-width: 720px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1080px);
  }

  .site-header {
    align-items: flex-start;
    padding: 18px 0;
  }

  nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  nav a:not(.notes-link) {
    display: none;
  }

  main {
    padding-top: 56px;
  }

  h1 {
    font-size: 42px;
  }

  .page-content {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .info-block.wide {
    grid-column: auto;
  }

  .next-step,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
