/* Auth pages. Same flat brand system, no gradients. */

.auth-body { background: var(--paper); }
.auth-top { border-bottom: 1px solid var(--line); }
.auth-top-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.auth-back {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.auth-back:hover { color: var(--ink); }

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .86fr);
  min-height: calc(100vh - 121px);
}
.auth-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
  padding: clamp(36px, 6vw, 84px);
  background: var(--ink);
  color: var(--white);
}
.auth-aside .eyebrow { color: #a7aa9f; }
.auth-aside h1 {
  max-width: 680px;
  margin: 24px 0 18px;
  font-family: var(--display);
  font-size: clamp(42px, 5.6vw, 78px);
  line-height: .94;
  letter-spacing: -.06em;
}
.auth-aside h1 em { font-style: normal; color: var(--accent); }
.auth-aside > div > p:last-child {
  max-width: 520px;
  margin: 0;
  color: #b4b7ad;
  font-size: 14px;
}
.auth-points {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}
.auth-points li {
  padding: 12px 0 12px 20px;
  border-bottom: 1px solid var(--line-dark);
  color: #d4d7cf;
  font-size: 12px;
  position: relative;
}
.auth-points li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 600;
}
.auth-aside-note {
  margin: 0;
  color: #7d8277;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
}
.auth-card { width: 100%; max-width: 440px; }
.auth-card .eyebrow { margin-bottom: 18px; }
.auth-card h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 50px);
  line-height: .98;
  letter-spacing: -.055em;
}
.auth-lede {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.auth-form { display: grid; gap: 15px; }
.auth-form .field { margin: 0; }
.auth-form .field input {
  background: var(--white);
  height: 46px;
}
.auth-form .button { width: 100%; min-height: 48px; margin-top: 4px; }
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -2px;
}
.auth-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.auth-check input { accent-color: var(--accent); }
.auth-check a { color: var(--accent); text-decoration: underline; }
.auth-row a,
.auth-links a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.auth-row a:hover,
.auth-links a:hover { text-decoration: underline; }
.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.auth-links a { color: var(--muted); }
.auth-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.auth-code {
  height: 58px;
  text-align: center;
  font-family: var(--mono);
  font-size: 24px;
  letter-spacing: 10px;
}
.auth-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.auth-footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
}

@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; min-height: calc(100vh - 121px); }
  .auth-aside { display: none; }
  .auth-panel { padding: 42px 24px 58px; }
}

@media (max-width: 520px) {
  .auth-top-inner { min-height: 64px; }
  .auth-card h2 { font-size: 36px; }
  .auth-links { flex-direction: column; }
  .auth-footer .shell { flex-direction: column; }
}
