:root { color-scheme: dark; --paper: #eeeae0; --orange: #de6045; --line: rgba(255,255,255,.14); --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { min-width: 320px; margin: 0; color: var(--paper); background: #090a0c; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.grain { position: fixed; inset: 0; z-index: 5; opacity: .027; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(480px, .85fr); }
.identity { position: relative; min-height: 100svh; padding: clamp(28px, 4vw, 66px); display: flex; flex-direction: column; overflow: hidden; background: radial-gradient(circle at 76% 17%, rgba(221,101,69,.2), transparent 28%), linear-gradient(145deg, #202227, #101114 68%); border-right: 1px solid var(--line); }
.identity::before { content: ""; position: absolute; width: 72vw; height: 72vw; left: -28vw; bottom: -49vw; border: clamp(55px, 8vw, 130px) solid rgba(224,96,69,.8); border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.09), inset 0 0 70px rgba(0,0,0,.18); }
.identity::after { content: ""; position: absolute; width: 44vw; height: 44vw; left: -13vw; bottom: -37vw; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; font: 600 .66rem/1 var(--mono); letter-spacing: .11em; }
.brand > span { width: 36px; height: 36px; display: grid; place-items: center; color: #101114; background: var(--paper); font: 900 .75rem/1 sans-serif; letter-spacing: -.15em; }
.brand > span span { color: var(--orange); }
.identity-copy { position: relative; z-index: 1; margin: auto 0; padding: 80px 0; }
.identity-copy > p:first-child { margin: 0 0 22px; color: #cf765f; font: .6rem/1 var(--mono); letter-spacing: .13em; }
h1 { margin: 0; font-size: clamp(5.2rem, 10vw, 11rem); font-weight: 680; line-height: .78; letter-spacing: -.09em; }
.description { max-width: 520px; margin: 42px 0 0; color: #9b9c98; font-size: clamp(.85rem, 1.1vw, 1rem); line-height: 1.75; }
.project-count { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 13px; }
.project-count strong { font-size: 2.5rem; line-height: .8; letter-spacing: -.07em; }
.project-count span { color: #777873; font: .52rem/1.25 var(--mono); letter-spacing: .09em; }
.login-panel { min-height: 100svh; display: flex; flex-direction: column; background: #0b0c0f; }
.panel-top { min-height: 72px; padding: 0 clamp(28px, 4.3vw, 68px); display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); font: .52rem/1 var(--mono); letter-spacing: .08em; }
.panel-top span { display: flex; align-items: center; gap: 8px; color: #898a86; }
.panel-top i { width: 6px; height: 6px; border-radius: 50%; background: #79b787; box-shadow: 0 0 0 4px rgba(121,183,135,.09); }
.panel-top b { color: #595b57; font-weight: 400; }
form { width: min(calc(100% - 56px), 470px); margin: auto; padding: 80px 0; }
.lock { position: relative; width: 54px; height: 47px; margin-bottom: 50px; border: 2px solid #525450; border-radius: 3px; }
.lock::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 28px; height: 27px; border: 2px solid #525450; border-bottom: 0; border-radius: 18px 18px 0 0; transform: translateX(-50%); }
.lock span { position: absolute; top: 15px; left: 50%; width: 6px; height: 12px; border-radius: 5px; background: var(--orange); transform: translateX(-50%); }
.step { margin: 0 0 17px; color: var(--orange); font: .58rem/1 var(--mono); letter-spacing: .12em; }
h2 { margin: 0; font-size: clamp(3.4rem, 5vw, 5.7rem); font-weight: 670; line-height: .9; letter-spacing: -.075em; }
.instruction { max-width: 410px; margin: 23px 0 43px; color: #939490; font-size: .84rem; line-height: 1.7; }
label { display: block; margin-bottom: 11px; color: #777975; font: .54rem/1 var(--mono); letter-spacing: .1em; }
.password-field { height: 62px; display: grid; grid-template-columns: 1fr auto; border: 1px solid #3a3c39; background: #111317; }
input { width: 100%; min-width: 0; padding: 0 18px; color: #f1eee6; border: 0; outline: 0; background: transparent; font: .88rem/1 sans-serif; }
input:focus { box-shadow: inset 0 0 0 1px var(--orange); }
.password-field button { padding: 0 17px; border: 0; color: #7e807b; background: none; font: .52rem/1 var(--mono); letter-spacing: .08em; cursor: pointer; }
.error { margin: 13px 0 -5px; color: #e78670; font: .67rem/1.45 var(--mono); }
.submit { width: 100%; height: 62px; margin-top: 20px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; color: #110f0e; border: 0; background: var(--orange); font: 650 .61rem/1 var(--mono); letter-spacing: .11em; cursor: pointer; transition: background .18s ease; }
.submit:hover { background: #ef765c; }
.submit span { font-size: 1rem; }
.privacy { margin: 0; padding: 0 clamp(28px, 4.3vw, 68px) 34px; color: #535551; font: .49rem/1.4 var(--mono); letter-spacing: .075em; }

@media (max-width: 900px) {
  main { grid-template-columns: 1fr; }
  .identity { min-height: 43svh; padding: 25px 22px 38px; }
  .identity::before { width: 100vw; height: 100vw; left: 53vw; bottom: -73vw; }
  .identity-copy { padding: 65px 0 50px; }
  h1 { font-size: clamp(4.5rem, 20vw, 8rem); }
  .description { margin-top: 27px; }
  .project-count { display: none; }
  .login-panel { min-height: 57svh; }
  .panel-top { min-height: 58px; padding: 0 20px; }
  form { padding: 75px 0 65px; }
  .privacy { padding: 0 28px 27px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
