:root {
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080b12;
  color: #ffffff;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 320px; min-height: 100vh; }

.auth-body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 12%, rgba(0, 111, 230, .24), transparent 32rem),
    radial-gradient(circle at 85% 82%, rgba(245, 163, 33, .09), transparent 28rem),
    #080b12;
}

.auth-ambient { position: fixed; z-index: -1; width: 32rem; height: 32rem; border-radius: 50%; filter: blur(100px); opacity: .12; }
.auth-ambient-one { top: -18rem; right: -8rem; background: #2d8cff; }
.auth-ambient-two { bottom: -20rem; left: -8rem; background: #f5a321; }

.auth-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); min-height: 100vh; }
.auth-story { display: flex; flex-direction: column; padding: clamp(34px, 5vw, 72px); border-right: 1px solid rgba(255,255,255,.08); }
.auth-story > img { width: 187px; height: auto; }
.auth-story-copy { max-width: 650px; margin: auto 0; }
.auth-eyebrow, .auth-kicker { color: #7dbeff; font-size: 11px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; }
.auth-story h1 { max-width: 610px; margin: 18px 0 22px; font-size: clamp(42px, 5vw, 74px); line-height: .98; letter-spacing: -.055em; }
.auth-story-copy > p { max-width: 540px; margin: 0; color: rgba(255,255,255,.58); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.65; }
.auth-proof { display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.46); font-size: 12px; line-height: 1.45; }
.auth-proof span { width: 12px; height: 12px; border-radius: 50%; background: #53d69c; box-shadow: 0 0 0 7px rgba(83,214,156,.09); }
.auth-proof p { margin: 0; }
.auth-proof strong { color: #ffffff; }

.auth-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 6vw, 92px); }
.auth-card { width: 100%; max-width: 470px; margin: 0 auto; padding: clamp(28px, 4vw, 44px); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: rgba(20,23,32,.88); box-shadow: 0 30px 90px rgba(0,0,0,.38); backdrop-filter: blur(24px); }
.auth-card h2 { margin: 10px 0 10px; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.04em; }
.auth-muted { margin: 0 0 28px; color: rgba(255,255,255,.55); line-height: 1.6; }
.auth-card form { display: grid; gap: 10px; }
.auth-card label { margin-top: 10px; color: rgba(255,255,255,.8); font-size: 13px; font-weight: 700; }
.auth-label-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.auth-label-row label { margin: 0; }
.auth-label-row a, .auth-back { color: #7dbeff; font-size: 13px; font-weight: 700; text-decoration: none; }
.auth-card input { width: 100%; min-height: 50px; padding: 0 15px; border: 1px solid rgba(255,255,255,.13); border-radius: 11px; outline: none; background: #0d111b; color: #ffffff; transition: 150ms ease; }
.auth-card input:focus { border-color: #2d8cff; box-shadow: 0 0 0 4px rgba(45,140,255,.12); }
.auth-card button { min-height: 51px; margin-top: 17px; border: 0; border-radius: 11px; background: linear-gradient(135deg, #006fe6, #2d8cff); color: #fff; cursor: pointer; font-weight: 800; box-shadow: 0 14px 30px rgba(0,111,230,.25); }
.auth-card button:hover { filter: brightness(1.08); }
.auth-card button:focus-visible, .auth-card a:focus-visible { outline: 3px solid #7dbeff; outline-offset: 3px; }
.auth-error, .auth-success { margin: 20px 0; padding: 13px 15px; border-radius: 10px; font-size: 13px; line-height: 1.5; }
.auth-error { border: 1px solid rgba(255,101,117,.3); background: rgba(255,101,117,.08); color: #ffc2c9; }
.auth-success { border: 1px solid rgba(83,214,156,.3); background: rgba(83,214,156,.08); color: #bdf6dc; }
.auth-back { display: inline-block; margin-top: 24px; }
.auth-help, .auth-foot, .auth-security { color: rgba(255,255,255,.4); font-size: 12px; line-height: 1.55; }
.auth-foot { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.auth-security { max-width: 470px; margin: 18px auto 0; text-align: center; }

@media (max-width: 820px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-story { min-height: 350px; padding: 34px 26px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .auth-story-copy { margin: 54px 0; }
  .auth-story h1 { font-size: clamp(38px, 11vw, 58px); }
  .auth-panel { padding: 34px 18px 50px; }
}

@media (max-width: 460px) {
  .auth-story { min-height: 310px; }
  .auth-story-copy { margin: 40px 0; }
  .auth-proof { display: none; }
  .auth-card { padding: 26px 20px; border-radius: 18px; }
}
