/* 내려놓기 · Little While 사이트 공용 스타일 (따뜻한 미니멀) */
:root {
  --bg: #ffffff;
  --surface: #fff7f2;
  --text: #2b211c;
  --muted: #6e5f57;
  --accent: #f48d5e;
  --accent-strong: #b8532a;
  --accent-soft: #fbd9c8;
  --line: #f1e2d8;
  --placeholder-bg: #fff2c2;
  --placeholder-text: #6b4e00;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1714;
    --surface: #26201c;
    --text: #f5ece6;
    --muted: #c2b1a7;
    --accent: #f48d5e;
    --accent-strong: #f6a57f;
    --accent-soft: #4a3227;
    --line: #3a302a;
    --placeholder-bg: #4a3d12;
    --placeholder-text: #ffe8a3;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: var(--accent-strong); }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 머리 */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 700; }
.site-nav a:hover { color: var(--text); }

/* 본문 */
main { padding: 40px 0 56px; }
h1 { font-size: 30px; line-height: 1.3; margin: 0 0 12px; }
h2 { font-size: 21px; line-height: 1.4; margin: 40px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.lead { font-size: 19px; color: var(--muted); }
.meta { font-size: 14px; color: var(--muted); }

/* 첫 페이지 */
.hero { text-align: center; padding: 16px 0 8px; }
.hero img { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 8px 24px rgba(184, 83, 42, 0.18); }
.hero h1 { margin-top: 20px; font-size: 34px; }
.hero .subtitle { font-size: 15px; color: var(--muted); margin-bottom: 6px; }

.steps {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 0;
}
.steps strong { display: block; margin-bottom: 2px; }

/* 요약 상자 */
.summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0 8px;
}
.summary ul { margin: 0; }

/* 표 */
.table-scroll { overflow-x: auto; margin: 0 0 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--surface); font-weight: 700; }

/* 사용자가 채울 칸 */
.placeholder {
  background: var(--placeholder-bg);
  color: var(--placeholder-text);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* 발 */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-footer a { color: var(--muted); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 26px; }
  .hero h1 { font-size: 30px; }
  main { padding-top: 28px; }
}
