@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB;
}
:root {
  color-scheme: light;
  font-family: "DM Sans", sans-serif;
  color: #152c46;
  background: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #fff;
}
a {
  color: #2456df;
  text-underline-offset: 5px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
a:hover {
  color: #1941b2;
}
:focus-visible {
  outline: 3px solid #2456df;
  outline-offset: 5px;
}
.shell {
  width: min(850px, calc(100% - 40px));
  margin: auto;
  padding: 0 0 64px;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 28px;
  border-bottom: 1px solid #dce3eb;
  font-size: 12px;
}
.mark {
  color: #152c46;
  font-size: 17px;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-decoration: none;
}
.mark i {
  display: none;
}
main {
  padding-top: 48px;
}
h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0 0 28px;
}
h2 {
  font-size: 25px;
  font-weight: 600;
  margin: 36px 0 14px;
}
p,
li {
  color: #536579;
  line-height: 1.75;
  max-width: 70ch;
}
li + li {
  margin-top: 10px;
}
.back,
.error-page nav a {
  background: #2456df;
  color: #fff;
  border-radius: 8px;
  padding: 14px 22px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 24px;
}
.back:hover,
.error-page nav a:hover {
  background: #1941b2;
  color: #fff;
}
.error-page {
  display: grid;
  place-items: center;
  padding: 32px 20px;
}
.error-page main {
  width: min(760px, 100%);
  padding: 40px 0;
  text-align: center;
}
.error-page .code {
  font-size: clamp(4rem, 15vw, 6rem);
  font-weight: 600;
  line-height: 1;
  margin: 0 auto 30px;
  color: #2456df;
}
.error-page p {
  margin: 0 auto 28px;
}
.error-page nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.error-page nav a {
  margin-top: 0;
}
.error-page nav a:not(:first-child) {
  color: #152c46;
  background: #f3f6fa;
  font-weight: 500;
}
.error-page nav a:not(:first-child):hover {
  background: #e5ebf4;
}
::selection {
  color: #fff;
  background: #2456df;
}
