:root {
  --font-display: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
}

.brand-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 0.35rem;
  box-shadow: 0 0 0 1px rgba(51, 65, 85, 0.65), 0 6px 14px rgba(2, 6, 23, 0.55);
}

.hero-title {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.03;
  text-wrap: balance;
}

.section-title {
  font-family: var(--font-body);
  letter-spacing: -0.018em;
}

.mesh-bg {
  background:
    radial-gradient(circle at 12% 18%, rgba(45, 212, 191, 0.2), transparent 40%),
    radial-gradient(circle at 88% 4%, rgba(251, 191, 36, 0.15), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.18), transparent 35%),
    #020617;
}

.glass {
  backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.6);
}

.soft-border {
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.card-hover {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.45);
}

.prose-doc p,
.prose-doc li {
  color: rgb(203 213 225);
  line-height: 1.74;
  max-width: 74ch;
}

.prose-doc h2,
.prose-doc h3 {
  font-family: var(--font-display);
}

.prose-doc h2 {
  color: rgb(226 232 240);
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
  font-size: 1.55rem;
}

.prose-doc h3 {
  color: rgb(241 245 249);
  margin-top: 1.5rem;
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.prose-doc code {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(71, 85, 105, 0.45);
  color: rgb(226 232 240);
  border-radius: 0.4rem;
  padding: 0.15rem 0.35rem;
  font-size: 0.9em;
}

.prose-doc pre {
  background: rgba(2, 6, 23, 0.92);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 0.75rem;
  padding: 1rem;
  overflow: auto;
  line-height: 1.55;
  font-size: 0.95rem;
}

.prose-doc pre code {
  border: none;
  background: transparent;
  padding: 0;
}

.breadcrumb a {
  color: rgb(148 163 184);
}

.breadcrumb a:hover {
  color: rgb(45 212 191);
}

.callout {
  border-left: 3px solid rgb(45 212 191);
  background: rgba(15, 23, 42, 0.7);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
  border-bottom: 1px solid rgba(71, 85, 105, 0.35);
  padding: 0.8rem;
  vertical-align: top;
}

.table-wrap th {
  text-align: left;
  color: rgb(226 232 240);
  font-weight: 700;
}

.table-wrap td {
  color: rgb(203 213 225);
}


.doc-title {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(15, 23, 42, 0.45);
}


.prose-doc {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.66), rgba(2, 6, 23, 0.42));
  border: 1px solid rgba(71, 85, 105, 0.32);
  border-radius: 1.15rem;
  padding: clamp(1rem, 2vw, 2rem);
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.45);
}

@media (min-width: 768px) {
  .prose-doc {
    padding: 1.75rem 2.25rem;
  }
}

.prose-doc > :first-child {
  margin-top: 0;
}
