:root {
  --bg: #f0f0f2;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --accent: #1b2a4a;
  --accent-soft: #dfe3ea;
  --aurora-1: #1b2a4a;
  --aurora-2: #4a4f57;
  --aurora-opacity: 0.35;
  --mx: 0;
  --my: 0;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(110px);
  opacity: var(--aurora-opacity);
  z-index: -1;
  pointer-events: none;
  transition: transform 0.6s ease-out;
}

body::before {
  top: -20vmax;
  left: -15vmax;
  background: var(--aurora-1);
  transform: translate(calc(var(--mx) * 1px), calc(var(--my) * 1px));
}

body::after {
  bottom: -20vmax;
  right: -15vmax;
  background: var(--aurora-2);
  transform: translate(calc(var(--mx) * -1px), calc(var(--my) * -1px));
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem clamp(1.5rem, 8vw, 8rem);
}

.content {
  max-width: 680px;
}

.about {
  margin-left: auto;
  margin-right: auto;
}

.links {
  justify-content: center;
}

h1 {
  margin: 0.2rem 0 0.75rem;
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.role {
  margin: 0 0 2rem;
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 600;
}

.about {
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 55ch;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}

.pill:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.pill-primary {
  background: var(--accent);
  color: #fff;
}

.pill-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.site-footer {
  margin-top: 4rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal-in 0.7s ease-out forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }

  body::before,
  body::after {
    transition: none;
    transform: none !important;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131417;
    --text: #f2f2f3;
    --muted: #9a9aa0;
    --accent: #8fa3ce;
    --accent-soft: #262b36;
    --aurora-1: #2c4270;
    --aurora-2: #5a5f68;
    --aurora-opacity: 0.32;
  }
}
