:root {
  color-scheme: light;
  --color-ink-950: oklch(19% 0.015 248);
  --color-ink-900: oklch(26% 0.016 248);
  --color-ink-700: oklch(44% 0.02 248);
  --color-ink-500: oklch(60% 0.02 248);
  --color-surface-000: oklch(99% 0.004 250);
  --color-surface-050: oklch(97% 0.006 250);
  --color-surface-100: oklch(94% 0.008 250);
  --color-surface-200: oklch(90% 0.01 250);
  --color-line: oklch(84% 0.012 248);
  --color-accent-700: oklch(49% 0.14 247);
  --color-accent-600: oklch(57% 0.12 247);
  --color-accent-100: oklch(95% 0.03 247);
  --color-accent-050: oklch(98% 0.015 247);
  --color-accent-cta-soft: color-mix(in oklch, white 0%, var(--color-accent-100));
  --color-success: oklch(58% 0.13 154);
  --shadow-soft: 0 18px 48px oklch(24% 0.02 248 / 0.08);
  --shadow-line: inset 0 0 0 1px var(--color-line);
  --radius-sm: 0.7rem;
  --radius-md: 1rem;
  --radius-lg: 1.4rem;
  --radius-pill: 999px;
  --max-width: 62.4rem;
  --gutter: clamp(0.88rem, 2vw, 1.44rem);
  --space-1: 0.4rem;
  --space-2: 0.6rem;
  --space-3: 0.8rem;
  --space-4: 1.2rem;
  --space-5: 1.6rem;
  --space-6: 2.4rem;
  --space-7: 3.6rem;
  --space-8: 4.8rem;
  --space-9: 6.4rem;
  --font-display: "Be Vietnam Pro", "Segoe UI", sans-serif;
  --font-body: "Krub", "Segoe UI", sans-serif;
  --text-xs: 0.624rem;
  --text-sm: 0.752rem;
  --text-base: 0.8rem;
  --text-lg: clamp(0.92rem, 0.96rem + 0.4vw, 1.16rem);
  --text-xl: clamp(1.2rem, 0.96rem + 1.4vw, 1.84rem);
  --text-2xl: clamp(2rem, 1.44rem + 4vw, 4.4rem);
  --text-3xl: clamp(2.4rem, 1.6rem + 5vw, 5.6rem);
  --leading-tight: 0.96;
  --leading-snug: 1.08;
  --leading-body: 1.55;
  --tracking-tight: -0.045em;
  --tracking-mid: -0.02em;
  --duration-fast: 140ms;
  --duration-base: 280ms;
  --duration-slow: 560ms;
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  font-size: 100%;
  background: var(--color-surface-000);
}

body {
  background:
    radial-gradient(circle at top left, oklch(96% 0.03 247 / 0.55), transparent 19.2rem),
    linear-gradient(180deg, var(--color-surface-050), var(--color-surface-000) 14.4rem);
  color: var(--color-ink-900);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

body.nav-open {
  overflow: hidden;
}

main {
  overflow: clip;
}

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

.site-shell {
  width: min(100% - 1.6rem, var(--max-width));
  margin-inline: auto;
}

.section-grid {
  display: grid;
  gap: clamp(1.28rem, 2vw, 2rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  color: var(--color-ink-700);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.24rem;
  height: 1px;
  background: color-mix(in oklch, var(--color-accent-600) 45%, var(--color-line));
}

h1,
h2,
h3,
h4 {
  color: var(--color-ink-950);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
}

h2 {
  font-size: var(--text-xl);
}

h3 {
  font-size: clamp(0.92rem, 0.8rem + 0.8vw, 1.24rem);
}

p {
  max-width: 67ch;
  color: var(--color-ink-700);
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.45;
}

.page-lead {
  max-width: 41.6rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  font-weight: 600;
}

.text-link::after {
  content: "→";
  transition: transform var(--duration-base) var(--ease-out-quart);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(0.2rem);
}

:focus-visible {
  outline: 2px solid color-mix(in oklch, var(--color-accent-600) 70%, white);
  outline-offset: 3px;
}

::selection {
  background: color-mix(in oklch, var(--color-accent-600) 18%, white);
}

@media (min-width: 48rem) {
  section {
    padding: var(--space-9) 0;
  }
}

@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;
  }
}
