/* Neutral gunmetal, with solid lavender accents. Match dist/dark.css. */
:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
  --canvas: #24282d;
  --inset: #202429;
  --panel: #30353c;
  --line: #4b535d;
  --text: #f5f6f7;
  --muted: #b6bec8;
  --purple: #af91db;
  --purple-hover: #c2a3eb;
  background: var(--canvas);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; background: var(--canvas); }
.entry { width: min(100% - 40px, 460px); padding: 50px 0; }
.wordmark { display: flex; align-items: center; gap: 9px; font-size: 27px; font-weight: 700; letter-spacing: -1.5px; margin-bottom: 36px; }
.wordmark > span:last-child { margin-left: -9px; color: var(--purple); }
.brand { height: 32px; width: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--purple); color: var(--canvas); font-size: 30px; line-height: 1; letter-spacing: 0; }
.gate { border: 1px solid var(--line); border-radius: 24px; background: var(--panel); padding: 38px; }
.lock { width: 45px; height: 45px; padding: 11px; background: var(--purple); color: var(--canvas); border: 1px solid var(--purple); border-radius: 13px; margin-bottom: 26px; }
.lock svg { width: 100%; height: 100%; }
h1 { font-weight: 580; font-size: 36px; letter-spacing: -1.6px; line-height: 1.1; margin: 0; }
h1 span { color: var(--purple); }
.subtitle { font-size: 16px; color: var(--muted); line-height: 1.6; margin: 14px 0 30px; }
label { display: block; font-size: 14px; color: var(--text); margin-bottom: 11px; }
.password-field { position: relative; }
input { font: inherit; width: 100%; height: 52px; padding: 13px 48px 13px 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--inset); color: var(--text); outline: 0; }
input:focus { border-color: var(--purple); outline: 2px solid var(--purple); outline-offset: 2px; }
button { font: inherit; cursor: pointer; }
.password-field button { position: absolute; right: 5px; top: 5px; height: 42px; width: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 7px; }
.password-field button:hover { color: var(--purple); }
.password-field svg { height: 20px; width: 20px; }
.enter { margin-top: 19px; width: 100%; height: 52px; border-radius: 11px; border: 0; color: var(--canvas); background: var(--purple); font-size: 15px; font-weight: 600; }
.enter:hover { background: var(--purple-hover); }
button:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.error { font-size: 14px; color: #f0abc0; line-height: 1.6; margin: 13px 0 0; }
.footnote { text-align: center; color: var(--muted); font-size: 13px; margin: 25px 0 0; }
::selection { background: var(--purple); color: var(--canvas); }
@media (max-width: 420px) {
  .gate { padding: 30px 25px; }
  h1 { font-size: 32px; }
  .entry { width: calc(100% - 32px); }
}
