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

html,
body {
  margin: 0;
  padding: 0;
}

/* Body & layout */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #0b1016;
  color: #e7edf5;
}

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

/* Header */
.site-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #18a4ff, #7c5cff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.brand-text h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.tagline {
  margin: 2px 0 0;
  font-size: 14px;
  opacity: 0.75;
}

.last-updated {
  margin: 12px 0 0;
  font-size: 13px;
  opacity: 0.8;
}

/* Cards */
.card {
  background: rgba(14, 20, 30, 0.96);
  border-radius: 14px;
  padding: 18px 18px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 19px;
  color: #f3f6fb;
}

.card h3 {
  margin-top: 12px;
  margin-bottom: 6px;
  font-size: 15px;
  color: #e2e7f3;
}

.card p {
  margin: 4px 0 8px;
  color: #c8d2e4;
  font-size: 14px;
}

.card ul,
.card ol {
  margin: 6px 0 8px 20px;
  padding: 0;
  color: #c8d2e4;
  font-size: 14px;
}

.card li {
  margin: 3px 0;
}

/* TOC */
.toc ol {
  columns: 1;
  column-gap: 24px;
}

@media (min-width: 720px) {
  .toc ol {
    columns: 2;
  }
}

/* Links */
a {
  color: #4cb7ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 13px;
  color: #95a3bf;
}

/* Small screens */
@media (max-width: 600px) {
  .page {
    padding: 18px 12px 32px;
  }

  .card {
    padding: 16px 14px 14px;
  }

  .brand-text h1 {
    font-size: 19px;
  }

  .tagline {
    font-size: 13px;
  }
}
