:root {
  --bg: #fff7ee;
  --card: #ffffff;
  --ink: #4a2f25;
  --sub: #8a6a5a;
  --accent: #e07a7f;
  --accent-dark: #c9616a;
  --line: #f0dccb;
  --soft: #fde9e4;
  --ok: #3f8f5f;
  --warn: #b5532f;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}
a { color: var(--accent-dark); }
img, video { max-width: 100%; display: block; }

.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 247, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.logo { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo::before { content: "💬 "; }
.top-cta {
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; font-size: 14px;
}

main { max-width: 720px; margin: 0 auto; padding: 0 16px 40px; }

.hero { text-align: center; padding: 36px 0 12px; }
.eyebrow { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--accent-dark); font-weight: 700; font-size: 14px; }
h1 { font-size: clamp(28px, 7vw, 40px); line-height: 1.3; margin: 0 0 14px; letter-spacing: -0.03em; }
.lead { color: var(--sub); margin: 0 0 22px; font-size: 17px; }
.video { border-radius: 18px; overflow: hidden; box-shadow: 0 12px 30px rgba(74, 47, 37, 0.16); background: #000; }
.video video { width: 100%; aspect-ratio: 16 / 9; }
.cap { color: var(--sub); font-size: 13px; margin: 8px 0 20px; }
.small { color: var(--sub); font-size: 14px; margin: 10px 0 0; }

.btn {
  display: block; width: 100%; max-width: 420px; margin: 0 auto;
  border: 0; border-radius: 14px; padding: 16px 18px;
  background: var(--accent); color: #fff; font: inherit; font-weight: 800; font-size: 18px;
  text-align: center; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 16px rgba(224, 122, 127, 0.35);
}
.btn:hover { background: var(--accent-dark); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn.ghost { background: #fff; color: var(--accent-dark); border: 2px solid var(--accent); box-shadow: none; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px; margin: 18px 0; }
.card h2 { font-size: 20px; margin: 0 0 12px; letter-spacing: -0.02em; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 46px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--accent-dark);
  display: grid; place-items: center; font-weight: 800;
}
.steps b { display: block; }
.steps span { color: var(--sub); font-size: 15px; }
.checks, .notes { margin: 0; padding-left: 20px; }
.checks li, .notes li { margin: 6px 0; }
.notes li { color: var(--sub); }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--sub); }

.foot { max-width: 720px; margin: 0 auto; padding: 24px 16px 40px; color: var(--sub); font-size: 13px; border-top: 1px solid var(--line); }
.foot p { margin: 4px 0; }
.todo { background: #fff3cd; padding: 0 4px; border-radius: 4px; }

/* 주문서 */
.page-h { font-size: 26px; margin: 26px 0 6px; }
.testbar { background: #fff3cd; border: 1px solid #f3d27a; color: #7a5a00; border-radius: 12px; padding: 10px 14px; margin-top: 16px; font-size: 14px; }
.hint { color: var(--sub); font-size: 14px; margin: 0 0 10px; }
.drop {
  display: grid; place-items: center; min-height: 180px; border: 2px dashed var(--line); border-radius: 14px;
  background: #fffaf5; cursor: pointer; overflow: hidden; text-align: center; color: var(--sub); font-weight: 700;
}
.drop img { max-height: 340px; width: auto; }
input[type="text"], textarea, select {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
textarea { resize: vertical; min-height: 64px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.qa-item { padding: 12px 0; border-top: 1px dashed var(--line); }
.qa-item:first-child { border-top: 0; padding-top: 0; }
.qa-item label { display: block; font-weight: 700; margin-bottom: 6px; }
.qa-item select { margin-bottom: 8px; }
.count { text-align: right; font-size: 13px; color: var(--sub); margin-top: 2px; }
.count.over { color: var(--warn); font-weight: 700; }
.chk { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.chk input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.err { color: var(--warn); font-weight: 700; font-size: 14px; margin: 8px 0 0; }
.err.big { text-align: center; font-size: 16px; }
.price-tag { color: var(--accent-dark); }
#pay-methods, #pay-terms { margin: 0 -8px; }

/* 주문 페이지 */
.status-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: 14px; background: var(--soft); color: var(--accent-dark); }
.status-badge.done { background: #e3f4e8; color: var(--ok); }
.status-badge.bad { background: #fde7df; color: var(--warn); }
.linkbox { display: flex; gap: 8px; }
.linkbox input { flex: 1; font-size: 13px; }
.linkbox button { flex: none; border: 0; border-radius: 12px; padding: 0 14px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.qa-list { margin: 0; padding: 0; list-style: none; }
.qa-list li { padding: 8px 0; border-top: 1px dashed var(--line); }
.qa-list li:first-child { border-top: 0; }
.qa-list .q { color: var(--sub); font-size: 14px; }
.row { display: grid; gap: 10px; margin-top: 14px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--soft); border-top-color: var(--accent); animation: spin 1s linear infinite; margin: 8px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.overlay { position: fixed; inset: 0; background: rgba(255, 247, 238, 0.95); display: grid; place-items: center; z-index: 50; text-align: center; padding: 20px; }

/* 약관 */
.doc h1 { font-size: 26px; margin-top: 26px; }
.doc h2 { font-size: 18px; margin: 22px 0 6px; }
.doc p, .doc li { color: #5d4338; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.draft { background: #fff3cd; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
