/* Solo — sign in / register. Split screen: what the product is on the left,
   the shortest possible form on the right. */

:root {
  --bg: #f6f6f4;
  --panel: #ffffff;
  --ink: #16181d;
  --ink-2: #5a6070;
  --ink-3: #8a90a0;
  --line: #e3e4e0;
  --red: #c62b2b;
  --red-bg: #fdf1f0;
  --green: #17794a;
  --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101216; --panel: #171a20; --ink: #eceef2; --ink-2: #a3aab8; --ink-3: #767d8c;
    --line: #272b34; --red: #ff7a70; --red-bg: #2a1a1a; --green: #58d19a;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font: 15px/1.55 ui-sans-serif, -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.split { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }

/* ── brand side ─────────────────────────────────────── */
.brandside {
  background: #16181d; color: #f2f3f5;
  padding: 52px 56px; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.brandside::after {
  content: ''; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 0 0 60px rgba(255,255,255,.025);
}
.brandmark { display: flex; align-items: center; gap: 10px; margin-bottom: 44px; }
.brandmark .mark { font-size: 22px; }
.pname { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }

.brandside h1 {
  font-size: 34px; line-height: 1.22; letter-spacing: -.03em; font-weight: 600;
  margin: 0 0 16px; max-width: 15ch;
}
.pitch { color: #a8adb8; max-width: 42ch; margin: 0 0 34px; font-size: 15px; }

.brandlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.brandlist li { display: flex; flex-direction: column; padding-left: 15px; border-left: 2px solid rgba(255,255,255,.15); }
.brandlist b { font-weight: 600; font-size: 14.5px; }
.brandlist span { color: #8f95a2; font-size: 13.5px; }

.brandfoot { position: absolute; bottom: 30px; left: 56px; color: #6a707d; font-size: 12.5px; margin: 0; }

/* ── form side ──────────────────────────────────────── */
.formside { display: flex; align-items: center; justify-content: center; padding: 40px 28px; }
.formwrap { width: 100%; max-width: 400px; }

.pane { display: none; }
.pane.is-on { display: block; animation: rise .2s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

.mobilemark { display: none; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 26px; }

h2 { font-size: 25px; letter-spacing: -.025em; margin: 0 0 4px; }
.sub { color: var(--ink-2); margin: 0 0 26px; font-size: 14.5px; }

.field { display: block; margin-bottom: 15px; }
.field > span { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 5px; }
input[type=text], input[type=email], input[type=tel], input[type=password] {
  width: 100%; font: inherit; font-size: 14.5px; padding: 10px 13px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink);
}
input:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
input.bad { border-color: var(--red); }
.fielderr { display: block; font-style: normal; font-size: 12.5px; color: var(--red); margin-top: 4px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.rowsplit { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 20px; }
.check { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.check input { accent-color: var(--ink); width: 15px; height: 15px; }

.btn {
  font: inherit; font-size: 14.5px; padding: 11px 18px; border-radius: 9px; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink);
}
.btn-primary { background: var(--ink); color: var(--panel); border-color: var(--ink); font-weight: 500; }
.btn-primary:hover { opacity: .9; }
.btn-primary:disabled { opacity: .5; cursor: default; }
.btn-block { width: 100%; }

.linkbtn {
  border: 0; background: none; padding: 0; font: inherit; font-size: 13.5px;
  color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.swap { margin: 22px 0 0; font-size: 13.5px; color: var(--ink-2); text-align: center; }

.err {
  background: var(--red-bg); border: 1px solid var(--red); color: var(--red);
  padding: 9px 13px; border-radius: 9px; font-size: 13.5px; margin: 0 0 14px;
}
.notice {
  margin-top: 16px; padding: 13px 15px; border-radius: 9px; font-size: 13.5px;
  background: var(--panel); border: 1px solid var(--line); color: var(--ink-2);
}
.notice a { color: var(--ink); word-break: break-all; }
.notice b { color: var(--ink); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .brandside { display: none; }
  .mobilemark { display: flex; }
  .formside { align-items: flex-start; padding-top: 48px; }
}
