/* status.kinematrice.com, in the KineMatrice website's look (site/site.css). */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #050c0b;
  --text: #eef5f3;
  --text-2: #a9b8b4;
  --text-3: #74847f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --brand: #19a593;
  --mint: #5fe0cb;
  --accent: #d0ff1a;
  --good: #2fcf8f;
  --minor: #b8e04a;
  --warn: #f2b33d;
  --bad: #f2555a;
  --none: rgba(255, 255, 255, 0.1);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  --r: 22px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; font-family: var(--font); color: var(--text); line-height: 1.55;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(25, 165, 147, 0.22), transparent 60%),
    radial-gradient(700px 420px at 100% 0%, rgba(124, 200, 255, 0.1), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, p { margin: 0; }
.muted { color: var(--text-2); }

.wrap { max-width: 860px; margin: 0 auto; padding: 28px 16px 48px; display: flex; flex-direction: column; gap: 18px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 8px; }
.logo img { height: 34px; width: auto; display: block; }
.top-title { color: var(--text-2); font-weight: 600; font-size: 15px; }

section, article { border: 1px solid var(--line); border-radius: var(--r); background: var(--glass); }

.headline { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; }
.headline h1 { font-size: clamp(20px, 3.6vw, 26px); line-height: 1.25; letter-spacing: -0.01em; }
.headline p { color: var(--text-2); margin-top: 6px; font-size: 14.5px; }
.headline .dot { flex: none; width: 14px; height: 14px; margin-top: 7px; border-radius: 50%; background: var(--none); }
.headline.good { border-color: rgba(47, 207, 143, 0.35); }
.headline.good .dot { background: var(--good); box-shadow: 0 0 0 6px rgba(47, 207, 143, 0.14); }
.headline.bad { border-color: rgba(242, 85, 90, 0.45); background: linear-gradient(180deg, rgba(242, 85, 90, 0.12), rgba(242, 85, 90, 0.03)); }
.headline.bad .dot { background: var(--bad); box-shadow: 0 0 0 6px rgba(242, 85, 90, 0.16); }
.headline.warn { border-color: rgba(242, 179, 61, 0.45); }
.headline.warn .dot { background: var(--warn); box-shadow: 0 0 0 6px rgba(242, 179, 61, 0.16); }

.notice { padding: 18px 24px; border-color: rgba(208, 255, 26, 0.35); }
.notice h2 { font-size: 15px; font-weight: 700; color: var(--accent); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.notice h2 span { color: var(--text-3); font-weight: 500; font-size: 13px; }
.notice p { margin-top: 6px; color: var(--text); }

.services { border: none; background: none; display: flex; flex-direction: column; gap: 12px; }
.service { padding: 18px 22px 14px; }
.service-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.service h2 { font-size: 17px; font-weight: 700; }
.service-head p { color: var(--text-2); font-size: 13.5px; margin-top: 2px; }
.pill { flex: none; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill.good { color: var(--good); background: rgba(47, 207, 143, 0.12); }
.pill.bad { color: #ff8a8d; background: rgba(242, 85, 90, 0.14); }
.pill.none { color: var(--text-2); background: var(--none); }

.bars { list-style: none; margin: 14px 0 8px; padding: 0; display: flex; gap: 2px; height: 34px; }
.bars li { flex: 1; min-width: 0; border-radius: 3px; background: var(--none); }
.bars li.good { background: var(--good); }
.bars li.minor { background: var(--minor); }
.bars li.warn { background: var(--warn); }
.bars li.bad { background: var(--bad); }
.bars li:hover { opacity: 0.7; }
.bars-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--text-3); }
.bars-foot > span:nth-child(2) { color: var(--text-2); font-weight: 600; text-align: center; }
.short { display: none; }

.outages { padding: 18px 24px; }
.outages h2 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.outages ul { margin: 0; padding: 0; list-style: none; }
.outages li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 14.5px; }
.outages li:first-child { border-top: none; }
.outages li.ongoing { color: #ff8a8d; font-weight: 600; }

.foot { border: none; background: none; text-align: center; color: var(--text-3); font-size: 13px; display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }

/* Phones: the last 30 days, so each day stays wide enough to see. */
@media (max-width: 600px) {
  .wrap { padding-top: 18px; }
  .headline, .service, .outages, .notice { padding-left: 16px; padding-right: 16px; }
  .bars li:nth-child(-n + 60) { display: none; }
  .long { display: none; }
  .short { display: inline; }
  .service-head { flex-direction: column; gap: 8px; }
  .logo img { height: 28px; }
}
