:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --muted: #475569;
  --text: #0f172a;
  --ring: #e5e7eb;
  --brand: #2563eb;
  --brand-2: #22c55e;
  --shadow: 0 8px 28px rgba(2, 6, 23, 0.08);
  --radius: 16px;
}

.home-root {
  background: var(--bg);
  color: var(--text);
}
.page-loading,
.page-error {
  padding: 6rem 1rem;
  text-align: center;
  color: var(--muted);
}

.intro {
  padding: 56px 20px 28px;
  border-bottom: 1px solid var(--ring);
  background: radial-gradient(
      700px 180px at 20% -60px,
      rgba(37, 99, 235, 0.08),
      transparent 60%
    ),
    radial-gradient(
      600px 140px at 80% -40px,
      rgba(34, 197, 94, 0.08),
      transparent 70%
    );
}
.intro-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.intro-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
}
.intro-title span {
  color: var(--brand);
}
.intro-sub {
  margin: 10px auto 20px;
  max-width: 760px;
  color: var(--muted);
}
.intro-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.home-section {
  margin: 14px 0 18px;
}
.section-title {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  margin: 8px auto 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  opacity: 0.28;
}

.shadow-soft {
  box-shadow: 0 4px 16px rgba(2, 6, 23, 0.06);
  border: 1px solid #eef2f7;
  border-radius: 12px;
}
.compact-card .card-body {
  padding: 12px 14px;
}

.stat-icon {
  font-size: 18px;
  line-height: 1;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.cta-band {
  background: #f8fafc;
  border: 1px solid var(--ring);
  border-radius: 12px;
  padding: 16px;
}

.stat-card,
.service-card {
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}
.stat-card:hover,
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.12);
  border-color: #e6eefb;
}
.stat-card:focus-visible,
.service-card:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.stat-card {
  background: radial-gradient(
      150% 100% at -10% 0%,
      rgba(37, 99, 235, 0.05),
      transparent 50%
    ),
    radial-gradient(
      150% 100% at 120% 0%,
      rgba(34, 197, 94, 0.05),
      transparent 55%
    );
}
.stat-card .stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  background: linear-gradient(180deg, #f7fbff, #eef5ff);
  border: 1px solid #e6eefb;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 2px 6px rgba(2, 6, 23, 0.06);
  color: #1e293b;
}

.stat-card.stat-compact {
  border-radius: 10px;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    border-color 0.14s ease;
}
.stat-card.stat-compact .card-body {
  padding: 8px 10px;
  min-height: 54px;
  gap: 8px;
}
.stat-card.stat-compact .stat-icon {
  width: 28px;
  height: 28px;
  font-size: 16px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f7fbff, #eef5ff);
  border: 1px solid #e6eefb;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 1px 3px rgba(2, 6, 23, 0.06);
  color: #1e293b;
}
.stat-card.stat-compact .stat-title {
  font-size: 0.95rem;
}
.stat-card.stat-compact .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}
.stat-card.stat-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.1);
  border-color: #e6eefb;
}
