/* 냠냠타운 웹 페이지 공통 (앱 디자인 토큰: design/tokens.json 의 낮 테마) */
:root {
  --paper: #FFF9EF;   /* 크림 */
  --paper-alt: #FFF2C6;
  --sky: #D6EEFB;
  --ink: #4A3040;     /* 외곽선 색 */
  --muted: #776783;
  --line: #E9DCCB;
  --primary: #F0C24A;
  --blush: #FF9EB5;
  --danger: #F2587A;
  --moon: #7D7FC4;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.7; word-break: keep-all;
}
a { color: #B0546E; }
img { max-width: 100%; }
h1, h2, h3, .display { font-family: "Jua", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; font-weight: 400; line-height: 1.3; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* 문서(약관·방침) */
.doc { max-width: 760px; padding-block: 24px 64px; font-size: 15px; }
.doc h1 { font-size: 30px; margin: 4px 0; }
.doc h2 { font-size: 20px; margin: 30px 0 6px; color: #8A4A63; }
.doc .meta { color: var(--muted); font-size: 13px; margin-top: 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; display: block; overflow-x: auto; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }
.doc th { white-space: nowrap; color: var(--muted); font-weight: 600; }
.back { margin: 0 0 8px; font-size: 14px; }
.back a { text-decoration: none; }
.panel { background: var(--paper-alt); border: 2px solid var(--ink); border-radius: 14px; padding: 6px 18px; }
.panel ul { padding-left: 18px; }

/* 소개 페이지 */
.hero { background: var(--sky); border-bottom: 3px solid var(--ink); }
.hero .wrap { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding-block: 40px 32px; }
.hero .icon { width: 128px; height: 128px; border-radius: 28px; border: 3px solid var(--ink); background: #fff; }
.hero h1 { font-size: 44px; margin: 0; }
.hero .tag { font-size: 20px; margin: 4px 0 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-block; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.badge.soon { background: var(--primary); }
/* 언어 바꾸기: 머리 오른쪽 위 작은 알약 */
.hero .lang { position: absolute; top: 12px; right: 20px; padding: 4px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; }

.pets { display: flex; justify-content: center; align-items: flex-end; gap: 4%; padding-block: 28px 8px; }
.pets img { height: 110px; }
.pets figure { margin: 0; text-align: center; }
.pets figcaption { font-family: "Jua", sans-serif; font-size: 18px; }

section { padding-block: 26px; }
section > h2 { font-size: 28px; margin: 0 0 14px; text-align: center; }
.lead { text-align: center; max-width: 620px; margin: 0 auto 18px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 16px; display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start; box-shadow: 0 3px 0 var(--ink); }
.card img { width: 56px; height: 56px; object-fit: contain; }
.card h3 { margin: 0 0 2px; font-size: 19px; }
.card p { margin: 0; font-size: 14.5px; color: #5E4A5A; }

.shots { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.shots img { height: 420px; border-radius: 16px; border: 2px solid var(--ink); scroll-snap-align: start; flex: none; }

.faq details { background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 10px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 2px; font-size: 15px; }

.delete { background: var(--paper-alt); border: 2px dashed var(--ink); border-radius: 16px; padding: 6px 20px 14px; }
.delete ol { padding-left: 20px; }

footer { border-top: 2px solid var(--line); margin-top: 24px; padding-block: 20px 36px; text-align: center; font-size: 14px; color: var(--muted); }
footer a { margin: 0 6px; }

@media (max-width: 560px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero h1 { font-size: 36px; }
  .badges { justify-content: center; }
  .pets img { height: 72px; }
  .shots img { height: 340px; }
  .cards { grid-template-columns: 1fr; }
}
