:root {
  --bg: #041225;
  --text: #f3f8ff;
  --muted: #b7c7dc;
  --surface: rgba(8, 26, 48, 0.72);
  --stroke: rgba(255, 255, 255, 0.16);
  --accent: #50e3c2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 10%, rgba(80, 227, 194, 0.2), transparent 36%),
    radial-gradient(circle at 88% 15%, rgba(49, 183, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #071931, #031022);
}

a { color: inherit; text-decoration: none; }

.topbar {
  width: min(980px, calc(100% - 2rem));
  margin: 1.1rem auto 0;
  border: 1px solid var(--stroke);
  background: rgba(6, 18, 36, 0.66);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 1.9rem;
  aspect-ratio: 1;
  border-radius: 0.55rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 600;
}

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

.wrap {
  width: min(980px, calc(100% - 2rem));
  margin: 1rem auto 2.4rem;
}

.card {
  border: 1px solid var(--stroke);
  background: var(--surface);
  border-radius: 1.2rem;
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.26);
}

h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-family: "Space Grotesk", sans-serif;
}

h2 {
  margin: 1.4rem 0 0.45rem;
  font-size: 1.08rem;
  color: #d5e6ff;
}

p,
li {
  color: var(--muted);
  line-height: 1.7;
}

ul {
  margin: 0.45rem 0 0;
  padding-left: 1rem;
}

.meta {
  margin: 0.45rem 0 0.2rem;
  color: #8eb5db;
  font-size: 0.88rem;
}

.cta {
  margin-top: 1.2rem;
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(80, 227, 194, 0.18);
  padding: 0.62rem 1rem;
  font-weight: 700;
}

.grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tile {
  border: 1px solid var(--stroke);
  border-radius: 0.9rem;
  background: rgba(7, 22, 42, 0.76);
  padding: 0.95rem;
}

.tile h3 {
  margin: 0;
  font-size: 1rem;
  font-family: "Space Grotesk", sans-serif;
}

.tile p {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
}

.doc-footer {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  text-align: center;
  color: #88a4c2;
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .topbar { border-radius: 1rem; }
  .grid { grid-template-columns: 1fr; }
}
