:root {
  --bg: #eef4fb;
  --bg-2: #f8fbff;
  --surface: #ffffff;
  --surface-2: #f3f8fd;
  --surface-3: #e8f1fb;
  --line: #d3e0ee;
  --text: #17324d;
  --muted: #5c7188;
  --muted-2: #7b8ea3;
  --accent: #2fa8e0;
  --accent-strong: #1378ba;
  --accent-soft: rgba(47, 168, 224, 0.12);
  --warm: #ffb74d;
  --danger: #d84c57;
  --success: #2f9a78;
  --shadow: 0 16px 40px rgba(15, 37, 60, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(47, 168, 224, 0.10), transparent 25%),
    linear-gradient(180deg, #fff 0, #fff 320px, var(--bg) 320px, var(--bg) 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrapper { width: min(var(--content), calc(100% - 40px)); margin: 0 auto; }
.site-header { padding: 22px 0 48px; border-bottom: 1px solid rgba(211,224,238,.9); }
.site-nav { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 42px; }
.brand img { height: 112px; display:block; }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; align-items: center; color: var(--muted); font-weight: 700; }
.nav-links a { padding: 10px 0; }
.nav-links a:hover, .text-link:hover { color: var(--accent-strong); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: stretch; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: .78rem; color: var(--warm); margin: 0 0 10px; }
.hero-copy h1, .page-hero h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); line-height: 1; margin: 0 0 14px; }
.hero-copy .lede, .page-hero .lede { font-size: 1.12rem; line-height: 1.75; color: var(--muted); max-width: 840px; }
.cta-row { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding: 13px 18px; border-radius: 999px; font-weight: 800; border: 1px solid transparent; }
.btn.primary { background: var(--accent); color:#07131b; }
.btn.primary:hover { background: #22b4ef; }
.btn.secondary { background: rgba(255,255,255,.86); border-color: rgba(23,50,77,.14); color: var(--text); }
.hero-panel, .card, .stat, .chip, .update-card, .summary-card, .spotlight, .table-shell, .callout { background: var(--surface); border: 1px solid rgba(211,224,238,.9); box-shadow: var(--shadow); }
.hero-panel { padding: 24px; border-radius: var(--radius-lg); display:flex; flex-direction:column; gap:18px; }
.hero-panel h2, .section-head h2, .card h3, .summary-card h3, .spotlight h3, .update-card h3 { margin-top: 0; }
.mini-stats { display:grid; grid-template-columns: repeat(2,1fr); gap:14px; }
.stat { padding: 16px; border-radius: var(--radius-md); background: linear-gradient(180deg, #fff, var(--surface-2)); }
.stat strong { display:block; font-size: 1.8rem; line-height:1; margin-bottom:8px; }
.stat span { color: var(--muted); font-size: .95rem; }
main { padding: 38px 0 64px; }
.section { margin: 0 0 30px; }
.section-head { display:flex; justify-content: space-between; align-items:end; gap:20px; margin-bottom: 18px; }
.section-head p { margin:0; color:var(--muted); max-width: 760px; }
.grid { display:grid; gap:20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card, .summary-card, .spotlight, .update-card, .callout { border-radius: var(--radius-lg); padding: 24px; }
.card p, .summary-card p, .spotlight p, .callout p { color: var(--muted); }
.kicker { display:inline-flex; padding: 6px 10px; border-radius:999px; background: var(--accent-soft); color: var(--accent-strong); font-weight:800; font-size:.8rem; margin-bottom: 12px; }
.card ul, .summary-card ul, .spotlight ul { padding-left: 20px; color: var(--muted); line-height: 1.7; }
.chip-row { display:flex; flex-wrap:wrap; gap:10px; }
.chip { padding: 10px 14px; border-radius: 999px; font-weight:700; background: linear-gradient(180deg, #fff, var(--surface-2)); }
.chip small { color: var(--muted-2); font-weight:600; }
.search-shell { display:flex; gap:12px; margin-top: 22px; flex-wrap: wrap; }
.search-shell input { flex: 1 1 380px; min-height: 54px; border-radius: 18px; border: 1px solid rgba(23,50,77,.14); padding: 0 18px; font-size: 1rem; box-shadow: var(--shadow); background: rgba(255,255,255,.92); }
.search-shell input:focus { outline: 2px solid rgba(47, 168, 224, 0.25); border-color: var(--accent); }
.filter-row { display:flex; gap:10px; flex-wrap:wrap; margin-top: 16px; }
.filter-chip { border: 1px solid rgba(23,50,77,.12); background: rgba(255,255,255,.9); color: var(--text); padding: 10px 14px; border-radius: 999px; font-weight: 700; text-transform: capitalize; cursor: pointer; }
.filter-chip.active, .filter-chip:hover { background: var(--accent-soft); color: var(--accent-strong); border-color: rgba(47,168,224,.28); }
.compact-actions { margin-top: 18px; }
.search-results-section { margin-top: 6px; }
.results-stack { display:grid; gap:18px; }
.result-card { background: linear-gradient(180deg, #ffffff, #f7fbff); border: 1px solid rgba(211,224,238,.9); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.result-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin-bottom: 14px; }
.result-head h3 { margin: 10px 0 6px; }
.result-subhead { margin:0; color: var(--muted-2); font-weight: 700; }
.compact-note-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.empty-state { padding: 28px; border: 1px dashed rgba(23,50,77,.18); border-radius: var(--radius-lg); background: rgba(255,255,255,.78); }
.utility-hero { align-items:start; }
.discovery-panel { min-height: 100%; }
.page-hero { padding: 14px 0 28px; }
.breadcrumbs { color: var(--muted-2); font-size: .94rem; margin-bottom: 12px; }
.page-layout { display:grid; grid-template-columns: 2fr .95fr; gap: 22px; }
.stack { display:grid; gap:20px; }
.summary-card { background: linear-gradient(180deg, #ffffff, #f7fbff); }
.summary-meta { display:flex; flex-wrap:wrap; gap:10px; margin-bottom: 12px; }
.badge { display:inline-flex; align-items:center; padding: 7px 10px; border-radius:999px; font-size:.8rem; font-weight: 800; background: var(--surface-3); color: var(--text); }
.badge.critical, .badge.high { background: rgba(216, 76, 87, .12); color: var(--danger); }
.badge.moderate { background: rgba(255, 183, 77, .18); color: #8a5b11; }
.badge.mixed { background: rgba(19,120,186,.12); color: var(--accent-strong); }
.badge.exploited { background: rgba(216,76,87,.14); color: var(--danger); }
.note-list { display:grid; gap:12px; }
.note-item { padding:14px 16px; border-radius: 16px; background: var(--surface-2); border:1px solid rgba(211,224,238,.9); }
.note-item strong { display:block; margin-bottom:4px; }
.text-link { color: var(--accent-strong); font-weight: 700; }
.table-shell { overflow:auto; border-radius: var(--radius-lg); }
table { width:100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align:left; padding: 14px 16px; border-bottom:1px solid rgba(211,224,238,.9); vertical-align: top; }
th { font-size:.83rem; text-transform: uppercase; letter-spacing:.04em; color: var(--muted-2); background: #f9fbfe; }
td { color: var(--muted); }
.update-card { display:grid; gap:14px; background: linear-gradient(180deg, #fff, #f8fbff); }
.update-card h3 { margin-bottom: 0; }
.update-card p { margin: 0; color: var(--muted); }
.update-meta { display:flex; gap:10px; flex-wrap:wrap; }
.spotlight { background: linear-gradient(145deg, #ddecfb, #f9fbff 70%); }
.callout { background: linear-gradient(135deg, #d9eaf8, #c8def0); color: var(--text); }
.callout p { color: #304d67; }
.footer { padding: 0 0 40px; color: var(--muted); }
.footer .wrapper { border-top:1px solid rgba(211,224,238,.9); padding-top: 20px; }
.footer-row { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.footer-link { font-weight: 700; color: var(--muted); }
.footer-link:hover { color: var(--accent-strong); }
.acquisition-callout { background: linear-gradient(135deg, #dfeaf6, #d4e5f4); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width: 1080px) {
  .hero-grid, .page-layout, .grid.three, .grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .site-nav { flex-direction: column; align-items:flex-start; }
  .brand img { height: 94px; }
  .wrapper { width: min(var(--content), calc(100% - 24px)); }
  .hero-copy h1, .page-hero h1 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .mini-stats { grid-template-columns: 1fr; }
  .result-head, .search-shell { flex-direction: column; }
  .compact-note-list { grid-template-columns: 1fr; }
}
