/* status.rilleo.com in the marketing site's look: tokens from backplane-site src/styles/tokens.css (v5 "Daylight"),
   Switzer for display, General Sans for text, the approved Rilleo artwork. Status colours are the site's pulse hues,
   always with a word beside them. */
@font-face { font-family: 'Switzer'; src: url('fonts/switzer-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('fonts/general-var.woff2') format('woff2'); font-weight: 200 700; font-display: swap; }
:root {
  --void: #FAF8F4; --surface: #FFFFFF; --navy: #0F2140; --ink-hi: #0A1424; --ink-body: #3A4456; --ink-dim: #5B6577;
  --gold: #D9A441; --gold-text: #8A5D12; --gold-tint: #F6EBD4; --border-c: #E6E0D4; --border-faint: #EEE9E0;
  --ok: #23824F; --warn: #8A5D12; --bad: #B4412F; --unknown: #5B6577;
  --font-display: 'Switzer', system-ui, sans-serif; --font-body: 'General Sans', system-ui, sans-serif;
  --radius: 12px; color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--void); color: var(--ink-body); font: 400 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--navy); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(760px, 100% - 32px); margin-inline: auto; }
.top { width: min(760px, 100% - 32px); margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border-c); }
.logo img { display: block; height: 40px; width: auto; }
.label { font: 500 14px/1 var(--font-body); color: var(--ink-dim); }
main { padding: 32px 0 16px; display: grid; gap: 36px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink-hi); margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 26px; line-height: 1.25; font-weight: 600; }
h2 { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
h3 { font-size: 16px; font-weight: 600; }
.meta { margin: 4px 0 0; color: var(--ink-dim); font-size: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--unknown); }
[data-state="operational"] .dot { background: var(--ok); }
[data-state="degraded_performance"] .dot { background: var(--gold); }
[data-state="partial_outage"] .dot, [data-state="major_outage"] .dot { background: var(--bad); }
.banner { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; background: var(--surface); border: 1px solid var(--border-c); border-radius: var(--radius); }
.banner .dot { width: 14px; height: 14px; margin-top: 8px; }
.banner[data-state="major_outage"], .banner[data-state="partial_outage"] { border-color: #E9C3BC; background: #FBF1EF; }
.banner[data-state="degraded_performance"] { border-color: #ECD9AC; background: var(--gold-tint); }
.components { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border-c); border-radius: var(--radius); }
.components li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; }
.components li + li { border-top: 1px solid var(--border-faint); }
.name { display: block; color: var(--ink-hi); font-weight: 500; }
.desc { display: block; color: var(--ink-dim); font-size: 14px; }
.state { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; color: var(--ink-body); }
li[data-state="partial_outage"] .state, li[data-state="major_outage"] .state { color: var(--bad); font-weight: 500; }
li[data-state="degraded_performance"] .state { color: var(--warn); font-weight: 500; }
.incident { padding: 18px 20px; background: var(--surface); border: 1px solid var(--border-c); border-left: 3px solid var(--bad); border-radius: var(--radius); }
.incident + .incident { margin-top: 12px; }
.incident[data-state="resolved"] { border-left-color: var(--ok); }
.incident[data-state="monitoring"] { border-left-color: var(--gold); }
.updates { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.updates time { display: block; font-size: 13px; color: var(--ink-dim); }
.updates p { margin: 2px 0 0; }
.foot { padding: 24px 0 max(40px, env(safe-area-inset-bottom)); color: var(--ink-dim); font-size: 14px; border-top: 1px solid var(--border-c); }
.foot p { margin: 4px 0; }
@media (max-width: 520px) { .components li { flex-direction: column; align-items: flex-start; gap: 6px; } .logo img { height: 34px; } h1 { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
