:root {
  --bg: #000;
  --fg: #f2f2f2;
  --muted: #9a9a9a;
  --dim: #555;
  --line: #e8e8e8;
  --panel: #050505;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--fg);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 50%, transparent 50%) 0 0 / 100% 4px,
    var(--bg);
}

a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--fg);
}

a:hover,
a:focus-visible {
  background: var(--fg);
  color: var(--bg);
  outline: 0;
}

.terminal {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.screen {
  width: min(960px, 100%);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--bg), 0 0 60px rgba(255, 255, 255, 0.08);
}

.topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.status::before {
  content: "[";
}

.status::after {
  content: "]";
}

.hero,
.block,
.grid,
footer {
  padding: 28px;
  border-bottom: 1px solid var(--dim);
}

footer {
  border-bottom: 0;
}

h1 {
  margin: -2px 0 8px;
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  font-size: clamp(48px, 12vw, 132px);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.115em;
  text-transform: uppercase;
  transform: scaleX(1.06);
  transform-origin: left center;
}

h2 {
  margin: 0 0 12px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

p {
  margin: 0;
  line-height: 1.55;
}

.lede {
  max-width: 620px;
  font-size: clamp(18px, 2.3vw, 24px);
  color: var(--fg);
}

.prompt {
  color: var(--muted);
  margin-bottom: 12px;
}

.prompt::after {
  content: " █";
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre;
  line-height: 1.55;
  color: var(--fg);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  background: var(--dim);
}

.grid article {
  background: var(--panel);
  padding: 28px;
  min-height: 180px;
}

.grid p {
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .prompt::after {
    animation: none;
  }
}

@media (max-width: 760px) {
  .terminal {
    padding: 14px;
    place-items: start center;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .block,
  footer {
    padding: 22px;
  }

  .topline {
    font-size: 12px;
  }
}
