: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;
  }
}
