:root {
  color-scheme: dark;
  --background: #080a0d;
  --surface: #0d1014;
  --line: rgba(255, 255, 255, 0.11);
  --muted: #89919d;
  --text: #f3f5f7;
  --accent: #a7ff4f;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--background);
  background-size: 40px 40px;
}

a {
  color: inherit;
}

main {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.frame {
  position: absolute;
  inset: 24px;
  pointer-events: none;
  border: 1px solid var(--line);
}

.frame span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-color: var(--accent);
  border-style: solid;
}

.frame span:nth-child(1) {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.frame span:nth-child(2) {
  top: -1px;
  right: -1px;
  border-width: 1px 1px 0 0;
}

.frame span:nth-child(3) {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.frame span:nth-child(4) {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 1px 1px;
}

.site-header,
footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 43px 48px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordmark {
  font-family: Inter, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  text-transform: lowercase;
}

.status {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--muted);
}

.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(167, 255, 79, 0.75);
}

.hero {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(1120px, calc(100% - 96px));
  margin: 8vh auto;
}

.hero::before {
  position: absolute;
  top: -15vh;
  left: -18vw;
  width: 48vw;
  height: 48vw;
  content: "";
  border: 1px solid rgba(167, 255, 79, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(167, 255, 79, 0.015), 0 0 0 16vw rgba(167, 255, 79, 0.01);
}

.eyebrow {
  margin: 0 0 2rem;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 960px;
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(3.3rem, 8.5vw, 8rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.intro {
  max-width: 560px;
  margin: 2.2rem 0 2.8rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.contact {
  display: inline-flex;
  min-width: 255px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.contact:hover,
.contact:focus-visible {
  border-color: var(--accent);
  background: #111710;
  outline: none;
}

.contact span:last-child {
  color: var(--accent);
  font-size: 1rem;
}

footer {
  color: var(--muted);
}

footer a {
  text-decoration-color: var(--line);
  text-underline-offset: 0.3rem;
}

@media (max-width: 640px) {
  .frame {
    inset: 12px;
  }

  .site-header,
  footer {
    padding: 30px 28px;
  }

  .status {
    font-size: 0;
  }

  .hero {
    width: calc(100% - 56px);
    margin: 5rem auto;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  footer {
    align-items: flex-end;
    gap: 0.75rem;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
