/* Beacon — authentication pages (login / signup) */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans, 'Hanken Grotesk', system-ui, sans-serif);
  color: var(--text, #1a1d29);
  background: var(--surface, #fff);
}
.auth {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100vh;
}

/* ---- Left brand panel ---- */
.auth__brandside {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 0% 0%, #4d5cff 0%, #3D4EF5 45%, #2a36c4 100%);
  color: #fff;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth__brandside::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.18);
  box-shadow: 0 0 0 60px rgba(255,255,255,.05), 0 0 0 140px rgba(255,255,255,.035);
}
.auth__brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.auth__pitch { max-width: 420px; position: relative; z-index: 1; }
.auth__pitch h1 { font-size: 34px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 700; }
.auth__pitch h1 .em { color: #C7EA3B; }
.auth__pitch p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.78); margin: 0 0 28px; }
.auth__feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.auth__feats li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: rgba(255,255,255,.92); }
.auth__feats .dot { width: 22px; height: 22px; flex: none; border-radius: 7px; background: rgba(199,234,59,.16); display: grid; place-items: center; }
.auth__feats .dot svg { width: 13px; height: 13px; stroke: #C7EA3B; }
.auth__foot { font-size: 12.5px; color: rgba(255,255,255,.6); position: relative; z-index: 1; }

/* ---- Right form panel ---- */
.auth__formside { display: flex; align-items: center; justify-content: center; padding: 40px 28px; }
.auth__card { width: 100%; max-width: 380px; }
.auth__card h2 { font-size: 25px; letter-spacing: -.02em; margin: 0 0 6px; font-weight: 700; }
.auth__card .sub { font-size: 14px; color: var(--text-muted, #6b7280); margin: 0 0 26px; }
.auth__card .sub a { color: var(--primary, #3D4EF5); text-decoration: none; font-weight: 600; }
.auth__card .sub a:hover { text-decoration: underline; }

.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; color: var(--text-strong, #1a1d29); }
.field input {
  width: 100%; height: 44px; padding: 0 13px;
  border: 1.5px solid var(--border, #e3e6ed); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--text, #1a1d29);
  background: var(--surface, #fff); transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--primary, #3D4EF5); box-shadow: 0 0 0 3px rgba(61,78,245,.14); }
.field input::placeholder { color: #aab0bd; }

.auth__submit { width: 100%; height: 46px; font-size: 14.5px; font-weight: 600; margin-top: 6px; cursor: pointer; }
.auth__error {
  display: none; background: var(--danger-soft, #fdecec); color: #c0303a;
  border: 1px solid var(--danger-border, #f3c2c4); border-radius: 9px;
  padding: 10px 12px; font-size: 13px; margin-bottom: 16px;
}
.auth__error.show { display: block; }
.auth__hint { font-size: 12px; color: var(--text-muted, #6b7280); margin-top: 8px; }
.auth__legal { font-size: 11.5px; color: var(--text-muted, #6b7280); margin-top: 22px; line-height: 1.5; }

@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth__brandside { display: none; }
}
