:root {
  color-scheme: light;
  --cream: #f7f3ec;
  --ink: #26242a;
  --muted: #756f79;
  --line: rgba(38, 36, 42, 0.12);
  --lilac: #aaa7dc;
  --peach: #f1c5b5;
  --mint: #b9d9ca;
  --sky: #bdd6e8;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(circle at 15% 15%, rgba(170, 167, 220, 0.16), transparent 30rem),
    radial-gradient(circle at 85% 85%, rgba(185, 217, 202, 0.16), transparent 28rem),
    var(--cream);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.entry-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 24px;
}

.entry-card {
  width: min(100%, 560px);
  padding: clamp(36px, 8vw, 64px) clamp(24px, 7vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 70px rgba(58, 52, 67, 0.08);
  text-align: center;
  backdrop-filter: blur(12px);
}

.wordmark {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto;
}

.accent-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 92px;
  margin: 28px auto 34px;
}

.accent {
  height: 4px;
}

.accent-lilac { background: var(--lilac); }
.accent-peach { background: var(--peach); }
.accent-mint { background: var(--mint); }
.accent-sky { background: var(--sky); }

h1 {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -0.025em;
}

p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.enter-button {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.enter-button:hover {
  background: #37333d;
  transform: translateY(-1px);
}

.enter-button:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 4px;
}

.status,
.noscript-copy {
  margin-top: 16px;
  font-size: 0.79rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 18px;
  font-size: 0.78rem;
}

.legal-links a {
  color: var(--muted);
  text-underline-offset: 3px;
}

@media (max-width: 480px) {
  .entry-shell {
    padding: 16px;
  }

  .entry-card {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .enter-button {
    transition: none;
  }
}

/* 티저(오늘의 1문항) — A안 루트 전환 */
.entry-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.wordmark-small{width:220px;height:auto}
.login-always{font-size:.85rem;color:#5b4bd6;text-decoration:none;border:1px solid #d8d2f5;border-radius:999px;padding:6px 14px;white-space:nowrap}
.login-always:hover{background:#f2effe}
.teaser-sub{color:#6b6459;margin:4px 0 14px}
.teaser-card{border:1px solid #e5ddcf;border-radius:14px;padding:18px;background:#fffdf8;text-align:left}
.teaser-prompt{font-size:1.05rem;line-height:1.55;font-weight:700;margin:0 0 12px}
.teaser-options{display:flex;flex-direction:column;gap:8px}
.teaser-option{text-align:left;padding:11px 14px;border:1px solid #d9d2c2;border-radius:10px;background:#fff;font-size:.95rem;line-height:1.45;cursor:pointer}
.teaser-option:hover{border-color:#5b4bd6;background:#f7f5ff}
.teaser-estimate{display:flex;gap:8px}
.teaser-estimate input{flex:1;padding:10px 12px;border:1px solid #d9d2c2;border-radius:10px;font-size:1rem}
.teaser-submit{flex:none}
.teaser-band{font-size:1.15rem;font-weight:800;color:#5b4bd6;margin:0 0 8px}
.teaser-feedback{line-height:1.6;margin:0 0 8px}
.teaser-band-copy{color:#6b6459;font-size:.9rem;margin:0 0 14px}
.teaser-actions{display:flex;gap:8px;flex-wrap:wrap}
.teaser-cta{display:inline-block;background:#5b4bd6;color:#fff;text-decoration:none;padding:10px 16px;border-radius:10px;font-weight:700}
.teaser-share{padding:10px 14px;border:1px solid #d9d2c2;border-radius:10px;background:#fff;cursor:pointer}
.teaser-note{color:#6b6459;font-size:.85rem;margin-top:14px}
.teaser-loading{color:#6b6459}
@media (max-width:480px){.entry-top{justify-content:center}.teaser-card{padding:14px}}
