:root {
  --ink: #0f1115;
  --surface: #171a21;
  --line: #262b35;
  --text: #e8e6e1;
  --muted: #8b8f98;
  --accent: #e0a458;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 20% 20%, rgba(224, 164, 88, 0.06), transparent 45%),
                     radial-gradient(circle at 80% 70%, rgba(224, 164, 88, 0.04), transparent 50%);
  z-index: 0;
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 2.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
}

.mark {
  color: var(--text);
  letter-spacing: 0.02em;
}

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

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 164, 88, 0.15);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  text-align: left;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-size: 0.9rem;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

h1 {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
  color: var(--text);
}

.lede {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 2.5rem;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.stack span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
}

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding: 1.75rem 2.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.foot-dim {
  opacity: 0.6;
}

@media (max-width: 560px) {
  .topbar, .foot {
    padding: 1.5rem 1.5rem;
    font-size: 0.75rem;
  }
  .hero {
    padding: 3rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  html { scroll-behavior: auto; }
}
