:root {
  color-scheme: light dark;
  --ink: #1C2024;
  --muted: #60646C;
  --bg: #FCFCFD;
  --accent: #0D74CE;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #EDEEF0;
    --muted: #B0B4BA;
    --bg: #111113;
    --accent: #3B9EFF;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font: 400 1.125rem/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.mark {
  display: block;
  height: 64px;
  width: auto;
  margin-bottom: 2.25rem;
  overflow: visible;
}

.mark .sub { fill: var(--accent); }
.mark .p { fill: var(--ink); }

h1 {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

footer {
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

@media (max-width: 480px) {
  .mark {
    height: 52px;
    margin-bottom: 1.75rem;
  }
}
