:root {
  color-scheme: light;
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #20202b; background: #fff; font-synthesis: none; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
.page-header { width: 100%; padding: 26px 36px; display: flex; align-items: center; justify-content: space-between; }
.home-link, .language-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 13px; color: #666572; }
.home-link { gap: 9px; }
.home-link > span:first-child { font-size: 20px; }
.language-link { min-width: 44px; font-size: 12px; font-weight: 650; letter-spacing: .06em; }
.home-link:hover, .language-link:hover { color: #6741d9; }
main { flex: 1; display: grid; align-content: center; justify-items: center; padding: 36px 24px 68px; }
.login-card { width: 100%; max-width: 368px; text-align: center; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 15px; width: fit-content; margin: 0 auto 24px; }
.brand img { display: block; border-radius: 15px; }
.brand > span { font-size: 29px; font-weight: 760; letter-spacing: -1.1px; }
h1 { font-size: 21px; font-weight: 650; line-height: 1.5; letter-spacing: -.75px; margin: 0; word-break: keep-all; text-wrap: balance; }
.intro { font-size: 14px; line-height: 1.7; color: #74717f; margin: 8px 0 0; word-break: keep-all; }
.divider { display: flex; align-items: center; gap: 15px; color: #787580; font-size: 12px; margin: 34px 0 20px; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: #eceaf0; }
.login-methods { display: grid; gap: 12px; }
form { margin: 0; }
.provider, .primary { width: 100%; min-height: 54px; padding: 15px 24px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 12px; font: inherit; font-size: 14px; font-weight: 650; line-height: 1.5; cursor: pointer; transition: background .15s, border-color .15s; }
.provider { border: 1px solid #dbd9e0; background: #fff; color: #28262f; }
.provider.google:hover { background: #f9f8fb; border-color: #bfb9cd; }
.google-icon, .provider-icon { flex: 0 0 20px; }
.provider.kakao { background: #fee500; border-color: #fee500; color: rgb(0 0 0 / 85%); }
.provider.kakao:hover { box-shadow: inset 0 0 0 1px rgb(0 0 0 / 10%); }
.primary { margin-top: 28px; border: 1px solid #6741d9; background: #6741d9; color: #fff; }
.primary:hover { background: #5934c5; border-color: #5934c5; }
.primary:not([hidden]) + .divider { margin-top: 24px; }
#login-status { margin: 14px 0 0; color: #777380; font-size: 12px; line-height: 1.6; min-height: 20px; word-break: keep-all; }
#reset-session button { min-height: 44px; padding: 8px; border: 0; background: none; color: #6741d9; font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.basic-review { margin-top: 30px; padding-top: 25px; border-top: 1px solid #eceaf0; }
.basic-review p { font-size: 12px; line-height: 1.7; color: #777380; margin: 0 0 3px; word-break: keep-all; }
.basic-review a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 650; color: #6741d9; }
.basic-review a:hover { text-decoration: underline; text-underline-offset: 4px; }
footer { padding: 0 24px 24px; text-align: center; color: #777380; font-size: 11px; }
footer nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
footer p { margin: 2px 0 0; letter-spacing: .02em; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible { outline: 3px solid #a48bea; outline-offset: 5px; border-radius: 5px; }
.auth-action-status { font-size: 13px; line-height: 1.6; color: #943525; margin: 12px 0 0; }
.provider:disabled { opacity: .65; cursor: wait; }
noscript { display: block; margin-top: 20px; font-size: 13px; line-height: 1.7; }
@media (max-width: 520px) {
  .page-header { padding: 12px 20px; }
  main { padding: 28px 24px 40px; }
  .brand { margin-bottom: 20px; }
  h1 { font-size: 20px; }
  footer { padding-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .provider, .primary { transition: none; } }
