:root {
  --paper: #f3f2ef; --paper-2: #e9e8e4; --white: #fbfbf9; --ink: #151515;
  --lav: #b3b0f6; --lav-soft: #d9d7fb; --lav-pale: #eceafd; --lav-text: #514cc0;
  --dim: #52524c; --mute: #73736c; --line: rgba(21,21,21,.13); --line-strong: rgba(21,21,21,.28);
  --err: #b4232a; --ok: #1f8a4c;
  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--lav-text); }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--ink); color: var(--paper); padding: 46px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -130px; bottom: -130px; background: radial-gradient(circle, rgba(179,176,246,.5), rgba(179,176,246,.05) 65%, transparent 70%); }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.mark { width: 30px; height: 30px; border-radius: 9px; background: var(--lav); display: inline-flex; align-items: center; justify-content: center; gap: 2.5px; border: 1px solid rgba(21,21,21,.25); }
.mark i { width: 2.5px; border-radius: 99px; background: var(--ink); display: block; }
.mark i:nth-child(1) { height: 9px; } .mark i:nth-child(2) { height: 14px; } .mark i:nth-child(3) { height: 6px; }
.auth-side h1 { font-size: clamp(34px, 4vw, 54px); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 18px; font-weight: 600; }
.auth-side h1 em { font-style: normal; color: var(--lav); }
.auth-side p { color: rgba(243,242,239,.65); font-size: 16px; line-height: 1.55; max-width: 420px; margin: 0; }
.auth-side ul { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 12px; max-width: 400px; }
.auth-side li { display: flex; gap: 10px; font-size: 14px; color: rgba(243,242,239,.8); align-items: flex-start; }
.auth-side li span { width: 20px; height: 20px; border-radius: 50%; background: var(--lav); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex: none; }
.auth-side .side-foot { font-size: 12px; color: rgba(243,242,239,.45); position: relative; z-index: 1; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card .back { font-size: 12.5px; color: var(--mute); text-decoration: none; display: inline-flex; gap: 6px; margin-bottom: 26px; }
.auth-card .back:hover { color: var(--ink); }
.auth-card h2 { font-size: 32px; letter-spacing: -.04em; margin: 0 0 8px; font-weight: 600; }
.auth-card .sub { color: var(--dim); font-size: 14.5px; line-height: 1.5; margin: 0 0 26px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 13.5px; font-weight: 500; }
.field .hint { font-weight: 400; color: var(--mute); font-size: 12px; }
input[type="text"], input[type="email"], input[type="password"] { font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); outline: none; width: 100%; }
input:focus { border-color: var(--lav-text); box-shadow: 0 0 0 3px var(--lav-pale); }
.slug-input { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white); overflow: hidden; }
.slug-input span { padding-left: 13px; color: var(--mute); font-size: 14px; }
.slug-input input { border: 0; border-radius: 0; background: transparent; }
.slug-input:focus-within { border-color: var(--lav-text); box-shadow: 0 0 0 3px var(--lav-pale); }
.slug-input:focus-within input { box-shadow: none; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--dim); line-height: 1.45; margin: 16px 0; font-weight: 400; }
.check input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--lav-text); flex: none; }
.btn { width: 100%; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 12px; padding: 14px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn:hover { background: #252525; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.err { color: var(--err); font-size: 13px; line-height: 1.45; min-height: 19px; margin: 10px 0; }
.auth-foot { margin-top: 22px; font-size: 13px; color: var(--mute); text-align: center; }
.trial-note { display: flex; gap: 10px; align-items: flex-start; background: var(--lav-pale); border: 1px solid rgba(81,76,192,.18); border-radius: 12px; padding: 12px 13px; font-size: 12.5px; line-height: 1.5; color: var(--dim); margin-bottom: 18px; }
.trial-note b { color: var(--ink); }
.trial-note .spark { font-size: 15px; }
@media (max-width: 860px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { padding: 28px 22px; min-height: auto; gap: 26px; }
  .auth-side h1 { font-size: 34px; margin-bottom: 10px; }
  .auth-side p, .auth-side ul, .auth-side .side-foot { display: none; }
  .auth-main { padding: 28px 20px 50px; align-items: flex-start; }
}
