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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ua-header-height) + 1rem);
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--ua-paper);
  color: var(--ua-text);
  font-family: var(--ua-font-body);
  font-size: var(--ua-text-md);
  line-height: var(--ua-leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.ua-menu-open {
  overflow: hidden;
}

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

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

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

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

button {
  color: inherit;
}

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

h1,
h2,
h3,
h4 {
  color: var(--ua-ink);
  font-family: var(--ua-font-heading);
  font-weight: 800;
  line-height: var(--ua-leading-heading);
  letter-spacing: -0.035em;
}

p {
  margin-bottom: var(--ua-space-5);
}

:focus-visible {
  outline: 2px solid var(--ua-gold-500);
  outline-offset: 3px;
  box-shadow: var(--ua-focus);
}

::selection {
  background: var(--ua-gold-300);
  color: var(--ua-navy-950);
}

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

.ua-skip-link {
  position: fixed;
  z-index: 1000;
  top: -5rem;
  right: 1rem;
  padding: 0.7rem 1rem;
  border-radius: var(--ua-radius-sm);
  background: var(--ua-surface);
  color: var(--ua-ink);
  font-weight: 700;
}

.ua-skip-link:focus {
  top: 1rem;
}

/* Text for screen readers only, such as the labels of the search boxes */
.ua-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ua-section {
  padding-block: var(--ua-space-20);
}

.ua-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--ua-space-2);
  margin-bottom: var(--ua-space-4);
  color: var(--ua-gold-700);
  font-size: var(--ua-text-xs);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ua-kicker::before {
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.ua-section-title {
  margin-bottom: var(--ua-space-10);
}

.ua-section-title h1,
.ua-section-title h2 {
  max-width: 48rem;
  margin-bottom: var(--ua-space-4);
  font-size: var(--ua-text-2xl);
}

.ua-section-title p {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--ua-muted);
}

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

.ua-latin,
[dir="ltr"] {
  font-family: var(--ua-font-latin);
}

@media (max-width: 64rem) {
  .ua-container {
    width: min(var(--ua-container), calc(100% - 3rem));
  }
}

@media (max-width: 48rem) {
  .ua-container {
    width: calc(100% - 2rem);
  }

  .ua-section {
    padding-block: var(--ua-space-12);
  }
}

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

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

