:root {
  --auth-bg: var(--int-paper, #fbfaf7);
  --auth-surface: var(--int-surface-raised, #f8fafc);
  --auth-surface-strong: var(--int-surface, #ffffff);
  --auth-text: var(--int-ink, #111827);
  --auth-muted: var(--int-muted, #5f6b7a);
  --auth-border: var(--int-line, rgba(17, 24, 39, 0.12));
  --auth-accent: var(--int-cobalt, #2457d6);
  --auth-accent-dark: var(--int-cobalt-dark, #173ea5);
  --auth-green: #1f2937;
  --auth-lime: var(--int-lime, #b7e34b);
  --auth-orange: var(--int-orange, #f97316);
  --auth-shadow: var(--int-shadow-panel, 0 24px 70px rgba(15, 23, 42, 0.12));
}

* {
  box-sizing: border-box;
}

.auth-shell {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(36, 87, 214, 0.16), transparent 34rem),
    radial-gradient(circle at 86% 12%, rgba(183, 227, 75, 0.18), transparent 30rem),
    radial-gradient(circle at 92% 68%, rgba(249, 115, 22, 0.1), transparent 26rem),
    var(--auth-bg);
  color: var(--auth-text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-shell a {
  color: inherit;
}

.auth-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 54px;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  outline-offset: 5px;
}

.auth-brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--auth-text), var(--auth-accent-dark));
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.2);
}

.auth-brand__text {
  display: grid;
  gap: 2px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.auth-brand__text small {
  color: var(--auth-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  color: var(--auth-muted);
  font-size: 0.94rem;
}

.auth-nav a {
  text-decoration: none;
}

.auth-nav a:hover {
  color: var(--auth-accent-dark);
}

.auth-nav a[aria-current="page"] {
  color: var(--auth-accent-dark);
  font-weight: 750;
}

.auth-brand:focus-visible,
.auth-nav a:focus-visible,
.auth-hero__actions a:focus-visible,
.marketing-home__nav-cta:focus-visible,
.auth-provider__option:focus-within {
  outline: 3px solid var(--int-focus-ring, rgba(36, 87, 214, 0.24));
  outline-offset: 4px;
}

.auth-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.auth-hero__copy {
  position: relative;
}

.auth-hero__copy::before {
  position: absolute;
  inset: -38px auto auto -44px;
  z-index: -1;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(207, 95, 49, 0.22);
  border-radius: 999px;
  content: "";
}

.auth-eyebrow,
.auth-card__step {
  margin: 0 0 12px;
  color: var(--auth-accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.auth-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.auth-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--auth-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.auth-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.auth-hero__actions span,
.auth-hero__actions a {
  border: 1px solid var(--auth-border);
  border-radius: 999px;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--auth-surface-strong) 84%, transparent);
  color: var(--auth-text);
  font-size: 0.91rem;
  font-weight: 800;
  text-decoration: none;
}

.auth-hero__actions a:first-child {
  border-color: var(--auth-accent);
  background: var(--auth-accent);
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(36, 87, 214, 0.22);
}

.auth-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 690px;
  margin: 46px 0 0;
}

.auth-stats div {
  border-top: 1px solid var(--auth-border);
  padding-top: 18px;
}

.auth-stats dt {
  color: var(--auth-accent);
  font-size: 1.35rem;
  font-weight: 900;
}

.auth-stats dd {
  margin: 6px 0 0;
  color: var(--auth-muted);
}

.auth-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--auth-border);
  border-radius: 34px;
  padding: 28px;
  background:
    radial-gradient(circle at 92% 0%, rgba(183, 227, 75, 0.14), transparent 14rem),
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
  box-shadow: var(--auth-shadow);
}

.auth-card::before {
  position: absolute;
  top: -70px;
  right: -72px;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: rgba(36, 87, 214, 0.12);
  content: "";
}

.auth-card__header,
.auth-form,
.auth-otp {
  position: relative;
}

.auth-card h2,
.auth-card h3,
.auth-info h2,
.auth-info h3 {
  margin: 0;
  letter-spacing: -0.035em;
}

.auth-card h2 {
  font-size: 2rem;
  overflow-wrap: anywhere;
}

.auth-card__header p:last-child,
.auth-otp p,
.auth-info p,
.auth-field p,
.auth-provider p,
.auth-message {
  color: var(--auth-muted);
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.auth-field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.auth-field label,
.auth-field > span,
.auth-provider legend {
  color: var(--auth-text);
  font-size: 0.9rem;
  font-weight: 800;
}

.auth-field input {
  width: 100%;
  border: 1px solid var(--auth-border);
  border-radius: 18px;
  padding: 16px 17px;
  background: var(--auth-surface-strong);
  color: var(--auth-text);
  font: inherit;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.auth-field input:focus {
  border-color: var(--auth-accent);
  box-shadow: 0 0 0 4px var(--int-focus-ring, rgba(36, 87, 214, 0.24));
}

.auth-field input::placeholder {
  color: #b2a49b;
}

.auth-field p,
.auth-provider p {
  margin: 0;
  font-size: 0.84rem;
}

.auth-provider {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.auth-provider__option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--auth-border);
  border-radius: 20px;
  padding: 14px;
  background: color-mix(in srgb, var(--auth-surface-strong) 84%, transparent);
  cursor: pointer;
}

.auth-provider__option:has(input:checked) {
  border-color: rgba(36, 87, 214, 0.42);
  background: var(--int-cobalt-soft, rgba(36, 87, 214, 0.1));
}

.auth-provider__option input {
  width: 18px;
  height: 18px;
  accent-color: var(--auth-accent);
}

.auth-provider__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.auth-provider__option span {
  display: grid;
  gap: 4px;
}

.auth-provider__option small {
  color: var(--auth-muted);
}

.auth-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.auth-choice {
  display: grid;
  min-width: 0;
  aspect-ratio: 1 / 1;
  gap: 12px;
  place-content: center;
  justify-items: center;
  border: 1px solid var(--auth-border);
  border-radius: 999px;
  padding: clamp(16px, 4vw, 22px);
  background:
    radial-gradient(circle at 50% 18%, rgba(183, 227, 75, 0.14), transparent 5rem),
    rgba(255, 255, 255, 0.86);
  text-align: center;
  text-decoration: none;
  outline-offset: 5px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.auth-choice:hover,
.auth-choice:focus-visible {
  border-color: rgba(36, 87, 214, 0.48);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.13);
  outline: 3px solid var(--int-focus-ring, rgba(36, 87, 214, 0.24));
  transform: translateY(-2px);
}

.auth-choice__logo {
  display: grid;
  width: clamp(58px, 8vw, 72px);
  height: clamp(58px, 8vw, 72px);
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.03em;
  box-shadow: 0 16px 34px rgba(32, 24, 20, 0.18);
}

.auth-choice--telegram .auth-choice__logo,
.auth-provider-status--telegram .auth-provider-status__icon {
  background: linear-gradient(145deg, #37aee2, #1e87c8);
}

.auth-choice--max .auth-choice__logo,
.auth-provider-status--max .auth-provider-status__icon {
  background: linear-gradient(145deg, #3b82f6, #174ea6);
}

.auth-choice--vk .auth-choice__logo,
.auth-provider-status--vk .auth-provider-status__icon {
  background: linear-gradient(145deg, #2787f5, #165fc0);
}

.auth-provider-status--mock .auth-provider-status__icon {
  background: linear-gradient(145deg, #4b6b5c, #264b3c);
}

.auth-choice__content {
  display: grid;
  gap: 6px;
}

.auth-choice__content strong {
  font-size: 1.05rem;
}

.auth-choice__content small,
.auth-provider-note,
.auth-flow-note p,
.auth-dev-fallback p {
  color: var(--auth-muted);
  line-height: 1.5;
}

.auth-provider-note {
  margin: 18px 0 0;
  font-size: 0.9rem;
}

.auth-flow-notes {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.auth-flow-note {
  border: 1px solid var(--auth-border);
  border-radius: 20px;
  padding: 16px;
  background: color-mix(in srgb, var(--auth-surface-strong) 78%, transparent);
}

.auth-flow-note h3,
.auth-flow-note p {
  margin: 0;
}

.auth-flow-note p {
  margin-top: 6px;
  font-size: 0.91rem;
}

.auth-provider-status {
  position: relative;
  display: grid;
  gap: 16px;
  margin-top: 22px;
  border: 1px solid var(--auth-border);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

.auth-provider-status--compact {
  margin-top: 20px;
  padding: 16px;
}

.auth-provider-status__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.auth-provider-status__icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(32, 24, 20, 0.16);
}

.auth-provider-status__eyebrow,
.auth-provider-status h3,
.auth-provider-status p {
  margin: 0;
}

.auth-provider-status__eyebrow {
  color: var(--auth-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-provider-status h3 {
  margin-top: 3px;
  font-size: 1.18rem;
}

.auth-provider-status__body {
  display: grid;
  gap: 10px;
  color: var(--auth-muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.auth-provider-status__poll-note,
.auth-provider-status__noscript {
  border: 1px solid rgba(36, 87, 214, 0.16);
  border-radius: 16px;
  padding: 10px 12px;
  background: var(--int-cobalt-soft, rgba(36, 87, 214, 0.1));
  color: var(--auth-accent-dark);
}

.auth-provider-status__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.auth-provider-status__button,
.auth-provider-status__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  outline-offset: 4px;
}

.auth-provider-status__button {
  border: 1px solid var(--auth-accent);
  background: var(--auth-accent);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(36, 87, 214, 0.22);
}

.auth-provider-status__button--secondary {
  border-color: var(--auth-border);
  background: #ffffff;
  color: var(--auth-text);
  box-shadow: none;
}

.auth-provider-status__link {
  color: var(--auth-accent-dark);
}

.auth-provider-status__button:hover,
.auth-provider-status__button:focus-visible {
  background: var(--auth-accent-dark);
  outline: 3px solid var(--int-focus-ring, rgba(36, 87, 214, 0.24));
}

.auth-provider-status__button--secondary:hover,
.auth-provider-status__button--secondary:focus-visible,
.auth-provider-status__link:hover,
.auth-provider-status__link:focus-visible {
  background: var(--int-cobalt-soft, rgba(36, 87, 214, 0.1));
  color: var(--auth-accent-dark);
  outline: 3px solid var(--int-focus-ring, rgba(36, 87, 214, 0.24));
}

.auth-dev-fallback {
  position: relative;
  margin-top: 24px;
  border: 1px dashed rgba(36, 87, 214, 0.28);
  border-radius: 24px;
  padding: 18px;
  background: var(--int-cobalt-soft, rgba(36, 87, 214, 0.1));
}

.auth-dev-fallback summary {
  cursor: pointer;
  color: var(--auth-accent-dark);
  font-weight: 900;
  outline-offset: 4px;
}

.auth-dev-fallback summary:focus-visible {
  outline: 3px solid var(--int-focus-ring, rgba(36, 87, 214, 0.24));
}

.auth-dev-fallback p {
  margin: 10px 0 0;
  font-size: 0.91rem;
}

.auth-submit {
  width: 100%;
  border: 1px solid var(--auth-accent);
  border-radius: 20px;
  padding: 16px 20px;
  background: var(--auth-accent);
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(36, 87, 214, 0.24);
}

.auth-submit:hover {
  background: var(--auth-accent-dark);
}

.auth-submit--secondary {
  border-color: var(--auth-text);
  background: var(--auth-text);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.22);
}

.auth-submit:focus-visible {
  outline: 3px solid var(--int-focus-ring, rgba(36, 87, 214, 0.24));
  outline-offset: 3px;
}

.auth-verification-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--auth-border);
  border-radius: 28px;
  padding: clamp(20px, 4vw, 28px);
  background:
    radial-gradient(circle at 90% 0%, rgba(183, 227, 75, 0.14), transparent 12rem),
    rgba(255, 255, 255, 0.94);
  box-shadow: var(--auth-shadow);
}

.auth-verification-card .auth-card__header h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.auth-fallback-providers {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.auth-fallback-provider {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--auth-border);
  border-radius: 20px;
  padding: 14px;
  background: color-mix(in srgb, var(--auth-surface-strong) 82%, transparent);
  color: var(--auth-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.auth-fallback-provider p {
  margin: 0;
}

.auth-fallback-provider strong {
  color: var(--auth-text);
}

.auth-fallback-provider span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
}

.auth-fallback-provider--telegram span {
  background: linear-gradient(145deg, #37aee2, #1e87c8);
}

.auth-fallback-provider--max span {
  background: linear-gradient(145deg, #3b82f6, #174ea6);
}

.auth-fallback-provider--vk span {
  background: linear-gradient(145deg, #2787f5, #165fc0);
}

.auth-field--code input {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.34em;
}

.auth-form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.auth-form-actions .auth-submit,
.auth-form-actions .auth-provider-status__button {
  width: 100%;
}

.auth-messages {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.auth-message {
  border: 1px solid var(--auth-border);
  border-radius: 18px;
  padding: 12px 14px;
  font-size: 0.9rem;
}

.auth-message p {
  margin: 0;
  font-weight: 800;
}

.auth-message ul,
.auth-error-list {
  margin: 8px 0 0;
  padding-left: 1.2rem;
}

.auth-message--success {
  border-color: rgba(22, 163, 74, 0.22);
  background: rgba(22, 163, 74, 0.08);
  color: #166534;
}

.auth-message--error,
.auth-error-list {
  color: var(--int-danger, #dc2626);
}

.auth-message--error {
  border-color: rgba(220, 38, 38, 0.22);
  background: rgba(220, 38, 38, 0.07);
}

.auth-message--info {
  border-color: rgba(36, 87, 214, 0.22);
  background: var(--int-cobalt-soft, rgba(36, 87, 214, 0.1));
  color: var(--auth-accent-dark);
}

.auth-error-list {
  font-size: 0.9rem;
  line-height: 1.45;
}

.auth-otp {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  border: 1px dashed rgba(36, 87, 214, 0.28);
  border-radius: 24px;
  padding: 18px;
  background: var(--int-cobalt-soft, rgba(36, 87, 214, 0.1));
}

.auth-form--otp {
  margin-top: 0;
}

.auth-info {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: start;
  margin-top: 74px;
}

.auth-info h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.auth-info__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.auth-info article {
  border: 1px solid var(--auth-border);
  border-radius: 26px;
  padding: 22px;
  background: color-mix(in srgb, var(--auth-surface-strong) 78%, transparent);
}

.auth-info article span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 12px;
  background: var(--int-cobalt-soft, rgba(36, 87, 214, 0.1));
  color: var(--auth-accent-dark);
  font-weight: 900;
}

.auth-login-page {
  display: grid;
  min-height: 100vh;
  align-content: start;
}

.auth-login-layout {
  display: grid;
  width: min(100%, 560px);
  margin: clamp(12px, 5vw, 52px) auto 0;
}

.marketing-home__nav-cta {
  border: 1px solid rgba(36, 87, 214, 0.26);
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--int-cobalt-soft, rgba(36, 87, 214, 0.1));
  color: var(--auth-accent-dark) !important;
  font-weight: 900;
}

.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
}

.marketing-hero__copy h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  overflow-wrap: anywhere;
}

.marketing-hero__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--auth-border);
  border-radius: 34px;
  padding: clamp(24px, 4vw, 34px);
  background:
    radial-gradient(circle at 88% 8%, rgba(183, 227, 75, 0.16), transparent 14rem),
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
  box-shadow: var(--auth-shadow);
}

.marketing-hero__panel::before {
  position: absolute;
  inset: -80px -70px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(36, 87, 214, 0.12);
  content: "";
}

.marketing-hero__panel > * {
  position: relative;
}

.marketing-hero__panel .int-ai-core {
  border: 0;
  background: transparent;
}

.marketing-hero__panel .int-ai-core__map {
  min-height: clamp(20rem, 44vw, 29rem);
  margin-top: 10px;
  border: 1px solid var(--auth-border);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 46%, rgba(36, 87, 214, 0.24), transparent 9rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(248, 250, 252, 0.76));
}

.marketing-hero__panel .int-ai-core__orbit {
  inset: 13%;
  border-color: rgba(36, 87, 214, 0.2);
}

.marketing-hero__panel .int-ai-core__connection {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(36, 87, 214, 0.9), rgba(183, 227, 75, 0.9));
  box-shadow: 0 0 24px rgba(36, 87, 214, 0.28);
  transform: translate(-98%, -50%) rotate(-42deg);
  transform-origin: right center;
}

.marketing-hero__panel .int-ai-core__center {
  width: clamp(7.4rem, 13vw, 9.2rem);
  height: clamp(7.4rem, 13vw, 9.2rem);
  border-radius: 2.2rem;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.marketing-hero__panel .int-ai-core__node {
  min-width: clamp(6.7rem, 11vw, 8.4rem);
  padding: 0.72rem 0.9rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.marketing-hero__panel .int-ai-core__node--active {
  border-color: rgba(36, 87, 214, 0.48);
  background: linear-gradient(145deg, rgba(36, 87, 214, 0.14), rgba(183, 227, 75, 0.18));
  color: var(--auth-accent-dark);
}

.marketing-hero__panel .int-ai-core__marker {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--auth-border);
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.marketing-hero__panel .int-ai-core__marker--risk {
  right: 13%;
  bottom: 28%;
  border-color: rgba(249, 115, 22, 0.3);
  background: var(--int-orange-soft, rgba(249, 115, 22, 0.12));
  color: #9a3412;
}

.marketing-hero__panel .int-ai-core__marker--growth {
  top: 24%;
  left: 15%;
  border-color: rgba(86, 122, 10, 0.24);
  background: var(--int-lime-soft, rgba(183, 227, 75, 0.2));
  color: #375314;
}

.marketing-hero__panel .int-ai-core__body {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.marketing-hero__panel .int-ai-core__body h3,
.int-ai-core__recommendation h4 {
  margin: 0;
  letter-spacing: -0.035em;
}

.marketing-hero__panel .int-ai-core__body p {
  margin: 0;
  color: var(--auth-muted);
  line-height: 1.58;
}

.int-ai-core__recommendation {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  border: 1px solid rgba(36, 87, 214, 0.18);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.int-ai-core__recommendation > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.int-ai-core__recommendation ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.int-ai-core__recommendation li {
  position: relative;
  padding-left: 18px;
  color: var(--auth-text);
  font-weight: 800;
}

.int-ai-core__recommendation li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--auth-accent);
  content: "";
}

.marketing-hero__panel h2,
.marketing-final h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.marketing-hero__panel p:not(.auth-eyebrow) {
  color: var(--auth-muted);
  line-height: 1.65;
}

.marketing-hero__panel .auth-stats {
  grid-template-columns: 1fr;
  margin-top: 28px;
}

.marketing-home__microcopy {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--auth-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.marketing-home__microcopy--panel {
  margin-top: 20px;
  font-size: 0.88rem;
}

.marketing-core__map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  border: 1px solid var(--auth-border);
  border-radius: 28px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 48%, rgba(36, 87, 214, 0.18), transparent 9rem),
    rgba(248, 250, 252, 0.72);
}

.marketing-core__node {
  display: grid;
  min-height: 72px;
  place-items: center;
  border: 1px solid var(--auth-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--auth-accent-dark);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.marketing-core__node--center {
  grid-column: 1 / -1;
  min-height: 92px;
  background: var(--auth-accent);
  color: #ffffff;
  font-size: 1.15rem;
  box-shadow: 0 16px 36px rgba(36, 87, 214, 0.24);
}

.marketing-core__node--growth {
  border-color: rgba(86, 122, 10, 0.2);
  background: var(--int-lime-soft, rgba(183, 227, 75, 0.2));
  color: #375314;
}

.marketing-core__node--risk {
  border-color: rgba(249, 115, 22, 0.28);
  background: var(--int-orange-soft, rgba(249, 115, 22, 0.12));
  color: #9a3412;
}

.marketing-trust {
  display: block;
  margin-top: 42px;
}

.marketing-trust .int-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.marketing-trust .int-trust-bar > *,
.marketing-chip-grid span {
  border: 1px solid var(--auth-border);
  border-radius: 999px;
  padding: 12px 15px;
  background: color-mix(in srgb, var(--auth-surface-strong) 80%, transparent);
  color: var(--auth-text);
  font-size: 0.9rem;
  font-weight: 900;
}

.marketing-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.marketing-flow__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.marketing-flow__steps span {
  position: relative;
  border: 1px solid var(--auth-border);
  border-radius: 20px;
  padding: 18px;
  background: color-mix(in srgb, var(--auth-surface-strong) 80%, transparent);
  color: var(--auth-accent-dark);
  font-weight: 900;
}

.marketing-flow__steps strong {
  display: block;
  margin-bottom: 10px;
  color: var(--auth-muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.marketing-before-after {
  align-items: stretch;
}

.marketing-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.marketing-process article {
  border: 1px solid var(--auth-border);
  border-radius: 28px;
  padding: 24px;
  background: color-mix(in srgb, var(--auth-surface-strong) 80%, transparent);
}

.marketing-process article:nth-child(2) {
  background: var(--auth-text);
  color: #ffffff;
}

.marketing-process span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--int-cobalt-soft, rgba(36, 87, 214, 0.1));
  color: var(--auth-accent-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

.marketing-process article:nth-child(2) span {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.marketing-process h3,
.marketing-process p {
  margin: 0;
}

.marketing-process p {
  margin-top: 10px;
  color: var(--auth-muted);
  line-height: 1.55;
}

.marketing-process article:nth-child(2) p {
  color: rgba(255, 255, 255, 0.72);
}

.marketing-final {
  grid-template-columns: 1fr;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  padding: clamp(24px, 5vw, 44px);
  background:
    radial-gradient(circle at 82% 12%, rgba(36, 87, 214, 0.34), transparent 22rem),
    radial-gradient(circle at 14% 82%, rgba(183, 227, 75, 0.16), transparent 18rem),
    var(--auth-text);
  color: #ffffff;
}

.marketing-final p:not(.auth-eyebrow):not(.marketing-home__microcopy) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
}

.marketing-final .auth-eyebrow,
.marketing-final .marketing-home__microcopy {
  color: rgba(255, 255, 255, 0.76);
}

.marketing-final .auth-hero__actions a:first-child {
  border-color: var(--auth-lime);
  background: var(--auth-lime);
  color: var(--auth-text);
}

.marketing-final .auth-hero__actions a:not(:first-child) {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.marketing-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 46px;
  border-top: 1px solid var(--auth-border);
  padding-top: 24px;
  color: var(--auth-muted);
  font-weight: 800;
}

.public-directions {
  align-items: stretch;
}

.public-directions > div:first-child p:not(.auth-eyebrow) {
  margin: 18px 0 0;
  color: var(--auth-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.public-directions__grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.public-blog__hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.public-blog__headline {
  max-width: 820px;
}

.public-blog__headline h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.public-blog__headline p:not(.auth-eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--auth-muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.public-blog__featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
  gap: clamp(20px, 4vw, 42px);
  align-items: stretch;
  margin-top: 38px;
  border: 1px solid rgba(56, 40, 30, 0.12);
  border-radius: 36px;
  padding: clamp(20px, 4vw, 34px);
  background: rgba(255, 250, 243, 0.88);
  box-shadow: var(--auth-shadow);
  text-decoration: none;
}

.public-blog__featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
}

.public-blog__featured-copy strong {
  display: block;
  max-width: 720px;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.public-blog__featured-copy span:not(.auth-eyebrow) {
  max-width: 620px;
  margin-top: 20px;
  color: var(--auth-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.public-blog__featured-copy time,
.public-blog__card time {
  margin-top: 20px;
  color: #8f8179;
  font-size: 0.88rem;
  font-weight: 800;
}

.public-blog__featured-media,
.public-blog__card-media,
.public-blog-detail__cover {
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(207, 95, 49, 0.3), transparent 12rem),
    linear-gradient(135deg, #264b3c, #1c3028);
}

.public-blog__featured-media {
  display: grid;
  min-height: 320px;
  place-items: center;
  border-radius: 28px;
  color: rgba(255, 250, 244, 0.82);
  font-size: clamp(1.6rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.public-blog__featured-media img,
.public-blog__card-media img,
.public-blog-detail__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-blog__library {
  margin-top: 44px;
  border-radius: 38px 38px 28px 28px;
  padding: clamp(18px, 4vw, 34px);
  background: #ebe7e1;
}

.public-blog__filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto;
  gap: 12px;
  align-items: end;
}

.public-blog__filters label {
  display: grid;
  gap: 6px;
  color: var(--auth-muted);
  font-size: 0.75rem;
  font-weight: 900;
}

.public-blog__filters select,
.public-blog__filters button,
.public-blog__filters a,
.public-blog-detail__back {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(56, 40, 30, 0.1);
  border-radius: 999px;
  padding: 9px 17px;
  background: rgba(255, 255, 255, 0.72);
  color: #4a3d36;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.public-blog__filters select {
  width: 100%;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.public-blog__filters button {
  border-color: var(--auth-text);
  background: var(--auth-text);
  color: #fffaf4;
  cursor: pointer;
}

.public-blog__filters a {
  margin-bottom: 1px;
}

.public-blog__section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}

.public-blog__section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.public-blog__section-head p {
  margin: 0;
  color: var(--auth-muted);
  font-weight: 800;
}

.public-blog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.public-blog__card {
  overflow: hidden;
  border: 1px solid rgba(56, 40, 30, 0.1);
  border-radius: 28px;
  background: rgba(255, 250, 243, 0.9);
  color: var(--auth-text);
  text-decoration: none;
  box-shadow: 0 16px 44px rgba(61, 42, 27, 0.08);
}

.public-blog__card-media {
  display: grid;
  aspect-ratio: 1.25;
  place-items: center;
  color: rgba(255, 250, 244, 0.8);
  font-weight: 900;
}

.public-blog__card-body {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 18px;
}

.public-blog__tag {
  align-self: flex-start;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(207, 95, 49, 0.12);
  color: var(--auth-accent-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.public-blog__card strong {
  display: block;
  margin-top: 14px;
  font-size: 1.25rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.public-blog__empty {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed rgba(56, 40, 30, 0.18);
  border-radius: 24px;
  padding: 28px;
  background: rgba(255, 250, 243, 0.64);
  color: var(--auth-muted);
  font-weight: 800;
}

.public-blog-detail__article {
  max-width: 940px;
  margin: 0 auto;
}

.public-blog-detail__header {
  margin-top: 34px;
}

.public-blog-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--auth-accent-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.public-blog-detail__meta span,
.public-blog-detail__meta time {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 250, 243, 0.76);
}

.public-blog-detail__header h1 {
  margin: 22px 0 0;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.public-blog-detail__header p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--auth-muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.public-blog-detail__cover {
  display: grid;
  min-height: 380px;
  place-items: center;
  margin-top: 34px;
  border-radius: 34px;
  color: rgba(255, 250, 244, 0.82);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.public-blog-detail__content {
  margin-top: 34px;
  border: 1px solid rgba(56, 40, 30, 0.1);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 38px);
  background: rgba(255, 250, 243, 0.86);
  color: #352b25;
  font-size: 1.08rem;
  line-height: 1.8;
  white-space: pre-line;
}

.public-blog-detail__content > :first-child {
  margin-top: 0;
}

.public-blog-detail__content > :last-child {
  margin-bottom: 0;
}

.public-blog-detail__content h2,
.public-blog-detail__content h3,
.public-blog-detail__content h4 {
  margin: 2rem 0 0.8rem;
  color: #1f1814;
  line-height: 1.2;
}

.public-blog-detail__content img,
.public-blog-detail__content figure {
  max-width: 100%;
}

.public-blog-detail__content img {
  height: auto;
  border-radius: 18px;
}

.public-blog-detail__content figure {
  margin: 1.5rem 0;
}

.public-blog-detail__content figcaption {
  margin-top: 0.5rem;
  color: var(--auth-muted);
  font-size: 0.9rem;
}

.public-blog-detail__content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.public-blog-detail__content td,
.public-blog-detail__content th {
  padding: 0.65rem;
  border: 1px solid rgba(56, 40, 30, 0.16);
  text-align: left;
}

.public-contacts__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: 520px;
}

.public-contacts__intro h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.public-contacts__intro > p:not(.auth-eyebrow) {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--auth-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.public-contacts__intro > small {
  display: block;
  margin-top: 18px;
  color: var(--auth-muted);
  line-height: 1.5;
}

.public-contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.public-contacts__actions a {
  display: inline-flex;
  min-height: 50px;
  padding: 0 21px;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--auth-border);
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
}

.public-contacts__primary {
  border-color: transparent !important;
  background: linear-gradient(180deg, var(--auth-accent), var(--auth-accent-dark));
  color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(36, 87, 214, 0.24);
}

.public-contacts__secondary {
  background: rgba(255, 255, 255, 0.76);
}

.public-contacts__signal {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--auth-border);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--auth-shadow);
}

.public-contacts__signal > p {
  margin: 0 0 20px;
  color: var(--auth-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.public-contacts__signal ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-contacts__signal li {
  display: grid;
  grid-template-columns: 48px 1fr;
  padding: 16px;
  gap: 4px 14px;
  border: 1px solid var(--auth-border);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.88);
}

.public-contacts__signal li > span {
  grid-row: 1 / 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--auth-text);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
}

.public-contacts__signal li > strong {
  align-self: end;
}

.public-contacts__signal li > small {
  color: var(--auth-muted);
  line-height: 1.4;
}

.public-contacts__routes {
  margin-top: 46px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 34px;
  background: #111c32;
  color: #ffffff;
}

.public-contacts__section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.public-contacts__section-head .auth-eyebrow {
  color: #b9ceff;
}

.public-contacts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.public-contacts__grid article {
  display: flex;
  min-height: 260px;
  padding: 22px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.public-contacts__grid article > span {
  color: #b9ceff;
  font-size: 2rem;
}

.public-contacts__grid h3 {
  margin: 22px 0 10px;
  font-size: 1.2rem;
}

.public-contacts__grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.public-contacts__grid a {
  width: fit-content;
  margin-top: auto;
  padding-top: 20px;
  color: #ffffff;
  font-weight: 800;
}

.auth-security {
  margin-top: 30px;
  border: 1px solid rgba(38, 75, 60, 0.18);
  border-radius: 22px;
  padding: 18px 20px;
  background: rgba(38, 75, 60, 0.08);
  color: #334b40;
}

@media (max-width: 980px) {
  .auth-header,
  .auth-hero,
  .auth-info,
  .marketing-hero,
  .public-blog__featured,
  .public-contacts__hero,
  .marketing-flow__steps,
  .marketing-trust .int-trust-bar,
  .marketing-process {
    grid-template-columns: 1fr;
  }

  .public-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-blog__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-contacts__grid {
    grid-template-columns: 1fr;
  }

  .public-directions__grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-header {
    align-items: flex-start;
  }

  .auth-nav {
    justify-content: flex-start;
  }

  .auth-hero {
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .auth-page {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .auth-header {
    margin-bottom: 34px;
  }

  .auth-nav {
    display: flex;
    gap: 8px;
    font-size: 0.86rem;
  }

  .auth-stats,
  .auth-info__grid,
  .auth-choice-grid,
  .auth-provider__grid,
  .auth-form-actions,
  .public-blog__grid,
  .public-directions__grid--four {
    grid-template-columns: 1fr;
  }

  .public-blog__filters {
    grid-template-columns: 1fr;
  }

  .auth-choice {
    width: min(100%, 240px);
    margin-inline: auto;
  }

  .public-contacts__intro h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .public-contacts__actions a {
    width: 100%;
  }

  .auth-card {
    border-radius: 26px;
    padding: 20px;
  }
}
