.landing-header,
.landing-header * {
  box-sizing: border-box;
}

.landing-header {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 80px;
  border-radius: 0 0 24px 24px;
  background: #1d2c64;
  box-shadow: 0 4px 3px rgba(12, 29, 70, .25);
}

.landing-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.landing-brand__logo {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.landing-brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.landing-brand__copy strong {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.45px;
}

.landing-brand__copy span {
  margin-top: 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.25px;
}

.landing-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 34px;
  padding: 0 15px;
  border-radius: 8px;
  color: #1d2c64;
  box-shadow: 0 3px 2px rgba(8, 21, 59, .28);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.landing-button:hover,
.landing-back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 3px rgba(8, 21, 59, .25);
}

.landing-button--signup {
  background: #eaf3ff;
}

.landing-button--login,
.landing-back-button {
  background: #ffdd59;
}

.landing-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #1d2c64;
  box-shadow: 0 3px 2px rgba(8, 21, 59, .28);
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.landing-back-button svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-header a:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px #1d2c64;
}

@media (max-width: 720px) {
  .landing-header {
    height: auto;
    min-height: 82px;
    border-radius: 0 0 18px 18px;
  }

  .landing-header__inner {
    width: calc(100% - 28px);
    padding: 12px 0;
    gap: 12px;
  }

  .landing-brand {
    min-width: 0;
    gap: 8px;
  }

  .landing-brand__logo {
    width: 40px;
    height: 40px;
  }

  .landing-brand__copy strong {
    font-size: 13px;
    letter-spacing: -.2px;
  }

  .landing-brand__copy span {
    margin-top: 2px;
    font-size: 11px;
  }

  .landing-actions {
    gap: 7px;
  }

  .landing-button {
    min-width: 62px;
    height: 34px;
    padding: 0 9px;
    font-size: 12px;
  }

  .landing-back-button {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .landing-back-button svg {
    width: 23px;
    height: 23px;
  }
}

@media (max-width: 480px) {
  .landing-brand__logo {
    width: 34px;
    height: 34px;
  }

  .landing-brand__copy strong {
    font-size: 11px;
  }

  .landing-brand__copy span {
    font-size: 9.5px;
  }

  .landing-button {
    min-width: 55px;
    height: 32px;
    padding: 0 7px;
    font-size: 11px;
  }

  .landing-back-button {
    width: 32px;
    height: 32px;
  }

  .landing-back-button svg {
    width: 21px;
    height: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-button,
  .landing-back-button {
    transition: none;
  }
}
