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

:root {
  --bg: #070708;
  --fg: #e6e7ea;
  --accent: #7ee3c5;
  --accent-dim: rgba(126, 227, 197, 0.14);
  --grid: rgba(255, 255, 255, 0.035);
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 300;
  color: var(--fg);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -20%, var(--accent-dim), transparent 55%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  letter-spacing: 0.02em;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.stage {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.content {
  position: relative;
  text-align: center;
  max-width: 28rem;
}

.headline {
  margin: 0 0 2rem;
  font-size: clamp(1.375rem, 3.5vw, 1.75rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.contact {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(126, 227, 197, 0.35);
  padding-bottom: 0.15em;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.contact:hover {
  color: #9cf0d8;
  border-color: rgba(156, 240, 216, 0.55);
}

.contact:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .contact {
    transition: none;
  }
}
