:root {
  --hf-bg: #f6f8fb;
  --hf-surface: #ffffff;
  --hf-border: #e5eaf1;
  --hf-text: #152033;
  --hf-muted: #5b6b82;
  --hf-primary: #1f6feb;
  --hf-accent: #0f9d58;
  --hf-shadow: 0 18px 44px rgba(18, 28, 45, 0.08);
}

html, body {
  background: var(--hf-bg);
  color: var(--hf-text);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--hf-text);
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--hf-primary);
}

.nav-linkish {
  color: var(--hf-muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-linkish:hover {
  color: var(--hf-primary);
}

.hero-shell {
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.10), transparent 28%),
    radial-gradient(circle at bottom left, rgba(15, 157, 88, 0.10), transparent 22%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--hf-border);
  border-radius: 28px;
  box-shadow: var(--hf-shadow);
}

.surface-card,
.card,
.app-card {
  border: 1px solid var(--hf-border) !important;
  border-radius: 22px !important;
  background: var(--hf-surface) !important;
  box-shadow: var(--hf-shadow);
}

.soft-card {
  border: 1px solid var(--hf-border);
  border-radius: 22px;
  background: var(--hf-surface);
}

.module-card {
  height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--hf-border);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: var(--hf-shadow);
}

.module-card .eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--hf-primary);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.metric-card {
  border: 1px solid var(--hf-border);
  border-radius: 20px;
  background: #fff;
  padding: 1rem 1.1rem;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-footer {
  background: #fff;
}

.footer-links a {
  color: var(--hf-muted);
  text-decoration: none;
  margin: 0 .55rem;
}

.footer-links a:hover {
  color: var(--hf-primary);
}

.kicker {
  color: var(--hf-muted);
  font-size: .95rem;
}

.empty-state {
  border: 1px dashed var(--hf-border);
  border-radius: 20px;
  padding: 1rem;
  color: var(--hf-muted);
  background: #fbfcfe;
}

.table thead th {
  background: #f8fbff;
}

.badge-soft {
  background: #edf5ff;
  color: #1659c0;
}

@media (max-width: 991px) {
  .site-header .container {
    gap: 1rem;
  }
}
