/* 꼬닥이 카페 방침 · 약관 페이지 (크림과 커피 빛, 다크 모드). */
@font-face { font-family: "Jua"; src: url("/fonts/Jua-Regular.ttf") format("truetype"); font-display: swap; }
:root {
  --ink: #3a2d4f; --muted: #6f6385; --paper: #fff6ec; --card: #ffffff; --line: #f0e2d0;
  --accent: #8a5a3c; --soft: #fbeee0; --hl: #fff1dc;
  --shadow: 0 10px 28px rgba(110, 74, 58, .12), 0 2px 6px rgba(110, 74, 58, .08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1e9e2; --muted: #c2b5aa; --paper: #1c1714; --card: #27201c; --line: #3b302a;
    --accent: #e9b98f; --soft: #332821; --hl: #3a2e22;
    --shadow: 0 10px 28px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; word-break: keep-all; overflow-wrap: anywhere; }
.wrap { max-width: 780px; margin: 0 auto; padding: 16px; }
h1, h2, .top a:first-child { font-family: "Jua", -apple-system, sans-serif; font-weight: 400; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 2px 8px; }
.top a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.top a:first-child { font-size: 1.25rem; }
header { background: linear-gradient(160deg, #b98660, #e8c4a0); color: #fff; border-radius: 26px; box-shadow: var(--shadow); padding: 22px; margin: 8px 0 16px; }
header h1 { margin: 0 0 6px; font-size: 1.75rem; line-height: 1.3; }
header p { margin: 0; }
section { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 18px 20px; margin: 0 0 16px; }
h2 { font-size: 1.35rem; margin: 0 0 6px; color: var(--accent); line-height: 1.35; }
ul { padding-left: 1.2em; margin: 6px 0; }
li { margin: 3px 0; }
.meta { color: var(--muted); font-size: .92rem; }
.highlight { background: var(--hl); border-radius: 14px; padding: 10px 14px; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--soft); }
table.kv th { width: 30%; min-width: 7em; }
@media (max-width: 560px) { table:not(.kv) { min-width: 520px; } }
td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
a { color: var(--accent); }
code { font-size: .9em; background: var(--soft); padding: 1px 5px; border-radius: 6px; }
footer { color: var(--muted); text-align: center; font-size: .88rem; padding: 6px 0 28px; }
h3.sub { font-family: "Jua", -apple-system, sans-serif; font-weight: 400; font-size: 1.12rem; margin: 14px 0 4px; }
