:root {
  color-scheme: light;
  --sky-50: #f3fbff;
  --sky-100: #e8f8ff;
  --sky-200: #c7ecfb;
  --sky-300: #a4def7;
  --sky-400: #72c8ee;
  --sky-500: #56b7e2;
  --navy-950: #06192b;
  --navy-900: #071d33;
  --navy-800: #0b2b49;
  --navy-700: #164767;
  --gold-600: #be8723;
  --gold-500: #d4a038;
  --gold-300: #efcb73;
  --cream: #fff8e8;
  --paper: #ffffff;
  --ink: #0a2842;
  --muted: #506a7f;
  --line: rgba(7, 29, 51, 0.14);
  --line-strong: rgba(7, 29, 51, 0.28);
  --shadow-sm: 0 14px 34px rgba(7, 29, 51, 0.1);
  --shadow-lg: 0 28px 80px rgba(7, 29, 51, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Compatibility aliases used by the legal and ordering page components. */
  --gold: var(--gold-500);
  --gold-bright: var(--gold-300);
  --ink-soft: var(--navy-900);
  --ink-raised: var(--navy-800);
  --paper-soft: var(--sky-50);
  --paper-muted: var(--muted);
  --paper-line: var(--line);
  --orange: #c7782f;
  --green: #2f8754;
  --red: #b84935;
  --shadow: 0 24px 70px rgba(7, 29, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  scrollbar-color: var(--navy-700) var(--sky-100);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

@supports selector(::-webkit-scrollbar) {
  html {
    scrollbar-color: auto;
    scrollbar-width: auto;
  }
}

::-webkit-scrollbar {
  width: 12px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, var(--sky-50), var(--sky-200));
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--sky-100);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--navy-700), var(--sky-500));
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--navy-900), var(--gold-500));
  background-clip: padding-box;
}

::-webkit-scrollbar-button {
  display: none;
}

::-webkit-scrollbar-corner {
  background: var(--sky-100);
}

body {
  min-width: 280px;
  margin: 0;
  color: var(--ink);
  background: var(--sky-50);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--cream);
  background: var(--navy-800);
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3,
h4,
figure,
blockquote {
  margin: 0;
}

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

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 84px;
  }
}

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