*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #f6f7f9;
  color: #1d2330;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 48px;
}

a {
  color: #1f5fbf;
  text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

h2 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 48px 0 12px;
}

p,
ul,
ol {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 1.4em;
}

li {
  margin-bottom: 10px;
}

.label {
  display: inline-block;
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

a.label {
  color: #6b7280;
  text-decoration: none;
}

a.label:hover,
a.label:focus-visible {
  color: #1f5fbf;
  text-decoration: underline;
}

.muted {
  color: #6b7280;
}

.intro {
  font-size: 1.1rem;
}

.box {
  margin: 48px 0 0;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #e3e6eb;
  border-radius: 10px;
}

.box p {
  margin: 0;
}

.footer {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid #e3e6eb;
  color: #6b7280;
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

/* Home page: content centered on screen */
.centered {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.centered h1 {
  font-size: 2.75rem;
  margin-bottom: 12px;
}

.centered p {
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .page {
    padding: 40px 20px 32px;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    margin-top: 36px;
  }

  .centered h1 {
    font-size: 2.25rem;
  }

  .box {
    padding: 16px 18px;
  }
}
