/* ActiveSync — Site-specific overrides on top of design-core */

:root {
  --color-bg: #09090b;
  --color-bg-subtle: #18181b;
  --color-text-primary: #fafafa;
  --color-text-secondary: #a1a1aa;
  --color-border: #27272a;
  --color-accent: #3b82f6;

  --background: #09090b;
  --foreground: #fafafa;
  --card: #0c0c0f;
  --card-foreground: #fafafa;
  --muted: #18181b;
  --muted-foreground: #a1a1aa;
  --accent: #27272a;
  --accent-foreground: #fafafa;
  --primary: #fafafa;
  --primary-foreground: #09090b;
  --secondary: #27272a;
  --secondary-foreground: #fafafa;
  --border: #27272a;
  --ring: #3b82f6;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-950: #0c1629;
  --emerald-500: #10b981;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

body {
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
}

a { color: var(--muted-foreground); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--foreground); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.header-nav { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); }
.nav-link:hover { color: var(--foreground); }
.logo { font-size: 1.125rem; font-weight: 600; color: var(--foreground); letter-spacing: -0.02em; }
.logo:hover { color: var(--foreground); }

.badge {
  display: inline-block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.025em;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  background: var(--blue-950); color: var(--blue-400); border: 1px solid rgba(59, 130, 246, 0.2);
}
.badge-muted { background: var(--muted); color: var(--muted-foreground); border-color: var(--border); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 500; padding: 0.625rem 1.5rem;
  border-radius: var(--radius-md); text-decoration: none; cursor: pointer; border: none;
  transition: all 150ms ease; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: #e4e4e7; color: var(--primary-foreground); }

.hero { padding: 6rem 0 5rem; border-bottom: 1px solid var(--border); }
.hero-content { max-width: 42rem; }
.hero .badge { margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.035em; color: var(--foreground); margin-bottom: 1.25rem; }
.hero-sub { font-size: 1.125rem; line-height: 1.75; color: var(--muted-foreground); max-width: 36rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.section { padding: 5rem 0; }
.section-header { margin-bottom: 3rem; }
.section-header .badge { margin-bottom: 1rem; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; color: var(--foreground); }
.text-muted { font-size: 1rem; line-height: 1.75; color: var(--muted-foreground); margin-bottom: 1rem; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; transition: border-color 150ms ease; }
.card:hover { border-color: #3f3f46; }
.card-title { font-size: 0.9375rem; font-weight: 600; color: var(--foreground); margin-bottom: 0.5rem; line-height: 1.4; }
.card-text { font-size: 0.875rem; line-height: 1.65; color: var(--muted-foreground); }

.section-cta-block { padding: 5rem 0; }
.cta-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 4rem 3rem; text-align: center; max-width: 40rem; margin: 0 auto; }
.cta-card h2 { font-size: 1.5rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: var(--foreground); margin-bottom: 0.75rem; }
.cta-card .text-muted { margin-bottom: 2rem; font-size: 0.9375rem; }

.site-footer { border-top: 1px solid var(--border); padding: 3rem 0; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; }
.footer-logo { font-size: 0.9375rem; font-weight: 600; color: var(--foreground); display: block; margin-bottom: 0.5rem; }
.footer-legal { font-size: 0.8125rem; color: #52525b; line-height: 1.5; }
.footer-right { display: flex; gap: 1.5rem; }
.footer-link { font-size: 0.8125rem; color: var(--muted-foreground); }
.footer-link:hover { color: var(--foreground); }

@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: 1.875rem; }
  .section { padding: 3rem 0; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .header-inner { height: 3.5rem; }
}
