:root {
  --bg: #ffffff;
  --bg-elevated: #f9fafb;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --blue: #2563eb;
  --red: #dc2626;
  --accent: var(--blue);
  --accent-2: var(--red);
  --radius: 10px;
  --shadow: 0 16px 48px rgba(37, 99, 235, 0.1);
  --font: "Work Sans", system-ui, sans-serif;
  --font-display: "Work Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.container { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; }
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em;
}
.brand__flag {
  width: 28px; height: 18px; border-radius: 3px; flex-shrink: 0;
  background: linear-gradient(180deg, #2563eb 0 38%, #fff 38% 62%, #dc2626 62% 100%);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.brand em { font-style: normal; color: var(--blue); font-weight: 600; }
.nav { display: flex; gap: 1.75rem; margin-left: auto; }
.nav a { color: var(--muted); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--blue); }
.menu-btn {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface); cursor: pointer; margin-left: auto;
}
.menu-btn span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--text); border-radius: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.6rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem;
  background: var(--blue); color: #fff; border: none;
  transition: transform 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); background: #1d4ed8; }
.btn--outline {
  background: transparent; color: var(--text); border: 1px solid var(--border); box-shadow: none;
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--small { padding: 0.6rem 1.15rem; font-size: 0.875rem; }
.btn--light { background: #fff; color: var(--blue); box-shadow: var(--shadow); }

.hero { position: relative; padding: 9rem 0 5rem; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -10% 0 auto;
  height: 70%;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 0%, transparent 40%),
    linear-gradient(270deg, rgba(220, 38, 38, 0.04) 0%, transparent 40%);
  pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; margin-bottom: 1.25rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 999px;
}
.pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--red));
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5.5vw, 3.65rem);
  font-weight: 700; line-height: 1.08; margin: 0 0 1.25rem; letter-spacing: -0.03em;
}
.hero h1::after {
  content: ""; display: block; width: 64px; height: 4px; margin-top: 1rem;
  background: linear-gradient(90deg, var(--blue), var(--red)); border-radius: 2px;
}
.hero__lead { font-size: 1.125rem; color: var(--muted); max-width: 32rem; margin: 0 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__panel { position: relative; min-height: 360px; }
.hero__ring {
  position: absolute; inset: 8%; border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}
.metric-card {
  position: absolute; padding: 1.25rem 1.5rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.metric-card:first-child { top: 12%; left: 0; border-top: 3px solid var(--blue); }
.metric-card--alt { bottom: 15%; right: 0; border-top: 3px solid var(--red); }
.metric-card__label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.35rem; }
.metric-card strong { font-size: 2rem; font-weight: 700; color: var(--blue); }
.metric-card--alt strong { color: var(--red); }

.stats { padding: 0 0 4rem; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.stat {
  padding: 1.75rem 1.25rem; text-align: center;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s;
}
.stat:hover { transform: translateY(-2px); border-color: #d1d5db; }
.stat:nth-child(odd) strong { color: var(--blue); }
.stat:nth-child(even) strong { color: var(--red); }
.stat strong { display: block; font-size: 1.75rem; font-weight: 700; margin-bottom: 0.25rem; }
.stat span { font-size: 0.85rem; color: var(--muted); }

.section { padding: 5rem 0; }
.section-label {
  display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 0.75rem;
}
.section h2 {
  font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.55rem);
  font-weight: 700; line-height: 1.15; margin: 0 0 1rem; letter-spacing: -0.02em;
}
.section-intro { max-width: 560px; margin-bottom: 2.5rem; }
.section-intro p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.section-intro--center { text-align: center; margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.split__body p { color: var(--muted); font-size: 1.05rem; margin: 0 0 1.5rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.check-list li { padding-left: 1.75rem; position: relative; font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 10px; height: 10px; border-radius: 2px;
  background: linear-gradient(135deg, var(--blue), var(--red));
}

.about {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.card-grid { display: grid; gap: 1.25rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  padding: 1.75rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
}
.feature-card:nth-child(odd) .feature-card__icon { color: var(--blue); background: rgba(37, 99, 235, 0.08); }
.feature-card:nth-child(even) .feature-card__icon { color: var(--red); background: rgba(220, 38, 38, 0.08); }
.feature-card__icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); margin-bottom: 1.25rem;
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.feature-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

.timeline {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.timeline li {
  padding: 1.75rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); position: relative; overflow: hidden;
}
.timeline li::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--red));
}
.timeline__step {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--blue); margin-bottom: 1rem;
}
.timeline li:nth-child(even) .timeline__step { color: var(--red); }
.timeline h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.timeline p { margin: 0; font-size: 0.9rem; color: var(--muted); }

.benefits { background: var(--bg); }
.benefits__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.benefits__copy p { color: var(--muted); margin: 0; }
.benefits__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.benefits__list li {
  padding: 1.25rem 1.5rem; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: var(--radius);
  border-left: 4px solid var(--blue);
}
.benefits__list li:nth-child(2) { border-left-color: var(--red); }
.benefits__list li:nth-child(3) { border-left-color: var(--blue); }
.benefits__list strong { display: block; margin-bottom: 0.25rem; }
.benefits__list span { font-size: 0.9rem; color: var(--muted); }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.5rem; }
.chip-row span {
  padding: 0.55rem 1.15rem; border-radius: 999px; font-size: 0.88rem; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border);
}

.platform-bar {
  text-align: center; padding: 2.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(220, 38, 38, 0.06));
  border: 1px solid var(--border); border-radius: var(--radius);
}
.platform-bar p { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.95rem; }

.insight-card {
  padding: 1.75rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.insight-card:nth-child(1) { border-bottom: 3px solid var(--blue); }
.insight-card:nth-child(2) { border-bottom: 3px solid var(--red); }
.insight-card:nth-child(3) { border-bottom: 3px solid var(--blue); }
.insight-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.insight-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.cta-band { padding: 5rem 0; }
.cta-band__inner {
  text-align: center; padding: 4rem 2rem; border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: #fff;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; margin: 0 0 0.75rem; }
.cta-band p { opacity: 0.9; max-width: 28rem; margin: 0 auto 1.75rem; }

.site-footer {
  padding: 2rem 0; border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.site-footer p { margin: 0; font-size: 0.85rem; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 0.12s; }

@media (max-width: 960px) {
  .hero__grid, .split, .benefits__grid { grid-template-columns: 1fr; }
  .hero__panel { min-height: 280px; order: -1; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3, .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav, .site-header .btn--small { display: none; }
  .menu-btn { display: block; }
  .site-header.is-open .nav {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 1.25rem; right: 1.25rem;
    padding: 1rem; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); margin-left: 0; box-shadow: var(--shadow);
  }
  .card-grid--3, .timeline, .stats__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 7rem; }
  .brand__flag { display: none; }
}
