:root {
  --bg: #101218;
  --bg-soft: #161b24;
  --panel: #1e2430;
  --panel-soft: #242c3a;
  --border: #364055;
  --text: #e9eef8;
  --muted: #9aa7bf;
  --accent: #58c4ff;
  --accent-2: #6fffb0;
  --danger: #ff6b6b;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: radial-gradient(
      1200px 560px at 10% -10%,
      rgba(88, 196, 255, 0.16),
      transparent 55%
    ),
    radial-gradient(
      1200px 600px at 110% -20%,
      rgba(111, 255, 176, 0.14),
      transparent 55%
    ),
    linear-gradient(180deg, #0d0f14 0%, #121620 100%);
}

.landing {
  width: min(1200px, 94vw);
  margin: 0 auto;
  padding: 36px 0 56px;
}

.landing-header h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: 0.02em;
}

.landing-header p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 860px;
}

.systems-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.system-card {
  text-decoration: none;
  color: inherit;
  display: block;
  background: linear-gradient(180deg, var(--panel) 0%, #1a202b 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.system-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
}

.system-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.system-card-head h2 {
  margin: 0;
  font-size: 18px;
}

.system-description {
  margin: 10px 0 14px;
  color: #d2dbeb;
  font-size: 13px;
  line-height: 1.55;
}

.system-meta {
  margin: 0;
  display: grid;
  gap: 8px;
}

.system-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}

.system-meta dt {
  color: var(--muted);
  font-size: 12px;
}

.system-meta dd {
  margin: 0;
  text-align: right;
  font-size: 13px;
  color: var(--text);
}

.system-card-error {
  border-color: rgba(255, 107, 107, 0.55);
  background: linear-gradient(180deg, #2b1f23 0%, #201619 100%);
}

.system-card-error .system-description {
  color: #ffb6b6;
}

@media (max-width: 700px) {
  .landing {
    width: min(1200px, 92vw);
    padding: 24px 0 36px;
  }

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