*, *::before, *::after { -webkit-tap-highlight-color: transparent; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { background: #f4eee3 url(/images/bg/paper.webp) center bottom / cover no-repeat fixed; }
body { background: transparent; color: #fff; font-family: Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
.product-header { position: absolute; z-index: 3; top: 0; left: 0; right: 0; width: 100%; max-width: 448px; margin: 0 auto; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.product-header a { color: #fff; text-decoration: none; }
.product-back { display: inline-flex; align-items: center; gap: 8px; min-width: 75px; font-size: 14px; font-weight: 600; opacity: .86; }
.product-brand { font-family: Georgia, serif; font-size: 21px; letter-spacing: .18em; }
.product-header-spacer { width: 75px; }
.page { position: relative; width: 100%; max-width: 448px; margin: 0 auto; min-height: 100svh; background: #11151b; box-shadow: 0 0 40px rgba(58,51,42,.18); }
.product-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; isolation: isolate; overflow: hidden; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.product-media, .product-shade, .product-media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.product-media { z-index: -1; background-color: #1a2027; background-size: cover; background-position: center; }
.product-media video { object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.product-media video.is-playing { opacity: 1; }
.product-shade { background: linear-gradient(180deg, rgba(9,12,18,.35) 0%, rgba(9,12,18,.15) 30%, rgba(9,12,18,.65) 65%, rgba(9,12,18,.92) 100%); }
.product-copy { width: min(92%, 400px); margin: 0 auto; text-align: center; text-shadow: 0 2px 14px rgba(0,0,0,.7); z-index: 2; }
.product-eyebrow { margin: 0 0 10px; color: #f5d6a6; font-size: 13px; font-weight: 700; letter-spacing: .18em; opacity: .95; }
h1 { margin: 0; font-family: Georgia, 'Noto Serif KR', serif; font-size: clamp(34px, 8.5vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.product-description { max-width: 380px; margin: 12px auto 0; font-size: 15.5px; font-weight: 500; line-height: 1.6; word-break: keep-all; color: #e9e4dc; opacity: .95; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.product-action { width: min(100% - 32px, 400px); margin: 20px auto 10px; z-index: 2; }
.product-start { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; border-radius: 16px; background: #f6e6c9; color: #1d2530; font-size: 17.5px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 28px rgba(0,0,0,.45); transition: transform .2s, background .2s; }
.product-start:hover { transform: translateY(-2px); background: #fff1d9; }
.product-start:focus-visible, .product-back:focus-visible, .product-brand:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (max-width: 600px) { .product-header { height: 60px; } .product-copy { margin-top: 0; } .product-action { margin-top: 18px; margin-bottom: 6px; } }
@media (prefers-reduced-motion: reduce) { .product-media video { display: none; } .product-start { transition: none; } }

.product-header { justify-content: flex-start; }
.product-logo { display: inline-flex; align-items: center; padding: 0; background: none; }
.product-logo img { display: block; width: auto; height: 52px; filter: drop-shadow(0 0 5px rgba(255,250,241,.9)) drop-shadow(0 0 12px rgba(255,250,241,.55)); }
.product-logo:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.product-logo, .product-back { -webkit-tap-highlight-color: transparent; }
.product-logo:focus:not(:focus-visible) { outline: none; }
/* 사이트 헤더의 로고와 같은 자리(위 5.5px, 왼쪽 18px)에 놓는다. */
.product-header, .product-header { height: 64px; padding: 0 16px; }
.product-logo { padding: 2px; }
@media (max-width: 600px) { .product-header { height: 64px; } }
.product-questions[hidden] { display: none; }
.product-questions { padding: 48px 28px 60px; background: #f7f0e5; color: #293341; }
.product-questions-eyebrow { margin: 0 0 8px; color: #8f6b46; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.product-questions h2 { margin: 0 0 22px; font-family: Georgia, 'Noto Serif KR', serif; font-size: 25px; line-height: 1.4; word-break: keep-all; }
.product-questions ol { margin: 0; padding: 0; list-style: none; counter-reset: question; }
.product-questions li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid #ddd1bf; font-size: 15px; font-weight: 600; line-height: 1.5; word-break: keep-all; counter-increment: question; }
.product-questions li::before { content: counter(question, decimal-leading-zero); flex: none; color: #9a7954; font: 700 13px/1.8 Georgia, serif; }
.product-questions-note { margin: 24px 0; color: #6b6a67; font-size: 13px; line-height: 1.7; word-break: keep-all; }
.product-questions-start { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 13px; background: #455a76; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.product-questions-start:focus-visible { outline: 3px solid #455a76; outline-offset: 3px; }
.product-outline-jump[hidden] { display: none; }
.product-outline-jump { display: block; padding: 13px 8px 0; color: #f6e6c9; font-size: 13px; font-weight: 600; text-align: center; text-decoration: underline; text-underline-offset: 4px; }
.product-outline-jump:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.product-questions li h3 { margin: 0 0 12px; font-size: 19px; }
.product-questions li p { margin: 5px 0; font-size: 14px; line-height: 1.6; font-weight: 400; }
.product-questions li:has(h3) { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; }
.product-questions li:has(h3)::before { grid-column: 1; grid-row: 1; }
.product-questions li h3, .product-questions li p { grid-column: 2; min-width: 0; overflow-wrap: anywhere; }

/* 핵심·정통·신년운세 러셀 브런슨 스타일: 글씨 상단 정렬(영상 중심 비주얼 노출) & 핑크 태그 확대 & 순차적 등장 */
:is(.simple-landing, .full-landing, .newyear-landing) .product-hero { justify-content: flex-start; padding-top: max(80px, calc(env(safe-area-inset-top, 0px) + 72px)); padding-bottom: max(20px, env(safe-area-inset-bottom)); }
:is(.simple-landing, .full-landing, .newyear-landing) .product-shade { background: linear-gradient(180deg, rgba(9, 12, 18, .76) 0%, rgba(9, 12, 18, .48) 40%, rgba(9, 12, 18, .06) 66%, rgba(9, 12, 18, .55) 100%); }
:is(.simple-landing, .full-landing, .newyear-landing) .product-eyebrow { letter-spacing: -.01em; font-size: clamp(15px, 4.2vw, 17px); font-weight: 800; color: #ffd9e2; margin-bottom: 12px; line-height: 1.4; word-break: keep-all; text-shadow: 0 2px 12px rgba(0, 0, 0, .85); opacity: 0; animation: simpleFadeUp .6s cubic-bezier(.16, 1, .3, 1) .15s forwards; }
:is(.simple-landing, .full-landing, .newyear-landing) h1 { white-space: pre-line; font-size: clamp(21px, 5.6vw, 26px); line-height: 1.35; letter-spacing: -.03em; word-break: keep-all; margin: 0; opacity: 0; animation: simpleFadeUp .7s cubic-bezier(.16, 1, .3, 1) .65s forwards; }
:is(.simple-landing, .full-landing, .newyear-landing) .product-description { white-space: pre-line; font-size: clamp(15px, 4vw, 16.5px); line-height: 1.65; font-weight: 500; max-width: 370px; margin: 14px auto 0; color: rgba(255, 255, 255, .96); text-shadow: 0 1px 8px rgba(0, 0, 0, .85); word-break: keep-all; opacity: 0; animation: simpleFadeUp .7s cubic-bezier(.16, 1, .3, 1) 1.15s forwards; }
:is(.simple-landing, .full-landing, .newyear-landing) .product-action { margin-top: auto; margin-bottom: 8px; opacity: 0; animation: simpleFadeUp .7s cubic-bezier(.16, 1, .3, 1) 1.65s forwards; }

@keyframes simpleFadeUp {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  :is(.simple-landing, .full-landing, .newyear-landing) :is(.product-eyebrow, h1, .product-description, .product-action) { opacity: 1 !important; animation: none !important; transform: none !important; }
}
.reunion-landing:not(.simple-landing) h1 { white-space: pre-line; font-size: clamp(28px, 7.5vw, 34px); line-height: 1.4; }
.reunion-contact-preview[hidden] { display: none; }
.reunion-contact-preview { padding: 42px 24px; background: #eee4d6; color: #293341; }
.reunion-contact-preview h2 { margin: 0 0 16px; font-size: 25px; line-height: 1.4; word-break: keep-all; }
.reunion-contact-preview > p { font-size: 14px; line-height: 1.8; word-break: keep-all; }
.contact-example { margin: 24px 0; padding: 20px; border-radius: 18px 18px 4px 18px; background: #faf3bd; }
.contact-example small { color: #716846; font-size: 11px; }
.contact-example blockquote { margin: 10px 0 0; font-size: 16px; line-height: 1.8; }
.contact-outcomes { display: grid; gap: 10px; }
.contact-outcomes p { margin: 0; padding: 14px 16px; background: #f8f2e9; border-radius: 12px; font-size: 13px; line-height: 1.7; }
.contact-outcomes strong { display: block; font-size: 14px; }
.reunion-landing .product-questions { padding: 42px 24px; }
.product-questions li.reunion-chapter { padding: 28px 0; }
.reunion-chapter .juwol-preview, .reunion-chapter details { grid-column: 2; min-width: 0; }
.juwol-preview { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 8px; }
.juwol-preview img { flex: none; object-fit: contain; width: 42px; height: 42px; }
.juwol-preview > div { padding: 12px 14px; background: #e8dfd2; border-radius: 3px 14px 14px 14px; }
.juwol-preview small { color: #826448; font-size: 10px; font-weight: 600; }
.product-questions .juwol-preview p { font-size: 13px; line-height: 1.7; }
.reunion-chapter details { margin-top: 8px; font-weight: 400; }
.reunion-chapter summary { cursor: pointer; color: #596879; font-size: 12px; padding: 8px 0; }
.product-questions .reunion-chapter details p { padding-left: 10px; border-left: 2px solid #d6c7b3; font-size: 13px; margin-top: 10px; }
.reunion-chapter summary:focus-visible { outline: 2px solid #455a76; outline-offset: 4px; }

/* 앱 안 브라우저·강제 다크 모드·구형 단위에서도 단추 글씨가 사라지지 않게 색과 높이를 한 번 더 못 박는다. */
:root { color-scheme: only light; }
.product-hero { min-height: 100vh; min-height: 100svh; }
.page { min-height: 100vh; min-height: 100svh; }
.product-start, .product-start:visited, .product-start:hover, .product-start:active { color: #1d2530; -webkit-text-fill-color: #1d2530; background-color: #f6e6c9; }
.product-start:hover { background-color: #fff1d9; }
.product-start span { color: inherit; -webkit-text-fill-color: inherit; }
.product-questions-start, .product-questions-start:visited, .product-questions-start:hover, .product-questions-start:active { color: #fff; -webkit-text-fill-color: #fff; background-color: #455a76; }
.product-outline-jump, .product-outline-jump:visited { color: #f6e6c9; -webkit-text-fill-color: #f6e6c9; }

/* 로고 대신 홈으로 돌아가는 화살표 */
.product-logo-back { width: 44px; height: 44px; justify-content: center; color: #fff; border-radius: 50%; filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .55)); }

/* ── 모던 톤: 한지 배경 제거, 누런 크림색 → 흰색/딥 로즈 ── */
html { background: #faf8f5 !important; }
.product-eyebrow { color: #ffd9e2; }
.product-description { color: #fff; opacity: 1; }
.product-start, .product-start:visited, .product-start:hover, .product-start:active { color: #fff !important; -webkit-text-fill-color: #fff !important; background-color: #b8365a !important; background: #b8365a !important; }
.product-start:hover { background-color: #9e2c4d !important; background: #9e2c4d !important; }
.product-questions-start, .product-questions-start:visited, .product-questions-start:hover, .product-questions-start:active { background-color: #b8365a !important; }
.product-outline-jump, .product-outline-jump:visited { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.product-questions li::before { color: #b8365a; }

.product-calculation-count[hidden] { display: none; }
.product-calculation-count { margin: 0 0 12px; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.5; text-align: center; text-shadow: 0 1px 8px rgba(0, 0, 0, .85); }
