:root {
  --bg: #090b10;
  --surface: #11141b;
  --surface-2: #171b24;
  --border: rgba(255,255,255,.08);
  --text: #f4f6fb;
  --muted: #9198aa;
  --accent: #8d7dff;
  --accent-soft: rgba(141,125,255,.13);
  --green: #33d17a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background:
    radial-gradient(
      circle at top right,
      rgba(141,125,255,.13),
      transparent 28%
    ),
    var(--bg);

  color: var(--text);
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 50px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 9px;
}

h1 {
  font-size: clamp(25px, 5vw, 40px);
  letter-spacing: -.04em;
  margin: 0;
}

.subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.server-status {
  white-space: nowrap;
  padding: 11px 15px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
  font-size: 12px;
  font-weight: 800;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 7px;
  box-shadow: 0 0 15px rgba(51,209,122,.8);
}

.welcome {
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 34px;
  margin-bottom: 40px;

  background:
    linear-gradient(
      135deg,
      rgba(141,125,255,.12),
      rgba(255,255,255,.02)
    );
}

.badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(141,125,255,.25);
  padding: 8px 11px;
  border-radius: 999px;
}

.welcome h2 {
  max-width: 760px;
  font-size: clamp(27px, 5vw, 47px);
  letter-spacing: -.045em;
  line-height: 1.07;
  margin: 20px 0 15px;
}

.welcome p {
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h3 {
  font-size: 22px;
  margin: 0 0 5px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

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

.card {
  min-height: 175px;
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 21px;
  background: var(--surface);
  transition:
    transform .15s ease,
    border-color .15s ease,
    background .15s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(141,125,255,.28);
  background: var(--surface-2);
}

.card.active {
  border-color: rgba(141,125,255,.25);
}

.icon {
  width: 49px;
  height: 49px;
  flex: 0 0 49px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.05);
  border-radius: 15px;
  font-size: 22px;
}

.content {
  padding-right: 76px;
}

.content h4 {
  margin: 2px 0 9px;
  font-size: 18px;
}

.content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.pill {
  position: absolute;
  right: 18px;
  top: 18px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  border-radius: 999px;
}

.pill.development {
  color: var(--accent);
  border-color: rgba(141,125,255,.25);
  background: var(--accent-soft);
}

footer {
  padding: 40px 5px 5px;
  color: #62697a;
  text-align: center;
  font-size: 12px;
  letter-spacing: .08em;
}

footer span {
  margin: 0 7px;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 22px, 1180px);
    padding-top: 24px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .server-status {
    align-self: flex-start;
  }

  .welcome {
    padding: 25px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 165px;
  }
}
