:root {
  --bg: #02030a;
  --bg-alt: #0c1020;
  --accent: #4dd0e1;
  --accent-soft: #a7ffeb;
  --text: #f5f5f5;
  --muted: #a0a5b1;
  --border: #282f3f;
  --pill-degraded: #ffb74d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #182542 0, #02030a 55%);
  color: var(--text);
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(2, 3, 10, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.brand-name {
  font-weight: 600;
  font-size: 1rem;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--muted);
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.9rem;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

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

.main-nav a:hover::after {
  width: 100%;
}

.site-main {
  padding: 1.75rem 0 3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.hero-content p {
  color: var(--muted);
  max-width: 34rem;
}

.hero-sub {
  margin-top: 0.75rem;
}

.hero-side {
  display: flex;
  justify-content: center;
}

.hero-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: radial-gradient(circle at top, #111830, #050713 60%);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.6);
}

.hero-card h2 {
  margin-top: 0;
}

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

.hero-card ul {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

/* Sections */

.grid-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.grid-item h2 {
  margin-bottom: 0.5rem;
}

.grid-item p {
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.bullet-list {
  padding-left: 1.1rem;
  color: var(--muted);
}

.callout {
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top left, rgba(77, 208, 225, 0.12), transparent 60%);
}

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

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 1.75rem;
  background: #02030a;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
}

.footer-meta {
  text-align: right;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-copy {
  margin-top: 0.25rem;
}

/* Status pill */

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
}

.status-degraded {
  background: rgba(255, 183, 77, 0.15);
  border-color: rgba(255, 183, 77, 0.5);
  color: #ffe0b2;
}

/* Utility */

.small-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
