:root {
  --ink: #151714;
  --paper: #eeede6;
  --acid: #d8ff3e;
  --orange: #ff5937;
  --muted: #8b8e84;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.15fr .85fr; }
.login-brand { position: relative; min-height: 100vh; overflow: hidden; padding: clamp(30px, 5vw, 72px); background: #10120f; border-right: 1px solid rgba(255,255,255,.12); }
.brand-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 13px; font: 700 11px monospace; letter-spacing: .18em; }
.h3-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--acid); border-radius: 50%; color: var(--acid); letter-spacing: 0; font-size: 14px; }
.brand-copy { position: relative; z-index: 2; max-width: 720px; margin-top: clamp(120px, 21vh, 220px); }
.brand-copy > p { margin: 0 0 18px; color: var(--acid); font: 10px monospace; letter-spacing: .16em; }
.brand-copy h1 { margin: 0; font-size: clamp(58px, 7.5vw, 112px); font-weight: 560; line-height: .89; letter-spacing: -.075em; }
.brand-copy h1 em { font-family: Georgia, serif; font-weight: 400; }
.brand-copy > span { display: block; max-width: 480px; margin-top: 30px; color: #a7aaa0; font-size: 14px; line-height: 1.6; }
.road-grid { position: absolute; inset: 45% -20% -25% 0; transform: perspective(500px) rotateX(62deg); transform-origin: bottom; background: repeating-linear-gradient(90deg, transparent 0 89px, rgba(216,255,62,.1) 90px 91px), repeating-linear-gradient(0deg, transparent 0 69px, rgba(255,255,255,.07) 70px 71px); }
.road-grid::after { content: ""; position: absolute; left: 62%; top: 0; bottom: 0; width: 3px; background: var(--acid); box-shadow: 0 0 30px 7px rgba(216,255,62,.2); }
.login-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 6vw, 96px); background: var(--paper); color: var(--ink); }
.security-label { display: flex; align-items: center; gap: 10px; margin-bottom: 42px; color: #60635b; font: 10px monospace; letter-spacing: .14em; }
.security-label span { width: 8px; height: 8px; border-radius: 50%; background: #49a45c; box-shadow: 0 0 0 4px rgba(73,164,92,.13); }
.login-card { max-width: 480px; }
.step-number { margin: 0 0 16px; color: var(--orange); font: 700 10px monospace; letter-spacing: .12em; }
h2 { margin: 0; font-size: clamp(38px, 4vw, 60px); letter-spacing: -.06em; line-height: .95; }
.intro { max-width: 420px; margin: 19px 0 34px; color: #666960; font-size: 14px; line-height: 1.55; }
.intro strong { color: var(--ink); }
form label { display: block; margin-bottom: 9px; color: #676a62; font: 10px monospace; text-transform: uppercase; letter-spacing: .12em; }
form input { width: 100%; height: 58px; padding: 0 16px; border: 1px solid rgba(21,23,20,.22); border-radius: 3px; outline: none; background: rgba(255,255,255,.35); color: var(--ink); }
form input:focus { border-color: var(--ink); background: #fff; }
#code { font: 600 26px monospace; letter-spacing: .28em; }
form button { width: 100%; height: 58px; display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 0 10px 0 20px; border: 0; border-radius: 999px; background: var(--orange); color: #fff; cursor: pointer; font-weight: 650; }
form button i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--acid); font-style: normal; font-size: 18px; }
form button:disabled { opacity: .58; cursor: wait; }
.back-button { margin-top: 18px; padding: 0; border: 0; border-bottom: 1px solid #777a71; background: transparent; color: #666960; cursor: pointer; font-size: 12px; }
.login-message { min-height: 20px; margin: 20px 0 0; color: #5e6159; font-size: 12px; line-height: 1.5; }
.access-note { max-width: 480px; margin: 56px 0 0; padding-top: 18px; border-top: 1px solid rgba(21,23,20,.15); color: #7a7d74; font: 9px monospace; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 850px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-brand { min-height: 40vh; padding-bottom: 70px; }
  .brand-copy { margin-top: 70px; }
  .brand-copy h1 { font-size: 58px; }
  .brand-copy > span { display: none; }
  .login-panel { min-height: 60vh; padding-top: 60px; padding-bottom: 60px; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
