/* 헬로 헤븐 공식 홈페이지 — 소프트 파스텔(크림 + 라일락 테두리 + 분홍), 금색 없음. 시안 B(크림 바탕 카드형, Docs/art_gen/site_v1/b.png) */
:root {
  --cream: #fff8ee; --card: #fffdf8; --lilac: #b9a2e8; --lilac-d: #8f74cf; --lilac-l: #efe2f6; --pink: #ff6fae; --pink-d: #c2185b;
  --ink: #4b2a6b; --ink-2: #6f5c8c; --line: #e3d5f3; --r: 22px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lilac-d); }
a:hover { color: var(--pink-d); }
main { max-width: 1040px; margin: 0 auto; padding: 14px 14px 40px; }

/* 위쪽 줄 */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 16px; background: rgba(255, 248, 238, .94); backdrop-filter: blur(6px); border-bottom: 2px solid var(--line); }
.brand img { width: 110px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; }
.nav a:hover { background: var(--lilac-l); }
.nav-t, .burger { display: none; }
@media (max-width: 760px) {
  .burger { display: flex; flex-direction: column; gap: 5px; padding: 10px; cursor: pointer; }
  .burger span { width: 26px; height: 4px; border-radius: 4px; background: var(--lilac); }
  .nav { display: none; position: absolute; left: 10px; right: 10px; top: 100%; flex-direction: column; padding: 10px;
    background: var(--card); border: 3px solid var(--lilac); border-radius: var(--r); box-shadow: 0 10px 24px rgba(75, 42, 107, .18); }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .nav-t:checked ~ .nav { display: flex; }
}

/* 카드 공통: 크림 몸통 + 라일락 굵은 테두리 + 안쪽 분홍 가는 선 */
.card { background: var(--card); border: 4px solid var(--lilac); border-radius: var(--r); box-shadow: inset 0 0 0 2px #ffd9ea, 0 8px 0 rgba(185, 162, 232, .28); }

/* 첫 화면 */
.hero { display: grid; grid-template-columns: 1fr 1.15fr; overflow: hidden; min-height: 380px; }
.hero-art { background: url(img/hero.jpg) center 22% / cover no-repeat; order: 2; min-height: 300px; }
.hero-tx { order: 1; padding: 26px 24px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fdeef6 100%); }
.hero-logo { width: min(320px, 78%); filter: drop-shadow(0 6px 0 rgba(185, 162, 232, .35)); }
.tagline { margin: 14px 0 4px; font-size: clamp(20px, 3.4vw, 28px); font-weight: 800; color: var(--pink-d); line-height: 1.35; }
.lead { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 10px; min-width: 164px; padding: 9px 16px; border-radius: 14px; background: #1b1026; color: #fff; text-decoration: none; }
.store:hover { color: #fff; background: #2c1a3d; }
.store-off { background: #b8adc6; cursor: default; }
.store-tx { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-tx small { font-size: 11px; opacity: .9; }
.store-tx b { font-size: 18px; }
.store-ic { width: 26px; height: 26px; background: center / contain no-repeat; }
.store-ios { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M16.4 12.6c0-2.3 1.9-3.4 2-3.5-1.1-1.6-2.8-1.8-3.4-1.8-1.4-.1-2.8.9-3.5.9s-1.900-.9-3.100-.8c-1.6 0-3.1.9-3.900 2.400-1.700 2.900-.4 7.200 1.200 9.600.8 1.200 1.700 2.500 3 2.400 1.200 0 1.700-.8 3.100-.8s1.900.8 3.100.7c1.300 0 2.100-1.200 2.900-2.300.9-1.300 1.300-2.600 1.300-2.700-.100 0-2.700-1-2.700-4.100zM14 5.700c.7-.8 1.100-1.900 1-3-1 0-2.100.6-2.800 1.400-.6.7-1.200 1.800-1 2.900 1.100.1 2.200-.5 2.800-1.300z'/%3E%3C/svg%3E"); }
.store-aos { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2352e0a4' d='M4 3.200v17.600c0 .4.400.600.700.400L14 12 4.700 2.800c-.3-.2-.7 0-.7.4z'/%3E%3Cpath fill='%23ffd65c' d='M14 12l3.300 3.300 3.400-1.900c.800-.5.800-1.600 0-2.100l-3.400-1.900L14 12z'/%3E%3Cpath fill='%23ff6fae' d='M4.700 21.200L17.300 15.300 14 12 4.700 21.200z'/%3E%3Cpath fill='%2379b8ff' d='M4.700 2.800L14 12l3.300-3.300L4.700 2.800z'/%3E%3C/svg%3E"); }

.feats { display: flex; flex-direction: column; gap: 26px; margin: 34px 0; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.feat.rev .phone { order: 2; }
.phone { justify-self: center; width: min(300px, 100%); padding: 8px; border-radius: 30px; background: var(--lilac-l); border: 4px solid var(--lilac);
  box-shadow: inset 0 0 0 2px #fff, 0 8px 0 rgba(185, 162, 232, .28); }
.phone img { border-radius: 20px; width: 100%; }
.feat-tx { text-align: center; padding: 0 8px; }
.feat-tx h3 { margin: 8px 0 6px; font-size: clamp(22px, 3.2vw, 30px); color: var(--ink); }
.feat-tx p { margin: 0 auto; max-width: 30em; color: var(--ink-2); font-size: 17px; }

/* 작은 장식(악마 모티프: 뿔 달린 하트 · 박쥐 날개) — 그림 대신 가벼운 도형 */
.deco { display: inline-block; width: 46px; height: 40px; position: relative; }
.deco::before { content: ""; position: absolute; inset: 8px 8px 4px; background: var(--pink); border-radius: 50% 50% 48% 48% / 60% 60% 40% 40%; }
.deco::after { content: ""; position: absolute; left: 6px; right: 6px; top: 0; height: 16px;
  background: radial-gradient(circle at 0 100%, transparent 9px, var(--lilac-d) 10px, var(--lilac-d) 13px, transparent 14px) left / 50% 100% no-repeat,
              radial-gradient(circle at 100% 100%, transparent 9px, var(--lilac-d) 10px, var(--lilac-d) 13px, transparent 14px) right / 50% 100% no-repeat; }
.deco-1::before { background: var(--lilac); }
.deco-2::before { background: #ff9cc8; }

.notice { position: relative; padding: 26px 24px 24px; text-align: center; background: linear-gradient(180deg, #f6eefd, #fff); }
.notice h2 { margin: 4px 0 6px; font-size: 24px; }
.notice p { margin: 0 auto 12px; max-width: 34em; color: var(--ink-2); }
.notice-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.btn { display: inline-block; padding: 10px 22px; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 800; text-decoration: none;
  border: 3px solid #fff; box-shadow: 0 0 0 3px var(--lilac), 0 6px 0 rgba(185, 162, 232, .35); }
.btn:hover { color: #fff; filter: brightness(1.05); }
.btn-ghost { background: var(--lilac-l); color: var(--ink); }
.btn-ghost:hover { color: var(--ink); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: 1; min-height: 230px; }
  .hero-tx { order: 2; padding: 18px 16px 22px; }
  .feat { grid-template-columns: 1fr; gap: 12px; }
  .feat.rev .phone { order: 0; }
  .phone { width: min(260px, 78%); }
}

/* 글 페이지(약관 · 처리방침 · 고객센터 · 확률) */
.doc main { max-width: 860px; }
.doc-card { padding: 22px 20px 28px; }
.doc-card h1 { margin: 4px 0 14px; font-size: clamp(24px, 4vw, 32px); line-height: 1.3; color: var(--pink-d); }
.doc-card h2 { margin: 30px 0 10px; padding: 8px 14px; font-size: 20px; background: var(--lilac-l); border-radius: 14px; scroll-margin-top: 80px; }
.doc-card h3 { margin: 22px 0 8px; font-size: 17.5px; scroll-margin-top: 80px; }
.doc-card h4 { margin: 16px 0 6px; font-size: 16px; }
.doc-card p, .doc-card li { font-size: 15.5px; }
.doc-card ul, .doc-card ol { padding-left: 1.3em; margin: 8px 0; }
.doc-card li { margin: 3px 0; }
.doc-card li.sub { margin-left: 1.2em; list-style: circle; }
.doc-card strong { color: var(--ink); background: linear-gradient(transparent 62%, #ffe1ee 62%); }
.doc-card blockquote { margin: 10px 0; padding: 10px 14px; border-left: 5px solid var(--lilac); background: #faf5ff; border-radius: 0 12px 12px 0; }
.doc-card hr { border: 0; border-top: 2px dashed var(--line); margin: 22px 0; }
.todo { color: #a898be; font-size: .92em; }
.tbl { overflow-x: auto; margin: 12px 0; border: 2px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14.5px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--lilac-l); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.toc { margin: 0 0 18px; padding: 12px 16px; background: #faf5ff; border: 2px solid var(--line); border-radius: 14px; font-size: 14.5px; }
.toc ul { columns: 2; column-gap: 24px; padding-left: 1.1em; margin: 6px 0 0; }
.toc a { text-decoration: none; }
@media (max-width: 600px) { .toc ul { columns: 1; } .doc-card { padding: 16px 13px 22px; } }

/* 아래쪽 */
.foot { margin-top: 20px; background: var(--lilac-l); border-top: 3px solid var(--lilac); }
.foot-in { max-width: 1040px; margin: 0 auto; padding: 22px 16px 30px; text-align: center; font-size: 13.5px; color: var(--ink-2); }
.foot-logo { margin: 0 auto 8px; }
.foot-nav { display: flex; gap: 6px 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.foot-nav a { color: var(--ink); text-decoration: none; font-size: 14.5px; }
.foot-nav a:hover { text-decoration: underline; }
.biz { margin: 6px 0; }
.copy { margin: 6px 0 0; font-size: 12.5px; }
