/* Public status page — Apple-inspired, status.claude.com / status.openai.com
   style. No internal names anywhere; status conveyed by colour + generic copy. */
:root{
  --st-bg:#f5f7fb; --st-surface:#fff; --st-text:#111827; --st-muted:#6b7280;
  --st-line:rgba(17,24,39,.10); --st-blue:#0071e3; --st-shadow:0 18px 60px rgba(15,23,42,.10);
  --st-ok:#1ba672; --st-ok-bg:#e7f7ef;
  --st-warn:#c77700; --st-warn-bg:#fdf2e3;
  --st-bad:#c0392b; --st-bad-bg:#fcebe9;
  --st-info:#3b6fb5; --st-info-bg:#eaf1fb;
  --st-gray:#6b7280; --st-gray-bg:#eef0f4;
}
*{box-sizing:border-box}
.st-body{margin:0;background:linear-gradient(180deg,#eef2f9,var(--st-bg) 38%);
  color:var(--st-text);font:17px/1.6 -apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",system-ui,sans-serif}
.st-nav{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:18px;
  padding:14px clamp(16px,5vw,48px);background:rgba(255,255,255,.72);
  backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--st-line)}
.st-nav a{color:var(--st-text);text-decoration:none;font-weight:600;font-size:.95rem}
.st-brand{margin-right:auto;display:flex;align-items:center;line-height:0}
.avatar-pic{display:contents} /* WebP <picture> wrapper adds no box */
.st-brand img{height:46px;width:auto;display:block}
.st-home{color:var(--st-muted)}
.st-main{max-width:1080px;margin:0 auto;padding:clamp(32px,6vw,72px) clamp(18px,5vw,32px)}
.st-eyebrow{color:var(--st-blue);font-weight:700;text-transform:uppercase;
  letter-spacing:.08em;font-size:.78rem;margin:0 0 6px}
.st-headline{font-size:clamp(1.9rem,4.4vw,3rem);line-height:1.06;letter-spacing:-.02em;margin:0}
.st-summary{color:var(--st-muted);font-size:1.1rem;max-width:64ch;margin:14px 0 0}

/* A. Hero */
.st-hero{margin:0 0 36px}
.st-hero-card{background:var(--st-surface);border:1px solid var(--st-line);
  border-radius:26px;padding:clamp(22px,4vw,38px);box-shadow:var(--st-shadow);
  border-left:6px solid var(--st-gray)}
.st-hero-head{display:flex;align-items:flex-start;gap:16px}
.st-hero-card.st-operational{border-left-color:var(--st-ok)}
.st-hero-card.st-degraded{border-left-color:var(--st-warn)}
.st-hero-card.st-partial_outage,.st-hero-card.st-major_outage{border-left-color:var(--st-bad)}
.st-hero-card.st-maintenance{border-left-color:var(--st-info)}
.st-meta-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px;
  padding-top:18px;border-top:1px solid var(--st-line)}
.st-updated{color:var(--st-muted);font-size:.92rem}
.st-fresh-pill,.st-stale-pill{font-size:.8rem;font-weight:600;padding:6px 12px;
  border-radius:999px;display:inline-flex;align-items:center;gap:6px}
.st-fresh-pill{background:var(--st-ok-bg);color:var(--st-ok)}
.st-fresh-pill::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--st-ok)}
.st-stale-pill{background:var(--st-warn-bg);color:var(--st-warn)}
.st-stale-pill::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--st-warn)}

/* Dots + pills */
.st-dot{width:11px;height:11px;border-radius:50%;background:var(--st-gray);flex:none}
.st-dot--lg{width:16px;height:16px;margin-top:6px}
.st-pill{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  padding:4px 10px;border-radius:999px;background:var(--st-gray-bg);color:var(--st-gray);white-space:nowrap}

/* B. System status uptime cards */
.st-system-section{margin:0 0 36px}
.st-section-head{margin:0 0 18px}
.st-section-head h2{font-size:1.4rem;margin:0 0 4px;letter-spacing:-.01em}
.st-section-head p{color:var(--st-muted);margin:0;font-size:.98rem}
.st-uptime-card{background:var(--st-surface);border:1px solid var(--st-line);
  border-radius:18px;padding:20px 22px;box-shadow:var(--st-shadow);margin-bottom:14px}
.st-uptime-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.st-uptime-top h3{margin:0;font-size:1.06rem;flex:1 1 auto}
.st-uptime-pct{color:var(--st-muted);font-size:.86rem;font-weight:600}
.st-uptime-bars{display:flex;gap:2px;align-items:stretch;height:34px;overflow:hidden}
.st-uptime-bar{flex:1 1 0;min-width:2px;max-width:9px;border-radius:2px;
  background:var(--st-gray-bg);transition:transform .12s ease}
.st-uptime-bar:hover{transform:scaleY(1.12)}
.st-day-operational{background:var(--st-ok)}
.st-day-degraded{background:var(--st-warn)}
.st-day-partial_outage{background:#e07a3e}
.st-day-major_outage{background:var(--st-bad)}
.st-day-maintenance{background:var(--st-info)}
.st-day-unknown{background:#dfe3ea}
.st-uptime-axis{display:flex;justify-content:space-between;margin-top:8px;
  color:var(--st-muted);font-size:.76rem}
.st-nodata{color:var(--st-muted);background:var(--st-surface);border:1px solid var(--st-line);
  border-radius:18px;padding:22px;box-shadow:var(--st-shadow)}

/* C. Compact current-components grid */
.st-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:0}
.st-card{background:var(--st-surface);border:1px solid var(--st-line);border-radius:18px;
  padding:20px 22px;box-shadow:var(--st-shadow)}
.st-card-top{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.st-card-top h3{margin:0;font-size:1.06rem;flex:1 1 auto}
.st-card p{margin:0;color:var(--st-muted);font-size:.95rem}

/* Status colours (shared by hero/cards/uptime pills) */
.st-operational .st-dot{background:var(--st-ok)} .st-operational .st-pill{background:var(--st-ok-bg);color:var(--st-ok)}
.st-degraded .st-dot{background:var(--st-warn)} .st-degraded .st-pill{background:var(--st-warn-bg);color:var(--st-warn)}
.st-partial_outage .st-dot{background:#e07a3e} .st-partial_outage .st-pill{background:var(--st-bad-bg);color:var(--st-bad)}
.st-major_outage .st-dot{background:var(--st-bad)} .st-major_outage .st-pill{background:var(--st-bad-bg);color:var(--st-bad)}
.st-maintenance .st-dot{background:var(--st-info)} .st-maintenance .st-pill{background:var(--st-info-bg);color:var(--st-info)}
.st-unknown .st-dot{background:var(--st-gray)} .st-unknown .st-pill{background:var(--st-gray-bg);color:var(--st-gray)}

.st-footer{max-width:1080px;margin:0 auto;padding:32px;color:var(--st-muted);
  font-size:.9rem;border-top:1px solid var(--st-line)}
.st-footer a{color:var(--st-muted);text-decoration:none;font-weight:600}
a:focus-visible,.st-uptime-bar:focus-visible{outline:3px solid rgba(0,113,227,.45);outline-offset:3px}

@media (max-width:760px){
  .st-uptime-bar{max-width:6px}
}
@media (max-width:560px){
  .st-main{padding-top:40px}
  .st-grid{grid-template-columns:1fr}
  .st-uptime-bars{height:28px}
  .st-uptime-bar{max-width:none}
  .st-meta-row{gap:8px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
