:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #182230;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  padding: 32px 20px;
  display: grid;
  place-content: center;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 107, 53, .13), transparent 32rem),
    radial-gradient(circle at 90% 85%, rgba(0, 82, 136, .12), transparent 30rem),
    #f5f7fb;
}

.card {
  width: min(620px, calc(100vw - 40px));
  padding: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

.brand { display: flex; align-items: center; gap: 16px; }

.logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 18px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #ff6b35, #e85a28);
  box-shadow: 0 10px 25px rgba(232, 90, 40, .28);
}

.eyebrow {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 { margin: 0; font-size: clamp(24px, 5vw, 34px); line-height: 1.15; }

.status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 24px;
  padding: 18px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.status p { margin: 4px 0 0; color: #64748b; font-size: 14px; }

.status-dot {
  width: 13px;
  height: 13px;
  flex: none;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, .15);
}

.status-dot.ok { background: #16a34a; box-shadow: 0 0 0 6px rgba(22, 163, 74, .15); }
.status-dot.error { background: #dc2626; box-shadow: 0 0 0 6px rgba(220, 38, 38, .15); }
.status-dot.checking { animation: pulse 1.2s ease-in-out infinite; }

@keyframes pulse { 50% { opacity: .45; } }

.details { margin: 0; border-top: 1px solid #e2e8f0; }
.details div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid #e2e8f0; }
.details dt { color: #64748b; }
.details dd { margin: 0; text-align: right; font-weight: 650; }

nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
nav a {
  padding: 11px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #334155;
  font-weight: 700;
  text-decoration: none;
}
nav a.primary { color: #fff; border-color: #e85a28; background: #e85a28; }
nav a:hover { transform: translateY(-1px); }

footer { margin-top: 18px; color: #64748b; font-size: 13px; text-align: center; }

@media (max-width: 520px) {
  body { padding: 20px 12px; }
  .card { width: calc(100vw - 24px); padding: 24px 20px; }
  .details div { flex-direction: column; gap: 3px; }
  .details dd { text-align: left; }
}
