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

html {
  min-width: 320px;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ot-text);
  background: var(--ot-white);
  font-family: var(--ot-font);
  font-size: 15px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-scroll-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ot-primary);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 23px;
}

h3 {
  font-size: 19px;
}

h4 {
  font-size: 16px;
}

legend {
  color: var(--ot-primary);
  font-size: 16px;
  font-weight: 700;
}

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

svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 0;
  box-shadow: var(--ot-focus);
}

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

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

.row {
  min-width: 0;
}

.text-muted {
  color: var(--ot-text-muted);
}

.ot-page-main,
#content {
  min-width: 0;
}

.ot-page-main {
  min-height: 50vh;
  padding-block: 24px 52px;
}

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

.ot-skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ot-white);
  background: var(--ot-primary);
  border-radius: var(--ot-radius-xs);
  transform: translateY(-160%);
  transition: transform var(--ot-ease);
}

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

.hidden,
[hidden] {
  display: none;
}

.ot-empty-text {
  margin: 0;
  color: var(--ot-text-muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
