/* Brand tokens from the Unspending Spree visual identity (light, then dark).
   No web fonts are loaded: the page must render with nothing but this site
   reachable, so Inter is used when the reader has it and the system face
   otherwise. */
:root {
  --coral: #FF6B5B;
  --coral-text: #D14F40;
  --teal-text: #2A9D8F;
  --gold-text: #B57B00;
  --soft-coral: #FFE0DC;
  --teal-light: #D4F5F3;
  --light-gold: #FEF3C7;
  --text: #1A1A2E;
  --text-muted: #4A4A68;
  --background: #FFFFFF;
  --surface-alt: #F5F5F8;
  --rule: #E4E4EC;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --coral: #FF7D6F;
    --coral-text: #FF7D6F;
    --teal-text: #5EDED5;
    --gold-text: #FFBA42;
    --soft-coral: #3D2A28;
    --teal-light: #1D3D3B;
    --light-gold: #3D3425;
    --text: #F5F5F8;
    --text-muted: #9999AA;
    --background: #0A1414;
    --surface-alt: #1A2828;
    --rule: #243434;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
}

.site-header, main, .site-footer {
  max-width: 44rem;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.site-header { padding-top: 2rem; padding-bottom: 1.5rem; }
.wordmark img { display: block; width: 220px; max-width: 100%; height: auto; }

main { padding-bottom: 3rem; }

h1 { font-size: 2.25rem; font-weight: 700; line-height: 1.2; margin: 0 0 1rem; }
h2 { font-size: 1.375rem; font-weight: 600; line-height: 1.3; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; margin: 1.5rem 0 0.5rem; }
@media (max-width: 480px) { h1 { font-size: 1.75rem; } }

p, ul, ol, blockquote { margin: 0 0 1rem; }
li + li { margin-top: 0.25rem; }

a { color: var(--coral-text); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

.meta { color: var(--text-muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; }

.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.status {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}
/* Open states are coral, the brand's attention colour; there is no alarm red.
   Resolved is teal, the success colour. */
.status-Investigating, .status-Identified, .status-Contained { background: var(--soft-coral); color: var(--coral-text); }
.status-Monitoring { background: var(--light-gold); color: var(--gold-text); }
.status-Resolved { background: var(--teal-light); color: var(--teal-text); }

.affected { padding: 0.75rem 1rem; background: var(--surface-alt); border-radius: 8px; }

.notice strong { font-weight: 600; }

blockquote {
  margin-left: 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--coral);
  background: var(--surface-alt);
  border-radius: 0 8px 8px 0;
}
blockquote > :last-child { margin-bottom: 0; }

.history { list-style: none; padding: 0; }
.history li { padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.history .meta { display: block; }

.site-footer {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--rule);
  color: var(--text-muted);
  font-size: 0.875rem;
}

p, li, a { overflow-wrap: anywhere; }
