/* Legal pages and the status page */
.doc { padding: 56px 0 0; animation: doc-in .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes doc-in { from { opacity: 0; transform: translateY(16px); } }
.doc h1 { font-size: clamp(28px, 4vw, 38px); margin: 12px 0 24px; }
.doc h2 { font-size: 19px; margin: 36px 0 12px; }
.doc p, .doc li { color: var(--muted); }
.doc li { margin: 6px 0; }
.doc li b, .doc p b { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc .link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.doc .warn { border-left: 3px solid var(--warn); padding: 14px 18px; background: rgba(251,191,36,.06); border-radius: 0 12px 12px 0; color: var(--text); }
.doc .draft { padding: 10px 14px; border-radius: 12px; border: 1px dashed rgba(251,191,36,.4); background: rgba(251,191,36,.06); color: var(--warn); font-size: 13.5px; font-weight: 600; }

.st-hero { display: flex; gap: 24px; align-items: center; padding: 28px; margin: 14px 0 22px; }
.st-hero h1 { margin: 0 0 6px; font-size: clamp(24px, 3.4vw, 32px); }
.st-hero p { margin: 0; font-size: 14.5px; }
.st-orb { position: relative; width: 64px; height: 64px; flex: none; display: grid; place-items: center; --c: var(--ok); }
.st-degraded .st-orb { --c: var(--warn); }
.st-down .st-orb { --c: var(--bad); }
.st-orb b { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: 0 0 24px var(--c); }
.st-orb i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c); opacity: 0; animation: st-wave 2.4s ease-out infinite; }
.st-orb i:nth-child(2) { animation-delay: 1.2s; }
@keyframes st-wave { from { transform: scale(.35); opacity: .7; } to { transform: scale(1); opacity: 0; } }

.st-list { display: grid; gap: 10px; }
.st-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; animation: doc-in .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 60ms + 120ms); transition: border-color .25s, transform .25s; }
.st-row:hover { border-color: var(--line-strong); transform: translateX(4px); }
.st-name { display: grid; margin-right: auto; line-height: 1.35; }
.st-name span { font-size: 13.5px; }
.st-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--dim); }
.st-dot.st-ok { background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.st-dot.st-degraded { background: var(--warn); box-shadow: 0 0 12px var(--warn); }
.st-dot.st-down { background: var(--bad); box-shadow: 0 0 12px var(--bad); }
.st-dot.st-soon { background: var(--info); }
.st-foot { font-size: 13.5px; margin-top: 18px; }

@media (max-width: 560px) {
  .st-hero { flex-direction: column; align-items: flex-start; }
  .st-row { flex-wrap: wrap; }
}
