:root {
  --bgh-bg: #f6f7f8;
  --bgh-surface: #ffffff;
  --bgh-surface-muted: #f1f3f5;
  --bgh-text: #101214;
  --bgh-muted: #5f6872;
  --bgh-border: #d9dde2;
  --bgh-border-strong: #bcc3ca;
  --bgh-accent: #111827;
  --bgh-success: #17663a;
  --bgh-warning: #8a5a00;
  --bgh-radius-sm: 6px;
  --bgh-radius-md: 10px;
  --bgh-shadow: 0 12px 32px rgba(16, 18, 20, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--bgh-text);
  background: var(--bgh-bg);
  font-size: 15px;
  line-height: 1.55;
}

a { color: var(--bgh-accent); text-underline-offset: 3px; }
a:hover { color: #000; }

.text-balance { text-wrap: balance; }
.py-lg-6 { padding-top: 5.5rem; padding-bottom: 5.5rem; }

.site-header { backdrop-filter: saturate(180%) blur(12px); }
.navbar-brand { font-weight: 800; letter-spacing: -0.03em; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  border: 1px solid var(--bgh-text);
  border-radius: var(--bgh-radius-sm);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.nav-link { color: var(--bgh-muted); font-weight: 600; }
.nav-link:hover, .nav-link.active { color: var(--bgh-text); }

.btn {
  border-radius: var(--bgh-radius-sm);
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .78rem 1.1rem; font-size: .98rem; }
.btn-dark { background: var(--bgh-text); border-color: var(--bgh-text); }
.btn-dark:hover { box-shadow: 0 8px 18px rgba(16, 18, 20, .16); }

.hero-section { background: var(--bgh-surface); }
.eyebrow {
  color: var(--bgh-muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lead { font-size: 1.08rem; }
.hero-meta span {
  display: inline-flex;
  border: 1px solid var(--bgh-border);
  background: var(--bgh-surface-muted);
  border-radius: 999px;
  color: var(--bgh-muted);
  font-weight: 700;
  font-size: .78rem;
  padding: .36rem .62rem;
}

.panel-card,
.feature-card,
.trust-card,
.opportunity-card {
  background: var(--bgh-surface);
  border: 1px solid var(--bgh-border);
  border-radius: var(--bgh-radius-md);
  box-shadow: var(--bgh-shadow);
}
.panel-card { padding: 1.25rem; }
.feature-card, .trust-card, .opportunity-card { padding: 1rem; }
.feature-card p { font-size: .92rem; }
.section-muted { background: var(--bgh-surface-muted); }
.status-pill,
.type-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--bgh-border);
  border-radius: 999px;
  background: var(--bgh-surface-muted);
  color: var(--bgh-muted);
  font-weight: 800;
  font-size: .72rem;
  line-height: 1;
  padding: .34rem .5rem;
}

.pipeline-list {
  list-style: none;
  counter-reset: pipeline;
  padding-left: 0;
}
.pipeline-list li {
  counter-increment: pipeline;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: .65rem;
  padding: .75rem 0;
  border-top: 1px solid var(--bgh-border);
}
.pipeline-list li:first-child { border-top: 0; }
.pipeline-list li::before {
  content: counter(pipeline);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bgh-text);
  color: #fff;
  border-radius: var(--bgh-radius-sm);
  font-size: .8rem;
  font-weight: 800;
}
.pipeline-list strong { display: block; font-size: .92rem; }
.pipeline-list span { display: block; color: var(--bgh-muted); font-size: .86rem; }

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.roadmap-grid div {
  padding: .9rem;
  border: 1px solid var(--bgh-border);
  background: var(--bgh-surface);
  border-radius: var(--bgh-radius-md);
}
.roadmap-grid strong, .roadmap-grid span { display: block; }
.roadmap-grid span { color: var(--bgh-muted); font-size: .9rem; margin-top: .25rem; }

.trust-card { min-height: 92px; color: var(--bgh-muted); font-weight: 600; }
.empty-state {
  border: 1px dashed var(--bgh-border-strong);
  border-radius: var(--bgh-radius-md);
  background: var(--bgh-surface-muted);
  color: var(--bgh-muted);
  padding: 1rem;
  font-weight: 600;
}
.compact-list .list-group-item { background: transparent; border-color: var(--bgh-border); }

.form-label { font-weight: 800; font-size: .84rem; }
.form-control, .form-select {
  border-color: var(--bgh-border-strong);
  border-radius: var(--bgh-radius-sm);
  padding: .68rem .76rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--bgh-text);
  box-shadow: 0 0 0 .2rem rgba(16,18,20,.12);
}
.form-text { color: var(--bgh-muted); }
.alert { border-radius: var(--bgh-radius-md); }
.badge { border: 1px solid var(--bgh-border); }

.sticky-summary { position: sticky; top: 92px; }
.profile-list { display: grid; gap: .6rem; }
.profile-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--bgh-border);
  padding-bottom: .55rem;
}
.profile-list dt { color: var(--bgh-muted); font-size: .8rem; }
.profile-list dd { margin: 0; font-weight: 800; text-align: right; }
.note-box, .trust-note {
  border: 1px solid var(--bgh-border);
  border-radius: var(--bgh-radius-sm);
  background: var(--bgh-surface-muted);
  padding: .75rem;
  color: var(--bgh-muted);
}

.opportunity-stack { display: grid; gap: .9rem; }
.opportunity-card { box-shadow: none; }
.score-box {
  min-width: 70px;
  text-align: center;
  border: 1px solid var(--bgh-border);
  border-radius: var(--bgh-radius-sm);
  padding: .45rem .55rem;
  background: var(--bgh-surface-muted);
}
.score-box strong { display: block; font-size: 1.35rem; line-height: 1; }
.score-box span { color: var(--bgh-muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.action-list { margin-bottom: .8rem; padding-left: 1.25rem; }
.action-list li { margin-bottom: .28rem; }
.tracker-table th { color: var(--bgh-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.not-found-card { max-width: 560px; }
.toast { border-radius: var(--bgh-radius-md); border-color: var(--bgh-border); }

@media (max-width: 767px) {
  .py-lg-6 { padding-top: 3rem; padding-bottom: 3rem; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .sticky-summary { position: static; }
  .display-5 { font-size: 2.1rem; }
  .panel-card { padding: 1rem; }
}
