@font-face {
  font-family: "Roboto";
  src: url("assets/roboto-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/roboto-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/roboto-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color: #070707;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
  background: #fff;
}

button,
input {
  font: inherit;
}

button,
a,
.country-field {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100svh;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  background: #fff;
}

.navbar {
  position: relative;
  flex: 0 0 56px;
  height: 56px;
  background: #f5f5f5;
}

.brand-logo {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 95px;
  height: 32px;
  transform: translateX(-50%);
}

.icon-button {
  position: absolute;
  top: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  color: #686868;
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  color: #2e7d32;
  background: rgba(46, 125, 50, 0.08);
  outline: 0;
}

.back-button {
  left: 16px;
}

.back-button span {
  position: absolute;
  top: 14px;
  left: 18px;
  width: 11px;
  height: 11px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.close-button {
  right: 16px;
  font-size: 28px;
  font-weight: 300;
  line-height: 38px;
}

.promo {
  display: block;
  flex: 0 0 48px;
  width: 100%;
  height: 48px;
  margin: 0;
  background: #020804;
  object-fit: contain;
  object-position: center;
}

.registration-area {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  min-height: 0;
  margin: 0 auto;
  padding: 0 16px;
}

.steps {
  display: flex;
  flex: 0 0 66px;
  height: 66px;
  padding-top: 15px;
  margin: 0 0 3px;
}

.step {
  position: relative;
  display: flex;
  flex: 1 1 33.333%;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  color: #050505;
}

.step:not(:last-child)::after {
  position: absolute;
  top: 11px;
  left: calc(50% + 20px);
  right: calc(-50% + 20px);
  height: 4px;
  border-radius: 3px;
  background: #dedede;
  content: "";
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  color: #4d4d4d;
  background: #e5e5e5;
  font-size: 13px;
  font-weight: 700;
  line-height: 23px;
}

.step.active .step-number {
  color: #fff;
  background: #6f91f2;
}

.step-label {
  display: block;
  width: 100%;
  padding-top: 12px;
  overflow: hidden;
  color: #060606;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-section {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.form-section h1 {
  margin: 10px 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.subtitle {
  margin: 0 0 25px;
  overflow: hidden;
  color: #4e4e4e;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signup-form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  margin: 0;
}

.field {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 14px;
}

.field input,
.country-value {
  display: block;
  width: 100%;
  height: 52px;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  background: #fff;
}

.field input {
  padding: 0 15px;
  outline: 0;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input::placeholder {
  color: #000;
  opacity: 1;
}

.field input:focus,
.country-field:focus-visible .country-value {
  border-color: #2e7d32;
  box-shadow: 0 0 0 1px #2e7d32;
}

.field.focused input {
  border-color: #158020;
  box-shadow: 0 0 0 1px #158020;
}

.field.active input::placeholder,
.field.focused input::placeholder {
  color: transparent;
}

.input-label {
  position: absolute;
  z-index: 1;
  top: -8px;
  left: 13px;
  display: none;
  padding: 0 4px;
  color: #0b0b0b;
  background: #fff;
  font-size: 12px;
  line-height: 14px;
}

.field.active .input-label,
.field.focused .input-label {
  display: block;
}

.field.focused .input-label {
  color: #158020;
}

.field.invalid .input-label {
  display: none;
}

.field.invalid input {
  border-color: #f51d24;
  box-shadow: 0 0 0 1px #f51d24;
}

.field.invalid .error-message {
  display: block;
}

.field.focused:not(.invalid) .helper-message {
  display: block;
}

.helper-message,
.error-message {
  display: none;
  margin-top: 5px;
  font-size: 11px;
  line-height: 15px;
}

.helper-message {
  padding-left: 16px;
  color: #575757;
}

.error-message {
  min-height: 24px;
  padding: 4px 16px 5px;
  border-radius: 2px;
  color: #0a0a0a;
  background: #fde8ec;
}

.country-field {
  position: relative;
  width: 100%;
  margin-top: 1px;
  outline: 0;
}

.country-value {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 42px 0 16px;
  color: #050505;
  font-size: 16px;
  line-height: 20px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.country-value::after {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 0;
  height: 0;
  border-top: 5px solid #585858;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: "";
}

.flag-badge {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  overflow: hidden;
  box-sizing: content-box;
  border: 2px solid #6f6f6f;
  border-radius: 50%;
  background: #e30a17;
}

.flag-badge img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.floating-label {
  position: absolute;
  z-index: 1;
  top: -8px;
  left: 12px;
  padding: 0 4px;
  color: #0b0b0b;
  background: #fff;
  font-size: 12px;
  line-height: 14px;
}

.continue-button {
  width: 100%;
  height: 49px;
  margin-top: auto;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: #050505;
  background: #f4c600;
  font-size: 14px;
  font-weight: 700;
  line-height: 49px;
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.continue-button:hover,
.continue-button:focus-visible {
  background: #ffd100;
  box-shadow: 0 0 0 3px rgba(244, 198, 0, 0.28);
  outline: 0;
}

.continue-button:active {
  transform: translateY(1px);
}

.login-prompt {
  display: flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}

.login-prompt a {
  margin-left: 4px;
  color: #007c11;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 160ms ease;
}

.login-prompt a:hover,
.login-prompt a:focus-visible,
.support-link:hover,
.support-link:focus-visible {
  color: #005f0d;
  outline: 0;
}

.footer {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  padding: 0 max(24px, calc((100vw - 430px) / 2 + 24px));
  background: #fff;
}

.trust-marks {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 24px;
}

.trust-marks img:first-child {
  width: 51px;
  height: auto;
}

.trust-marks img:last-child {
  width: 68px;
  height: auto;
}

.support-link {
  display: flex;
  align-items: center;
  min-width: 0;
  color: #008000;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  text-decoration: none;
  transition: color 160ms ease;
}

.chat-icon {
  display: block;
  width: 22px;
  height: 22px;
  margin-left: 6px;
  flex: 0 0 22px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 430px) {
  .registration-area,
  .footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .promo-copy {
    padding-left: 16px;
  }

  .promo-bolt {
    right: 17px;
  }
}

@media (max-width: 350px) {
  .promo-copy {
    padding-right: 45px;
    padding-left: 14px;
  }

  .promo-copy strong {
    font-size: 12px;
  }

  .step-label {
    font-size: 11px;
  }

  .subtitle {
    font-size: 13px;
  }

  .login-prompt,
  .support-link {
    font-size: 12px;
  }

  .trust-marks {
    gap: 6px;
  }

  .trust-marks img:first-child {
    width: 45px;
  }

  .trust-marks img:last-child {
    width: 60px;
  }
}

@media (max-height: 720px) {
  .navbar {
    flex-basis: 52px;
    height: 52px;
  }

  .brand-logo {
    top: 10px;
  }

  .promo {
    flex-basis: 48px;
    height: 48px;
  }

  .steps {
    flex-basis: 56px;
    height: 56px;
    padding-top: 10px;
    margin-bottom: 0;
  }

  .step-label {
    padding-top: 8px;
  }

  .form-section h1 {
    margin: 6px 0 6px;
  }

  .subtitle {
    margin-bottom: 14px;
  }

  .field {
    margin-bottom: 9px;
  }

  .field input,
  .country-value {
    height: 48px;
  }

  .country-value::after {
    top: 20px;
  }

  .continue-button {
    height: 48px;
    line-height: 48px;
  }

  .login-prompt {
    flex-basis: 44px;
  }

  .footer {
    flex-basis: 44px;
    height: 44px;
  }
}

@media (max-height: 650px) {
  .navbar {
    flex-basis: 48px;
    height: 48px;
  }

  .brand-logo {
    top: 8px;
  }

  .icon-button {
    top: 4px;
  }

  .promo {
    flex-basis: 42px;
    height: 42px;
  }

  .steps {
    flex-basis: 50px;
    height: 50px;
    padding-top: 8px;
  }

  .step-number {
    width: 21px;
    height: 21px;
    font-size: 12px;
    line-height: 21px;
  }

  .step:not(:last-child)::after {
    top: 10px;
  }

  .step-label {
    padding-top: 6px;
    font-size: 11px;
  }

  .form-section h1 {
    margin: 4px 0;
    font-size: 19px;
    line-height: 23px;
  }

  .subtitle {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 16px;
  }

  .field {
    margin-bottom: 7px;
  }

  .field input,
  .country-value {
    height: 44px;
  }

  .country-value::after {
    top: 18px;
  }

  .continue-button {
    height: 44px;
    line-height: 44px;
  }

  .login-prompt {
    flex-basis: 38px;
    font-size: 13px;
  }

  .footer {
    flex-basis: 40px;
    height: 40px;
  }

  .trust-marks img:first-child {
    width: 45px;
  }

  .trust-marks img:last-child {
    width: 60px;
  }
}