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

/* ================================
   DESIGN TOKENS
   ================================= */

:root {
  --color-bg: #000814;
  --color-system: #00ff9c;
  --color-data: #38bdf8;
  --color-data-soft: #38f7d1;
  --color-secondary: #c084fc;
  --color-secondary-soft: #f472b6;
  --color-surface: #0a1a2f;
  --color-primary-text: #e6f1ff;
  --color-secondary-text: #6c7a89;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xl2: 4rem;
}

body {
  margin: 0;
  font-family: monospace;
  line-height: 1.5;
  letter-spacing: 0.03em;
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-primary-text);
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5rem;
}

section {
  padding: 2rem 0;
}

a {
  color: var(--color-data);
  text-decoration: none;
  transition: ease 0.3s;
}

a:hover {
  color: var(--color-data-soft);
}

.grid__item {
  border: 1px solid var(--color-surface);
  padding: 1rem;
  margin-top: 1rem;
}

/* Header */

.nav ul {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  gap: 1rem;
  padding-left: 0;
}

.nav ul li {
  list-style: none;
}

.nav a {
  text-decoration: none;
}

/* Desktops and larger screens */
@media (min-width: 801px) {
  .nav ul {
    flex-direction: row;
    gap: 0;
  }
}

/* Intro */

.title {
  color: var(--color-secondary);
  letter-spacing: 0.08em;
}

.subtitle {
  color: var(--color-secondary-soft);
  font-size: 1.3rem;
}

.transmission {
  color: var(--color-system);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.transmission::before {
  content: "> ";
}

.message {
  color: var(--color-secondary-text);
  padding-bottom: 1.5rem;
}

/* Footer */

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--color-secondary-text);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

footer p::before {
  content: "status :: ";
}
