* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #182230;
  --muted: #5f6c7b;
  --line: #dce3ea;
  --accent: #0f6bff;
  --accent-dark: #0846a3;
  --ok: #137a43;
  --warn: #9a5b00;
  --bad: #b42318;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.topbar-inner,
.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #b8c6d8;
  border-radius: 7px;
  background: #eef4ff;
  color: var(--accent-dark);
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  padding: 64px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 760;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

p {
  margin: 0 0 14px;
}

.lead {
  max-width: 720px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 7px;
  padding: 9px 14px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  border-color: #b8c6d8;
  background: #ffffff;
  color: var(--text);
}

.preview {
  overflow: hidden;
  border: 1px solid #cfd9e6;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 38px rgba(24, 34, 48, 0.12);
}

.preview-head {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border-bottom: 1px solid var(--line);
  padding: 0 12px;
  background: #eef2f7;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #bac7d5;
}

.preview-body {
  padding: 18px;
}

.plugin-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}

.plugin-line:last-child {
  border-bottom: 0;
}

.label {
  color: var(--muted);
  font-size: 13px;
}

.value {
  font-weight: 760;
}

.pill {
  border-radius: 999px;
  padding: 3px 9px;
  background: #eef4ff;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.section {
  padding: 28px 0;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.plain-list {
  margin: 0;
  padding-left: 20px;
}

.plain-list li {
  margin: 8px 0;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.status-cell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
}

.metric {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  font-weight: 800;
}

.ok {
  color: var(--ok);
}

.warn {
  color: var(--warn);
}

.bad {
  color: var(--bad);
}

.page {
  padding: 42px 0 56px;
}

.text-block {
  max-width: 860px;
}

.muted {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .hero-grid,
  .cols,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav {
    justify-content: flex-start;
  }
}
