/* Sign-in shell: form column on the page ground, deep brand panel on the right.
   Phones: the panel becomes a short brand band above the form. */

.t-auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--color-bg);
}

.t-auth__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  padding: var(--space-7) clamp(var(--space-6), 6vw, 96px);
}

.t-auth__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.t-auth__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) 0;
}

.t-auth__form {
  width: min(100%, 420px);
  gap: var(--space-5);
}

.t-auth__form > h1,
.t-auth__form h1.t-card__title {
  font-size: 36px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.t-auth__form > p {
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.5;
}

.t-auth__form .t-input,
.t-auth__form .t-select {
  min-height: var(--control-height-lg);
}

.t-auth__form .t-btn--block {
  min-height: var(--control-height-lg);
  font-size: var(--font-size-base);
}

.t-auth__alt {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.t-auth__alt a {
  font-weight: 600;
}

.t-auth-address {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.t-auth__footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  font-size: 13px;
}

.t-auth__footer a {
  color: var(--color-text-muted);
}

/* ---------- Brand panel ---------- */
.t-auth__panel {
  position: relative;
  overflow: hidden;
  margin: var(--space-4);
  padding: 56px;
  border-radius: 28px;
  background: var(--color-deep);
  color: var(--color-deep-text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-7);
}

.t-auth__panel::before,
.t-auth__panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.t-auth__panel::before {
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
}

.t-auth__panel::after {
  right: -40px;
  top: -40px;
  width: 260px;
  height: 260px;
}

.t-auth__intro {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 480px;
}

.t-auth__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-deep-accent);
}

.t-auth__headline {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: pre-line;
}

.t-auth__sample {
  position: relative;
  max-width: 460px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.t-auth__sample-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.t-auth__sample-title {
  font-weight: 600;
}

.t-auth__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}

.t-auth__step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.t-auth__step::before {
  content: "";
  height: 4px;
  border-radius: 4px;
  background: var(--color-border-strong);
}

.t-auth__step--done {
  color: var(--color-text);
}

.t-auth__step--done::before {
  background: var(--brand-accent);
}

.t-auth__trust {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.t-auth__trust li {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  line-height: 1.45;
  color: var(--color-deep-muted);
}

.t-auth__trust .t-icon {
  width: 20px;
  height: 20px;
  color: var(--color-deep-accent);
}

@media (max-width: 1100px) {
  .t-auth__headline {
    font-size: 36px;
  }

  .t-auth__trust {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }

  .t-auth__trust li {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .t-auth {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
  }

  .t-auth__panel {
    order: -1;
    margin: 0;
    padding: var(--space-6) var(--space-5) var(--space-7);
    border-radius: 0 0 28px 28px;
    gap: 0;
  }

  .t-auth__headline {
    font-size: 30px;
  }

  .t-auth__eyebrow,
  .t-auth__sample,
  .t-auth__trust {
    display: none;
  }

  .t-auth__body {
    min-height: 0;
    padding: var(--space-5);
  }

  .t-auth__main {
    align-items: flex-start;
    padding: var(--space-5) 0 var(--space-7);
  }

  .t-auth__form > h1,
  .t-auth__form h1.t-card__title {
    font-size: 28px;
  }
}

.t-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
