@font-face {
  font-family: Roboto;
  src: url("/assets/roboto.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  font-family: Roboto, Arial, sans-serif;
  color: #ececec;
  background: #262626;
  font-synthesis: none;
  --red: #ed1c24;
  --green: #25b84c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 3px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  min-height: 68px;
  background: #2b2b2b;
  border-bottom: 1px solid #3d3d3d;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  width: 213px;
  max-width: 100%;
  height: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.button-red {
  background: var(--red);
}
.button-green {
  background: #198634;
}
.button:hover {
  filter: brightness(1.12);
}
.languages {
  display: flex;
  gap: 2px;
  margin-left: 12px;
}
.languages a {
  padding: 12px 10px;
  font-size: 14px;
  border-radius: 4px;
}
.languages a[aria-current="page"] {
  background: #484848;
  color: #fff;
  font-weight: 700;
}
.login-stage {
  display: grid;
  place-items: center;
  grid-template-columns: minmax(0, 1fr);
  min-height: 530px;
  padding: 58px 20px;
  background:
    url("/assets/login-background.svg") center / cover no-repeat,
    radial-gradient(circle, #2b2b2b, #262626);
}
.login-card {
  width: 344px;
  max-width: 100%;
  background: #fff;
  color: #222;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 48px #0002;
}
.card-logo {
  display: flex;
  justify-content: center;
  padding: 8px;
}
.card-logo img {
  width: 120px;
  height: auto;
}
.login-title {
  text-align: center;
  font-weight: 700;
  margin: 12px 0 16px;
  font-size: 16px;
}
.login-fields {
  border-bottom: 1px solid #ddd;
  padding-bottom: 14px;
}
.phone-field,
.password-field {
  display: flex;
  align-items: center;
  border: 1px solid #c8c8c8;
  border-radius: 5px;
  margin-bottom: 10px;
  background: #fff;
  min-height: 44px;
}
.country-code {
  padding: 0 12px;
  font-size: 14px;
  border-right: 1px solid #ddd;
}
.phone-field input,
.password-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px;
  font-size: 16px;
  color: #222;
}
.password-toggle {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  min-width: 44px;
  min-height: 44px;
  color: #666;
  cursor: pointer;
}
.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0;
  font-size: 12px;
}
.form-options a,
.register-caption a {
  color: #167b30;
}
.remember {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.remember input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--red);
}
.login-cta {
  width: 100%;
}
.social-caption {
  font-size: 12px;
  text-align: center;
  margin: 14px 0 8px;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.social-link {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ddd;
  border-radius: 50%;
}
.social-link:hover {
  background: #eee;
}
.code-login {
  display: block;
  text-align: center;
  font-size: 14px;
  background: #eee;
  border-radius: 5px;
  padding: 12px;
  margin: 14px 0 10px;
}
.register-caption {
  font-size: 12px;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}
.register-caption a {
  text-decoration: underline;
}
.seo-content {
  padding: 30px 32px 36px;
  background: #303030;
  line-height: 1.7;
}
.seo-content h1 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.3;
}
.seo-content h2 {
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 1.35;
}
.seo-content h3 {
  margin: 26px 0 12px;
  font-size: 21px;
}
.seo-content p {
  margin: 0 0 16px;
  font-size: 16px;
}
.seo-content ol {
  padding-left: 26px;
}
.seo-content li {
  margin: 6px 0;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  font-size: 14px;
  background: #222;
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  background: #444;
  padding: 12px 20px;
  border-radius: 24px;
}
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  border: 1px solid #ffffff40;
  border-radius: 8px;
  box-shadow: 0 4px 15px #0005;
  cursor: pointer;
}
.back-to-top[hidden] {
  display: none;
}
.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;
}
@media (min-width: 1600px) {
  .seo-content {
    padding-inline: max(32px, calc((100vw - 1536px) / 2));
  }
}
@media (max-width: 767px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px;
  }
  .brand img {
    width: 160px;
  }
  .header-actions {
    display: contents;
  }
  .languages {
    order: 0;
    margin-left: auto;
  }
  .header-actions > .button {
    order: 1;
    flex: 1;
  }
  .login-stage {
    min-height: 550px;
    padding: 32px 16px;
  }
  .login-card {
    padding: 22px;
  }
  .seo-content {
    padding: 26px 20px;
  }
  .seo-content h1 {
    font-size: 25px;
  }
  .seo-content h2 {
    font-size: 22px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px;
  }
  .back-to-top {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 767px) {
  .site-header .brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .site-header .languages { grid-column: 2; grid-row: 1; justify-self: end; }
  .header-actions > .button-green { grid-column: 1; grid-row: 2; }
  .header-actions > .button-red { grid-column: 2; grid-row: 2; }
}
