@font-face { font-family: "Pretendard Variable"; src: url("/fonts/PretendardVariable.woff2") format("woff2"); font-weight: 45 920; font-style: normal; font-display: swap; }
:root {
  --ink: #0b1f2a;
  --ink-soft: #41535c;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --line: #d9dfdc;
  --lime: #b7f34a;
  --lime-soft: #edfbd2;
  --danger: #a22b22;
  --danger-soft: #fff0ed;
  --focus: #0a64c8;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body { min-height: 100vh; margin: 0; background: var(--paper); color: var(--ink); font-family: "Pretendard Variable", "Noto Sans KR", sans-serif; font-size: 16px; line-height: 1.5; word-break: keep-all; -webkit-font-smoothing: antialiased; }

button, input, a { font: inherit; }
button, .secondary { min-height: 48px; }
input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #9eaaa5; border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; }
input[type="hidden"] { min-height: 0; padding: 0; }
input::placeholder { color: #6d7b75; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; min-height: 48px; padding: 12px 16px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.auth-page { display: grid; min-height: 100vh; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-intro { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(28px, 6vw, 76px); background: var(--lime); border-right: 1px solid var(--ink); }
.text-brand { display: inline-block; color: var(--ink); font-size: clamp(26px, 4vw, 42px); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.auth-intro-copy { max-width: 620px; }
.eyebrow { margin: 0 0 10px; color: var(--ink-soft); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(30px, 5vw, 50px); line-height: 1.08; letter-spacing: -.04em; }
h2 { margin-bottom: 8px; font-size: clamp(24px, 3vw, 32px); line-height: 1.25; }
.auth-intro-copy > p:last-child { max-width: 570px; margin-bottom: 0; color: #263a42; }
.auth-intro-note { margin-bottom: 0; font-weight: 700; }
.auth-main { display: grid; align-items: center; padding: clamp(24px, 6vw, 72px); background: var(--surface); }
.auth-card { width: min(100%, 460px); margin-inline: auto; }
.auth-card > .muted { margin-bottom: 24px; color: var(--ink-soft); }
.form-stack { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; font-weight: 750; }
.field span { font-size: 14px; }
.field input:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); outline: 0; }
form .primary { min-height: 50px; padding: 12px 18px; border: 1px solid var(--ink); border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; }
form .primary:hover { background: #173845; }
.alert { margin: 0 0 20px; padding: 13px 15px; border-left: 4px solid var(--danger); border-radius: 4px; background: var(--danger-soft); color: var(--danger); font-size: 14px; font-weight: 700; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; color: #66766f; font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.secondary { display: flex; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid #9eaaa5; border-radius: 10px; background: var(--surface); font-size: 14px; font-weight: 800; text-decoration: none; }
.secondary:hover { border-color: var(--ink); background: var(--lime-soft); }
.approval-note { margin: 18px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; text-align: center; }
.approval-note span { color: #52710e; font-weight: 900; }
@media (max-width: 720px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-intro { min-height: 220px; gap: 28px; padding: max(24px, env(safe-area-inset-top)) 20px 24px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .text-brand { font-size: 30px; }
  .auth-intro h1 { font-size: 34px; }
  .auth-intro-copy > p:last-child, .auth-intro-note { display: none; }
  .auth-main { align-items: start; padding: 30px 20px 38px; }
  .auth-card > .muted { margin-bottom: 20px; }
}
@media (max-width: 390px) {
  .auth-intro { min-height: 190px; padding-inline: 16px; }
  .auth-main { padding-inline: 16px; }
  input { min-height: 52px; font-size: 16px; }
  form .primary, .secondary { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
