body {
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  background: #d8d9db;
  margin: 0;
  padding: 20px;
  color: #111;
  position: relative;
  counter-reset: section;
}
h2 {
  counter-increment: section;
  font-size: 1.15em;
  margin-top: 22px;
  border-bottom: 1px solid #bbb;
  padding-bottom: 4px;
  color: #5a7082;
  text-transform: uppercase;
}
h2::before { content: counter(section) ". "; }

.brief-container {
  max-width: 840px;
  margin: auto;
  padding: 40px 50px;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

.header-bar {
  border-bottom: 3px solid #5a7082;
  padding-bottom: 8px;
  margin-bottom: 24px;
}
header h1 {
  margin: 0;
  font-size: 1.7em;
  text-transform: uppercase;
  color: #5a7082;
}
header .subtitle {
  font-size: 1em;
  color: #444;
  margin: 4px 0 0;
}

section {
  margin-bottom: 22px;
}
ul, ol {
  margin: 8px 0 8px 20px;
}

strong {
  font-weight: bold;
  text-transform: uppercase;
}

footer {
  text-align: center;
  margin-top: 36px;
  font-size: 0.9em;
  color: #444;
}
footer a {
  color: #5a7082;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

.paper {
  position: relative;
  background: white;
  padding: 40px;
  max-width: 800px;
  margin: 40px auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.paper::before {
  content: "UNCLASSIFIED";
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 5rem;
  color: rgba(0, 0, 0, 0.07); /* faint gray */
  white-space: nowrap;
  pointer-events: none;
}


/* --- Critical Alert --- */
:root {
  --alert-red: #e10600;         /* primary red */
  --alert-dark: #1a0000;        /* deep backdrop */
  --alert-bg: rgba(225, 6, 0, 0.08);
  --alert-border: rgba(225, 6, 0, 0.85);
  --alert-glow: rgba(225, 6, 0, 0.45);
  --alert-text: #ffecec;        /* readable on dark */
}

.gc-alert {
  position: relative;
  margin: 16px auto 20px;
  max-width: 980px;
  border: 2px solid var(--alert-border);
  background: linear-gradient(0deg, var(--alert-bg), var(--alert-bg)), var(--alert-dark);
  color: var(--alert-text);
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.35) inset, 0 8px 24px rgba(0,0,0,0.35);
  overflow: hidden;
}

/* animated border ring */
.gc-alert__pulse {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  pointer-events: none;
  animation: gcPulse 1.1s infinite;
}
@keyframes gcPulse {
  0%   { box-shadow: 0 0 0 0 var(--alert-glow); }
  70%  { box-shadow: 0 0 0 10px rgba(225,6,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,6,0,0); }
}

/* content */
.gc-alert__content { padding: 14px 16px 16px 16px; display: grid; gap: 6px; }
.gc-alert__title   { margin: 0; font: 700 14px/1 "Arial Narrow", Arial, sans-serif; letter-spacing: 1px; }
.gc-alert__msg     { margin: 0; font: 500 13.5px/1.5 Arial, sans-serif; }
.gc-alert__link    { color: #ffd14d; text-decoration: underline; }
.gc-alert__link:hover { color: #ffffff; }

/* acknowledge button to stop pulse */
.gc-alert__ack {
  justify-self: start;
  margin-top: 6px;
  font: 700 12px/1 Arial, sans-serif;
  letter-spacing: .5px;
  padding: 6px 10px;
  color: #fff;
  background: var(--alert-red);
  border: 1px solid var(--alert-border);
  border-radius: 4px;
  cursor: pointer;
}
.gc-alert__ack:hover { filter: brightness(1.05); }

/* stop animation once acknowledged */
.gc-alert.gc-acknowledged .gc-alert__pulse { animation: none; }
.gc-alert.gc-acknowledged { border-color: var(--alert-red); box-shadow: 0 0 0 2px rgba(0,0,0,0.35) inset; }

/* reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .gc-alert__pulse { animation: none; }
}

/* print: no animation, solid border */
@media print {
  .gc-alert__pulse { display: none; }
  .gc-alert { color: #000; background: #fff; border-color: #c00; }
  .gc-alert__link { color: #000; }
  body {
    background: #fff;
  }
  .brief-container {
    box-shadow: none;
  }
  .paper::before {
    font-size: 6rem;
    color: rgba(0,0,0,0.15);
  }
  .watermark {
    color: rgba(150, 150, 150, 0.2);
  }
}

