:root {
  color-scheme: dark;
  --bg: #07101d;
  --panel: #101b2c;
  --panel-2: #15243a;
  --text: #edf4ff;
  --muted: #a8b7cc;
  --line: #293c58;
  --blue: #6ca9ff;
  --green: #6bd8a0;
  --yellow: #f2ca68;
  --red: #ff8585;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 0%, #19345f 0, transparent 36%),
    radial-gradient(circle at 10% 40%, #10294a 0, transparent 34%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.shell {
  width: min(1160px, calc(100% - 34px));
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(41, 60, 88, 0.8);
  background: rgba(7, 16, 29, 0.88);
  backdrop-filter: blur(18px);
}

nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(145deg, #203d69, #0e1e35);
}

.links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

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

.hero {
  padding: 105px 0 76px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: rgba(107, 216, 160, 0.08);
  font-size: 14px;
  font-weight: 750;
}

h1 {
  max-width: 920px;
  margin: 24px 0 20px;
  font-size: clamp(43px, 8vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h2 {
  margin-top: 0;
  font-size: clamp(29px, 5vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h3 {
  margin-top: 0;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
}

.actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-block;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--blue);
  color: #06111f;
  text-decoration: none;
  font-weight: 850;
}

.button.secondary {
  background: var(--panel-2);
  color: var(--text);
  border-color: var(--line);
}

.button.disabled {
  cursor: not-allowed;
  background: #536175;
  color: #d5dce6;
}

section {
  padding: 72px 0;
}

.grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(245px, 1fr));
  gap: 18px;
}

.card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(16, 27, 44, 0.9);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
}

.card p,
.muted {
  color: var(--muted);
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.status-row:last-child {
  border-bottom: 0;
}

.good {
  color: var(--green);
}

.warning {
  color: var(--yellow);
}

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

.code {
  overflow-wrap: anywhere;
  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;
  font-size: 13px;
}

.notice {
  border-left: 4px solid var(--yellow);
}

footer {
  margin-top: 70px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 760px) {
  nav {
    padding: 15px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .links {
    gap: 12px;
  }

  .hero {
    padding-top: 76px;
  }
}
