:root {
  --paper: #f5efe6;
  --ink: #2a1c15;
  --text: #2a1c15;
  --mid: #7a6a5f;
  --line: #e6dccd;
  --c1: #e8735a;
  --c2: #f3b847;
  --c3: #93c29b;
  --c4: #b9a7ee;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1d1612;
    --text: #f5efe6;
    --mid: #a8988c;
    --line: #33291f;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--paper); color: var(--text);
  -webkit-font-smoothing: antialiased; min-height: 100svh;
}
nav {
  display: flex; align-items: center; gap: 8px;
  padding: 24px clamp(16px, 4vw, 48px);
}
nav .home { margin-right: auto; width: 52px; height: 52px; position: relative; display: grid; place-items: center; text-decoration: none; }
nav .home svg { position: absolute; inset: 0; animation: spin 14s linear infinite; }
nav .home b { position: relative; color: var(--ink); font-size: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
nav a.pill {
  font-weight: 500; font-size: 15px; text-decoration: none;
  color: var(--ink); background: var(--c2);
  padding: 10px 18px; border-radius: 999px; transition: border-radius .3s;
}
nav a.pill.s { background: var(--c3); }
nav a.pill:hover { border-radius: 12px; }
nav a.pill[aria-current] { outline: 2px solid var(--text); outline-offset: 2px; }

main { max-width: 760px; margin: 0 auto; padding: clamp(24px, 6vw, 72px) clamp(16px, 4vw, 48px) 96px; }
h1 {
  display: inline-block; font-weight: 700; color: var(--ink);
  font-size: clamp(36px, 7vw, 64px); line-height: 1;
  padding: .28em .55em; border-radius: 999px; margin-bottom: 40px;
}
h2 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
p { color: var(--mid); font-size: 17px; line-height: 1.6; }
.item { padding: 22px 0; border-top: 1px solid var(--line); }
.item:last-child { border-bottom: 1px solid var(--line); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.state {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  padding: 8px 14px; border-radius: 999px;
}
.ok { background: var(--c3); }
.wait { background: var(--c2); }
.down { background: var(--c1); }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.updated { margin-top: 40px; font-size: 14px; }
.legal { display: flex; justify-content: center; gap: 8px; padding: 0 16px 28px; }
.legal a {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 500; font-size: 13px;
  text-decoration: none; color: #2a1c15; background: var(--c4);
  padding: 8px 14px; border-radius: 999px; transition: border-radius .3s;
}
.legal a + a { background: var(--c1); }
.legal a:hover { border-radius: 10px; }
main a { color: var(--text); }
