html {
  background: #f3f4f5;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
  overflow-y: scroll;
  color: #0d2134;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0s !important;
  }
}

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

body {
  font-family: Inter, sans-serif;
  margin: 0;
  min-width: 320px;
  width: 100%;
}

header:empty {
  display: none;
}

button {
  color: inherit;
}

svg {
  display: block;
}

.page {
  display: grid;
  min-height: 100dvh;
  grid-template-rows: min-content 1fr;
}

aside {
  background: #0a1826;
  color: white;
  padding: 16px;
}

.logo--large {
  display: none;
}

main {
  padding: 32px 16px;
}

.main {
  display: grid;
  gap: 32px;
}

h1 {
  color: #0d2134;
  text-align: center;
}

.form {
  display: grid;
  gap: 32px;
}

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

.banner {
  background: #f2f2f2;
  border: 1px solid #666666;
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 18px 1fr;
  padding: 16px;
}

.banner--error {
  background: #f8ebed;
  border-color: #942e39;
}

.banner__icon {
  color: #666666;
}

.banner__icon--error {
  color: #942e39;
}

.button {
  background: #0d2134;
  border-radius: 8px;
  border: 0;
  color: white;
  cursor: pointer;
  display: block;
  font-family: Inter, sans-serif;
  font-size: 18px;
  margin: 0;
  padding: 12px;
  width: 100%;
}

.button:hover {
  background: #404d5b;
}

.checkbox label {
  display: flex;
  gap: 16px;
}

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

.actions--centered {
  justify-content: center;
}

.link {
  color: #226a9e;
  font-size: 18px;
}

.link:visited {
  color: #226a9e;
}

.link:hover {
  color: #5191c0;
}

.text {
  font-size: 18px;
  font-size: clamp(14px, 3vw, 18px);
  line-height: 1.44;
  margin: 0;
}

.text--emphasis {
  font-family: Inter, sans-serif;
  font-weight: 600;
}

.text--headline-1 {
  font-size: 36px;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text--interface {
  font-size: 14px;
  font-size: clamp(10px, 3vw, 14px);
  line-height: 1.4286;
}

.text--small {
  font-size: 16px;
  font-size: clamp(12px, 3vw, 16px);
  line-height: 1.4375;
}

.textfield {
  display: grid;
  gap: 4px;
}

.textfield input {
  background: white;
  border: 1px solid #dcdee0;
  border-radius: 8px;
  display: block;
  font-size: 16px;
  font-size: clamp(12px, 3vw, 16px);
  padding: 8px 12px;
  width: 100%;
}

.textfield input:user-invalid {
  border-color: #942e39;
}

.textfield input:user-valid {
  border-color: #076646;
}

.textfield__help {
  align-items: center;
  color: #666666;
  display: flex;
  gap: 8px;
}

.textfield__error {
  color: #942e39;
}

.textfield__required {
  color: #942e39;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
