:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --border: #dde3ea;
  --text: #0f1720;
  --muted: #5b6776;
  --accent: #0a7c86;
  --accent-soft: rgba(10, 124, 134, 0.1);
  --ok: #1e9e5a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1118;
    --surface: #111a24;
    --border: #1f2b38;
    --text: #e6edf3;
    --muted: #8b99a8;
    --accent: #3ec7cf;
    --accent-soft: rgba(62, 199, 207, 0.1);
    --ok: #3ddc84;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.mono { font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; }

.topbar, main, .footer {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.brand-mark { width: 26px; height: 26px; fill: var(--accent); transform: rotate(45deg); }
.zulu {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-variant-numeric: tabular-nums;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }

main { flex: 1; }

.hero { padding-top: 72px; padding-bottom: 56px; max-width: 720px; }
.eyebrow { margin: 0 0 16px; font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 5.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.lede { margin: 0; font-size: 18px; color: var(--muted); max-width: 600px; }

.modules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding-bottom: 72px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--accent); }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.code {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 2px 8px;
}
.tag { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.card h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .topbar, main, .footer { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 40px; padding-bottom: 36px; }
  .lede { font-size: 16px; }
}

.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tag-live { color: var(--accent); }
