@charset "UTF-8";

.terms-field { margin-top: 22px; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: #727b84; font-size: 12px; line-height: 1.7; }
.consent input { flex: 0 0 15px; width: 15px; height: 15px; margin: 3px 0 0; accent-color: #252e38; }
.consent a { color: #4c5964; }
.auth-documents { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 36px; color: #8b939a; font-size: 10px; line-height: 1.6; }


:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #20272e;
  background: #fafbfc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --slate: #252e38;
  --ink: #20272e;
  --muted: #6e757c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button,
input {
  font: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 12px 16px;
  background: white;
  border-radius: 4px;
  transform: translateY(-160%);
}

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

.entry-page {
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: 100svh;
}

.intro {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100svh;
  padding: 42px clamp(36px, 4.1vw, 76px) 35px;
  color: #fafbfc;
  background: var(--slate);
}

.brand {
  display: inline-block;
  vertical-align: top;
}

.brand-logo {
  display: block;
  width: 242px;
  height: auto;
  filter: invert(1);
  mix-blend-mode: screen;
}

.intro-copy {
  margin: auto 0;
  padding: 70px 0 64px;
}

.intro-copy h1 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(38px, 4.05vw, 66px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.intro-copy > p {
  max-width: 630px;
  margin: 27px 0 0;
  color: #bac0c6;
  font-size: clamp(17px, 1.38vw, 22px);
  line-height: 1.6;
  letter-spacing: -0.012em;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 64px clamp(32px, 4vw, 70px);
  background: #fafbfc;
}

.auth-content {
  width: 100%;
  max-width: 424px;
  padding-bottom: 20px;
}

.auth-content h2 {
  margin: 0 0 38px;
  font-size: clamp(26px, 2.14vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.auth-description {
  margin: -17px 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.field + .field {
  margin-top: 23px;
}

.field label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.field input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid #cbd0d5;
  border-radius: 6px;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
  transition: border-color 160ms, box-shadow 160ms;
}

.field input::placeholder {
  color: #8b9197;
  opacity: 1;
}

.field input:hover {
  border-color: #9ca5ad;
}

.field input:focus {
  border-color: #46535f;
  box-shadow: 0 0 0 3px #252e380d;
}

.field input[aria-invalid="true"] {
  border-color: #9e4a45;
}

.password-input {
  position: relative;
}

.password-input input {
  padding-right: 49px;
}

.password-toggle {
  position: absolute;
  top: 0;
  right: 3px;
  width: 44px;
  height: 52px;
  color: #818a92;
  border-radius: 5px;
}

.password-toggle:hover {
  color: #283641;
}

.eye-slash {
  display: none;
}

.password-toggle[aria-pressed="true"] .eye-slash {
  display: block;
}

.field-error {
  margin: 8px 0 0;
  color: #8d403c;
  font-size: 12px;
  line-height: 1.5;
}

.recovery-link {
  margin-top: 15px;
  text-align: right;
  font-size: 13px;
  line-height: 1.5;
}

.recovery-link a {
  color: #616b74;
}

.recovery-link a:hover,
.auth-switch a:hover,
.back-to-login a:hover {
  color: #11171c;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 53px;
  margin-top: 31px;
  padding: 14px 18px;
  border: 1px solid #252d34;
  border-radius: 6px;
  color: #fff;
  background: #252d34;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  transition: background 160ms, transform 160ms;
}

.submit-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.submit-button:hover {
  background: #151d24;
}

.submit-button:active {
  transform: translateY(1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-switch,
.back-to-login {
  margin: 26px 0 0;
  color: #737b83;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}

.auth-switch a {
  margin-left: 7px;
  color: #3e4851;
}

.back-to-login a {
  color: #3e4851;
}

.form-message {
  margin: 20px 0 0;
  padding: 13px 15px;
  border: 1px solid #d5d9dc;
  border-radius: 6px;
  color: #505d66;
  background: #f1f3f5;
  font-size: 13px;
  line-height: 1.6;
}

@media (min-width: 1800px) {
  .intro {
    padding-left: max(76px, calc((100vw - 1648px) / 2));
  }
}

@media (max-width: 1100px) {
  .entry-page {
    grid-template-columns: 54% 46%;
  }

  .intro {
    padding: 32px;
  }

  .brand-logo {
    width: 215px;
  }

  .intro-copy h1 {
    font-size: 44px;
  }

  .intro-copy > p {
    font-size: 17px;
  }

  .auth-panel {
    padding: 48px 32px;
  }

  .auth-content h2 {
    font-size: 27px;
  }
}

@media (max-width: 760px) {
  .entry-page {
    display: block;
  }

  .intro {
    min-height: auto;
    padding: 28px 25px 32px;
  }

  .brand-logo {
    width: 204px;
  }

  .intro-copy {
    margin: 0;
    padding: 55px 0 0;
  }

  .intro-copy h1 {
    max-width: 600px;
    font-size: clamp(34px, 6vw, 47px);
    line-height: 1.13;
  }

  .intro-copy > p {
    max-width: 540px;
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.6;
  }

  .auth-panel {
    padding: 42px 25px 52px;
  }

  .auth-content {
    max-width: 480px;
    padding: 0;
  }

  .auth-content h2 {
    margin-bottom: 29px;
    font-size: 27px;
  }

  .field input {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .intro,
  .auth-panel {
    padding-right: 20px;
    padding-left: 20px;
  }

  .intro-copy h1 {
    font-size: 32px;
  }

  .auth-switch a {
    display: inline-block;
    margin-left: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

