/* ============================================================
   USA 250 memo — a special one-off page.
   Standard letterhead header (with the red/white/blue "America" and a
   gold seal eyebrow), then a two-column body: the note on the left, a
   dot-matrix LED flag on the right. Gold (#e8c877) is an intentional
   holiday accent; the flag pixels are the flag's own red/white/blue.
   ============================================================ */

/* header — gold seal eyebrow */
.dm-usa-eyebrow { color: #e8c877; }

/* body — note left, dot-matrix flag right */
.dm-usa-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: start;
}
.dm-usa-prose { max-width: 56ch; }
.dm-usa-prose p { font-size: 17px; line-height: 1.78; color: var(--dm-body); }
.dm-usa-prose p:first-child { font-size: 20px; line-height: 1.72; color: var(--dm-ink); }  /* lead */
.dm-usa-prose p + p { margin-top: 22px; }

/* signature — gold, set apart by a hairline */
.dm-usa-sign {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--dm-line-2);
  font-family: var(--dm-mono); font-size: 13px; letter-spacing: 0.06em;
  color: #e8c877;
}

/* the dot-matrix flag — framed like a figure well, sticky as the note scrolls */
.dm-usa-flag-fig {
  margin: 0;
  position: sticky; top: 96px;
  border: 1px solid var(--dm-line-2);
  background: var(--dm-panel);   /* lifted against the recessed section band */
  padding: 16px;
}
.dm-usa-flag-fig canvas { width: 100%; display: block; }
.dm-usa-flag-cap {
  margin-top: 12px;
  font-family: var(--dm-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dm-muted-2);
  display: flex; justify-content: space-between; gap: 12px;
}

@media (max-width: 860px) {
  .dm-usa-body { grid-template-columns: 1fr; gap: 40px; }
  .dm-usa-flag-fig { position: static; order: -1; }   /* flag above the note on mobile */
  .dm-usa-prose { max-width: none; }
}
