:root {
  color-scheme: light;

  --ink-900: #081b3a;
  --ink-800: #0c1e3c;
  --ink-700: #17294a;
  --ink-500: #4a5871;
  --ink-400: #5d6d88;
  --ink-300: #8f9aad;

  --bg: #ffffff;
  --bg-soft: #f8f9fb;
  --bg-pearl: #f4f6fa;
  --bg-tint: #f1f4fa;

  --line: #e7ebf2;
  --line-strong: #d7dee9;

  --terracotta-800: #8f3819;
  --terracotta-700: #a8451f;
  --terracotta-600: #c2542b;
  --terracotta-500: #d9704a;
  --terracotta-200: #f5cfc0;
  --terracotta-100: #fbe6dd;
  --terracotta-50: #fdf4ef;

  --jade-700: #226b5e;
  --jade-600: #2e8b7a;
  --jade-100: #e2f2ee;
  --jade-50: #f0f8f5;

  --amber-700: #9b6a1c;
  --amber-600: #c98a2b;
  --amber-100: #fbf0da;

  --azure-700: #245a9e;
  --azure-600: #2f6fbf;
  --azure-100: #e6eefa;
  --azure-50: #f2f7fd;

  --focus: rgba(47, 111, 191, 0.42);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(8, 27, 58, 0.05);
  --shadow-sm: 0 1px 3px rgba(8, 27, 58, 0.06), 0 1px 2px rgba(8, 27, 58, 0.04);
  --shadow-md: 0 14px 30px -16px rgba(8, 27, 58, 0.18), 0 2px 6px rgba(8, 27, 58, 0.04);
  --shadow-lg: 0 40px 70px -38px rgba(8, 27, 58, 0.28), 0 10px 24px -16px rgba(8, 27, 58, 0.1);
  --shadow-cta: 0 14px 30px -14px rgba(168, 69, 31, 0.5);

  --font-sans: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 74px;
  --control-h: 58px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  background-color: var(--bg);
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
}

p {
  text-wrap: pretty;
}

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

button {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

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

svg {
  display: block;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

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

strong {
  font-weight: 600;
  color: var(--ink-800);
}

::selection {
  background: var(--terracotta-100);
  color: var(--ink-900);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink-800);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateY(-170%);
  transition: transform 0.2s var(--ease);
}

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

.u-numeric {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
