:root {
  --bg: #f2f4f6;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --hover: rgba(2, 32, 71, 0.05);
  --press: rgba(2, 32, 71, 0.08);
  --line: #e5e8eb;
  --text: #191f28;
  --text-2: #4e5968;
  --text-3: #8b95a1;
  --text-4: #b0b8c1;
  --blue: #3182f6;
  --blue-soft: #e8f3ff;
  --red: #f04452;
  --red-soft: #ffeeee;
  --green: #03b26c;
  --green-soft: #e5f8ef;
  --orange: #fe9800;
  --orange-soft: #fff3e0;
  --purple: #8a5cf6;
  --purple-soft: #f1ebff;
  --icon-tile: #ffffff;
  --shadow: 0 8px 40px rgba(2, 32, 71, 0.06);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #101013;
  --surface: #1b1b21;
  --surface-2: #232329;
  --hover: rgba(217, 217, 255, 0.06);
  --press: rgba(217, 217, 255, 0.1);
  --line: rgba(217, 217, 255, 0.08);
  --text: #f2f2f5;
  --text-2: #c3c3c9;
  --text-3: #8b8b94;
  --text-4: #5e5e66;
  --blue: #4b96ff;
  --blue-soft: rgba(75, 150, 255, 0.16);
  --red: #ff5c69;
  --red-soft: rgba(240, 68, 82, 0.16);
  --green: #1fcb86;
  --green-soft: rgba(3, 178, 108, 0.16);
  --orange: #ffad33;
  --orange-soft: rgba(254, 152, 0, 0.16);
  --purple: #a685ff;
  --purple-soft: rgba(138, 92, 246, 0.18);
  --icon-tile: #f2f2f5;
  --shadow: none;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;
  font-size: 15px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  transition: background-color .2s;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }

.logo-mark {
  display: block; width: 104px; aspect-ratio: 597 / 113; background: var(--text);
  -webkit-mask: url(/common/brand/soclab.png) center / contain no-repeat;
  mask: url(/common/brand/soclab.png) center / contain no-repeat;
}
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  color: var(--text-2); transition: background .15s, transform .15s;
}
.icon-btn:hover { background: var(--hover); }
.icon-btn:active { transform: scale(.94); background: var(--press); }
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }

.btn-primary {
  width: 100%; height: 56px; border-radius: 16px; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.02em; transition: filter .15s, transform .15s, opacity .15s;
}
.btn-primary:hover { filter: brightness(.94); }
.btn-primary:active { transform: scale(.98); }
.btn-primary:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 2px; }
.btn-primary:disabled { opacity: .6; cursor: default; transform: none; filter: none; }
.btn-primary .g { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }

.center-page { min-height: 100dvh; display: grid; place-items: center; padding: 72px 16px 40px; position: relative; }
.center-page .theme-corner { position: absolute; top: 16px; right: 16px; }
.card {
  width: 100%; max-width: 440px; background: var(--surface); border-radius: 28px;
  padding: 36px 32px 32px; box-shadow: var(--shadow);
}
.card-top { display: flex; align-items: center; justify-content: space-between; }
.badge { font-size: 13px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 5px 10px; border-radius: 8px; }
.hero-emoji { width: 88px; height: 88px; margin: 36px 0 20px; animation: float 3.2s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.card h1 { font-size: 28px; line-height: 1.4; font-weight: 700; letter-spacing: -0.03em; }
.card .sub { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.card .btn-primary { margin-top: 32px; }
.notice {
  margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--red-soft);
  display: flex; gap: 12px; align-items: center;
}
.notice img { width: 36px; height: 36px; flex: none; }
.notice strong { display: block; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.notice span { display: block; margin-top: 2px; font-size: 13px; color: var(--text-2); }
.card .foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--text-3); }

@media (max-width: 520px) {
  .card { padding: 28px 22px 24px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
