/* DMC Demo Site — Shared Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f8f7f5;
  --bg-alt: #eeecea;
  --bg-dark: #111827;
  --bg-nav: #0d1117;
  --accent: #2d5a8e;
  --accent-light: #4a7fc1;
  --accent-dim: rgba(45,90,142,0.12);
  --text: #1e1e1e;
  --text-muted: #5a5a5a;
  --border: #d4cfc8;
  --max-w: 960px;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

/* ── Navigation ── */
.site-nav {
  background: var(--bg-nav);
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 52px;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid #1e2740;
}
.nav-brand {
  color: #c8d0e0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}
.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
}
.nav-links a {
  color: #8fa8cc;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 13px;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.1s, background 0.1s;
}
.nav-links a:hover { color: #c8d0e0; background: rgba(255,255,255,0.05); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.nav-cta {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  margin-left: 8px;
}
.nav-links a.nav-cta:hover { background: var(--accent-light); }

/* ── Page Header ── */
.page-header {
  background: var(--bg-dark);
  color: #c8d0e0;
  padding: 52px 24px 44px;
  border-bottom: 3px solid var(--accent);
}
.page-header .eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7aa2d4;
  margin-bottom: 10px;
}
.page-header h1 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: #e8edf8;
  line-height: 1.2;
  margin-bottom: 14px;
  max-width: 640px;
}
.page-header p {
  font-size: 15px;
  color: #9aaccf;
  max-width: 580px;
  line-height: 1.65;
}

/* ── Content ── */
.content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px;
}
.content-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px;
}

/* ── Typography ── */
h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 14px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ── Sections ── */
.section { margin-bottom: 56px; }
.section:last-child { margin-bottom: 0; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

/* ── Cards / Panels ── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 28px;
}
.card + .card { margin-top: 16px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* ── Workflow Steps ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.step-body h3 { margin-bottom: 6px; }
.step-body p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ── Table ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.data-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-alt);
}
.data-table tr:last-child td { border-bottom: none; }

/* ── Callout ── */
.callout {
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
}
.callout strong { color: var(--text); }

/* ── CTA Block ── */
.cta-block {
  background: var(--bg-dark);
  color: #c8d0e0;
  padding: 40px 32px;
  border-radius: 8px;
  text-align: center;
}
.cta-block h2 { color: #e8edf8; margin-bottom: 10px; }
.cta-block p { color: #8fa8cc; margin-bottom: 24px; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 28px;
  border-radius: 5px;
  transition: background 0.15s;
}
.btn:hover { background: var(--accent-light); }
.btn-outline {
  background: transparent;
  border: 1px solid #3a5a80;
  color: #9aaccf;
  margin-left: 10px;
}
.btn-outline:hover { background: rgba(255,255,255,0.07); }

/* ── Badge ── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-swarmp { background: #4a2e00; color: #ffcc44; }
.badge-unsafe { background: #4a0000; color: #ff8080; }
.badge-safe { background: #0a3a0a; color: #7fff7f; }

/* ── Status indicators ── */
.status-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.status-safe { background: #30a060; }
.status-swarmp { background: #d4880a; }
.status-unsafe { background: #cc3333; }

/* ── Deliverables grid ── */
.deliv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.deliv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 6px 6px;
  padding: 20px;
}
.deliv-card h3 { font-size: 14px; margin-bottom: 6px; }
.deliv-card p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.55; }
.deliv-format {
  font-size: 11px;
  font-family: monospace;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 2px 7px;
  border-radius: 3px;
  margin-top: 10px;
  display: inline-block;
}

/* ── Spec list ── */
.spec-list { list-style: none; padding: 0; }
.spec-list li {
  display: flex;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.spec-list li:last-child { border-bottom: none; }
.spec-key {
  width: 180px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 13px;
}
.spec-val { color: var(--text); }

/* ── Image placeholder ── */
.img-placeholder {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  font-style: italic;
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-nav);
  color: #6a8aaa;
  padding: 32px 24px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 80px;
}
.site-footer strong { color: #9aaccf; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .site-nav { gap: 0; }
  .nav-brand { font-size: 11px; }
  .nav-links a { font-size: 12px; padding: 5px 8px; }
  .content, .content-narrow { padding: 32px 16px; }
  .page-header { padding: 32px 16px 28px; }
  .card { padding: 20px 16px; }
  .card-grid { grid-template-columns: 1fr; }
  .deliv-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
