:root {
  --font-sans: "SF Pro Display", "SF Pro Text", "PingFang SC", "Segoe UI Variable", "Helvetica Neue", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Cascadia Code", monospace;
  --color-bg: #f6f7fb;
  --color-bg-deep: #eef2ff;
  --color-surface: rgba(255, 255, 255, 0.72);
  --color-surface-strong: rgba(255, 255, 255, 0.88);
  --color-line: rgba(15, 23, 42, 0.08);
  --color-line-strong: rgba(15, 23, 42, 0.14);
  --color-text: #111827;
  --color-muted: #5b6475;
  --color-soft: #8791a5;
  --color-accent: #1453ff;
  --color-accent-deep: #0d2f8f;
  --color-accent-soft: rgba(20, 83, 255, 0.12);
  --color-warm: rgba(255, 188, 121, 0.22);
  --shadow-soft: 0 22px 60px rgba(26, 39, 71, 0.08);
  --shadow-card: 0 18px 42px rgba(26, 39, 71, 0.08);
  --shadow-strong: 0 30px 72px rgba(26, 39, 71, 0.12);
  --radius-xs: 14px;
  --radius-sm: 20px;
  --radius-md: 28px;
  --radius-lg: 36px;
  --container: 1180px;
  --header-offset: 112px;
  --section-space: clamp(84px, 8vw, 116px);
  --section-space-tight: clamp(64px, 6vw, 84px);
  --grid-gap: clamp(18px, 2.2vw, 24px);
  --stack-xs: 10px;
  --stack-sm: 14px;
  --stack-md: 20px;
  --stack-lg: 28px;
  --stack-xl: 38px;
  --transition-fast: 220ms ease;
  --transition-base: 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--color-text);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 10% 15%, rgba(119, 164, 255, 0.16), transparent 26%),
    radial-gradient(circle at 85% 18%, rgba(255, 197, 149, 0.2), transparent 24%),
    radial-gradient(circle at 75% 78%, rgba(157, 217, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, #f6f7fb 38%, #f2f4fb 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

main {
  padding-top: 10px;
}

section[id] {
  scroll-margin-top: calc(var(--header-offset) + 20px);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
}

.section--compact {
  padding-top: var(--section-space-tight);
}

.site-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.site-background__mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14)),
    linear-gradient(90deg, rgba(15, 23, 42, 0.015) 1px, transparent 1px),
    linear-gradient(rgba(15, 23, 42, 0.015) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 92%);
}

.site-background__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.8;
}

.site-background__orb--one {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -40px;
  background: radial-gradient(circle, rgba(119, 164, 255, 0.35) 0%, rgba(119, 164, 255, 0) 72%);
}

.site-background__orb--two {
  width: 360px;
  height: 360px;
  left: -140px;
  top: 26%;
  background: radial-gradient(circle, rgba(255, 203, 163, 0.34) 0%, rgba(255, 203, 163, 0) 72%);
}

.site-background__orb--three {
  width: 460px;
  height: 460px;
  right: 12%;
  bottom: -180px;
  background: radial-gradient(circle, rgba(141, 212, 255, 0.28) 0%, rgba(141, 212, 255, 0) 74%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 7px 15px;
  border: 1px solid rgba(20, 83, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 30px rgba(20, 83, 255, 0.06);
  color: var(--color-accent-deep);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.section-heading {
  max-width: 760px;
  margin-bottom: var(--stack-xl);
}

.section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-heading p {
  margin-top: 16px;
  max-width: 42rem;
  color: var(--color-muted);
  font-size: 1.03rem;
  text-wrap: pretty;
}

.section-heading--center p {
  margin-left: auto;
  margin-right: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 900px) {
  :root {
    --header-offset: 96px;
    --section-space: clamp(68px, 10vw, 88px);
    --section-space-tight: clamp(52px, 8vw, 68px);
    --stack-xl: 30px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  main {
    padding-top: 6px;
  }

  .section-heading {
    margin-bottom: var(--stack-xl);
  }

  .section-heading h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    letter-spacing: -0.05em;
  }

  .section-heading p {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
