/* =========================================================================
   page-ucrra.css — data/systems/ucrra-briefing-hub.html
   Brings the UCRRA briefing hub onto the HVB brand system. The page previously
   hand-rolled an off-brand look inline (glassmorphism cards, navy #0b1220 ink,
   a different green #1f7a5c, custom --hvb-brand/ink/muted/card/soft tokens).
   This redesign maps every component to the canonical palette (HVB green/teal/
   slate, Sora/Inter, solid white cards, no backdrop blur). Tokens come from
   foundation.css.
   ========================================================================= */

.section { padding: clamp(40px, 5vw, 56px) 0; }
.section.compact { padding: 32px 0; }

.kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  color: var(--hvb-teal);
  font-family: var(--font-head);
}
.h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
  color: var(--hvb-green);
}
.lead { font-size: 18px; line-height: 1.55; color: var(--hvb-slate); max-width: 74ch; }
.muted { color: var(--hvb-slate); }
.small { font-size: 14px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(14, 59, 46, 0.14);
  background: rgba(14, 59, 46, 0.06);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hvb-green);
}
.pill strong { font-weight: 800; }

.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 920px) { .grid.three { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .grid.two { grid-template-columns: 1fr; } }

/* Canonical white card (was translucent glassmorphism) */
.card {
  border: 1px solid rgba(14, 59, 46, 0.10);
  background: #fff;
  border-radius: var(--radius-lg, 16px);
  padding: 20px;
  box-shadow: var(--shadow-1);
}
.card h3 { margin: 0 0 8px; font-family: var(--font-head); font-size: 18px; color: var(--hvb-green); }
.card p { margin: 0; color: var(--hvb-slate); }

/* On-brand note callout: white card with an amber left-accent */
.callout {
  border: 1px solid rgba(14, 59, 46, 0.10);
  border-left: 4px solid var(--hvb-amber);
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-1);
}
.callout h3 { margin: 0 0 8px; color: var(--hvb-green); }
.callout p { margin: 0; color: var(--hvb-slate); }

.toc a { text-decoration: none; }
.toc .pill { cursor: pointer; }
.hr { height: 1px; background: rgba(14, 59, 46, 0.12); margin: 18px 0; }

/* Buttons (scoped to main so they don't touch the injected nav's canonical CTAs) */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
main .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-md, 8px);
  border: 1px solid rgba(14, 59, 46, 0.22);
  background: #fff;
  color: var(--hvb-green);
  text-decoration: none;
  font-weight: 600;
}
main .btn:hover { background: var(--hvb-mist); border-color: var(--hvb-teal); text-decoration: none; }
main .btn.primary { background: var(--hvb-green); color: #fff; border-color: var(--hvb-green); }
main .btn.primary:hover { background: #0b2f25; }
main .btn.ghost { background: transparent; }

/* System diagram frame */
.diagram {
  border: 1px solid rgba(14, 59, 46, 0.10);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.diagram .inner { padding: 16px; }
.diagram svg { width: 100%; height: auto; display: block; }

.note { font-size: 13px; color: var(--hvb-slate); }
