:root { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #edf1ed; background: #0c1015; font-synthesis: none; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #c5e1a2; outline-offset: 4px; }
.login-layout { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; }
.login-story { background: #151f20; padding: 44px max(48px, calc((100vw - 1260px) / 2)); padding-right: 64px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.login-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 720; font-size: 23px; letter-spacing: -.9px; }
.brand-light { font-weight: 400; }
.login-brand b { color: #c5e1a2; }
.story-copy { margin: auto 0; padding: 70px 0 36px; max-width: 480px; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 2px; color: #b7c9bc; margin: 0 0 20px; }
.story-copy h1 { font-size: clamp(32px, 3.3vw, 49px); letter-spacing: -2px; font-weight: 500; line-height: 1.18; margin: 0; }
.story-copy h1 em { color: #c5e1a2; font-style: normal; }
.story-copy > p:not(.eyebrow) { color: #a5b5ae; font-size: 15px; line-height: 1.8; max-width: 350px; margin: 22px 0 30px; }
.story-preview { background: #0f1718; border: 1px solid #32403b; border-radius: 16px; max-width: 380px; padding: 16px; transform: rotate(-2deg); box-shadow: 0 24px 60px #06100d44; }
.preview-heading { display: flex; gap: 10px; align-items: center; }
.preview-avatar { width: 35px; height: 35px; display: grid; place-content: center; border-radius: 50%; background: #354739; font-size: 23px; font-weight: 700; position: relative; }
.preview-avatar span { color: #c5e1a2; position: absolute; right: 5px; bottom: 2px; }
.preview-heading strong { font-size: 12px; font-weight: 600; }
.preview-heading small { display: block; font-size: 10px; color: #83978a; margin-top: 4px; }
.preview-spark { margin-left: auto; color: #c5e1a2; font-size: 24px; }
.preview-art { background: #c5d5b6; border-radius: 8px; padding: 28px; margin-top: 16px; min-height: 210px; overflow: hidden; position: relative; color: #27332d; }
.preview-art > span { font-weight: 600; font-size: 26px; line-height: 1.13; letter-spacing: -1px; position: relative; z-index: 1; }
.preview-art em { font-family: Georgia, serif; font-weight: 400; }
.art-orbit { border: 1px solid #859879; width: 205px; height: 205px; border-radius: 50%; position: absolute; right: -75px; top: -50px; }
.orbit-two { right: -115px; top: -20px; }
.preview-caption { display: flex; align-items: center; justify-content: space-between; margin: 14px 3px 0; font-size: 10px; color: #99afa0; }
.preview-heart { color: #c5e1a2; font-size: 25px; line-height: 1; }
.story-footer { color: #738a7d; font-size: 11px; letter-spacing: .2px; margin-top: 22px; }
.login-panel { padding: 70px 48px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.login-form-wrap { width: 100%; max-width: 370px; margin: auto 0; padding: 40px 0; }
.welcome-mark { display: inline-grid; place-items: center; width: 45px; height: 45px; background: #1f2e25; color: #c5e1a2; border: 1px solid #324437; font-size: 30px; border-radius: 13px; margin-bottom: 30px; }
.login-panel .eyebrow { font-size: 9px; color: #91a296; margin-bottom: 14px; }
.login-panel h2 { font-size: 33px; letter-spacing: -1px; font-weight: 550; margin: 0 0 10px; }
.login-intro { color: #9aa3a8; font-size: 14px; line-height: 1.7; margin: 0 0 33px; }
#login-form label { display: block; margin: 20px 0 9px; font-size: 12px; font-weight: 550; color: #d6dcd8; }
#login-form input { width: 100%; height: 52px; color: #edf1ed; background: #141a1f; border: 1px solid #303b3e; border-radius: 9px; padding: 0 14px; font-size: 16px; }
#login-form input::placeholder { font-size: 13px; color: #78858d; }
.password-field { position: relative; }
.password-field input { padding-right: 65px !important; }
.password-field button { position: absolute; top: 4px; bottom: 4px; right: 4px; background: none; border: 0; color: #acb9b1; font-size: 12px; padding: 10px; border-radius: 6px; min-width: 50px; }
.login-submit { display: flex; align-items: center; justify-content: center; gap: 13px; width: 100%; min-height: 52px; margin-top: 26px; background: #c5e1a2; border: 1px solid #c5e1a2; border-radius: 9px; color: #1a2920; font-size: 14px; font-weight: 650; transition: background 120ms; }
.login-submit:hover { background: #d6ecbc; }
.login-submit:disabled { opacity: .7; cursor: wait; }
.login-submit span:last-child { font-size: 19px; font-weight: 400; }
.login-error { font-size: 13px; line-height: 1.5; padding: 12px; border: 1px solid #654041; background: #311e23; color: #f7bcbd; border-radius: 8px; }
.login-help { border-top: 1px solid #252e34; padding-top: 23px; margin-top: 31px; font-size: 11px; line-height: 1.9; color: #82908b; text-align: center; }
.login-footer { color: #61716a; font-size: 10px; text-align: center; line-height: 1.8; }
.login-footer span { margin: 0 6px; }
@media (max-width: 850px) { .login-story { padding: 30px; } .login-panel { padding: 40px 30px 20px; } .story-copy h1 { font-size: 35px; } }
@media (max-width: 640px) {
  .login-layout { grid-template-columns: 1fr; min-height: 100svh; }
  .login-story { padding: max(24px, env(safe-area-inset-top)) 26px 25px; background: #0c1015; }
  .login-brand { font-size: 22px; }
  .login-brand img { width: 32px; height: 32px; }
  .story-copy, .story-footer { display: none; }
  .login-panel { padding: 12px 26px max(18px, env(safe-area-inset-bottom)); justify-content: flex-start; align-items: stretch; }
  .login-form-wrap { max-width: 400px; padding: 18px 0 22px; margin: 0 auto auto; }
  .welcome-mark { margin-bottom: 25px; }
  .login-panel h2 { font-size: 34px; }
  .login-intro { margin-bottom: 31px; }
  .login-footer { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
