:root {
  --container-max: 1440px;
  --page-pad: 20px;
  --bg: #f8f7fb;
  --surface: #ffffff;
  --surface-soft: #f4f1fb;
  --surface-muted: #ece7f6;
  --surface-dark: #121322;
  --text: #121322;
  --text-soft: #6d7080;
  --text-inverse: #ffffff;
  --line: #e6e2ed;
  --line-strong: #d9d3e4;
  --brand: #5b38f5;
  --brand-2: #7c5cff;
  --brand-dark: #4724d4;
  --success: #16b975;
  --warning: #f1a33a;
  --danger: #df616a;
  --focus: #2168f5;
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 999px;
  --shadow-card: 0 20px 60px rgba(44, 29, 76, 0.075);
  --shadow-float: 0 18px 55px rgba(18, 19, 34, 0.12);
  --shadow-ui: 0 10px 32px rgba(47, 31, 86, 0.08), 0 1px 1px rgba(35, 23, 61, 0.04);
  --header-height: 64px;
  --section-space: clamp(3.5rem, 5vw, 5rem);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

main { background: var(--surface); }
main > .section { border-top: 1px solid var(--line); }

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

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

button { color: inherit; }

a { color: inherit; }

p { margin-block: 0 1em; }

h1,
h2,
h3,
h4,
p { overflow-wrap: break-word; }

h1,
h2,
h3,
h4 {
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.125rem, 4vw, 4rem);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: -0.048em;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

ul,
ol { margin-block: 0; }

[hidden] { display: none !important; }

.container {
  width: min(calc(100% - (var(--page-pad) * 2)), var(--container-max));
  margin-inline: auto;
}

.container--narrow { max-width: 1120px; }

.section { padding-block: var(--section-space); }
.section--compact { padding-block: clamp(2.75rem, 4vw, 4rem); }
.section--topless { padding-top: 0; }

.display-xl {
  margin: 0;
  font-size: clamp(2.75rem, 5.3vw, 5.75rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.display-lg {
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lede {
  max-width: 670px;
  color: var(--text-soft);
  font-size: clamp(1.04rem, 1.4vw, 1.25rem);
  line-height: 1.6;
}

.text-soft { color: var(--text-soft); }
.text-brand { color: var(--brand); }
.text-accent { color: var(--brand); }
.text-center { text-align: center; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 12px;
  left: 12px;
  padding: 0.8rem 1rem;
  color: #fff;
  border-radius: 10px;
  background: var(--brand-dark);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: var(--brand);
}

[data-reveal].is-pending {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms), transform 700ms cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms);
}
[data-reveal].is-pending.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 391px) { :root { --page-pad: 24px; } }
@media (min-width: 768px) {
  :root { --page-pad: 28px; --header-height: 76px; }
  body { font-size: 17px; }
}
@media (min-width: 1024px) { :root { --page-pad: 32px; } }
@media (min-width: 1200px) {
  :root { --page-pad: 48px; --header-height: 76px; }
  body { font-size: 18px; }
}
@media (min-width: 1536px) { :root { --page-pad: 48px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
