@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
  --bg-0: #000000;
  --bg-1: #050505;
  --bg-2: #0A0A0A;
  --panel-1: #121212;
  --panel-2: #1A1A1A;
  --accent: #FF8C00;
  --accent-2: #FF7A00;
  --accent-3: #FF6A00;
  --glow-lg: rgba(255,140,0,0.45);
  --glow-md: rgba(255,140,0,0.28);
  --glow-sm: rgba(255,140,0,0.15);
  --glow-xs: rgba(255,140,0,0.08);
  --text-1: #FFFFFF;
  --text-2: #CFCFCF;
  --text-3: #888888;
  --text-4: #555555;
  --text-alert: #FFA94D;
  --border: rgba(255,140,0,0.2);
  --border-active: rgba(255,140,0,0.5);
  --border-dim: rgba(255,140,0,0.1);
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --font-display: 'Share Tech Mono', 'Courier New', monospace;
  --transition: 0.2s ease;
  --radius: 0;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg-0);
  color: var(--text-2);
  font-family: var(--font-mono);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; }
input, textarea, select { font-family: inherit; }

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--text-alert); }

p { margin-bottom: 1rem; font-size: 0.85rem; color: var(--text-2); line-height: 1.75; }
p:last-child { margin-bottom: 0; }

strong { color: var(--text-1); font-weight: 700; }
em { color: var(--text-alert); font-style: normal; }

/* ============================================================
   BACKGROUND EFFECTS
   ============================================================ */
#matrix-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; opacity: 0.04; pointer-events: none;
}

.scanlines {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.03) 3px, rgba(0,0,0,0.03) 4px);
}

.noise {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

header, main, footer, nav, section { position: relative; z-index: 10; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
h4 { font-size: 0.9rem; margin-bottom: 0.5rem; }

.label-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.label-tag::before { content: '//'; opacity: 0.6; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.grid-auto-sm { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap-sm { gap: 8px; }
.flex-gap { gap: 16px; }
.flex-gap-lg { gap: 24px; }
.flex-wrap { flex-wrap: wrap; }

/* ============================================================
   COMMAND BAR / HEADER
   ============================================================ */
.command-bar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(3,3,3,0.96);
  border-bottom: 1px solid var(--border-dim);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 54px;
  display: flex; align-items: center;
  padding: 0 24px;
  gap: 16px;
}

.cmd-brand {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--accent);
  text-shadow: 0 0 10px var(--glow-sm);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.cmd-brand:hover { color: var(--accent); }

.cmd-nav {
  display: flex; align-items: center; gap: 2px; flex: 1;
  justify-content: center; list-style: none;
}

.cmd-nav li a {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--text-3);
  padding: 6px 12px;
  border: 1px solid transparent;
  letter-spacing: 0.1em;
  transition: all var(--transition);
  display: block;
}

.cmd-nav li a:hover,
.cmd-nav li a.active {
  color: var(--accent);
  border-color: var(--border-dim);
  text-shadow: 0 0 8px rgba(255,140,0,0.5);
  background: rgba(255,140,0,0.04);
}

.cmd-right { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px;
}
.nav-toggle span {
  display: block; width: 18px; height: 1px; background: var(--accent);
  transition: all var(--transition);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}

.btn:hover {
  background: rgba(255,140,0,0.1);
  box-shadow: 0 0 14px rgba(255,140,0,0.35);
  color: var(--accent);
}

.btn:focus { outline: none; box-shadow: 0 0 0 2px var(--glow-sm); }

.btn-primary {
  background: rgba(255,140,0,0.08);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.btn-sm { font-size: 0.65rem; padding: 6px 12px; letter-spacing: 0.1em; }
.btn-lg { font-size: 0.8rem; padding: 12px 24px; }

.btn-danger {
  border-color: #ff4444;
  color: #ff4444;
}
.btn-danger:hover { background: rgba(255,68,68,0.1); box-shadow: 0 0 12px rgba(255,68,68,0.3); color: #ff4444; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: calc(100vh - 54px);
  display: flex; align-items: center;
  padding: 60px 0;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,140,0,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: center;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 0.68rem; color: var(--text-3);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 22px;
}

.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,140,0,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(255,140,0,0); }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-title .hl { color: var(--accent); text-shadow: 0 0 24px var(--glow-md); }

.hero-desc {
  font-size: 0.82rem;
  color: var(--text-3);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual { position: relative; }

.screen-frame {
  border: 1px solid var(--border);
  background: var(--bg-1);
  overflow: hidden;
  position: relative;
}

.screen-bar {
  padding: 7px 12px;
  background: rgba(255,140,0,0.05);
  border-bottom: 1px solid var(--border-dim);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.6rem; color: var(--text-4);
  letter-spacing: 0.12em;
}

.screen-dots { display: flex; gap: 5px; }
.sd { width: 7px; height: 7px; border-radius: 50%; }
.sd-r { background: #FF5F57; } .sd-y { background: #FEBC2E; } .sd-g { background: #28C840; }

.screen-frame img {
  width: 100%; display: block; opacity: 0.88;
  transition: opacity 0.3s;
}

.screen-frame:hover img { opacity: 0.95; }

.screen-glow {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,140,0,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.sec-header { margin-bottom: 36px; }
.sec-header .label-tag { margin-bottom: 10px; }
.sec-divider {
  width: 48px; height: 2px; margin-top: 14px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* ============================================================
   PANELS & CARDS
   ============================================================ */
.panel {
  background: var(--bg-2);
  border: 1px solid var(--border-dim);
  padding: 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.panel:hover {
  border-color: var(--border);
  box-shadow: 0 0 18px rgba(255,140,0,0.1);
}

.panel-label {
  font-family: var(--font-display);
  font-size: 0.62rem; color: var(--accent);
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 12px; opacity: 0.8;
}

/* Feature Card */
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border-dim);
  padding: 24px;
  transition: all 0.25s ease;
}

.feature-card:hover {
  border-color: var(--border);
  box-shadow: 0 0 22px rgba(255,140,0,0.12);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px; height: 48px;
  object-fit: contain; margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(255,140,0,0.25));
}

.feature-title {
  font-family: var(--font-display);
  font-size: 0.8rem; color: var(--text-1);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.75rem; color: var(--text-3);
  line-height: 1.65; margin: 0;
}

/* ============================================================
   TERMINAL WIDGET
   ============================================================ */
.terminal {
  background: var(--bg-1);
  border: 1px solid var(--border);
  box-shadow: 0 0 22px rgba(255,140,0,0.07);
  overflow: hidden;
}

.terminal-bar {
  padding: 8px 14px;
  background: rgba(255,140,0,0.05);
  border-bottom: 1px solid var(--border-dim);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.62rem; color: var(--text-4);
  letter-spacing: 0.12em;
}

.terminal-body {
  padding: 16px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--text-3);
  line-height: 1.9; min-height: 100px;
}

.t-prompt { color: var(--accent); }
.t-out { color: var(--text-2); }
.t-dim { color: var(--text-4); }

.cursor-blink {
  display: inline-block; width: 7px; height: 13px;
  background: var(--accent); vertical-align: middle;
  margin-left: 2px;
  animation: blink 1s step-start infinite;
}

@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.news-card {
  background: var(--bg-2);
  border: 1px solid var(--border-dim);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.25s ease;
}

.news-card:hover {
  border-color: var(--border);
  box-shadow: 0 0 18px rgba(255,140,0,0.12);
}

.news-card-thumb {
  width: 100%; height: 148px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-dim);
  transition: opacity 0.3s;
}

.news-card:hover .news-card-thumb { opacity: 0.9; }

.news-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }

.news-date {
  font-family: var(--font-display);
  font-size: 0.6rem; color: var(--accent);
  letter-spacing: 0.12em; margin-bottom: 7px;
}

.news-title {
  font-family: var(--font-display);
  font-size: 0.78rem; color: var(--text-1);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 7px; line-height: 1.4;
}

.news-excerpt {
  font-size: 0.72rem; color: var(--text-3);
  line-height: 1.6; flex: 1; margin: 0;
}

.news-more {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-display);
  font-size: 0.62rem; color: var(--accent);
  letter-spacing: 0.1em;
}
.news-more::after { content: ' →'; }

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  background: var(--border-dim);
  border: 1px solid var(--border-dim);
}

.stat-box {
  background: var(--bg-2);
  padding: 20px 16px;
  text-align: center;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 1.7rem; color: var(--accent);
  text-shadow: 0 0 14px var(--glow-sm);
  line-height: 1; margin-bottom: 6px;
  display: block;
}

.stat-lbl {
  font-family: var(--font-display);
  font-size: 0.6rem; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.12em;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 2px; }

.faq-item {
  border: 1px solid var(--border-dim);
  background: var(--bg-2);
  overflow: hidden;
}

.faq-q {
  width: 100%; text-align: left;
  padding: 15px 18px;
  font-family: var(--font-display);
  font-size: 0.78rem; color: var(--text-2);
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.faq-q:hover { color: var(--accent); }

.faq-chevron {
  color: var(--accent); flex-shrink: 0;
  font-size: 1.1rem; line-height: 1;
  transition: transform 0.3s;
}

.faq-a {
  font-size: 0.78rem; color: var(--text-3);
  line-height: 1.75; padding: 0 18px;
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-a { max-height: 600px; padding: 0 18px 16px; }
.faq-item.open .faq-chevron { transform: rotate(45deg); }
.faq-item.open .faq-q { color: var(--accent); }

/* ============================================================
   TABS
   ============================================================ */
.tabs-nav {
  display: flex; gap: 2px;
  border-bottom: 1px solid var(--border-dim);
  margin-bottom: 24px; overflow-x: auto;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  font-family: var(--font-display);
  font-size: 0.68rem; color: var(--text-3);
  padding: 9px 16px; background: none; border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all var(--transition); margin-bottom: -1px;
}

.tab-btn:hover { color: var(--text-2); }
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-shadow: 0 0 8px rgba(255,140,0,0.4);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============================================================
   ONION LINKS
   ============================================================ */
.onion-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 18px 20px; margin-bottom: 12px;
}

.onion-badge {
  font-family: var(--font-display);
  font-size: 0.6rem; color: var(--accent);
  letter-spacing: 0.18em; margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}

.onion-url {
  font-family: var(--font-display);
  font-size: 0.75rem; color: var(--text-1);
  word-break: break-all; line-height: 1.6;
  cursor: pointer; padding: 12px 14px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,140,0,0.12);
  display: block; transition: all var(--transition);
  user-select: all;
}

.onion-url:hover {
  border-color: var(--border);
  background: rgba(255,140,0,0.03);
}

.copy-hint {
  font-family: var(--font-display);
  font-size: 0.6rem; color: var(--text-4);
  margin-top: 7px; letter-spacing: 0.1em;
  transition: color var(--transition);
}

.copy-hint.copied { color: var(--accent); }

/* ============================================================
   ALERT / INFO BOXES
   ============================================================ */
.alert-box {
  background: rgba(255,140,0,0.04);
  border: 1px solid rgba(255,140,0,0.25);
  border-left: 3px solid var(--accent);
  padding: 14px 16px; margin: 20px 0;
}

.alert-box p { font-size: 0.78rem; margin: 0; }

.alert-tag {
  font-family: var(--font-display);
  font-size: 0.6rem; color: var(--accent);
  letter-spacing: 0.18em; margin-bottom: 6px;
}

.info-box {
  background: rgba(255,140,0,0.02);
  border: 1px solid var(--border-dim);
  padding: 16px; margin: 20px 0;
}

/* ============================================================
   LISTS
   ============================================================ */
.list-terminal { list-style: none; }

.list-terminal li {
  font-size: 0.78rem; color: var(--text-3);
  padding: 7px 0 7px 20px; position: relative;
  border-bottom: 1px solid rgba(255,140,0,0.05);
  line-height: 1.6;
}

.list-terminal li::before {
  content: '>';
  position: absolute; left: 0;
  color: var(--accent);
  font-family: var(--font-display);
}

.list-check li::before { content: '✓'; color: #28C840; }
.list-warn li::before { content: '⚠'; color: #FEBC2E; }
.list-cross li::before { content: '✗'; color: #FF5F57; }

/* ============================================================
   PGP DISPLAY
   ============================================================ */
.pgp-block {
  background: var(--bg-1);
  border: 1px solid var(--border-dim);
  padding: 16px; overflow-x: auto;
}

.pgp-text {
  font-family: var(--font-display);
  font-size: 0.65rem; color: var(--text-3);
  white-space: pre-wrap; word-break: break-all;
  line-height: 1.55;
}

/* ============================================================
   PROGRESS / STATUS
   ============================================================ */
.progress-row { margin-bottom: 12px; }
.progress-label {
  display: flex; justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.62rem; color: var(--text-3);
  letter-spacing: 0.1em; margin-bottom: 5px;
}

.progress-bar {
  background: rgba(255,140,0,0.08);
  height: 3px; overflow: hidden;
}

.progress-fill {
  height: 100%; background: var(--accent);
  box-shadow: 0 0 6px var(--glow-sm);
  transition: width 0.6s ease;
}

.status-row {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.7rem; color: var(--text-3);
  letter-spacing: 0.08em; padding: 6px 0;
}

.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-on { background: var(--accent); animation: pulse-dot 2s infinite; }
.dot-warn { background: #FEBC2E; }
.dot-off { background: var(--text-4); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 0.65rem; color: var(--text-4);
  padding: 14px 0; letter-spacing: 0.05em;
}

.breadcrumb a { color: var(--text-4); }
.breadcrumb a:hover { color: var(--accent); }
.bc-sep { color: var(--accent); opacity: 0.4; }
.bc-cur { color: var(--accent); }

/* ============================================================
   PAGE HERO BANNER
   ============================================================ */
.page-hero {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border-dim);
  margin-bottom: 48px;
  position: relative; overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 500px; height: 100%;
  background: radial-gradient(ellipse at right, rgba(255,140,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   GLOW DIVIDER
   ============================================================ */
.glow-div {
  height: 1px; margin: 48px 0;
  background: linear-gradient(90deg, transparent, rgba(255,140,0,0.25), transparent);
}

/* ============================================================
   DATA TABLE
   ============================================================ */
.data-table { width: 100%; border-collapse: collapse; }

.data-table th {
  font-family: var(--font-display);
  font-size: 0.62rem; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 10px 14px; text-align: left;
  border-bottom: 1px solid var(--border);
  background: rgba(255,140,0,0.04);
}

.data-table td {
  padding: 10px 14px;
  font-size: 0.78rem; color: var(--text-3);
  border-bottom: 1px solid rgba(255,140,0,0.06);
}

.data-table tr:hover td {
  background: rgba(255,140,0,0.02); color: var(--text-2);
}

/* ============================================================
   STEPS LIST
   ============================================================ */
.steps { counter-reset: step-counter; list-style: none; }

.steps li {
  counter-increment: step-counter;
  position: relative;
  padding: 16px 16px 16px 54px;
  border-left: 1px solid rgba(255,140,0,0.2);
  margin-bottom: 6px;
  background: rgba(255,140,0,0.02);
  font-size: 0.8rem; color: var(--text-3);
  line-height: 1.65;
}

.steps li::before {
  content: counter(step-counter, decimal-leading-zero);
  position: absolute; left: 12px;
  font-family: var(--font-display);
  font-size: 0.88rem; color: var(--accent);
  font-weight: bold; line-height: 1.8;
}

/* ============================================================
   CODE / MONO BLOCKS
   ============================================================ */
.code-block {
  background: var(--bg-1);
  border: 1px solid var(--border-dim);
  padding: 14px 16px; overflow-x: auto;
  font-family: var(--font-display);
  font-size: 0.72rem; color: var(--text-2);
  line-height: 1.7;
}

code {
  font-family: var(--font-display);
  font-size: 0.82em; color: var(--accent);
  background: rgba(255,140,0,0.08);
  padding: 1px 5px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border-dim);
  padding: 52px 0 24px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 40px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.95rem; color: var(--accent);
  text-shadow: 0 0 10px var(--glow-xs);
  letter-spacing: 0.1em; margin-bottom: 14px;
  display: block;
}

.footer-about {
  font-size: 0.74rem; color: var(--text-3);
  line-height: 1.75;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.65rem; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: 0.74rem; color: var(--text-3); transition: color var(--transition); }
.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,140,0,0.07);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 14px;
}

.footer-disclaimer {
  font-size: 0.66rem; color: var(--text-4);
  line-height: 1.7; max-width: 620px;
}

.footer-meta {
  font-family: var(--font-display);
  font-size: 0.62rem; color: var(--text-4);
  letter-spacing: 0.08em; text-align: right;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-3); }
.text-white { color: var(--text-1); }
.text-alert { color: var(--text-alert); }
.text-mono { font-family: var(--font-display); }
.text-sm { font-size: 0.78rem; }
.text-xs { font-size: 0.68rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.block { display: block; }
.hidden { display: none; }
.w-full { width: 100%; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ============================================================
   CONTENT ARTICLE STYLES
   ============================================================ */
.article-body h2 { margin-top: 36px; margin-bottom: 14px; font-size: 1.15rem; }
.article-body h3 { margin-top: 24px; margin-bottom: 10px; color: var(--text-alert); }
.article-body ul { list-style: none; margin: 12px 0; }
.article-body ul li {
  font-size: 0.8rem; color: var(--text-3);
  padding: 5px 0 5px 20px; position: relative;
}
.article-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
.article-body ol { counter-reset: ol-counter; list-style: none; margin: 12px 0; }
.article-body ol li {
  counter-increment: ol-counter;
  font-size: 0.8rem; color: var(--text-3);
  padding: 5px 0 5px 28px; position: relative;
}
.article-body ol li::before {
  content: counter(ol-counter) '.';
  position: absolute; left: 0;
  color: var(--accent); font-family: var(--font-display);
  font-size: 0.72rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .wrap, .wrap-sm { padding: 0 16px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  .section { padding: 44px 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .command-bar { padding: 0 14px; }
  .cmd-nav { display: none; }
  .cmd-nav.mobile-open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: 54px; left: 0; right: 0;
    background: rgba(3,3,3,0.98);
    padding: 16px;
    border-bottom: 1px solid var(--border-dim);
    z-index: 199;
    gap: 2px;
  }
  .cmd-nav.mobile-open li a { padding: 10px 0; border: none; font-size: 0.8rem; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 40px 0; }
  .footer-bottom { flex-direction: column; }
  .footer-meta { text-align: left; }
  .news-grid { grid-template-columns: 1fr; }
  .site-footer { margin-top: 48px; }
}
