
:root {
  --brand-primary: #4a5cff;
  --brand-accent: #ff2f92;
  --bg-page: #f5f7fb;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-subtle: #e2e8f0;
  --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top left, #eef2ff, #f5f7fb);
  scroll-behavior: smooth;
}

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

.page-wrap {
  flex: 1 0 auto;
}

.main-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(245, 247, 251, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: conic-gradient(from 210deg, #4f46e5, #22c55e, #0ea5e9, #f97316, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.brand-mark span {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 16px;
  letter-spacing: 0.03em;
}

.brand-text span {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.16em;
}

nav.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

nav.main-nav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 999px;
  transition: all 0.18s ease;
}

nav.main-nav a:hover {
  color: var(--text-main);
  background: rgba(148, 163, 184, 0.16);
}

nav.main-nav a.active {
  color: #0f172a;
  background: #e0e7ff;
  font-weight: 600;
}

.cta-pill {
  font-size: 13px;
  border-radius: 999px;
  border: none;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.35);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr);
  gap: 36px;
  align-items: center;
  margin-top: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  color: var(--text-muted);
}

.badge-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fff, #22c55e);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.hero-kicker {
  margin-top: 16px;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.16em;
}

.hero-title {
  margin-top: 12px;
  font-size: clamp(32px, 3vw + 14px, 40px);
  line-height: 1.15;
}

.hero-title span.highlight {
  background: linear-gradient(120deg, #4f46e5, #0ea5e9, #f97316);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 540px;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.secondary-btn {
  font-size: 13px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-main);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.hero-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: var(--text-muted);
}

.hero-meta strong {
  color: var(--text-main);
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-card h2 {
  font-size: 16px;
  margin: 0 0 10px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.metric-pill {
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px dashed rgba(148, 163, 184, 0.5);
}

.metric-pill span.label {
  font-size: 11px;
  color: var(--text-muted);
}

.metric-pill strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
}

.metric-pill small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.hero-tags span {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
}

.section {
  margin-top: 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.section-header h2 {
  margin: 0;
  font-size: 20px;
}

.section-header p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 460px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  padding: 18px 18px 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.05);
}

.card h3 {
  margin-top: 6px;
  margin-bottom: 8px;
  font-size: 15px;
}

.card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.chip-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 11px;
  border-radius: 999px;
  padding: 2px 8px;
  background: #eff6ff;
  color: #1d4ed8;
}

footer.site-footer {
  margin-top: 40px;
  padding: 18px 20px 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.9);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* Page specific */

.page-intro {
  margin-top: 40px;
  max-width: 720px;
}

.page-intro h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.page-intro p {
  font-size: 14px;
  color: var(--text-muted);
}

.timeline {
  margin-top: 26px;
  border-left: 2px solid rgba(148, 163, 184, 0.5);
  padding-left: 18px;
}

.timeline-item {
  margin-bottom: 18px;
}

.timeline-item h3 {
  margin: 0;
  font-size: 15px;
}

.timeline-item span {
  font-size: 12px;
  color: var(--text-muted);
}

.timeline-item p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.case-card h3 {
  margin-top: 0;
  font-size: 16px;
}

.case-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.case-list {
  margin: 8px 0 0 18px;
  padding: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.case-list li {
  margin-bottom: 4px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 24px;
  margin-top: 26px;
}

.contact-tile {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border-subtle);
}

.contact-tile h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.contact-tile p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.contact-tile a {
  color: var(--brand-primary);
  text-decoration: none;
}

.tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Responsive */

@media (max-width: 880px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  nav.main-nav {
    flex-wrap: wrap;
  }
}
