@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #1e1e1e;
  --bar: #363636;
  --text: #dadada;
  --text-dim: rgb(218 218 218 / 0.6);
  --hover: rgb(138 92 244 / 0.8);
  --page: 1024px;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-width: var(--page);
  background: var(--bg);
  color: var(--text);
  font: 400 18px/24px "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol { margin: 0; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--hover); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 60px;
  background: var(--bar);
}
.site-header__inner {
  display: flex;
  width: var(--page);
  height: 100%;
  margin: 0 auto;
  padding: 18px 21px 0 20px;
}
.site-header__name { font-weight: 600; }
.site-header__nav { display: flex; gap: 38px; margin-left: auto; }
.site-header__nav a { width: 70px; }
.site-footer { height: 59px; margin-top: 1px; background: var(--bar); }
.site-footer p { width: var(--page); margin: 0 auto; padding: 18px 19px 0; }

main { width: var(--page); margin: 0 auto; padding: 60px 20px 0; }

.title { font: 700 48px/60px "Roboto", sans-serif; text-align: center; }
h2 { font-size: 36px; line-height: 44px; font-weight: 500; }
h3 { font-size: 24px; line-height: 30px; font-weight: 600; }
h4 { font-size: 19px; line-height: 25px; font-weight: 600; }
.center { text-align: center; }
.dim { color: var(--text-dim); }
p + p { margin-top: 24px; }

.list, .numbered { padding: 0; list-style: none; }
.list li, .numbered li { display: flex; }
.list li::before { content: "•\00a0"; white-space: nowrap; }
.numbered { counter-reset: item; }
.numbered li::before { content: counter(item) "."; counter-increment: item; white-space: nowrap; }
.list span, .numbered span { white-space: pre-wrap; }
.wide-marks li::before { flex: none; width: 26px; }

.contents a { text-decoration: underline 1px; text-underline-offset: 4px; text-decoration-skip-ink: none; text-transform: capitalize; }
.contents a:hover { color: #8a5cf4; }

.row { display: grid; grid-template-columns: 482px 482px; column-gap: 20px; align-items: start; }
.row--wide { grid-template-columns: 382px 582px; }
.interview img { justify-self: end; }
.text-column { margin-left: 402px; width: 582px; }
.pair { display: flex; gap: 28px; }

.picture { border-radius: 24px; object-fit: cover; }
.own-corners { border-radius: 0; }
.shadow { box-shadow: 2px 2px 4px #000; }
.text-shadow { text-shadow: 2px 2px 4px #000; }
.faded { opacity: 0.6; }

.hero { display: flex; gap: 60px; }
.hero__photo { width: 231px; height: 231px; border-radius: 50%; object-fit: cover; }
.hero__text { width: 538px; margin-top: 28px; }
.hero h1 { font-size: 52px; line-height: 64px; font-weight: 500; }
.hero p { font-size: 24px; line-height: 30px; font-weight: 600; }

.competitors { display: grid; grid-template-columns: 251px 733px; align-items: start; }
.competitors__columns { display: grid; grid-template-columns: 266px 236px 231px; }

.short { display: flex; flex-direction: column; min-height: 100vh; }
.short main { flex: 1; }

.login { width: 482px; margin-left: auto; margin-right: auto; text-align: center; }
.login__field { display: flex; gap: 12px; }
.login input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--bar);
  color: var(--text);
  font: inherit;
}
.login input:focus { outline: none; border-color: var(--hover); }
.login button {
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.login button:hover { background: var(--hover); color: #fff; }
.login__message { color: #f28b82; }
.login__message:empty { display: none; }

.x-1 { margin-left: 1px; }
.x-2 { margin-left: 2px; }
.left-1 { margin-left: -1px; }
.left-2 { margin-left: -2px; }
.right-1 { margin-right: 1px; }
.w-480 { max-width: 480px; }

.mt-1 { margin-top: 1px; }
.mt-7 { margin-top: 7px; }
.mt-9 { margin-top: 9px; }
.mt-10 { margin-top: 10px; }
.mt-13 { margin-top: 13px; }
.mt-14 { margin-top: 14px; }
.mt-15 { margin-top: 15px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-21 { margin-top: 21px; }
.mt-24 { margin-top: 24px; }
.mt-30 { margin-top: 30px; }
.mt-31 { margin-top: 31px; }
.mt-32 { margin-top: 32px; }
.mt-36 { margin-top: 36px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-68 { margin-top: 68px; }
.mt-70 { margin-top: 70px; }
.mt-80 { margin-top: 80px; }
.mt-88 { margin-top: 88px; }
.mt-89 { margin-top: 89px; }
.mt-93 { margin-top: 93px; }
.mt-100 { margin-top: 100px; }
.mt-104 { margin-top: 104px; }
.end-103 { padding-bottom: 103px; }
.end-112 { padding-bottom: 112px; }
.end-114 { padding-bottom: 114px; }
.end-139 { padding-bottom: 139px; }
.end-149 { padding-bottom: 149px; }
