@charset "UTF-8";

:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --ink: #111113;
  --ink-2: #3c3c43;
  --muted: #6e6e76;
  --line: #e3e3dd;
  --line-strong: #cfcfc7;
  --accent: #2b4fe0;
  --accent-soft: #e7ecff;
  --btn: #111113;
  --btn-ink: #ffffff;
  --shadow: 0 1px 2px rgba(17, 17, 19, .04), 0 4px 16px rgba(17, 17, 19, .05);
  --shadow-hover: 0 2px 4px rgba(17, 17, 19, .06), 0 12px 32px rgba(17, 17, 19, .09);
  --glow: rgba(43, 79, 224, .10);
  --font: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d10;
    --surface: #16161a;
    --ink: #f3f3f1;
    --ink-2: #c9c9cf;
    --muted: #8e8e97;
    --line: #26262c;
    --line-strong: #34343b;
    --accent: #7d98ff;
    --accent-soft: #1c2342;
    --btn: #f3f3f1;
    --btn-ink: #0d0d10;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-hover: 0 8px 28px rgba(0, 0, 0, .5);
    --glow: rgba(125, 152, 255, .12);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(60% 50% at 50% 0%, var(--glow) 0%, transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.stage {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 56px;
}

.intro { text-align: center; padding-top: 48px; }
.mark {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--btn); color: var(--btn-ink); font-size: 32px; font-weight: 800; line-height: 1;
  box-shadow: var(--shadow);
}
h1 {
  margin: 24px 0 0;
  font-size: clamp(44px, 9vw, 76px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.lede { margin: 14px 0 0; color: var(--muted); font-size: clamp(16px, 2.4vw, 20px); }

.doors {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.doors > li { min-width: 0; }

.door {
  position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%;
  min-height: 160px; padding: 22px 22px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.door:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
a.door:hover .door-arrow { transform: translateX(3px); color: var(--ink); }

.door-title { font-size: 22px; font-weight: 750; letter-spacing: -0.03em; }
.door-desc { color: var(--ink-2); font-size: 14px; }

.tag {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--muted);
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.tag-lock { background: var(--accent-soft); border-color: transparent; color: var(--accent); }

.door-arrow {
  position: absolute; right: 20px; bottom: 18px; font-size: 18px; color: var(--muted);
  transition: transform .18s ease, color .18s ease;
}

.door-off { background: transparent; box-shadow: none; border-style: dashed; cursor: default; }
.door-off .door-title, .door-off .door-desc { color: var(--muted); }
.door-off .door-title { font-weight: 650; }

.foot { padding-bottom: 32px; text-align: center; color: var(--muted); font-size: 13px; }

@media (max-width: 720px) {
  .stage { padding: 48px 16px 0; gap: 40px; justify-content: flex-start; }
  .intro { padding-top: 24px; }
  .doors { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .door { min-height: 0; padding: 18px 18px 16px; gap: 6px; }
  .tag { margin-top: 8px; }
  .door-arrow { top: 18px; bottom: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
