.premium-mark {
  width: 58px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  transform: none;
  flex: 0 0 58px;
}

.premium-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dash-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.dash-logo img {
  width: 44px;
  height: 33px;
  object-fit: contain;
}

.dash-logo .dash-word {
  color: #10100f;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.dash-logo .dash-word b {
  color: #f06131;
}

.site-header .brand-text {
  transform: translateX(10px);
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.brand-cluster .brand,
.brand-cluster .login-trigger {
  align-self: center;
}

h1 em,
h2 em,
h3 em,
blockquote em {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
  letter-spacing: inherit;
  line-height: inherit;
}

.login-trigger {
  border: 1px solid rgba(16, 16, 15, 0.28);
  background: transparent;
  color: #10100f;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: 0.2s ease;
}

.login-trigger:hover {
  background: #10100f;
  color: #fff;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.login-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 10, 9, 0.72);
  backdrop-filter: blur(12px);
}

.login-card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  background: #faf8f3;
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}

.login-modal[aria-hidden="false"] .login-card {
  transform: none;
}

.login-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(16, 16, 15, 0.15);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
}

.login-logo {
  width: 72px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 20px;
}

.login-card h2 {
  margin: 0 0 24px;
  font-size: 34px;
}

.google-login,
.login-submit {
  width: 100%;
  border: 0;
  border-radius: 14px;
  min-height: 52px;
  font-weight: 700;
  cursor: pointer;
}

.google-login {
  background: #fff;
  border: 1px solid rgba(16, 16, 15, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.google-login span {
  color: #f06131;
  font-size: 18px;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8a857d;
  font-size: 11px;
  margin: 20px 0;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(16, 16, 15, 0.12);
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
}

.login-form input {
  width: 100%;
  border: 1px solid rgba(16, 16, 15, 0.15);
  background: #fff;
  border-radius: 12px;
  min-height: 50px;
  padding: 0 15px;
  outline: none;
}

.login-form input:focus {
  border-color: #f06131;
  box-shadow: 0 0 0 3px rgba(240, 97, 49, 0.12);
}

.login-submit {
  background: #f06131;
  color: #fff;
  margin-top: 4px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 680px) {
  .premium-mark {
    width: 51px;
    height: 40px;
    flex-basis: 51px;
  }

  .login-trigger {
    padding: 7px 10px;
    font-size: 10px;
    text-align: center;
    width: fit-content;
  }

  .brand-cluster {
    gap: 8px;
  }

  .login-card {
    padding: 34px 24px 28px;
  }
}
