/* login.marksense.law: one dark splash, the site hero's palette (Midnight Electric), Inter only. */
@font-face { font-family: Inter; src: url("/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --midnight: #000509; --panel: #081013; --line: #1C282C; --line-strong: #34454B;
  --text: #EDEAE2; --muted: #AEB7B9; --link: #49C5D6; --cyan: #069CB7;
  --btn: #EDEAE2; --btn-text: #000509; --focus: #49C5D6;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; padding: 48px 16px 32px; background: var(--midnight); color: var(--text);
  font: 400 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased;
  /* the record field, quiet: a dot register that fades toward the edges */
  background-image: radial-gradient(rgba(237, 234, 226, .10) 1px, transparent 1.4px);
  background-size: 22px 22px; background-position: center;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, transparent 0, var(--midnight) 78%);
}
.card {
  position: relative; width: 100%; max-width: 400px; padding: 36px 32px 32px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
}
.logo { display: block; width: 176px; height: auto; margin: 0 0 32px; }
h1 { margin: 0 0 20px; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.lede { margin: -6px 0 24px; color: var(--muted); }
.lede b { color: var(--text); font-weight: 600; word-break: break-all; }
.who { margin: -8px 0 24px; font-size: 17px; font-weight: 500; word-break: break-all; }
.stack { display: flex; flex-direction: column; gap: 10px; margin: 0; }
label { font-size: 14px; font-weight: 500; color: var(--muted); }
input[type=email] {
  width: 100%; height: 48px; padding: 0 14px; margin-bottom: 8px;
  font: inherit; color: var(--text); background: var(--midnight); border: 1px solid var(--line-strong); border-radius: 6px;
}
input[type=email]:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.btn {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 18px;
  font: 600 15px/1 Inter, system-ui, sans-serif; text-decoration: none; cursor: pointer;
  color: var(--btn-text); background: var(--btn); border: 1px solid var(--btn); border-radius: 6px;
}
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.btn-line { color: var(--text); background: transparent; border-color: var(--line-strong); }
form + form, .stack form { margin: 0; }
.dev { font-size: 13px; color: var(--muted); word-break: break-all; margin: 0 0 20px; }
.dev a, .foot a { color: var(--link); }
.foot { position: relative; display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-size: 13px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 420px) { .card { padding: 28px 22px 24px; } }
@media (forced-colors: active) { .btn { border: 1px solid ButtonText; } }
