:root {
  --bg: #13111c;
  --fg: #f7f7f8;
  --muted: #a1a0ab;
  --line: #33323e;
  --surface: #1c1a26;
  --purple: #c4a5ff;
  --green: #5cff9a;
  --max: 36rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--fg);
}

::selection {
  background: #553f83;
  color: #fff;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Geist Mono", "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.9375rem;
  line-height: 1.7;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, #3d2259 0%, transparent 58%),
    var(--bg);
}

.frame {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 5vw, 3rem) 1.75rem;
  text-align: center;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem 1rem;
}

.wordmark {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--purple);
}

.header-meta {
  color: var(--purple);
  font-size: 0.8rem;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  padding: clamp(5rem, 16vh, 8.5rem) 0 3.5rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  color: var(--green);
  font-size: 0.95rem;
  line-height: 1.55;
  text-wrap: balance;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.4rem 0.8rem 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg);
  font-size: 0.75rem;
  font-weight: 500;
}

.status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
}

.story p,
.contact p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.story p:last-child {
  margin-bottom: 0;
}

.contact {
  margin-top: 3.5rem;
}

.contact h2 {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.contact a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--purple);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

a {
  color: var(--fg);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--purple);
}

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

.site-footer {
  margin-top: 4.5rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.sep {
  margin: 0 0.35rem;
  color: var(--line);
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3.5rem;
    padding-bottom: 2.75rem;
  }

  .site-footer .sep {
    display: none;
  }

  .site-footer p {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  a {
    transition: color 160ms ease;
  }

  .status-dot {
    box-shadow: 0 0 0 0 rgba(92, 255, 154, 0.55);
    animation: pulse 2.2s ease-out infinite;
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 0.45rem rgba(92, 255, 154, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(92, 255, 154, 0);
  }
}
