@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #14161a;
  --panel: #1c1f26;
  --panel-2: #22262e;
  --red: #DA291C;
  --cyan: #4CC9F0;
  --text: #E8E6E1;
  --muted: #8b8f98;
  --border: #2e323b;
  --mono: 'Space Mono', monospace;
  --sans: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(20, 22, 26, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.brand-mark {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}

.brand-mark::before, .brand-mark::after {
  content: '';
  position: absolute;
  background: var(--red);
}
.brand-mark::before { width: 22px; height: 6px; top: 8px; left: 0; }
.brand-mark::after { width: 6px; height: 22px; top: 0; left: 8px; }

.navlinks {
  display: flex;
  gap: 28px;
  font-family: var(--mono);
  font-size: 13px;
}

.navlinks a {
  color: var(--muted);
  letter-spacing: 0.02em;
}
.navlinks a.active, .navlinks a:hover {
  color: var(--cyan);
  text-decoration: none;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 6px;
  box-shadow: 0 0 6px var(--cyan);
}

/* HUD panel — signature element */
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 20px;
}
.panel::before, .panel::after,
.panel .c1, .panel .c2 {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--cyan);
  opacity: 0.55;
}
.panel::before { top: -1px; left: -1px; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.panel::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }

.panel:hover::before, .panel:hover::after { opacity: 1; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

h1, h2, h3 {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
h1 { font-size: 34px; }
h2 { font-size: 22px; }
h3 { font-size: 16px; }

p { color: var(--text); margin: 0 0 14px; }
.muted { color: var(--muted); }

/* Hero */
.hero {
  padding: 72px 0 48px;
}
.hero .terminal {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--cyan);
  margin-bottom: 18px;
}
.hero .terminal .cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--cyan);
  vertical-align: middle;
  margin-left: 4px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 18px;
  border: 1px solid var(--red);
  color: var(--red);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn:hover {
  background: var(--red);
  color: var(--bg);
  text-decoration: none;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 2px 8px;
  margin: 0 6px 6px 0;
}

.entry-date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

/* Form */
form label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  margin-top: 16px;
}
form input, form textarea {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  padding: 10px 12px;
}
form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
form textarea { min-height: 120px; resize: vertical; }

footer {
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 28px 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .navlinks { gap: 16px; font-size: 12px; }
  h1 { font-size: 26px; }
  .hero { padding: 48px 0 32px; }
}
