:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #0f2747; background: #f8fafc; font-synthesis: none; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
.page { width: min(100% - 48px, 800px); margin: 0 auto; }
a { color: #2563eb; text-underline-offset: 4px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 0; border-bottom: 1px solid #e2e8f0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #0f2747; text-decoration: none; font-size: 21px; font-weight: 750; letter-spacing: -.7px; }
.brand-accent { color: #2563eb; }
.app-link { color: #526276; font-size: 13px; font-weight: 600; text-decoration: none; }
.app-link span { margin-left: 8px; }
main { padding: 62px 0 56px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: #526276; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #2563eb; }
h1 { font-size: clamp(30px, 5.5vw, 40px); font-weight: 650; letter-spacing: -1.4px; margin: 15px 0 12px; line-height: 1.2; }
.intro { font-size: 15px; line-height: 1.7; color: #64748b; margin: 0 0 34px; }
.summary { display: flex; align-items: center; gap: 19px; padding: 27px 28px; border: 1px solid #dbe3ed; border-radius: 16px; background: #f1f5f9; }
.summary-icon { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 50%; background: #e2e8f0; font-size: 23px; }
.summary h2 { margin: 0 0 5px; font-size: 18px; font-weight: 650; letter-spacing: -.35px; }
.summary p { margin: 0; font-size: 13px; line-height: 1.6; color: #526276; }
.summary[data-state="operational"] { border-color: #bde5d0; background: #f0faf5; }
.summary[data-state="operational"] .summary-icon { color: #16794c; background: #d8f0e3; }
.summary[data-state="disruption"] { background: #fff5f3; border-color: #f5c9c2; }
.summary[data-state="disruption"] .summary-icon { color: #b33d2e; background: #fee2dc; }
.summary[data-state="unknown"] { background: #fffaf0; border-color: #efddb3; }
.summary[data-state="unknown"] .summary-icon { color: #916417; background: #f9edcc; }
.services { margin: 32px 0; background: white; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 18px #0f274703; }
.section-heading { padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #edf0f4; }
.section-heading h2 { margin: 0; font-size: 14px; font-weight: 650; }
.section-heading > span { font-size: 11px; color: #64748b; }
.service { padding: 24px 26px; display: flex; gap: 16px; align-items: center; border-bottom: 1px solid #edf0f4; }
.service-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; background: #f5f7fb; border: 1px solid #e8edf5; border-radius: 10px; color: #526782; font-size: 24px; }
.code-icon { font-size: 16px; font-family: ui-monospace, monospace; }
.service-info { flex: 1; }
.service h3 { margin: 0 0 5px; font-size: 14px; font-weight: 650; }
.service p { margin: 0; font-size: 12px; color: #64748b; line-height: 1.5; }
.badge { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; font-size: 12px; color: #64748b; font-weight: 550; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge[data-state="operational"] { color: #16794c; }
.badge[data-state="disruption"] { color: #b33d2e; }
.badge[data-state="unknown"] { color: #916417; }
.check-footer { padding: 15px 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fcfdfe; }
.check-footer p { margin: 0; color: #64748b; font-size: 11px; line-height: 1.6; }
button { font: inherit; cursor: pointer; }
#refresh { border: 1px solid #dbe3ed; border-radius: 7px; padding: 7px 10px; background: white; color: #526276; font-size: 11px; font-weight: 600; white-space: nowrap; }
#refresh span { font-size: 14px; margin-right: 4px; }
#refresh:hover { background: #f1f5f9; }
#refresh:disabled { cursor: wait; opacity: .55; }
a:focus-visible, button:focus-visible { outline: 3px solid #93b4fb; outline-offset: 4px; }
.about { padding: 0 4px; }
.about h2 { font-size: 13px; margin: 0 0 10px; font-weight: 650; }
.about p { font-size: 12px; color: #64748b; line-height: 1.9; margin: 0 0 10px; max-width: 690px; }
.about a { color: #526782; }
.notice { color: #916417; font-size: 13px; line-height: 1.7; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0 32px; border-top: 1px solid #e2e8f0; font-size: 11px; color: #64748b; }
footer span:first-child { font-weight: 650; color: #526276; }
@media (max-width: 540px) {
  .page { width: calc(100% - 32px); }
  header { padding: 24px 0; }
  .brand { font-size: 19px; }
  .app-link { font-size: 11px; }
  main { padding: 40px 0; }
  .intro { font-size: 14px; }
  .summary { padding: 22px 18px; gap: 14px; }
  .summary h2 { font-size: 16px; }
  .summary-icon { flex-basis: 36px; height: 36px; font-size: 20px; }
  .section-heading, .service { padding: 20px 18px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .service { flex-wrap: wrap; gap: 12px; }
  .service-info { min-width: 180px; }
  .badge { margin-left: 52px; }
  .check-footer { padding: 14px 18px; align-items: flex-start; }
  footer { font-size: 10px; }
}
