:root {
  color-scheme: light only;
  --ink: #191600;
  --kakao: #fee500;
  --paper: #fffdf5;
  --line: #e5dcb8;
  --muted: rgba(25, 22, 0, 0.7);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(254, 229, 0, 0.45), transparent 55%),
    linear-gradient(180deg, #fff9e8, var(--paper));
  word-break: keep-all;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 22px 40px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--kakao);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--ink);
  cursor: pointer;
  font: inherit;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

.card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  margin-top: 18px;
}

label {
  display: block;
  margin: 12px 0 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  background: #fff;
}

.row {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .row.two { grid-template-columns: 1fr 1fr; }
}

.hint {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.msg {
  margin-top: 14px;
  min-height: 1.3em;
  font-size: 0.95rem;
}

.msg.ok { color: #166534; }
.msg.err { color: #b91c1c; }

code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(25, 22, 0, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
}

.hidden { display: none !important; }
