/* ─── reset ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: #0c0d0f !important;
  color: #c8ccd8;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* grid overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ─── layout ─── */
.wrapper {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── header ─── */
header {
  padding: 36px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 1.05rem;
  color: #eceef4;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span { color: #39ff7e; }

nav {
  display: flex;
  gap: 28px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav a {
  color: #6b7080;
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover { color: #39ff7e; }

/* ─── footer ─── */
footer {
  border-top: 1px solid #1a1d22;
  padding: 36px 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  font-size: 0.75rem;
  color: #3a3d47;
}

.footer-left span { color: #39ff7e; }

.social-links { display: flex; gap: 24px; }

.social-links a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7080;
  text-decoration: none;
  transition: color 0.2s;
}

.social-links a:hover { color: #39ff7e; }

/* ─── divider ─── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #252830 20%, #252830 80%, transparent);
  margin: 10px 0 60px;
}

/* ─── section label ─── */
.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3a3d47;
  margin-bottom: 32px;
}

/* ─── cursor blink ─── */
.cursor {
  display: inline-block;
  width: 3px;
  height: 0.82em;
  background: #39ff7e;
  box-shadow: 0 0 10px rgba(57,255,126,0.7);
  vertical-align: text-bottom;
  margin-left: 3px;
  animation: blink 1.1s step-end infinite;
}

/* ─── animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* ─── responsive ─── */
@media (max-width: 600px) {
  nav { gap: 18px; }
  footer { flex-direction: column; align-items: flex-start; }
}
