/* 안내·글 페이지 공통 스타일 (메인 앱 style.css의 색을 그대로 씀) */
:root {
  --bg: #f3eeff;
  --surface: #fff;
  --ink: #2e2348;
  --inksoft: #6b6288;
  --line: #dcd3f2;
  --grape: #c3aeff;
  --grapesoft: #ece4ff;
  --grapeink: #6a4fd8;
  --berry: #ff8fab;
  --jua: 'Jua', sans-serif;
  --dodum: 'Gowun Dodum', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { font-family: var(--dodum); line-height: 1.75; font-size: 16px; }
a { color: var(--grapeink); }

.page { max-width: 680px; margin: 0 auto; padding: 20px 16px 48px; }

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 14px; border-bottom: 1.5px solid var(--line); margin-bottom: 28px;
}
.top .home { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-family: var(--jua); font-size: 18px; }
.top .home img { width: 32px; height: 32px; }
.top nav { display: flex; gap: 14px; font-size: 14px; }
.top nav a { color: var(--inksoft); text-decoration: none; white-space: nowrap; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); text-decoration: underline; }

h1 { font-family: var(--jua); font-weight: 400; font-size: 28px; line-height: 1.3; margin-bottom: 8px; }
h2 { font-family: var(--jua); font-weight: 400; font-size: 21px; line-height: 1.35; margin: 36px 0 10px; }
h3 { font-size: 17px; margin: 22px 0 6px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px 22px; }
li { margin-bottom: 6px; }
strong { color: var(--ink); }

.meta { color: var(--inksoft); font-size: 14px; margin-bottom: 24px; }

.box {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px;
  padding: 16px 18px; margin: 18px 0;
}
.box p:last-child, .box ul:last-child { margin-bottom: 0; }

.cta {
  display: flex; align-items: center; justify-content: center; height: 54px; margin: 32px 0 8px;
  border-radius: 999px; background: var(--ink); color: var(--surface); text-decoration: none;
  font-family: var(--jua); font-size: 18px; box-shadow: 0 4px 0 var(--berry);
}

.list { list-style: none; margin: 0; }
.list li { margin: 0 0 12px; }
.list a {
  display: block; padding: 16px 18px; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 18px; text-decoration: none; color: var(--ink);
}
.list a:hover { border-color: var(--grape); }
.list b { display: block; font-family: var(--jua); font-weight: 400; font-size: 18px; margin-bottom: 4px; }
.list span { color: var(--inksoft); font-size: 14px; }

table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; background: var(--surface); }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--grapesoft); font-weight: 700; }
.keep-first th:first-child, .keep-first td:first-child { white-space: nowrap; }

.foot { margin-top: 48px; padding-top: 16px; border-top: 1.5px solid var(--line); font-size: 13px; color: var(--inksoft); }
.foot a { color: var(--inksoft); margin-right: 12px; }

@media (max-width: 420px) {
  .top { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 25px; }
}
