:root {
  --bg: #12101f;
  --bg-soft: #1b1830;
  --panel: #221f3a;
  --line: #322d52;
  --ink: #ece7f5;
  --ink-soft: #b3aad0;
  --ink-faint: #7d7597;
  --gold: #d8b673;
  --gold-deep: #b8934c;
  --violet: #8b7bd8;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background:
    radial-gradient(1200px 600px at 50% -10%, #241f42 0%, rgba(36,31,66,0) 60%),
    var(--bg);
  color: var(--ink);
  font-family: "Noto Sans KR", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

main {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.brand {
  font-family: "Noto Serif KR", serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .35em;
  color: var(--gold);
  text-align: center;
  margin: 0 0 6px;
  text-transform: none;
}

h1 {
  font-family: "Noto Serif KR", serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.45;
  text-align: center;
  margin: 0 0 10px;
}
.lede { text-align: center; color: var(--ink-soft); margin: 0 0 28px; font-size: 15px; }

textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
  outline: none;
}
textarea:focus { border-color: var(--violet); }
textarea::placeholder { color: var(--ink-faint); }

button {
  font: inherit;
  cursor: pointer;
  border: none;
  border-radius: 999px;
}
.btn-primary {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 15px 20px;
  font-weight: 700;
  font-size: 16px;
  color: #241a08;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  box-shadow: 0 8px 24px rgba(184, 147, 76, .28);
}
.btn-primary:disabled { opacity: .5; cursor: default; box-shadow: none; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0 8px;
}
.card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 10px;
  text-align: center;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  animation: reveal .5s ease forwards;
}
.card:nth-child(2) { animation-delay: .12s; }
.card:nth-child(3) { animation-delay: .24s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

.card .pos { font-size: 12px; letter-spacing: .15em; color: var(--gold); }
.card .glyph { font-size: 26px; line-height: 1; }
.card .name { font-family: "Noto Serif KR", serif; font-size: 16px; font-weight: 600; }
.card .orient { font-size: 12px; color: var(--ink-faint); }

.pay-box { margin-top: 22px; text-align: center; }
.pay-box .price { font-family: "Noto Serif KR", serif; font-size: 15px; color: var(--ink-soft); margin-bottom: 6px; }

.notice {
  margin-top: 26px;
  font-size: 12px;
  color: var(--ink-faint);
  text-align: center;
  line-height: 1.6;
}

article#reading {
  white-space: pre-wrap;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  margin: 8px 0 20px;
  font-size: 15.5px;
  color: var(--ink);
}

footer {
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-faint);
}
footer a { color: var(--ink-soft); text-decoration: none; margin: 0 6px; }
footer a:hover { color: var(--gold); }

[hidden] { display: none !important; }

/* 법무·정책 문서 */
.doc { text-align: left; }
.doc h1 { text-align: left; font-size: 24px; margin-bottom: 18px; }
.doc h2 {
  font-family: "Noto Serif KR", serif;
  font-size: 17px;
  margin: 26px 0 8px;
  color: var(--gold);
}
.doc p, .doc li { color: var(--ink-soft); font-size: 14.5px; }
.doc ul { padding-left: 18px; }
.doc .biz {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.doc .biz b { color: var(--ink); }
.back { display: inline-block; margin-top: 28px; color: var(--gold); text-decoration: none; }
