/* 솔로시쥬 공통 스타일 */
:root {
  --ink: #2b2421;
  --ink-soft: #5f5551;
  --muted: #8d827d;
  --line: #ece4df;
  --bg: #fbf8f5;
  --paper: #ffffff;
  --rose: #b4504a;
  --rose-deep: #943c37;
  --rose-soft: #f6e8e5;
  --rose-tint: #fcf3f1;
  --kakao: #fee500;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(43, 36, 33, .04), 0 8px 24px rgba(43, 36, 33, .06);
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* 헤더 */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 245, .9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; }
.logo b { font-size: 21px; font-weight: 800; color: var(--rose); letter-spacing: -0.03em; }
.logo small { font-size: 8.5px; letter-spacing: .38em; color: var(--muted); margin-top: 4px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav .btn { color: #fff; }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
}

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 700; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 6px 18px rgba(180, 80, 74, .25); }
.btn-primary:hover { background: var(--rose-deep); }
.btn-kakao { background: var(--kakao); color: #191600; }
.btn-kakao:hover { background: #f5dc00; }
.btn-line { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: #d9cdc7; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* 섹션 공통 */
section { padding: 88px 0; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--rose);
  letter-spacing: .04em; margin-bottom: 14px;
}
.sec-title { font-size: clamp(26px, 4.2vw, 36px); font-weight: 800; }
.sec-lead { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }
.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; }
.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
}

/* 히어로 */
.hero { padding: 64px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--rose-soft); color: var(--rose-deep);
  font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(32px, 5.4vw, 52px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--rose); }
.hero-sub { margin-top: 22px; font-size: 18px; color: var(--ink-soft); }
.hero-sub strong { color: var(--ink); }
.hero .btn-row { margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .hero { padding: 40px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
}

/* 예시 카톡 화면 */
.phone {
  position: relative; max-width: 360px; margin: 0 auto; width: 100%;
  background: #b2c7d9; border-radius: 30px; padding: 18px 14px 20px;
  box-shadow: 0 30px 60px -20px rgba(43, 36, 33, .28), 0 0 0 8px #fff, 0 0 0 9px var(--line);
}
.phone-top { display: flex; align-items: center; gap: 10px; padding: 0 6px 14px; }
.phone-top .ava { width: 34px; height: 34px; border-radius: 12px; background: var(--rose); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.phone-top b { font-size: 14px; }
.phone-top span { margin-left: auto; font-size: 11px; background: rgba(255,255,255,.7); padding: 3px 9px; border-radius: 999px; color: var(--ink-soft); font-weight: 600; }
.bubble { background: #fff; border-radius: 4px 16px 16px 16px; padding: 12px 14px; font-size: 13.5px; line-height: 1.6; margin-bottom: 8px; max-width: 92%; }
.pcard { background: #fff; border-radius: 16px; overflow: hidden; margin-bottom: 8px; }
.pcard-photo {
  height: 132px; position: relative;
  background:
    radial-gradient(circle at 50% 42%, #e9cfc8 0 22%, transparent 23%),
    radial-gradient(ellipse at 50% 110%, #e9cfc8 0 42%, transparent 43%),
    linear-gradient(160deg, #f4e2dc, #e6d4ce);
  filter: blur(1.5px);
}
.pcard-photo-wrap { position: relative; }
.pcard-photo-wrap::after {
  content: "사진은 한 번에 한 분께만"; position: absolute; left: 10px; bottom: 10px;
  font-size: 10.5px; font-weight: 700; background: rgba(43,36,33,.65); color: #fff; padding: 3px 8px; border-radius: 6px;
}
.pcard-body { padding: 12px 14px 14px; font-size: 13px; }
.pcard-body .nick { font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.pcard-body dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0; }
.pcard-body dt { color: var(--muted); }
.pcard-body dd { margin: 0; }
.ox { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.ox span { background: #fff; border-radius: 12px; text-align: center; font-weight: 800; padding: 9px 0; font-size: 15px; }
.ox .o { color: var(--rose); }
.ox .x { color: var(--muted); }
.timer { text-align: center; font-size: 12px; color: #3d4a57; margin-top: 10px; font-weight: 600; }
.sample-tag { position: absolute; top: -12px; right: 18px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }

/* 카드 그리드 */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .g2, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.alt .card { background: var(--bg); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.num {
  width: 36px; height: 36px; border-radius: 12px; background: var(--rose-soft); color: var(--rose);
  display: grid; place-items: center; font-weight: 800; font-size: 15px; margin-bottom: 16px;
}

/* 약속 띠 */
.promise { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--ink); color: #fff; border-radius: var(--radius); overflow: hidden; }
.promise div { padding: 22px 24px; font-size: 15px; }
.promise div + div { border-left: 1px solid rgba(255,255,255,.12); }
.promise b { display: block; font-size: 16px; margin-bottom: 2px; }
.promise span { color: rgba(255,255,255,.7); font-size: 14px; }
@media (max-width: 760px) {
  .promise { grid-template-columns: 1fr; }
  .promise div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
}

/* 상품 카드 */
.product { position: relative; display: flex; flex-direction: column; padding: 32px; }
.product .tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; margin-bottom: 16px; }
.tag-on { background: var(--rose-soft); color: var(--rose-deep); }
.tag-soon { background: #efebe8; color: var(--muted); }
.product h3 { font-size: 24px; font-weight: 800; }
.product .desc { margin-top: 8px; }
.price { display: flex; gap: 10px; margin: 22px 0; }
.price div { flex: 1; background: var(--rose-tint); border-radius: 14px; padding: 14px 16px; }
.price small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.price strong { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.checks { list-style: none; display: grid; gap: 8px; margin-bottom: 26px; }
.checks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-soft); }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--rose-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23b4504a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.product .btn-row { margin-top: auto; }
.product.soon { background: transparent; border-style: dashed; }
.product.soon h3, .product.soon .desc { color: var(--ink-soft); }

/* 진행 단계 */
.steps { list-style: none; counter-reset: s; display: grid; gap: 0; }
.steps li {
  counter-increment: s; position: relative; padding: 0 0 26px 58px;
}
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--rose); color: var(--rose); font-weight: 800;
  display: grid; place-items: center; font-size: 15px; z-index: 1;
}
.steps li::after { content: ""; position: absolute; left: 18.5px; top: 38px; bottom: 0; width: 1.5px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps li.hl::before { background: var(--rose); color: #fff; }
.steps h4 { font-size: 17px; font-weight: 700; padding-top: 6px; }
.steps p { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }
.steps .pill { display: inline-block; font-size: 12px; font-weight: 700; color: var(--rose-deep); background: var(--rose-soft); padding: 2px 9px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }

/* 표 */
.table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: 15px; }
.table th, .table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table th { background: var(--rose-tint); font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.table td strong { color: var(--rose-deep); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }

/* 안내 상자 */
.note { background: var(--rose-tint); border: 1px solid #f0dcd8; border-radius: 14px; padding: 18px 20px; font-size: 15px; color: var(--ink-soft); }
.note strong { color: var(--ink); }
.note + .note, .table-scroll + .note, .note + .table-scroll { margin-top: 12px; }
.plain { background: var(--paper); border: 1px solid var(--line); }

/* 상세 페이지 */
.page-hero { padding: 56px 0 40px; }
.page-hero h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; }
.page-hero p { margin-top: 14px; font-size: 17px; color: var(--ink-soft); }
.toc { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.toc a { text-decoration: none; font-size: 14px; font-weight: 600; background: var(--paper); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; color: var(--ink-soft); }
.toc a:hover { color: var(--ink); border-color: #d9cdc7; }
.doc { padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.doc h2 { font-size: clamp(22px, 3.4vw, 28px); font-weight: 800; margin-bottom: 18px; }
.doc h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.doc > .wrap > p, .doc .body p { color: var(--ink-soft); }
.doc .body p + p { margin-top: 10px; }
.dots { list-style: none; display: grid; gap: 8px; }
.dots li { position: relative; padding-left: 16px; color: var(--ink-soft); font-size: 15.5px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--rose); }
.dots li strong { color: var(--ink); }
.term { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .term { grid-template-columns: 1fr; } }
.term .card h3 { color: var(--rose-deep); }

/* 차감 기준 */
.rule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .rule { grid-template-columns: 1fr; } }
.rule .card { padding: 22px; }
.rule .who { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.rule .res { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.rule .minus .res { color: var(--ink); }
.rule .keep .res { color: var(--rose); }
.rule .done .res { color: var(--rose-deep); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 16px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .ans { padding: 0 22px 22px; color: var(--ink-soft); font-size: 15.5px; }
.faq .ans p + p { margin-top: 8px; }

/* 마지막 CTA */
.cta { text-align: center; }
.cta-box { background: var(--ink); color: #fff; border-radius: 28px; padding: 64px 24px; }
.cta-box h2 { font-size: clamp(26px, 4.4vw, 38px); font-weight: 800; }
.cta-box p { margin-top: 14px; color: rgba(255,255,255,.72); font-size: 17px; }
.cta-box .btn-row { justify-content: center; margin-top: 30px; }
.cta-box .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }

/* 푸터 */
.footer { padding: 48px 0 120px; font-size: 13px; color: var(--muted); line-height: 1.85; }
.footer .logo { margin-bottom: 18px; }
.footer .links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 16px; }
.footer .links a { text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.footer .links a.strong { color: var(--ink); }
.footer .biz span { white-space: nowrap; }
.footer .biz span + span::before { content: "|"; margin: 0 8px; color: #d6ccc7; }
.footer .copy { margin-top: 14px; }
@media (max-width: 600px) {
  .footer .biz br { display: none; }
  .footer .biz span { display: block; white-space: normal; }
  .footer .biz span + span::before { content: none; }
}
@media (min-width: 761px) { .footer { padding-bottom: 56px; } }

/* 모바일 하단 고정 버튼 */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.mbar .btn { height: 50px; font-size: 15px; padding: 0 14px; }
.mbar .btn-primary { flex: 1; }
@media (max-width: 760px) { .mbar { display: flex; } }

/* 등장 효과 */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 600px) {
  .table th, .table td { padding: 12px 12px; font-size: 14px; }
}
