:root { --ink:#1f1d1a; --muted:#6e6a62; --line:#e7e1d6; --bg:#faf7f1; --card:#ffffff; --brand:#1f7fae; --todo:#fff3c4; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font-family:-apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; line-height:1.7; word-break:keep-all; }
main { max-width:760px; margin:0 auto; padding:32px 20px 64px; }
header.brand { display:flex; align-items:center; gap:14px; margin-bottom:28px; }
header.brand img { width:56px; height:56px; border-radius:14px; }
header.brand a { color:inherit; text-decoration:none; font-weight:800; font-size:1.25rem; }
header.brand img.wordmark { width:auto; height:26px; border-radius:0; display:block; }
h1 { font-size:1.6rem; margin:0 0 6px; }
h2 { font-size:1.15rem; margin:32px 0 8px; padding-top:8px; border-top:1px solid var(--line); }
h3 { font-size:1rem; margin:18px 0 6px; }
p, li { font-size:0.97rem; }
.muted { color:var(--muted); font-size:0.9rem; }
table { width:100%; border-collapse:collapse; margin:8px 0 12px; font-size:0.92rem; background:var(--card); }
th, td { border:1px solid var(--line); padding:8px 10px; text-align:left; vertical-align:top; overflow-wrap:anywhere; }
th { background:#f3eee5; }
/* 두 칸 표는 좁은 화면에서 첫 칸이 한 글자씩 세로로 꺾였다. 줄마다 이름을 위에, 내용을 아래로 쌓는다. */
@media (max-width: 560px) {
  table, tbody, tr, td { display:block; width:100%; }
  table { background:transparent; }
  tr:first-child { display:none; }
  tr { background:var(--card); border:1px solid var(--line); border-radius:12px; margin:0 0 10px; overflow:hidden; }
  td { border:none; padding:10px 14px; }
  td:first-child { font-weight:700; background:#f3eee5; padding-block:8px; }
}
.card { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:18px 20px; margin:14px 0; }
.todo { background:var(--todo); padding:0 4px; border-radius:4px; }
footer { margin-top:48px; padding-top:16px; border-top:1px solid var(--line); font-size:0.88rem; color:var(--muted); }
footer a { color:var(--muted); margin-right:14px; }
a { color:var(--brand); }
.hero { text-align:center; padding:40px 0 12px; }
.hero img { width:112px; height:112px; border-radius:26px; box-shadow:0 10px 30px rgba(52,40,110,.18); }
.hero h1 { font-size:2rem; margin-top:18px; }
.hero h1 img.wordmark { width:auto; height:44px; border-radius:0; box-shadow:none; display:inline-block; }
.hero .stores { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; margin:22px 0 4px; }
.hero .stores a { display:inline-block; line-height:0; }
/* 애플 배지 규칙: 높이 40px 이상, 둘레 여백은 높이의 1/4 이상, 그림은 고치지 않는다. */
.hero .stores img { width:auto; height:45px; border-radius:0; box-shadow:none; }
.features { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap:12px; margin-top:24px; }
.features .card { margin:0; }
.btn { display:inline-block; font:inherit; font-weight:700; font-size:0.97rem; padding:10px 18px; border-radius:999px; border:1px solid var(--line); background:var(--card); color:var(--brand); cursor:pointer; }
.btn.danger { background:#b3261e; border-color:#b3261e; color:#fff; }
.btn:disabled { opacity:.45; cursor:not-allowed; }
.check { display:flex; gap:8px; align-items:flex-start; margin:10px 0 14px; font-size:0.95rem; }
.check input { margin-top:6px; }
.status { margin:12px 0 0; font-size:0.92rem; }
.status:empty { display:none; }
.status.error { color:#b3261e; }
[hidden] { display:none !important; }
