:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #f1f3f8;
  --text: #172033;
  --text-2: #536071;
  --text-3: #7b8798;
  --line: #e4e8ef;
  --brand: #0a84ff;
  --brand-soft: rgba(10, 132, 255, 0.09);
  --green: #18a66a;
  --green-soft: rgba(24, 166, 106, 0.11);
  --yellow: #c8870a;
  --yellow-soft: rgba(200, 135, 10, 0.12);
  --red: #dc4b45;
  --red-soft: rgba(220, 75, 69, 0.11);
  --gray-soft: rgba(123, 135, 152, 0.13);
  --shadow: 0 1px 2px rgba(20, 30, 50, 0.04), 0 8px 24px -18px rgba(20, 30, 50, 0.3);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 520px at 50% -180px, #e8f1ff 0%, var(--bg) 60%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.top { border-bottom: 1px solid rgba(228, 232, 239, 0.8); background: rgba(247, 248, 251, 0.82); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.top-inner { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; letter-spacing: -0.02em; }
.brand img { border-radius: 8px; }
.brand b { font-weight: 800; }
.brand em { color: var(--brand); font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: 0.04em; vertical-align: super; }
.nav { display: flex; gap: 18px; margin-left: auto; font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.nav a:hover { color: var(--brand); }
.lang select { border: 1px solid var(--line); background: var(--surface); color: var(--text-2); border-radius: 8px; padding: 7px 9px; font-size: 12px; cursor: pointer; }
.main { padding: 52px 0 44px; }
.hero { max-width: 720px; margin-bottom: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
h1 { font-size: clamp(32px, 5.5vw, 54px); line-height: 1.06; letter-spacing: -0.045em; margin: 14px 0 14px; }
.lead { font-size: 15.5px; color: var(--text-2); max-width: 620px; margin: 0; }
.hero-meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; color: var(--text-3); font-size: 12px; }
.btn { border: 1px solid var(--line); background: var(--surface); color: var(--text-2); border-radius: 9px; padding: 8px 12px; font-size: 12px; font-weight: 650; cursor: pointer; box-shadow: var(--shadow); }
.btn:hover { border-color: #cdd6e2; color: var(--brand); }
.summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); margin-bottom: 34px; }
.summary b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.summary span:not(.pulse) { color: var(--text-3); font-size: 12px; }
.summary .pulse { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px var(--green-soft); flex: none; }
.summary.degraded .pulse { background: var(--yellow); box-shadow: 0 0 0 6px var(--yellow-soft); }
.summary.outage .pulse { background: var(--red); box-shadow: 0 0 0 6px var(--red-soft); }
.summary.loading .pulse { background: var(--text-3); box-shadow: 0 0 0 6px var(--gray-soft); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
.section { margin-top: 30px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.section-head h2 { font-size: 19px; letter-spacing: -0.025em; margin: 0 0 4px; }
.section-head p { margin: 0; color: var(--text-3); font-size: 12.5px; max-width: 720px; }
.opensender-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); }
.opensender-card .badge { margin-left: auto; }
.opensender-card .name { font-weight: 750; font-size: 15px; letter-spacing: -0.01em; }
.opensender-card .url { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--text-3); margin-top: 3px; }
.opensender-card .metrics { display: flex; gap: 18px; color: var(--text-3); font-size: 11.5px; }
.opensender-card .metrics b { color: var(--text-2); font-weight: 700; }
.provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.provider-card { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); min-width: 0; }
.provider-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; flex: none; }
.provider-copy { min-width: 0; flex: 1; }
.provider-copy b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.provider-copy span { display: block; font-size: 10.5px; color: var(--text-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 750; white-space: nowrap; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.operational { color: var(--green); background: var(--green-soft); }
.badge.degraded { color: var(--yellow); background: var(--yellow-soft); }
.badge.outage { color: var(--red); background: var(--red-soft); }
.badge.self-hosted { color: var(--text-3); background: var(--gray-soft); }
.badge.unknown { color: var(--text-3); background: var(--gray-soft); }
.notes { display: grid; grid-template-columns: 1.45fr 1fr; gap: 12px; margin-top: 38px; }
.note-card { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.62); padding: 16px 18px; }
.note-card h3 { margin: 0 0 6px; font-size: 12.5px; letter-spacing: -0.01em; }
.note-card p { margin: 0; color: var(--text-3); font-size: 11.5px; line-height: 1.65; }
.legend { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 10px; }
.legend > span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot.operational { background: var(--green); }
.dot.degraded { background: var(--yellow); }
.dot.outage { background: var(--red); }
.dot.self-hosted { background: var(--text-3); }
.foot { border-top: 1px solid var(--line); margin-top: 36px; padding: 20px 0 28px; }
.foot-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--text-3); font-size: 11.5px; }
.foot a:hover { color: var(--brand); }
.skeleton { background: linear-gradient(90deg, var(--surface-2), #fafbfd, var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 8px; color: transparent !important; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 900px) {
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notes { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .top-inner { gap: 10px; min-height: 58px; }
  .nav { display: none; }
  .lang { margin-left: auto; }
  .main { padding-top: 34px; }
  .hero { margin-bottom: 20px; }
  .lead { font-size: 14px; }
  .summary { margin-bottom: 26px; }
  .provider-grid { grid-template-columns: 1fr; }
  .opensender-card { align-items: flex-start; flex-wrap: wrap; }
  .opensender-card .badge { margin-left: 0; }
  .opensender-card .metrics { width: 100%; justify-content: space-between; }
  .section-head { align-items: flex-start; }
  .foot-inner { flex-direction: column; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #13171f; --surface: #1b202a; --surface-2: #222936; --text: #f2f5fa;
    --text-2: #b4bfce; --text-3: #8793a4; --line: #2b3442;
    --brand: #6db2ff; --brand-soft: rgba(109, 178, 255, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 28px -18px rgba(0, 0, 0, 0.8);
  }
  body { background: radial-gradient(1200px 520px at 50% -180px, #1a2a44 0%, var(--bg) 60%); }
  .top { background: rgba(19, 23, 31, 0.82); }
  .note-card { background: rgba(27, 32, 42, 0.62); }
}
