:root {
  --vx-bg: #f4f6f8;
  --vx-bg-secondary: #e9eef2;
  --vx-surface: #ffffff;
  --vx-text: #111317;
  --vx-muted: #626971;
  --vx-cobalt: #3157d5;
  --vx-cobalt-deep: #18367a;
  --vx-cobalt-light: #90a8ff;
  --vx-border: #dde2e7;
  --urbia-bg: #fdfbf7;
  --urbia-text: #1c1b1a;
  --urbia-accent: #8c7256;
  --urbia-border: #ebe7df;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1240px;
  --header-height: 78px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 24px 70px rgba(17, 19, 23, 0.08);
  color-scheme: light;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--vx-bg);
  color: var(--vx-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html.nav-open {
  overflow-y: scroll;
}

body.nav-open {
  position: fixed;
  inset: 0;
  width: 100%;
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3rem, 4.75vw, 4.25rem);
}

h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
}

p:last-child,
ul:last-child {
  margin-bottom: 0;
}

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

:focus-visible {
  outline: 2px solid var(--vx-cobalt);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--vx-text);
  color: #fff;
  font-size: 0.875rem;
  text-decoration: none;
  transition: transform 180ms ease;
}

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

.container {
  width: min(calc(100% - 80px), var(--max-width));
  margin-inline: auto;
}

.section {
  padding-block: clamp(88px, 10vw, 148px);
}

.section--compact {
  padding-block: clamp(72px, 8vw, 112px);
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--vx-cobalt);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

.lede {
  color: var(--vx-muted);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.65;
}

.lede--light {
  color: rgba(255, 255, 255, 0.78);
}

.muted {
  color: var(--vx-muted);
}

.accent-dot {
  color: var(--vx-cobalt);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

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

  h1 {
    font-size: clamp(2.75rem, 8vw, 3.6rem);
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding-block: 76px;
  }

  .section--compact {
    padding-block: 64px;
  }

  h1 {
    font-size: clamp(2.55rem, 12.2vw, 3.05rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }
}

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

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