:root {
  --color-primary: #082574;
  --color-primary-hover: #0d3aa0;
  --color-primary-soft: #c9d9f4;
  --color-lavender: #7569c9;
  --color-lavender-soft: #f0effb;
  --color-accent: #f4b400;
  --color-accent-hover: #dda300;
  --color-accent-soft: #f1d98b;
  --color-background: #f8f9fc;
  --color-surface: #FFFFFF;
  --color-text: #202942;
  --color-muted: #606b80;
  --color-border: #e2e6ef;
  --color-focus: #0d3aa0;
  --color-aqua: #dff2f2;
  --color-success: #146C43;
  --color-success-soft: #E2F4EA;
  --color-evaluation: #66429A;
  --color-evaluation-soft: #EEE8F8;
  --color-important: #9B2C3F;
  --color-important-soft: #F8E8EB;
  --color-holiday: #8A4B08;
  --color-holiday-soft: #F8EBDD;
  --font-sans: Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  --content-width: 1280px;
  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.4rem;
  --shadow-sm: 0 0.45rem 1.4rem rgba(8, 37, 116, 0.08);
  --shadow-md: 0 1rem 2.6rem rgba(8, 37, 116, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  display: block;
  height: auto;
  max-width: 100%;
}

iframe {
  border: 0;
  width: 100%;
}

a {
  color: var(--color-primary-hover);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-primary);
}

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

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

:is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--color-primary);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.container {
  margin-inline: auto;
  width: min(var(--content-width), calc(100% - 2rem));
}

.icon {
  fill: none;
  flex: 0 0 auto;
  height: 1.25em;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 1.25em;
}

.skip-link {
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-weight: 700;
  left: 1rem;
  padding: 0.65rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-180%);
  z-index: 10000;
}

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

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

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
