:root {
  --bdo-slate: #5b6e7f;
  --bdo-red: #e81a3b;
  --bdo-dark: #18222b;
  --bdo-light: #f6f8fa;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(232, 26, 59, 0.08), transparent 30%),
    radial-gradient(circle at right, rgba(91, 110, 127, 0.12), transparent 25%),
    #ffffff;
}

.brand-slate {
  color: var(--bdo-slate);
}

.brand-red {
  color: var(--bdo-red);
}

.bg-brand-red {
  background-color: var(--bdo-red);
}

.bg-brand-slate {
  background-color: var(--bdo-slate);
}

.bg-brand-dark {
  background-color: var(--bdo-dark);
}

.border-brand-red {
  border-color: var(--bdo-red);
}

.shadow-soft {
  box-shadow: 0 20px 45px rgba(24, 34, 43, 0.08);
}

.card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 45px rgba(24, 34, 43, 0.06);
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--bdo-dark);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(232, 26, 59, 0.18);
  background: rgba(232, 26, 59, 0.05);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bdo-red);
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(135deg, rgba(232, 26, 59, 0.06), rgba(91, 110, 127, 0.06)),
    rgba(255, 255, 255, 0.92);
}

.metric-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.5rem;
  background: white;
  padding: 1.5rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 1rem;
  background: white;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid rgba(226, 232, 240, 1);
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: rgba(246, 248, 250, 1);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bdo-slate);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.checklist li,
.framework-list li {
  position: relative;
  padding-left: 1.5rem;
}

.checklist li::before,
.framework-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  height: 0.45rem;
  width: 0.45rem;
  border-radius: 999px;
  background: var(--bdo-red);
}

.page-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .page-grid {
    grid-template-columns: 17rem minmax(0, 1fr);
  }
}

.toc {
  position: sticky;
  top: 6.5rem;
  align-self: start;
}

.toc a {
  display: block;
  border-radius: 0.9rem;
  padding: 0.7rem 0.9rem;
  color: var(--bdo-slate);
  transition: all 0.2s ease;
}

.toc a:hover,
.toc a.active {
  background: rgba(232, 26, 59, 0.08);
  color: var(--bdo-red);
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(91, 110, 127, 0.08);
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bdo-slate);
}

.dark-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}
