:root {
  color-scheme: light;
  --bg: #f2f2f7;
  --ink: #000000;
  --muted: #60646c;
  --line: #aeaeb2;
  --link: #0055d4;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0c0c0e;
    --ink: #ffffff;
    --muted: #b0b4ba;
    --line: #5c5c5f;
    --link: #339fff;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

main,
footer {
  width: min(40rem, calc(100% - 3rem));
  margin-inline: auto;
}

main {
  flex: 1;
  padding-top: 18vh;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

main p {
  margin: 0 0 1rem;
  max-width: 34rem;
  font-size: 1.125rem;
}

footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

footer p,
address {
  margin: 0 0 0.35rem;
  font-style: normal;
}

.legal-name {
  color: var(--ink);
}

.footer-label {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

address {
  margin-bottom: 0.85rem;
}

a {
  color: var(--link);
}

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

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}
