/* 안내·가이드 문서. 앱 홈(#phone-app)에는 연결하지 않는다. */
html, body {
  margin: 0;
  background: #ffffff;
  color: #111111;
  overflow-x: hidden;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  word-break: keep-all;
}
.legal-top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 10px 10px;
  background: #ffffff;
  border-bottom: 1px solid #d1d5db;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1.5px solid #9ca3af;
  background: #f3f4f6;
  color: #111111;
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1;
  flex: 0 0 auto;
}
.legal-top-title {
  font-size: 17px;
  font-weight: 900;
  color: #111111;
}
.site-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 16px 8px;
  box-sizing: border-box;
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(22px, 4.2vw, 30px);
  line-height: 1.35;
  font-weight: 900;
}
h2 {
  margin: 28px 0 8px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 900;
}
p, li {
  font-size: 16px;
  line-height: 1.75;
}
a { color: #1d4ed8; }
.lead { font-size: 17px; }
.guide-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 12px 0 8px;
  padding: 0;
  list-style: none;
}
.guide-list a {
  display: block;
  padding: 14px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  text-decoration: none;
  color: #111111;
  background: #f8fafc;
}
.guide-list a strong { display: block; margin-bottom: 4px; }
.guide-list a span { color: #334155; font-size: 14px; line-height: 1.5; }
.related { margin-top: 28px; padding-top: 8px; border-top: 1px solid #e5e7eb; }
.related ul { padding-left: 18px; }
.site-foot {
  margin-top: 28px;
  padding: 18px 16px calc(22px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #d1d5db;
  background: #f8fafc;
  color: #111111;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}
.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}
.site-foot a { text-decoration: none; }
.site-foot p { margin: 8px 0 0; font-size: 14px; }
@media (min-width: 720px) {
  .guide-list { grid-template-columns: 1fr 1fr; }
}
