@charset "UTF-8";
:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  color-scheme: dark;
  --bg: #111216; --card: #1b1d23; --hero: #191b21; --field: #14161b;
  --text: #f3f3f5; --muted: #a5a8b4; --line: #343843;
  --orange: #ff852d; --accent-text: #ff984f; --error: #ffc0c0; --error-bg: #db484815;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
body.light {
  color-scheme: light;
  --bg: #f5f5f7; --card: #fff; --hero: #f0f1f4; --field: #f7f8fa;
  --text: #252630; --muted: #646977; --line: #d9dce3;
  --accent-text: #a94705; --error: #9e2525; --error-bg: #fff2f2;
}
a { color: inherit; }
button, input { font: inherit; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-layout { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 40px clamp(28px, 4vw, 72px); background: radial-gradient(ellipse at 0 100%, #ff852d12, transparent 65%), var(--hero); border-right: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; width: 460px; height: 460px; border: 1px solid #ff852d18; border-radius: 50%; bottom: -260px; right: -190px; box-shadow: 0 0 0 70px #ff852d05, 0 0 0 140px #ff852d03; pointer-events: none; }
.brand-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 28px; letter-spacing: -1.3px; text-decoration: none; width: fit-content; }
.brand svg { width: 38px; color: var(--orange); }
.brand rect { fill: var(--orange); stroke: none; }
.brand path { stroke: #191a1e; stroke-width: 3; }
.brand strong { font-weight: 750; color: var(--accent-text); }
.hero-copy { position: relative; z-index: 1; padding: 64px 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 750; letter-spacing: 1.8px; color: var(--accent-text); }
.accent-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
h1 { font-size: clamp(32px, 3.4vw, 54px); font-weight: 650; line-height: 1.2; letter-spacing: -1.6px; margin: 24px 0; }
h1 span { color: var(--accent-text); }
.hero-copy > p { font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 400px; }
.hero-detail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: 1.5px; }
.hero-detail i { width: 22px; height: 1px; background: var(--orange); }
.hero-footer { font-size: 11px; color: var(--muted); line-height: 1.8; margin: 0; }
.access { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 32px; }
.login-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: 0 24px 80px #00000012; }
.lock-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid #ff852d40; background: #ff852d0c; border-radius: 13px; color: var(--accent-text); margin-bottom: 24px; }
.lock-icon svg { width: 23px; }
h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.8px; margin: 12px 0; }
.intro { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0 0 26px; }
form > label:not(.show-password) { display: block; font-size: 13px; font-weight: 650; margin: 20px 0 9px; }
input[type=text], input[type=password] { width: 100%; min-width: 0; min-height: 48px; background: var(--field); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; color: var(--text); font-size: 16px; transition: border-color .15s; }
input::placeholder { color: var(--muted); opacity: 1; }
input:focus-visible, button:focus-visible, a:focus-visible, .show-password:focus-within { outline: 2px solid var(--accent-text); outline-offset: 4px; }
input:focus { border-color: var(--accent-text); }
.show-password { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 8px 0 16px; cursor: pointer; min-height: 44px; width: fit-content; border-radius: 5px; }
.show-password input { accent-color: var(--orange); height: 18px; width: 18px; margin: 0; }
button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; border: 1px solid var(--orange); border-radius: 9px; background: var(--orange); color: #21170f; font-size: 14px; font-weight: 750; cursor: pointer; transition: background .15s; }
button svg { width: 19px; }
button:hover { background: #ff9b5b; }
button:disabled { opacity: .65; cursor: wait; }
.theme-toggle { width: auto; min-height: 44px; padding: 10px 12px; background: var(--card); color: var(--text); border-color: var(--line); font-size: 12px; font-weight: 600; white-space: nowrap; }
.theme-toggle:hover { background: var(--field); border-color: var(--accent-text); }
.error { color: var(--error); background: var(--error-bg); border: 1px solid #ab4d4d; border-radius: 8px; padding: 12px; font-size: 13px; line-height: 1.6; margin: 0 0 16px; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
.access-note { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 11px; line-height: 1.7; padding-top: 22px; margin: 24px 0 0; border-top: 1px solid var(--line); }
.access-note svg { width: 15px; flex-shrink: 0; }
.access-footer { font-size: 11px; color: var(--muted); margin: 24px 0 0; }
.access-footer span { padding: 0 7px; color: var(--accent-text); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1600px) { .hero-copy { max-width: 680px; } .login-card { max-width: 450px; padding: 42px; } }
@media (max-width: 850px) {
  .login-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .hero { padding: 20px 24px 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { font-size: 25px; } .brand svg { width: 32px; }
  .hero-copy { padding: 18px 0 0; }
  .hero-copy .eyebrow { font-size: 9px; }
  h1 { font-size: 27px; letter-spacing: -.8px; margin: 12px 0 0; }
  .hero-copy > p, .hero-detail, .hero-footer { display: none; }
  .access { padding: 24px 20px; }
  .login-card { max-width: 440px; padding: 26px; border-radius: 16px; }
  .lock-icon { display: none; }
  h2 { font-size: 24px; }
  .intro { margin-bottom: 20px; }
  .access-note { margin-top: 20px; padding-top: 18px; }
  .access-footer { margin-top: 18px; }
}
@media (max-width: 380px) { .hero { padding: 16px; } .brand-row { gap: 8px; } .access { padding: 20px 16px; } .login-card { padding: 22px; } h1 { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
