/* ====== Base ====== */
* { box-sizing: border-box; }
html, body { margin: 0; }
body.brief-page {
  background: #ffffff;                 /* all white */
  color: #1b2430;
  font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Arial, sans-serif;
}

/* ====== Container / Wrap ====== */
.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 16px; 
}
.wrap {
  max-width: 960px;
  margin: 24px auto 64px;
  padding: 0 16px;
}

/* ====== Header / Logo ====== */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #e9edf3;
}
.logo {
  display: inline-block;
  padding: 16px 0;
  font-weight: 700;
  color: #0d6efd;
  text-decoration: none;
}

/* ====== Hero ====== */
.hero {
  background: #fff;
  border: 1px solid #e9edf3;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
}
.hero .kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .78rem;
  color: #0d6efd;
}
.hero h1 {
  margin: .25rem 0 .5rem;
  line-height: 1.25;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}
.muted { color: #667085; margin: 0; }

/* Badges row under hero title */
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  background: #eef5ff;
  color: #0d6efd;
  border: 1px solid #d3e3ff;
}
.badge.cve {
  background: #e9f7ef;
  color: #2e6b00;
  border-color: #cfead8;
}
.badge.impact {
  background: #fff1f2;
  color: #c92a2a;
  border-color: #ffd6d9;
}

/* CTA in hero */
a.cta {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
  background: #0d6efd;
  color: #fff;
  padding: .55rem .8rem;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(13,110,253,.25);
}

/* ====== Grid ====== */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}
@media (min-width: 900px) {
  .grid { grid-template-columns: 1.15fr .85fr; }
}

/* ====== Card / Aside ====== */
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
  border: 1px solid #e9edf3;
  padding: 20px;
}
.card h2 {
  margin: .2rem 0 .6rem;
  font-size: 1.05rem;
}

/* Lists */
.list { margin: .25rem 0 .25rem 0; padding-left: 1.1rem; }
.list li { margin: .25rem 0; }

/* Callouts */
.callouts { display: grid; gap: 12px; }
.callout {
  border-left: 4px solid #0d6efd;
  background: #f0f6ff;
  padding: 12px 12px 12px 14px;
  border-radius: 12px;
}
.callout strong { color: #0d6efd; }

/* Mitigation checklist */
.mitigation { margin: .5rem 0 0; padding-left: 0; }
.mitigation li {
  list-style: none;
  margin: .4rem 0;
  padding-left: 1.6rem;
  position: relative;
}
.mitigation li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #198754;  /* green */
  font-weight: 700;
}

/* ====== Posts (aside) ====== */
.posts { display: grid; gap: 14px; }
.post {
  border: 1px dashed #d5dbe6;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}
.post .platform {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  font-size: .8rem;
  font-weight: 700;
  color: #667085;
  margin-bottom: 6px;
}
.footer { margin-top: 18px; color: #667085; font-size: .88rem; }

/* Inline code token */
code.k {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #f2f4f7;
  padding: .1rem .4rem;
  border-radius: 6px;
}