/* The sign-in page is always dark so the logo and hero artwork read the same everywhere. */
:root {
  --bg: #0b0d12;
  --card: #13161d;
  --text: #eaedf2;
  --muted: #98a0ae;
  --border: #242a35;
  --accent: #5b93f0;
  --accent-fill: #2f6fdb;
  --danger: #ff6b61;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased;
}
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(380px, 1fr); min-height: 100vh; }

.visual { position: relative; background: #05070b url(/brand/hero-scene.jpg) 70% center / cover no-repeat; }
.visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,11,.94) 0%, rgba(5,7,11,.75) 32%, rgba(5,7,11,0) 62%); }
.visual-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 48px 56px; }
.visual .logo { width: min(300px, 70%); height: auto; }
.tagline { margin: 32px 0 0; font-size: 22px; line-height: 1.6; letter-spacing: .3em; text-transform: uppercase; color: #e6ecf7; font-weight: 500; }

.panel { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 32px 24px; background: var(--bg); border-left: 1px solid var(--border); }
.logo-mobile { display: none; }
.card { width: 100%; max-width: 360px; }
h1 { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.sub { margin: 4px 0 28px; color: var(--muted); font-size: 14px; }
label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
input { width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--card); color: var(--text); font-size: 15px; }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
button { width: 100%; margin-top: 22px; padding: 12px; border: 0; border-radius: 8px; background: var(--accent-fill); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; }
button:hover { filter: brightness(1.1); }
.error { color: var(--danger); font-size: 13px; min-height: 20px; margin: 12px 0 0; }
.foot { color: var(--muted); font-size: 12px; margin: 24px 0 0; border-top: 1px solid var(--border); padding-top: 16px; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .visual { display: none; }
  .panel { border-left: 0; min-height: 100vh; justify-content: flex-start; padding-top: 48px;
    background: linear-gradient(180deg, rgba(11,13,18,.55), var(--bg) 340px), url(/brand/hero-scene.jpg) 45% top / auto 340px no-repeat, var(--bg); }
  .logo-mobile { display: block; width: 180px; height: auto; margin-bottom: 36px; }
}
