/* Status page + privacy / terms (black and white, soft inset lines) */

/* ── status ─────────────────────────────────────────────── */
.st-hero { padding: 150px 0 28px; }
body.has-announce .st-hero { padding-top: 190px; }
.st-state { display: flex; align-items: center; gap: 18px; padding: 26px 28px; border-radius: 22px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.st-state h1 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.02em; margin: 0; color: #fafafa; }
.st-state p { margin: 4px 0 0; color: #a1a1aa; font-size: 15px; }
.st-dot { width: 16px; height: 16px; border-radius: 50%; flex: none; background: #52525b; position: relative; }
.st-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; color: inherit; }
.st-state[data-state="up"] .st-dot { background: #4ade80; color: #4ade80; }
.st-state[data-state="up"] .st-dot::after { animation: st-ping 2.4s ease-out infinite; }
.st-state[data-state="maintenance"] .st-dot { background: #fbbf24; }
.st-state[data-state="down"] .st-dot { background: #f87171; }
@keyframes st-ping { 0% { opacity: .55; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }

.st-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.st-card { display: grid; gap: 4px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.st-card small { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #71717a; }
.st-card small i { font-size: 11px; }
.st-card b { font-size: 30px; letter-spacing: -.02em; color: #fafafa; font-variant-numeric: tabular-nums; }
.st-card > span { font-size: 13px; color: #a1a1aa; }

.st-parts { margin: 28px 0 80px; display: grid; gap: 8px; }
.st-parts h2 { font-size: 15px; color: #a1a1aa; font-weight: 600; margin: 0 0 6px; }
.st-part { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.st-part > i { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #e4e4e7; font-size: 14px; }
.st-part > div { flex: 1; min-width: 0; }
.st-part b { display: block; color: #fafafa; font-size: 15px; }
.st-part span { display: block; color: #a1a1aa; font-size: 13px; }
.st-part em { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; color: #a1a1aa; background: rgba(255, 255, 255, .05); }
.st-part em.ok { color: #86efac; background: rgba(74, 222, 128, .1); }
.st-part em.warn { color: #fcd34d; background: rgba(251, 191, 36, .1); }
.st-part em.bad { color: #fca5a5; background: rgba(248, 113, 113, .1); }
.st-note { margin: 10px 2px 0; color: #71717a; font-size: 13px; }
.st-note a { color: #e4e4e7; }

@media (max-width: 860px) { .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .st-state { padding: 20px; } .st-card b { font-size: 24px; } }

/* ── privacy + terms ────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 150px 0 96px; color: #d4d4d8; font-size: 16px; line-height: 1.7; }
.legal-kicker { font-size: 13px; color: #71717a; margin: 0 0 10px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -.025em; color: #fafafa; margin: 0 0 16px; line-height: 1.1; }
.legal-lead { font-size: 18px; color: #a1a1aa; margin: 0 0 12px; }
.legal h2 { font-size: 20px; color: #fafafa; margin: 40px 0 10px; letter-spacing: -.01em; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal li::marker { color: #52525b; }
.legal a { color: #fafafa; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.legal code { font-size: 14px; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: #e4e4e7; }
body.has-announce .legal { padding-top: 190px; }
@media (max-width: 760px) { .st-hero, .legal { padding-top: 130px; } body.has-announce .st-hero, body.has-announce .legal { padding-top: 160px; } }
