/* css/hn-sub.css — 힐링네임 서브 페이지·결제 흐름 새 톤 덮어쓰기 (색·글꼴·모서리만). 구조·아이디·클래스·스크립트는 그대로입니다.
   각 페이지 맨 마지막 CSS 링크로 연결됩니다. 복구: 페이지에서 이 파일 링크 한 줄만 지우면 이전 모습으로 돌아갑니다.
   2026-12-03 · 구리(행동) + 딥그린(안정) + Pretendard + 그라데이션 */

:root{
  /* 서브 페이지(닉네임 변수 계열) */
  --copper:#b5693a; --copper-lt:#e0955a; --copper-pale:#fbf1e9;
  --ivory:#fdf9f4; --ivory2:#f7efe5;
  --border:rgba(181,105,58,.18);
  --muted:#7a6a5b;
  --ink:#1a1713; --ink2:#3a352f; --ink3:#5f574c;
  /* style.css 계열(진단·신청서) */
  --gold:#b5693a; --gold-light:#e0955a; --gold-pale:#fbf1e9; --gold-dark:#8f562f; --gold-dim:rgba(181,105,58,.14);
  --forest:#2c5039; --forest-mid:#3f6b4e; --forest-light:#5a8a69;
  --green-dark:#2c5039; --green:#3f6b4e;
  --cream:#fcfaf6; --cream-mid:#f5ede3; --cream-dark:#eadcc9; --bg2:#f5ede3;
  --white:#ffffff;
  /* 새 토큰 */
  --hs-cu:#b5693a; --hs-cu-d:#8f562f; --hs-cu-l:#e0955a;
  --hs-gr:#3f6b4e; --hs-gr-d:#2c5039; --hs-gr-dd:#1f3b2b;
  --hs-peach:#f3c9a0;
  --hs-cu-grad:linear-gradient(100deg,#a85e32 0%,#c9773f 55%,#e0955a 100%);
  --hs-gr-grad:linear-gradient(135deg,#1f3b2b 0%,#2c5039 55%,#3f6b4e 100%);
  --serif:'Pretendard Variable',Pretendard,-apple-system,'Noto Sans KR',sans-serif;
  --sans:'Pretendard Variable',Pretendard,-apple-system,'Noto Sans KR',sans-serif;
  --roman:'Pretendard Variable',Pretendard,-apple-system,sans-serif;
}

/* ── 글꼴: Pretendard 하나로 ── */
html body,html body *,html body *::before,html body *::after{font-family:'Pretendard Variable',Pretendard,-apple-system,'Noto Sans KR',sans-serif!important}
html body{letter-spacing:-.01em;background-color:var(--ivory)}

/* ── 줄바꿈 ── */
html body :is(p,li,span,a,summary,dd,dt,td,th,label,figcaption){word-break:keep-all;overflow-wrap:break-word;text-wrap:pretty}
html body div:not(:has(*)){word-break:keep-all;overflow-wrap:break-word;text-wrap:pretty}
html body :is(.card-label,.page-label,.eyebrow-text,.section-eyebrow-text,.confirm-eyebrow,.crosssell-eyebrow,.spec-label){font-size:max(11px,1em)}
html body :is(h1,h2,h3,h4,.section-title,.board-title,.page-title){word-break:keep-all;text-wrap:balance;letter-spacing:-.03em}
html body :is(h1,h2,.section-title,.board-title,.page-title){font-weight:800}
html body :is(h3,h4){font-weight:700}

/* ── 상단 메뉴: 흰 블러 + 구리 CTA ── */
html body :is(.nav,nav#main-nav,.site-nav){background:rgba(255,255,255,.88)!important;-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid rgba(26,23,19,.08)!important}
html body :is(.nav-links a,.site-nav a){color:#3a352f;font-weight:600;letter-spacing:-.02em}
html body :is(.nav-links a:hover,.nav-links .active,.nav-links .hl){color:var(--hs-cu-d)!important}
html body .nav-cta{background:var(--hs-cu-grad)!important;color:#fff!important;border:0!important;border-radius:999px!important;font-weight:700;letter-spacing:-.01em;box-shadow:0 6px 16px rgba(181,105,58,.28)}
html body .nav-cta:not(.primary):hover{filter:brightness(1.06)}

/* ── 구리 버튼류 ── */
html body :is(.btn-primary,.btn-gold,.btn-forest,.faq-cta-btn.primary,.tab-btn.active,.submit-btn,.btn-submit,.pay-btn:not(:disabled)){background:var(--hs-cu-grad)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 8px 20px rgba(181,105,58,.28)}
html body :is(.btn-primary,.btn-gold,.btn-forest,.submit-btn,.btn-submit,.faq-cta-btn,.tab-btn){border-radius:999px!important}
html body :is(.btn-outline,.btn-ghost){border-radius:999px!important}
html body :is(.btn-kakao){border-radius:999px!important}

/* ── 소제목(eyebrow) ── */
html body :is(.eyebrow-text,.section-label,.hero-eyebrow){color:var(--hs-gr)!important;font-weight:700;letter-spacing:.06em}
html body .eyebrow-line{background:var(--hs-gr)!important}
html body .section-label::before{background:linear-gradient(90deg,var(--hs-gr),transparent)!important}

/* ── 진한 띠(문의·CTA 박스)는 딥그린 그라데이션 ── */
html body :is(.faq-cta,.cta-band,.cta-box){background:radial-gradient(60% 80% at 100% 0%,rgba(224,149,90,.22),transparent 70%),var(--hs-gr-grad)!important;border-radius:22px}

/* ── 푸터: 밝은 톤 + 컬러 로고 ── */
html body footer.footer,html body .footer{background:#fbf6f0!important;border-top:1px solid rgba(26,23,19,.08)}
html body .footer-top{border-bottom-color:rgba(26,23,19,.08)!important}
html body .footer-top img{content:url('/images/healingname_logo_new.png');opacity:1!important}
html body :is(.footer-links a,.footer-guide a,.footer-guide summary){color:#7a6a5b!important}
html body :is(.footer-links a:hover,.footer-guide a:hover){color:var(--hs-cu-d)!important}
html body .footer-info{color:#3a352f!important}
html body .footer-copy{color:#9a9186!important;border-top-color:rgba(26,23,19,.08)!important}

/* ── 카드·입력 ── */
html body :is(input,select,textarea){border-radius:12px}
html body :is(input,select,textarea):focus{outline:2px solid rgba(181,105,58,.35);outline-offset:1px;border-color:var(--hs-cu)!important}
input[type=checkbox],input[type=radio]{accent-color:var(--hs-cu)}

/* ── 등장 모션 ── */
.hn-mv{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.hn-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.hn-mv{opacity:1;transform:none;transition:none}}

/* ── 상단 큰 띠(히어로): 딥그린 그라데이션 + 구리 빛 ── */
html body :is(.hero,.lib-hero){background:radial-gradient(55% 90% at 100% 0%,rgba(224,149,90,.24),transparent 70%),radial-gradient(45% 80% at 0% 100%,rgba(63,107,78,.5),transparent 70%),var(--hs-gr-grad)!important}
html body :is(.hero,.lib-hero) :is(em,.accent,h1 b){color:var(--hs-peach)!important}
html body .chips button.on{background:var(--hs-gr-d)!important;border-color:var(--hs-gr-d)!important}
html body .book h2{color:var(--ink)!important}

/* 모바일 작은 라벨 가독성 */
@media(max-width:600px){html body :is(.spec-label,.card-label,.diff-label,.r-badge,.report-preview-label,.form-progress-step,.form-progress-step a,.eyebrow-text,.section-eyebrow-text,.page-label){font-size:14.5px !important}}
