:root {
  color-scheme: dark;
  --bg: #050b16;
  --ink: #f1f4f8;
  --muted: #a7b2c2;
  --line: #1b2b45;
  --accent: #cfd8e6;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
  background:
    radial-gradient(circle at 50% 28%, #0c1b33 0, #07111f 42%, var(--bg) 78%);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

main {
  width: min(100%, 54rem);
}

.mark {
  display: block;
  width: min(78vw, 34rem);
  height: auto;
  margin: 0 auto 1.35rem;
}

h1 {
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 8vw, 4.75rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-indent: 0.16em;
}

p {
  margin: 1.4rem auto 2.2rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.2rem;
}

a:hover,
a:focus-visible {
  color: var(--ink);
  border-color: var(--accent);
}

a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 0.3rem;
}

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: settle 700ms ease-out both;
  }

  @keyframes settle {
    from {
      opacity: 0;
      transform: translateY(0.6rem);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
