:root {
  --bg: #f7f6f2;
  --text: #1c1f24;
  --muted: #5b6270;
  --accent: #1f4e79;
  --accent-text: #ffffff;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171c;
    --text: #eceef1;
    --muted: #a3aab6;
    --accent: #7fb0e0;
    --accent-text: #0f1216;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; }

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

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

.mark {
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.lede {
  margin: 0.75rem 0 0;
  font-size: 1.2rem;
  color: var(--muted);
}

.contact {
  margin: 2.5rem 0 0;
  color: var(--muted);
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

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

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