:root {
  color-scheme: light;

  --color-ink: #17212b;
  --color-ink-soft: #5e6b76;
  --color-ink-muted: #7b8792;
  --color-surface: #ffffff;
  --color-surface-soft: #f3f7f7;
  --color-surface-blue: #e7f1f2;
  --color-navy: #071a27;
  --color-navy-soft: #113448;
  --color-navy-deep: #04111a;
  --color-navy-panel: #0c2a3b;
  --color-cyan: #00a8c8;
  --color-cyan-dark: #007f99;
  --color-green: #16805f;
  --color-gold: #dfb95d;
  --color-gold-text: #8a661c;
  --color-gold-soft: #f4e7c1;
  --color-coral: #e85d3f;
  --color-border: rgba(23, 33, 43, 0.14);
  --color-border-strong: rgba(23, 33, 43, 0.22);
  --color-shadow: rgba(11, 29, 42, 0.14);
  --color-focus: #007f99;

  --font-sans:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;

  --leading-tight: 1.15;
  --leading-heading: 1.2;
  --leading-body: 1.6;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  --shadow-soft: 0 22px 56px rgba(4, 17, 26, 0.18);
  --shadow-card: 0 14px 34px rgba(4, 17, 26, 0.08);
  --shadow-card-hover: 0 22px 48px rgba(4, 17, 26, 0.15);
  --transition-fast: 160ms ease;
  --transition-base: 220ms ease;
}

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

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--leading-body);
  color: var(--color-ink);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

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

h1,
h2,
h3,
h4 {
  line-height: var(--leading-heading);
  color: var(--color-navy);
  font-weight: 800;
  letter-spacing: 0;
}

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

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

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

p {
  color: var(--color-ink-soft);
  overflow-wrap: anywhere;
}

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

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

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

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

button:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

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

img,
video {
  height: auto;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

::selection {
  color: var(--color-navy);
  background: rgba(215, 177, 93, 0.38);
}
