/* ==========================================================
   Do IT Simply — Shared Design System
   Dark terminal aesthetic · IBM Plex Mono + Sans
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

/* TOKENS */
:root {
  --bg:        #0d0f14;
  --surface:   #13161d;
  --surface2:  #1a1e28;
  --border:    #252a36;
  --border2:   #2e3547;
  --text:      #e2e6f0;
  --text-muted:#9aa3ba;
  --muted:     #6b7590;
  --accent:    #4ade80;
  --accent2:   #22d3ee;
  --warn:      #fbbf24;
  --danger:    #f87171;
  --code-bg:   #0a0c10;
  --tag-bg:    #1e2535;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* NAV */
nav {
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  position: sticky;
  top: 0;
  background: rgba(13,15,20,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.logo-img {
  max-height: 34px;
  width: auto;
  display: block;
}
.logo-dim    { color: var(--accent); }
.logo-cursor {
  color: var(--accent);
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
nav ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}
nav ul a:hover { color: var(--text); }

.nav-cta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 0.4rem 1rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(74,222,128,0.35);
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.15s;
  flex-shrink: 0;
}
.nav-cta:hover { background: rgba(74,222,128,0.08); }

/* BREADCRUMB */
.breadcrumb {
  padding: 0.65rem 2rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.35; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin-top: auto;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }
.foot-sep { opacity: 0.35; }

/* UTILITIES */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--accent2);
}

a { color: var(--accent2); }
a:hover { color: var(--accent); }

/* BADGE */
.badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-green { background: rgba(74,222,128,0.12); color: var(--accent);  border: 1px solid rgba(74,222,128,0.25); }
.badge-blue  { background: rgba(34,211,238,0.10); color: var(--accent2); border: 1px solid rgba(34,211,238,0.20); }
.badge-gray  { background: var(--tag-bg);         color: var(--muted);   border: 1px solid var(--border); }

/* RESPONSIVE NAV */
@media (max-width: 520px) {
  nav ul { display: none; }
}
