:root {
  color-scheme: dark;
  --bg: #070b14;
  --panel: #101826;
  --line: #243044;
  --ink: #e8eef8;
  --muted: #93a0b5;
  --acc: #3b9eff;
  --acc2: #67e8f9;
  --bad: #fb7185;
  --ok: #34d399;
  --radius: 14px;
  font-family: "Segoe UI", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(59,158,255,.18), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(103,232,249,.08), transparent 55%),
    var(--bg);
}
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 8px; background: #000; padding: 8px 12px; z-index: 9; }
.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 8vw;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.brand { display: flex; gap: 10px; align-items: center; font-weight: 700; letter-spacing: .02em; }
.logo {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  box-shadow: 0 0 0 3px rgba(59,158,255,.15);
}
nav { display: flex; gap: 18px; font-size: 14px; color: var(--muted); }
.layout {
  width: min(1080px, 92vw);
  margin: auto auto 0;
  padding: 20px 0 10px;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: end;
  align-content: end;
}
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--acc2); margin: 0 0 10px; }
h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin: 0 0 14px; }
.lede, .hint, .fine, footer, .points { color: var(--muted); }
.points { padding-left: 18px; line-height: 1.8; margin: 0; }
.panel {
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 28px 26px 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
h2 { margin: 0 0 6px; font-size: 22px; }
.hint { margin: 0 0 18px; font-size: 13px; }
label { display: block; font-size: 13px; margin: 12px 0 6px; }
input[type=email], input[type=password], input[type=text] {
  width: 100%; padding: 12px 12px;
  border-radius: 10px; border: 1px solid var(--line);
  background: #0b1220; color: var(--ink); font-size: 15px;
}
input:focus { outline: 2px solid color-mix(in srgb, var(--acc) 70%, transparent); border-color: var(--acc); }
.hp { position: absolute; left: -10000px; opacity: 0; height: 0; width: 0; }
.row { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 18px; font-size: 13px; }
.check { display: flex; gap: 8px; align-items: center; color: var(--muted); }
button {
  width: 100%; border: 0; border-radius: 10px; padding: 12px 14px;
  background: linear-gradient(180deg, #4aa6ff, #2f7fe0); color: #fff;
  font-weight: 650; font-size: 15px; cursor: pointer;
}
button:disabled { opacity: .65; cursor: wait; }
.alert {
  background: rgba(251,113,133,.1); border: 1px solid rgba(251,113,133,.35);
  color: var(--bad); padding: 10px 12px; border-radius: 10px; margin-bottom: 14px; font-size: 14px;
}
.fine { font-size: 12px; margin: 12px 0 0; }
footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 8vw 18px; font-size: 12px; flex-shrink: 0;
}
code { color: var(--ink); }
.layout-single {
  grid-template-columns: 1fr;
  max-width: 640px;
  justify-items: stretch;
}
@media (max-width: 860px) {
  .layout {
    grid-template-columns: 1fr;
    align-content: end;
    padding-top: 20px;
  }
  nav { display: none; }
}
