/* Shared sub-page styles for /security/, /sbom/, /protocol-coverage/
   Consolidated from individual <style> blocks per design-system-guardian recommendation.
   Tokens defined inline so the file is self-contained for sub-pages that don't load style.min.css. */

:root {
  --sub-bg: #0b1d2b;
  --sub-text: #e2e8f0;
  --sub-text-secondary: #cbd5e1;
  --sub-text-tertiary: #94a3b8;
  --sub-text-muted: #64748b;
  --sub-border: rgba(255,255,255,0.08);
  --sub-border-strong: rgba(255,255,255,0.12);
  --sub-surface: rgba(255,255,255,0.03);
  --sub-teal: #2dd4bf;
  --sub-teal-hover: #5eead4;
  --sub-teal-accent: #14b8a6;
  --sub-teal-tint-sm: rgba(20,184,166,.12);
  --sub-teal-tint-md: rgba(20,184,166,.18);
  --sub-teal-border: rgba(20,184,166,.25);
  --sub-teal-border-strong: rgba(20,184,166,.3);
  --sub-warning: #fbbf24;
  --sub-amber-strong: #f59e0b;
  --sub-critical: #f87171;
  --sub-info: #60a5fa;
  --sub-radius: 12px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--sub-bg);
  color: var(--sub-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

a { color: var(--sub-teal); text-decoration: none; transition: color .15s; }
a:hover { color: var(--sub-teal-hover); text-decoration: underline; }

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--sub-teal-accent); color: #fff;
  padding: 8px 16px; z-index: 100;
  font-size: .875rem; font-weight: 600;
  text-decoration: none; border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }

.nav {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--sub-border);
  display: flex; align-items: center; justify-content: space-between;
  max-width: 80rem; margin: 0 auto; width: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: .625rem;
  color: var(--sub-text); font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 1.125rem;
}
.nav-logo img { width: 32px; height: 32px; border-radius: 50%; }
.nav-home { font-size: .875rem; font-weight: 500; }

.page { flex: 1; max-width: 56rem; margin: 0 auto; width: 100%; padding: 3rem 1.5rem 5rem; }
.page.wide { max-width: 72rem; }

.breadcrumb {
  font-size: .8125rem;
  color: var(--sub-text-tertiary);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--sub-teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 .5rem; color: var(--sub-text-muted); }

.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--sub-teal); margin-bottom: .75rem;
}

h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700; line-height: 1.15;
  color: #f1f5f9; margin-bottom: 1rem;
  letter-spacing: -.02em;
}
h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  color: #f1f5f9; margin: 3rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sub-border);
}
h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem; font-weight: 700;
  color: var(--sub-text); margin: 1.5rem 0 .75rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--sub-text-tertiary);
  max-width: 44rem;
  margin-bottom: 2rem;
}
p { color: var(--sub-text-secondary); margin-bottom: 1rem; }
ul, ol { margin: 0 0 1.25rem 1.5rem; color: var(--sub-text-secondary); }
li { margin-bottom: .5rem; }
strong { color: #f1f5f9; font-weight: 600; }
em { color: var(--sub-text-tertiary); }
code {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: .875rem;
  background: rgba(255,255,255,.06);
  padding: .15rem .4rem;
  border-radius: 4px;
  color: var(--sub-teal-hover);
}

.contact-card, .cta-card {
  background: var(--sub-teal-tint-sm);
  border: 1px solid var(--sub-teal-border);
  border-radius: var(--sub-radius);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}
.contact-card h3 { margin-top: 0; }
.contact-card .row {
  display: grid; grid-template-columns: 8rem 1fr;
  gap: .75rem; font-size: .9375rem; margin-bottom: .5rem;
}
.contact-card .row .key {
  color: var(--sub-text-tertiary);
  font-weight: 600;
}

.meta-grid {
  display: grid; grid-template-columns: 10rem 1fr;
  gap: .75rem; font-size: .9375rem;
  margin: 1rem 0 1.5rem;
}
.meta-grid .key { color: var(--sub-text-tertiary); font-weight: 600; }
.meta-grid .val { color: var(--sub-text-secondary); }

.footer {
  padding: 1.5rem; text-align: center;
  font-size: .8125rem;
  color: var(--sub-text-muted);
  border-top: 1px solid var(--sub-border);
}
.footer a { color: var(--sub-text-tertiary); }
