:root {
  --navy: #12305e;
  --navy-soft: #1c4580;
  --blue: #1d64c8;
  --blue-tint: #e9f1fb;
  --yellow: #f6b52e;
  --ink: #172338;
  --muted: #566479;
  --line: #dde4ee;
  --bg: #f4f6fa;
  --surface: #ffffff;
  --success: #12714f;
  --success-tint: #e2f3ec;
  --warning: #7d5300;
  --warning-tint: #fdf2d8;
  --danger: #b93226;
  --danger-tint: #fcebe9;

  --radius: 14px;
  --radius-small: 9px;
  --shadow: 0 1px 2px rgba(18, 48, 94, 0.06), 0 6px 18px rgba(18, 48, 94, 0.06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
dl,
dd,
figure,
fieldset {
  margin: 0;
  padding: 0;
}

fieldset {
  border: 0;
  min-width: 0;
}

ul {
  list-style: none;
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

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

.container {
  width: min(100% - 32px, 920px);
  margin-inline: auto;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.stack {
  display: grid;
  gap: 16px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
}

.skip-link:focus {
  top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
