:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #070c12;
  color: #eaf2f7;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #070c12; }
button, input { font: inherit; }

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
}

.auth-brand {
  padding: clamp(36px, 7vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #1e3444;
  background: #0a121b;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #31d4a0;
  color: #31d4a0;
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 34px;
}

.auth-brand h1 { margin: 5px 0 0; font-size: clamp(38px, 6vw, 72px); line-height: 1; letter-spacing: 0; }
.auth-brand > p:not(.eyebrow) { margin: 14px 0; color: #a6b7c4; font-size: 18px; }
.eyebrow { margin: 0; color: #66dfb7; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.security-note { max-width: 520px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #1e3444; color: #8195a4; line-height: 1.55; }

.auth-panel { padding: clamp(30px, 8vw, 120px); display: flex; flex-direction: column; justify-content: center; max-width: 700px; }
.auth-panel h2 { margin: 8px 0 6px; font-size: 32px; letter-spacing: 0; }
.subtle { color: #8fa2b1; margin: 0 0 28px; }
form { display: grid; gap: 18px; }
label { display: grid; gap: 7px; color: #b8c8d3; font-size: 13px; font-weight: 700; }
input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #2a4558;
  border-radius: 6px;
  background: #0b1620;
  color: #f1f7fa;
  outline: none;
}
input:focus { border-color: #36dca8; box-shadow: 0 0 0 2px rgb(54 220 168 / 14%); }
.primary {
  min-height: 48px;
  border: 1px solid #35d7a5;
  border-radius: 6px;
  background: #35d7a5;
  color: #042017;
  font-weight: 850;
  cursor: pointer;
}
.primary:disabled { opacity: 0.55; cursor: wait; }
.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.source-note { min-height: 20px; margin-top: 22px; color: #657b8b; font-size: 12px; }
.auth-error { min-height: 24px; margin-top: 9px; color: #ff7e8f; font-size: 13px; }

@media (max-width: 760px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { min-height: 230px; border-right: 0; border-bottom: 1px solid #1e3444; padding: 32px 24px; }
  .brand-mark { width: 42px; height: 42px; margin-bottom: 20px; }
  .auth-brand h1 { font-size: 42px; }
  .security-note { display: none; }
  .auth-panel { padding: 38px 24px 60px; }
}
