.heroHeader {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
}

.businessIdentity {
  min-width: 0;
}

.businessLogo {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 10px 24px rgba(24, 36, 38, .10);
}

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

.businessLogo img[hidden],
.businessLogo span[hidden] {
  display: none;
}

.businessLogo span {
  color: var(--accent);
  font-size: 30px;
  font-weight: 950;
}

.hero h1 {
  margin-top: 14px;
  overflow-wrap: anywhere;
}

.rumtaBrandLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--accent);
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: 0 8px 20px rgba(24, 36, 38, .08);
}

.rumtaBrandLink:focus-visible,
footer a:focus-visible,
.downloadAction:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}

.rumtaMark {
  width: 25px;
  height: 25px;
  display: block;
  object-fit: contain;
}

.phoneField {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
}

.phoneField:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.phonePrefix {
  padding: 0 0 0 14px;
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.phoneField input {
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
  background: transparent;
}

.phoneField.invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .10);
}

.compactHint {
  margin: 0;
  font-size: 12px;
}

.fieldError {
  margin: 0;
  color: #b42318;
  font-size: 12px;
  font-weight: 750;
}

.notificationChoices {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 12px 0 6px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.notificationChoices legend {
  padding: 0 5px;
  color: var(--text);
  font-weight: 850;
}

.notificationChoice {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

.notificationChoice input {
  width: 19px;
  min-height: 19px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--accent);
}

.notificationChoice span,
.notificationChoice strong,
.notificationChoice small {
  display: block;
  min-width: 0;
}

.privacyConsentChoice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 8px;
  color: var(--text);
  line-height: 1.42;
}

.privacyConsentChoice input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.privacyConsentChoice a {
  color: var(--accent);
  font-weight: 700;
}

.notificationChoice small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.disabledChoice {
  cursor: default;
  opacity: .55;
}

.confirmationNotificationBox {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--bg);
}

.confirmationNotificationBox h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 17px;
}

.confirmationNotificationBox > .hint {
  margin: 0 0 10px;
}

.confirmationNotificationBox .notificationChoice {
  margin-bottom: 7px;
  background: var(--card);
}

.telegramAction,
.downloadAction {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 10px;
  border: 0;
  border-radius: 14px;
  padding: 11px 14px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
}

.telegramAction {
  color: #fff;
  background: #229ed9;
}

.downloadAction {
  color: var(--accent-contrast);
  background: var(--accent);
}

.linkBox {
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
}

#message {
  color: var(--text) !important;
  font-weight: 700;
}

#message.success {
  border-color: rgba(24, 121, 78, .42) !important;
  background: #eaf8f0 !important;
  color: #104d34 !important;
}

footer a {
  margin-left: 5px;
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 440px) {
  .heroHeader {
    gap: 10px;
  }

  .businessLogo {
    width: 66px;
    height: 66px;
    border-radius: 18px;
  }

  .rumtaBrandLink {
    gap: 4px;
    padding: 6px 8px;
    font-size: 10px;
  }

  .rumtaMark {
    width: 22px;
    height: 22px;
  }
}

/* RUMTA_UI_CONSENT_SQUARE_FIX2 */
.businessLogo[hidden] {
  display: none !important;
}
.privacyConsentChoice input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px !important;
  aspect-ratio: 1 / 1;
  margin: 1px 0 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}
