:root {
  --bg: #0b1020;
  --panel: #121932;
  --panel-soft: #18213f;
  --text: #edf2ff;
  --muted: #b8c2e0;
  --line: #2a355f;
  --accent: #8fb3ff;
  --accent-strong: #c6d7ff;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #0b1020 0%, #101735 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100%;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  padding: 12px 0;
}

.brand {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero,
.content {
  display: grid;
  gap: 24px;
}

.card {
  background: rgba(18, 25, 50, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.hero-card h1,
.content h1 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 2.6rem;
  line-height: 1.1;
}

.eyebrow {
  margin: 0 0 12px 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 14px;
}

.body-text,
.note,
.card p,
.card li,
.subtle {
  color: var(--muted);
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.button {
  display: inline-block;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.primary {
  background: var(--accent);
  color: #081021;
  border-color: var(--accent);
}

.secondary {
  background: transparent;
  color: var(--text);
}

.directory-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.demo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(24, 33, 63, 0.9);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.demo-link:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: var(--accent);
}

.site-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .page {
    padding: 18px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
  }

  .hero-card h1,
  .content h1 {
    font-size: 2rem;
  }

  .card {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}
