:root {
  color-scheme: light;
  --color-ink: #172030;
  --color-ink-soft: #263343;
  --color-muted: #647080;
  --color-muted-2: #7c8794;
  --color-paper: #f7f9f8;
  --color-paper-warm: #f2f5f4;
  --color-soft: #e9eef0;
  --color-line: rgba(28, 43, 58, 0.13);
  --color-line-strong: rgba(28, 43, 58, 0.2);
  --color-surface: rgba(255, 255, 255, 0.78);
  --color-surface-solid: #ffffff;
  --color-surface-2: rgba(242, 246, 247, 0.84);
  --color-elevated: rgba(255, 255, 255, 0.92);
  --color-navy: #0f1b2d;
  --color-graphite: #26313d;
  --color-accent: #2f6f7e;
  --color-accent-dark: #245866;
  --color-accent-soft: rgba(47, 111, 126, 0.12);
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --measure: 660px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.75rem;
  --space-8: 6.5rem;
  --radius-1: 8px;
  --radius-2: 14px;
  --radius-3: 22px;
  --shadow-1: 0 10px 24px rgba(17, 28, 43, 0.06), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  --shadow-2: 0 24px 70px rgba(17, 28, 43, 0.12), 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  --shadow-3: 0 34px 110px rgba(17, 28, 43, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-fast: 160ms;
  --motion-medium: 280ms;
  --motion-slow: 560ms;
  --motion-section: 720ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--color-paper);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--color-ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(47, 111, 126, 0.13), transparent 32rem),
    radial-gradient(circle at 82% 10%, rgba(15, 27, 45, 0.09), transparent 30rem),
    linear-gradient(180deg, #f8faf9 0%, #f2f5f4 46%, #f8faf9 100%);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 27, 45, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 27, 45, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 78%);
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  opacity: 0.025;
  mix-blend-mode: multiply;
  content: "";
}

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

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(47, 111, 126, 0.42);
  outline-offset: 4px;
}

::selection {
  background: rgba(47, 111, 126, 0.18);
}

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