:root {
  --navy: #0a1628;
  --navy-light: #132038;
  --navy-mid: #1a2d4d;
  --gold: #d4a843;
  --gold-light: #f0d78c;
  --gold-dim: rgba(212,168,67,0.15);
  --white: #ffffff;
  --gray-50: #f8f9fc;
  --gray-100: #eef1f6;
  --gray-200: #dde2ec;
  --gray-400: #8892a4;
  --gray-600: #4a5568;
  --gray-800: #1a202c;
  --red: #e53e3e;
  --red-bg: rgba(229,62,62,0.08);
  --red-border: rgba(229,62,62,0.25);
  --orange: #dd6b20;
  --orange-bg: rgba(221,107,32,0.08);
  --green: #38a169;
  --green-bg: rgba(56,161,105,0.08);
  --blue: #3182ce;
  --blue-bg: rgba(49,130,206,0.08);
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--gray-50); line-height: 1.7; -webkit-font-smoothing: antialiased; }

/* NAV BAR */
.site-nav {
  background: var(--navy);
  padding: 0 40px;
  position: sticky; top: 0; z-index: 200;
  border-bottom: 2px solid var(--gold);
}
.site-nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.site-nav .brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--gold);
  font-family: var(--font-display); font-size: 1rem; font-weight: 800;
}
.site-nav .brand .shield { font-size: 1.2rem; }
.site-nav .nav-links {
  display: flex; gap: 4px; flex-wrap: wrap;
  list-style: none;
}
.site-nav .nav-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none; font-size: 0.72rem;
  font-weight: 500; padding: 6px 10px;
  border-radius: 6px; transition: all 0.2s;
  white-space: nowrap;
}
.site-nav .nav-links a:hover, .site-nav .nav-links a.active {
  color: var(--white); background: rgba(255,255,255,0.08);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
  color: var(--white); padding: 64px 40px 48px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,168,67,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 900;
  line-height: 1.2; margin-bottom: 12px;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.7);
  max-width: 680px; margin-bottom: 20px;
}
.hero-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
}
.hero-meta strong { color: rgba(255,255,255,0.75); }

/* CONTAINER */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.content-wrap {
  max-width: 1100px; margin: 0 auto; padding: 32px 40px 60px;
}

/* SECTION CARDS */
.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 40px;
  margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.card h2 {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 800;
  color: var(--navy); margin-bottom: 6px;
  display: flex; align-items: center; gap: 12px;
}
.card h2 .sec-num {
  background: var(--gold); color: var(--navy);
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 800;
  padding: 3px 10px; border-radius: 6px;
}
.lead { font-size: 1rem; color: var(--gray-600); margin-bottom: 28px; max-width: 780px; }
h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--navy);
  margin: 28px 0 10px; padding-bottom: 6px;
  border-bottom: 2px solid var(--gold-dim);
}
h4 {
  font-size: 0.9rem; font-weight: 700; color: var(--gray-600);
  margin: 16px 0 6px; text-transform: uppercase; letter-spacing: 0.04em;
}

/* TABLES */
table { width: 100%; border-collapse: collapse; font-size: 0.84rem; margin: 14px 0 22px; }
thead th {
  background: var(--navy); color: var(--white); font-weight: 600;
  text-align: left; padding: 9px 13px; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
thead th:first-child { border-radius: 8px 0 0 0; }
thead th:last-child { border-radius: 0 8px 0 0; }
tbody td { padding: 9px 13px; border-bottom: 1px solid var(--gray-100); vertical-align: top; }
tbody tr:hover { background: var(--gray-50); }
tbody tr:last-child td { border-bottom: none; }

/* BADGES */
.badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.badge-critical { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }
.badge-major { background: var(--orange-bg); color: var(--orange); }
.badge-minor { background: var(--blue-bg); color: var(--blue); }
.badge-risk { background: #fef3cd; color: #856404; }
.badge-low { background: var(--green-bg); color: var(--green); }

/* CALLOUT BOXES */
.callout { border-radius: var(--radius); padding: 22px 26px; margin: 18px 0; font-size: 0.88rem; }
.callout-critical { background: linear-gradient(135deg, #fff5f5, #fed7d7); border-left: 4px solid var(--red); }
.callout-warning { background: linear-gradient(135deg, #fffaf0, #feebc8); border-left: 4px solid var(--orange); }
.callout-info { background: linear-gradient(135deg, #ebf8ff, #bee3f8); border-left: 4px solid var(--blue); }
.callout-success { background: linear-gradient(135deg, #f0fff4, #c6f6d5); border-left: 4px solid var(--green); }
.callout-gold { background: var(--gold-dim); border-left: 4px solid var(--gold); }
.callout strong { display: block; margin-bottom: 4px; }

/* STAT CARDS */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 18px 0; }
.stat-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat-card .stat-val { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.stat-card .stat-label { font-size: 0.7rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* DISABILITY CARDS */
.disability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.disability-card { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; transition: box-shadow 0.2s; }
.disability-card:hover { box-shadow: var(--shadow-md); }
.disability-card h4 { margin: 0 0 6px; text-transform: none; letter-spacing: 0; font-size: 0.95rem; color: var(--navy); }
.disability-card .harm { color: var(--red); font-size: 0.82rem; margin-bottom: 6px; }
.disability-card .fix { color: var(--green); font-size: 0.82rem; }

/* RESOLUTION */
.resolution { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 28px 36px; margin: 20px 0; font-size: 0.92rem; line-height: 1.8; }
.resolution strong { color: var(--gold); }

/* HOME PAGE GRID */
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.home-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 28px;
  text-decoration: none; color: var(--gray-800);
  transition: all 0.2s; display: block;
}
.home-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gold); transform: translateY(-2px); }
.home-card .card-num { font-size: 0.7rem; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.home-card .card-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); margin-bottom: 6px; }
.home-card .card-desc { font-size: 0.82rem; color: var(--gray-600); line-height: 1.5; }

/* METRICS ROW */
.metrics-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); margin: 24px 0; overflow: hidden; }
.metric-item { padding: 20px; text-align: center; border-right: 1px solid var(--gray-100); }
.metric-item:last-child { border-right: none; }
.metric-item .mv { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.metric-item .ml { font-size: 0.68rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* PAGE NAV */
.page-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-200);
}
.page-nav a {
  text-decoration: none; font-size: 0.85rem; font-weight: 600;
  color: var(--navy); padding: 10px 20px;
  border: 1px solid var(--gray-200); border-radius: 8px;
  transition: all 0.2s;
}
.page-nav a:hover { background: var(--gold-dim); border-color: var(--gold); }
.page-nav .spacer { flex: 1; }

/* FOOTER */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.45);
  padding: 32px 40px; text-align: center; font-size: 0.78rem;
}
.site-footer strong { color: var(--gold); }

ul, ol { margin: 6px 0 14px 22px; }
li { margin-bottom: 4px; font-size: 0.88rem; }
p { margin-bottom: 10px; }
strong { font-weight: 700; }

@media print { .site-nav { position: static; } .card { break-inside: avoid; } }
@media (max-width: 768px) {
  .hero { padding: 36px 20px; } .hero h1 { font-size: 1.8rem; }
  .content-wrap, .container { padding-left: 20px; padding-right: 20px; }
  .card { padding: 22px; } .home-grid, .disability-grid { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: repeat(3,1fr); }
  .site-nav .nav-links { display: none; }
}
