/* 사연노래 — 50~70대도 읽기 쉽게: 본문 18px, 큰 버튼, 높은 대비. 강조색 하나(로즈). */
:root {
  --bg: #f6f6f4;
  --card: #ffffff;
  --ink: #1d1d1f;
  --sub: #55565b;
  --line: #e2e2df;
  --accent: #b4234a;
  --accent-ink: #ffffff;
  --accent-soft: #fbe9ee;
  --ok: #1f7a4d;
  --warn: #a15c00;
  --r-card: 16px;
  --r-ctl: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 18px; line-height: 1.7; word-break: keep-all;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

header.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.top nav a { margin-left: 16px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.top nav a.btn { color: var(--accent-ink); }

h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.3; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: clamp(25px, 3.6vw, 32px); line-height: 1.35; margin: 0 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 21px; margin: 0 0 6px; }
.lead { font-size: 20px; color: var(--sub); margin: 0 0 24px; }
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
.muted { color: var(--sub); }
.small { font-size: 15px; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding: 48px 0; }
.hero img { border-radius: var(--r-card); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 24px; border-radius: var(--r-ctl); border: 2px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700; font-size: 19px;
  text-decoration: none; cursor: pointer;
}
.btn.ghost { background: var(--card); color: var(--accent); }
.btn.small { min-height: 44px; font-size: 16px; padding: 0 16px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .chip:focus-within { outline: 3px solid #f2a5b8; outline-offset: 2px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.occ { overflow: hidden; padding: 0; color: inherit; text-decoration: none; }
a.occ:hover h3 { color: var(--accent); }
.occ img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.occ div { padding: 16px 18px 20px; }
.ex { padding: 18px; }
.ex h3 { font-size: 19px; color: var(--accent); }
.ex p { margin: 4px 0 0; }
.step b { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); align-items: center; justify-content: center; margin-bottom: 8px; }

.price { text-align: center; position: relative; }
.price .won { font-size: 38px; font-weight: 800; margin: 4px 0; }
.price .per { color: var(--sub); }
.badge { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; border-radius: 999px; padding: 2px 12px; }

label.f { display: block; font-weight: 700; margin: 18px 0 6px; }
input[type=text], input[type=tel], input[type=password], textarea, select {
  width: 100%; font: inherit; font-size: 19px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r-ctl); background: #fff; color: var(--ink);
}
textarea { min-height: 170px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 2px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; }
.chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.tabs { display: flex; gap: 8px; margin-bottom: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; }
.check input { width: 24px; height: 24px; margin-top: 4px; flex: none; }
.msg { margin-top: 14px; font-weight: 600; }
.msg.err { color: var(--accent); }
.msg.ok { color: var(--ok); }
.notice { background: var(--accent-soft); border-radius: var(--r-ctl); padding: 14px 16px; }

.song { margin-top: 16px; }
.song h3 { margin-bottom: 2px; }
.song .meta { color: var(--sub); font-size: 15px; margin-bottom: 10px; }
.song audio { width: 100%; margin: 6px 0 2px; }
.song .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.song pre { white-space: pre-wrap; font: inherit; font-size: 17px; background: var(--bg); border-radius: var(--r-ctl); padding: 14px; margin: 10px 0 0; }
.making { display: flex; align-items: center; gap: 12px; }
.spin { width: 26px; height: 26px; border: 4px solid var(--accent-soft); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 3s; } }
.credits { font-size: 22px; font-weight: 800; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 8px 0 0; color: var(--sub); }

footer { background: #1d1d1f; color: #c9c9cc; font-size: 14px; padding: 32px 0 40px; margin-top: 40px; line-height: 1.8; }
footer a { color: #fff; margin-right: 14px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal { padding-bottom: 40px; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
table.t th, table.t td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .grid3, .grid4 { grid-template-columns: repeat(2, 1fr); }
  .top nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .occ div { padding: 10px 12px 14px; }
  .occ h3 { font-size: 18px; }
  .occ p { font-size: 15px; }
  .btn { width: 100%; }
  .song .row .btn, .tabs .btn { width: auto; flex: 1; }
  section { padding: 40px 0; }
}
