:root {
  --primary: #4d3fa3;
  --primary-deep: #2f246f;
  --action: #0066cc;
  --sky: #d9f3ff;
  --soft-blue: #eef9ff;
  --ink: #1f2430;
  --muted: #6b7280;
  --bg: #ffffff;
  --paper: #f5f5f7;
  --card: rgba(255, 255, 255, 0.86);
  --line: rgba(77, 63, 163, 0.14);
  --shadow: 0 24px 70px rgba(31, 36, 48, 0.12);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 160;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(77,63,163,.18), rgba(77,63,163,.95), rgba(128,204,185,.9));
  box-shadow: 0 0 18px rgba(77,63,163,.42);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select {
  font: inherit;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.btn:active { transform: scale(.96); }
.btn.primary { color: #fff; background: var(--primary); }
.btn.secondary { color: var(--primary); background: #fff; border-color: rgba(77, 63, 163, .32); }
.text-link { color: var(--action); font-weight: 600; }
.section {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}
.section-title,
.section-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}
.section-title { display: block; text-align: center; max-width: 760px; }
.section-title h2,
.section-header h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.16;
  font-weight: 650;
}
.lead {
  max-width: 820px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
  text-align: center;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s ease, transform .85s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .section { width: min(100% - 28px, var(--container)); padding: 64px 0; }
  .section-title h2,
  .section-header h2 { font-size: 30px; }
  .section-header { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
