:root {
  color-scheme: dark;
  --background: #000108;
  --surface: #080b14;
  --text: #e0e0e0;
  --muted-text: #9a9a9a;
  --accent: #8bdcff;
  --space-border: linear-gradient(90deg, #0d4b78 0%, #45d7ff 10%, #b79cff 20%, #ef9bd7 30%, #18cdd5 40%, #0d4b78 50%, #45d7ff 60%, #b79cff 70%, #ef9bd7 80%, #18cdd5 90%, #0d4b78 100%);
  --font-mono: "JetBrains Mono", "Fira Code", "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  min-block-size: 100svh;
  margin: 0;
  overflow-x: hidden;
  isolation: isolate;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.starfield {
  position: fixed;
  z-index: 0;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  pointer-events: none;
}

.top-bar,
.bottom-bar {
  position: fixed;
  z-index: 2;
  inset-inline: 0;
  display: flex;
  align-items: center;
  min-block-size: 64px;
  padding-inline: 32px;
  background: var(--background);
}

.top-bar {
  inset-block-start: 0;
}

.bottom-bar {
  inset-block-end: 0;
  justify-content: center;
}

.top-bar::after,
.bottom-bar::before {
  position: absolute;
  inset-inline: 0;
  block-size: 1px;
  content: "";
  background: var(--space-border);
  background-size: 200% 100%;
  animation: space-drift 12s linear infinite;
  pointer-events: none;
}

.top-bar::after {
  inset-block-end: 0;
}

.bottom-bar::before {
  inset-block-start: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  display: block;
  inline-size: 32px;
  block-size: 32px;
  object-fit: contain;
}

.brand h1 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.main-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-block-size: 100svh;
  place-items: center;
  padding: 96px 32px 112px;
  text-align: center;
}

.quote {
  max-inline-size: 30rem;
  margin: 0;
  color: var(--muted-text);
}

.quote blockquote,
.quote p {
  margin: 0;
}

.quote p {
  color: #c7c9d1;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.8;
  text-shadow:
    -1px 0 0 rgba(0, 1, 8, 0.95),
    1px 0 0 rgba(0, 1, 8, 0.95),
    0 -1px 0 rgba(0, 1, 8, 0.95),
    0 1px 0 rgba(0, 1, 8, 0.95),
    0 0 8px rgba(0, 0, 0, 0.95),
    0 0 18px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(139, 220, 255, 0.12);
}

.quote figcaption {
  margin-block-start: 16px;
  color: var(--text);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
  text-shadow:
    0 0 5px rgba(0, 0, 0, 1),
    0 0 12px rgba(0, 0, 0, 0.95),
    0 0 8px rgba(139, 220, 255, 0.18);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 0;
  padding: 16px 0;
  list-style: none;
}

.social-link {
  display: grid;
  inline-size: 32px;
  block-size: 32px;
  place-items: center;
  color: var(--muted-text);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
}

.social-link:hover {
  color: var(--accent);
}

@keyframes space-drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 100% 0;
  }
}

@media (max-width: 600px) {
  .top-bar,
  .bottom-bar {
    padding-inline: 20px;
  }

  .main-content {
    padding-inline: 20px;
  }

  .quote p {
    font-size: 0.9375rem;
  }
}

@media (max-width: 380px) {
  .top-bar,
  .bottom-bar {
    padding-inline: 16px;
  }

  .quote p {
    font-size: 0.875rem;
  }

  .social-links {
    gap: 8px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-bar::after,
  .bottom-bar::before {
    animation: none;
  }
}