/* 질문형 사전 안내 — 버터색 종이, 짙은 숲색 글자, 토마토색 한 점. 질문은 고운돋움으로 크게. */
@font-face { font-family: 'Pretendard Variable'; src: url('/fonts/PretendardVariable.woff2') format('woff2-variations'); font-weight: 45 920; font-display: swap; }
:root {
  --bg: #F4EEDB;
  --card: #FFFCF3;
  --ink: #22301F;
  --soft: #66705F;
  --line: #DCD3B8;
  --tomato: #D9532F;
  --tomato-bg: #FBE3D9;
  --leaf: #2F4A2A;
  --leaf-bg: #E3E9D6;
  --q: 'Gowun Dodum', 'Pretendard Variable', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2 { margin: 0; }
[hidden] { display: none !important; }

.hd { max-width: 1120px; margin: 0 auto; padding: 22px 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hd__brand { font-family: var(--q); font-size: 22px; text-decoration: none; color: var(--leaf); }
.hd__brand span { margin-left: 6px; font-size: 15px; color: var(--soft); }
.hd__owner { font-size: 14px; font-weight: 600; text-decoration: none; padding: 7px 14px; border: 1.5px solid var(--ink); border-radius: 99px; white-space: nowrap; }
.hd__owner:hover { background: var(--ink); color: var(--card); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 32px 24px 0; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.wrap2 { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

/* 왼쪽: 진행 목록 */
.side__hello { margin: 8px 0 28px; font-family: var(--q); font-size: 19px; line-height: 1.6; }
.steps { list-style: none; margin: 0 0 28px; padding: 0; border-left: 2px solid var(--line); }
.steps li { position: relative; display: flex; gap: 12px; padding: 8px 0 8px 18px; color: var(--soft); }
.steps li span { position: absolute; left: -12px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.steps li b { display: block; font-weight: 600; font-size: 15px; }
.steps li i { display: block; font-style: normal; font-size: 13px; color: var(--leaf); }
.steps li.is-now { color: var(--ink); }
.steps li.is-now span { background: var(--tomato); border-color: var(--tomato); color: #fff; }
.steps li.is-done span { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.side__facts { display: grid; grid-template-columns: 44px 1fr; gap: 8px 10px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.side__facts dt { color: var(--soft); }
.side__facts dd { margin: 0; }
.side__facts a { color: var(--tomato); font-weight: 600; }

/* 오른쪽: 질문 카드 */
.card { background: var(--card); border-radius: 18px; padding: 0 40px 36px; box-shadow: 0 1px 0 var(--line); min-height: 480px; overflow: hidden; }
.bar { height: 6px; margin: 0 -40px; background: var(--leaf-bg); }
.bar span { display: block; height: 100%; background: var(--tomato); transition: width .3s; }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0 28px; font-size: 14px; color: var(--soft); }
.card__count { margin: 0; }
.skip { border: 0; background: none; padding: 0; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.skip:hover { color: var(--ink); }

.q { font-family: var(--q); font-weight: 400; font-size: 36px; line-height: 1.35; letter-spacing: -0.5px; margin-bottom: 28px; }
.q--sm { font-size: 28px; margin-bottom: 18px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 620px; }
.opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 96px; padding: 18px 20px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; text-align: left; }
.opt b { font-family: var(--q); font-weight: 400; font-size: 22px; }
.opt span { font-size: 14px; color: var(--soft); }
.opt:hover { border-color: var(--ink); }
.opt.is-on { border-color: var(--tomato); background: var(--tomato-bg); }
.back { border: 0; background: none; padding: 10px 0; color: var(--soft); cursor: pointer; font-size: 15px; margin-top: 18px; }
.back:hover { color: var(--ink); }

.eyebrow { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--tomato); }
.rec { padding: 20px 22px; border-radius: 14px; background: var(--leaf); color: #F4F1E4; margin-bottom: 14px; }
.rec h1 { font-family: var(--q); font-weight: 400; font-size: 30px; line-height: 1.3; }
.rec__meta { margin: 2px 0 10px !important; font-weight: 700; color: #F7C9A9; }
.rec p { margin: 0; font-size: 15px; line-height: 1.7; max-width: 38em; }
.menus { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.menu { padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; cursor: pointer; font-size: 14px; }
.menu i { font-style: normal; color: var(--soft); margin-left: 2px; }
.menu.is-on { border-color: var(--leaf); background: var(--leaf-bg); font-weight: 600; }

.h2 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.sug { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sug__b { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; cursor: pointer; text-align: left; }
.sug__b span { font-size: 14px; color: var(--soft); }
.sug__b b { font-family: var(--q); font-weight: 400; font-size: 28px; line-height: 1.2; }
.sug__b:hover { background: var(--leaf-bg); }
.sug__b.is-on { background: var(--tomato); border-color: var(--tomato); color: #fff; }
.sug__b.is-on span { color: #FFE3D8; }
.more { margin: 16px 0 0; padding: 0; border: 0; background: none; color: var(--leaf); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 15px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-top: 14px; }
.day { display: flex; flex-direction: column; align-items: center; padding: 6px 0; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; line-height: 1.25; }
.day i { font-style: normal; font-size: 11.5px; color: var(--soft); }
.day b { font-size: 17px; }
.day small { font-size: 10.5px; color: var(--leaf); }
.day:disabled { background: transparent; border-style: dashed; opacity: .55; cursor: default; }
.day:disabled small { color: var(--soft); }
.day.is-on { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.day.is-on i, .day.is-on small { color: #DCE6CC; }
.slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.slot { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 50px; border: 1.5px solid var(--leaf); border-radius: 10px; background: #fff; cursor: pointer; line-height: 1.25; }
.slot b { font-size: 15px; }
.slot span { font-size: 11px; color: var(--soft); }
.slot--fav b { text-decoration: underline; text-decoration-color: var(--tomato); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.slot.is-on { background: var(--tomato); border-color: var(--tomato); color: #fff; }
.slot:disabled { cursor: default; }
.slot--taken { border-color: var(--line); background: repeating-linear-gradient(135deg, #F1ECDD 0 5px, #E7E0CC 5px 10px); }
.slot--taken b { text-decoration: line-through; color: var(--soft); }
.slot--blocked { border: 1.5px dashed #BDB496; background: transparent; }
.slot--blocked b { color: var(--soft); text-decoration: none; }
.slot--past { border-color: transparent; background: #EFEADB; }
.slot--past b { color: #A9A38F; text-decoration: none; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 10px 0 0; font-size: 12.5px; color: var(--soft); }
.k { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: -6px; vertical-align: -1px; }
.k--open { border: 1.5px solid var(--leaf); background: #fff; }
.k--taken { background: repeating-linear-gradient(135deg, #F1ECDD 0 3px, #D9D0B6 3px 6px); }
.k--blocked { border: 1.5px dashed #BDB496; }
.k--past { background: #E6E0CD; }
.note { margin: 10px 0 8px; font-size: 14px; color: var(--soft); }

.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.nav .back { margin: 0; }
.next { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 99px; background: var(--tomato); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; }
.next:hover { background: var(--ink); }
.next:disabled { background: var(--line); color: var(--soft); cursor: default; }
.err { margin: 12px 0 0; color: #A8331A; font-weight: 600; font-size: 14px; }
.err:empty { display: none; }

.pickd { margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; background: var(--leaf-bg); font-size: 15px; }
.f { display: block; margin-bottom: 14px; max-width: 520px; }
.f > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.f i { font-style: normal; font-weight: 400; color: var(--soft); }
.f input, .f textarea { width: 100%; padding: 13px 15px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--leaf); }
.tiny { margin: 16px 0 0; font-size: 13px; color: var(--soft); }

.badge { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 99px; background: #FFE9A8; color: #7A5A00; font-size: 13px; font-weight: 700; }
.dl { display: grid; grid-template-columns: 70px 1fr; gap: 6px 14px; margin: 0 0 8px; padding: 18px 20px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); max-width: 520px; }
.dl dt { color: var(--soft); }
.dl dd { margin: 0; font-weight: 600; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 18px; }
.acts .back { margin: 0; text-decoration: underline; }

/* 아래: 가격 */
.prices { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.prices h2 { font-family: var(--q); font-weight: 400; font-size: 24px; margin-bottom: 14px; }
.prices ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.prices li b { display: block; font-size: 16px; }
.prices li span { font-size: 14px; color: var(--tomato); font-weight: 600; }
.prices li p { margin: 4px 0 0; font-size: 14px; color: var(--soft); }
.prices > p { margin: 18px 0 0; font-size: 14px; color: var(--soft); }
.maker { margin-top: 36px; }
.maker p { margin: 0; padding: 16px 18px; border-radius: 12px; background: var(--leaf-bg); font-size: 14px; color: var(--soft); }
.maker b { color: var(--ink); }
.maker a { color: var(--leaf); font-weight: 700; }
.ft { display: flex; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 48px; font-size: 13px; color: var(--soft); }

@media (max-width: 900px) {
  .wrap { grid-template-columns: 1fr; gap: 20px; padding-top: 16px; }
  .side { order: 2; }
  .side__hello { display: none; }
  .steps { display: none; }
  .card { padding: 0 22px 28px; min-height: 0; }
  .bar { margin: 0 -22px; }
  .prices ul { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 560px) {
  .hd { padding: 16px 16px 0; }
  .hd__brand { font-size: 20px; }
  .wrap { padding: 14px 16px 0; }
  .wrap2 { padding-left: 16px; padding-right: 16px; }
  .card { padding: 0 18px 24px; border-radius: 14px; }
  .bar { margin: 0 -18px; }
  .card__top { padding: 14px 0 20px; flex-wrap: wrap; font-size: 13px; }
  .q { font-size: 28px; margin-bottom: 20px; }
  .q--sm { font-size: 24px; }
  .opts { grid-template-columns: 1fr; gap: 10px; }
  .opt { min-height: 0; padding: 16px 18px; }
  .rec h1 { font-size: 25px; }
  .sug { grid-template-columns: 1fr; gap: 8px; }
  .sug__b { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 12px 16px; }
  .sug__b b { font-size: 24px; }
  .days { gap: 4px; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .next { width: 100%; }
  .nav { flex-direction: column-reverse; align-items: stretch; }
  .nav .back { text-align: left; }
  .acts .next { width: 100%; }
  .ft { flex-direction: column; }
}
