:root {
    --ink: #13171b;
    --muted: #727b84;
    --line: #dfe3e5;
    --yellow: #fee500;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: #f4f4f1; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
.login-shell { display: grid; min-height: 100dvh; grid-template-columns: minmax(480px, 1.08fr) minmax(420px, .92fr); }
.login-story { position: relative; display: flex; overflow: hidden; flex-direction: column; justify-content: space-between; padding: 42px 54px; background: #12171b; color: #fff; }
.login-story::before { position: absolute; top: 13%; right: -20%; width: 500px; height: 500px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); content: ""; }
.login-story::after { position: absolute; right: 13%; bottom: 18%; width: 13px; height: 13px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 35px rgba(254,229,0,.7); content: ""; }
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.brand span, .mobile-brand span { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; font-family: Georgia, serif; font-size: 22px; font-style: italic; letter-spacing: 0; }
.story-copy { position: relative; z-index: 1; max-width: 610px; padding-bottom: 5vh; }
.eyebrow { margin: 0; color: #8f99a3; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.story-copy h1 { margin: 22px 0; font-size: clamp(42px, 4.5vw, 68px); font-weight: 720; letter-spacing: -.065em; line-height: 1.12; }
.story-copy h1 em { color: var(--yellow); font-style: normal; }
.story-copy > p:not(.eyebrow) { max-width: 500px; margin: 0; color: #9ba4ad; font-size: 14px; line-height: 1.8; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 54px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.11); }
.feature-row div { display: flex; gap: 11px; align-items: flex-start; }
.feature-row strong { color: var(--yellow); font-size: 9px; }
.feature-row span { color: #b4bbc1; font-size: 10px; font-weight: 650; line-height: 1.55; }
.story-foot { position: relative; z-index: 1; margin: 0; color: #606970; font-size: 8px; font-weight: 800; letter-spacing: .22em; }
.login-panel { display: grid; place-items: center; padding: 40px; }
.login-card { width: min(100%, 390px); }
.mobile-brand { display: none; }
.login-card h2 { margin: 9px 0 8px; font-size: 29px; letter-spacing: -.045em; }
.login-intro { margin: 0 0 35px; color: var(--muted); font-size: 12px; }
.login-card label { display: block; margin-top: 18px; }
.login-card label > span { display: block; margin-bottom: 8px; color: #4f5760; font-size: 10px; font-weight: 750; }
.login-card input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: #fff; color: var(--ink); font-size: 13px; transition: border .15s, box-shadow .15s; }
.login-card input::placeholder { color: #a4abb1; }
.login-card input:focus { border-color: #808891; box-shadow: 0 0 0 3px rgba(19,23,27,.05); }
.login-button { display: flex; width: 100%; height: 52px; align-items: center; justify-content: space-between; margin-top: 25px; padding: 0 17px; border: 0; border-radius: 11px; background: var(--ink); color: #fff; cursor: pointer; font-size: 12px; font-weight: 800; transition: transform .15s, box-shadow .15s; }
.login-button:hover { box-shadow: 0 12px 24px rgba(19,23,27,.16); transform: translateY(-1px); }
.login-button span { color: var(--yellow); font-size: 19px; }
.privacy-note { display: flex; gap: 10px; margin-top: 28px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.55); }
.privacy-note i { display: grid; width: 21px; height: 21px; flex: 0 0 auto; place-items: center; border-radius: 7px; background: #e4f3eb; color: #25805a; font-size: 10px; font-style: normal; }
.privacy-note p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.privacy-note strong { color: #46505a; }
.login-error { display: flex; align-items: center; gap: 8px; margin: -18px 0 5px; padding: 10px 12px; border: 1px solid #efc8c8; border-radius: 9px; background: #fff1f1; color: #a93d3d; font-size: 10px; }
.login-error span { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: #d95858; color: #fff; font-weight: 800; }

@media (max-width: 860px) {
    .login-shell { grid-template-columns: 1fr; }
    .login-story { display: none; }
    .login-panel { min-height: 100dvh; padding: 28px; }
    .mobile-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 52px; font-size: 10px; font-weight: 850; letter-spacing: .15em; }
    .mobile-brand span { border-color: #d3d7da; }
}

@media (max-width: 480px) {
    .login-panel { align-items: start; padding-top: 25px; }
    .mobile-brand { margin-bottom: 70px; }
    .login-card h2 { font-size: 26px; }
}
