:root {
  --ink: #14121f; --ink2: #1e1b2e; --line: #34304a;
  --paper: #f6efe1; --muted: #b8b0c8; --gold: #e8c36a; --red: #c8402f;
  --wood: #3f9d6b; --fire: #e0563b; --earth: #c49a3a; --metal: #8e9aab; --water: #3b6fb6;
  --r: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 16px/1.6 Inter, system-ui, sans-serif; }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h1 em { color: var(--gold); font-style: italic; }
h2 { font-size: clamp(28px, 4vw, 40px); }
a { color: inherit; }
.hidden { display: none !important; }
.micro { font-size: 13px; color: var(--muted); }
.center { text-align: center; }
.seal { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--red); color: #fff; border-radius: 6px; font-family: 'Noto Serif KR', serif; font-size: 17px; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 14px 24px; background: rgba(20,18,31,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; font-size: 18px; }
.nav nav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; }
.nav nav a { text-decoration: none; color: var(--muted); }
@media (max-width: 640px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; background: var(--gold); color: var(--ink); font: 600 16px Inter, sans-serif; padding: 12px 22px; border-radius: 999px; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(232,195,106,.3); }
.btn-lg { padding: 16px 30px; font-size: 18px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid var(--line); }

main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
section { padding: 64px 0; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding-top: 56px; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } }
.eyebrow { color: var(--gold); letter-spacing: .08em; font-size: 14px; text-transform: uppercase; }
.lead { font-size: 18px; color: #ddd5e8; max-width: 540px; }
.hero-card { background: linear-gradient(160deg, #2a2540, #191626); border: 1px solid var(--line); border-radius: 24px; padding: 32px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.pillars-demo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pillars-demo div { display: grid; gap: 6px; background: var(--paper); color: var(--ink); border-radius: 12px; padding: 12px 0; }
.pillars-demo span { font-size: 12px; color: #7b7290; font-family: 'Noto Serif KR', serif; }
.pillars-demo b { font: 700 34px 'Noto Serif KR', serif; }
.pillars-demo b.fire { color: var(--fire); }
.hero-card-cap { margin: 18px 0 0; color: var(--muted); }

.panel { background: var(--ink2); border: 1px solid var(--line); border-radius: 24px; padding: 40px; margin: 24px 0; }
@media (max-width: 640px) { .panel { padding: 24px 18px; } }
.form { display: grid; gap: 16px; max-width: 520px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 14px; }
.form .opt { color: var(--muted); font-weight: 400; }
.form input, .form select { background: var(--ink); color: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: 16px Inter, sans-serif; color-scheme: dark; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 400; padding-bottom: 12px; }
.err { color: #ff8a7a; font-size: 14px; }

/* result */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.pil { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 14px 6px; text-align: center; }
.pil small { display: block; color: #7b7290; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.pil .ch { font: 700 clamp(32px, 6vw, 46px)/1.2 'Noto Serif KR', serif; display: block; }
.pil .rm { font-size: 12px; color: #5e566f; }
.pil.me { outline: 3px solid var(--gold); }
.pil.empty { opacity: .45; }
.dm { display: flex; gap: 20px; align-items: center; margin: 16px 0 8px; }
.dm .orb { flex: none; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font: 700 40px 'Noto Serif KR', serif; color: #fff; }
.bars { display: grid; gap: 10px; margin: 18px 0; }
.bar { display: grid; grid-template-columns: 90px 1fr 32px; gap: 10px; align-items: center; font-size: 14px; }
.bar .track { height: 12px; background: var(--ink); border-radius: 99px; overflow: hidden; }
.bar .fill { height: 100%; border-radius: 99px; transition: width .8s ease; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tag { border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; font-size: 13px; color: var(--muted); }
.share-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* locked preview */
.locked { position: relative; margin-top: 28px; }
.teasers { display: grid; gap: 4px; }
.teaser h3 { margin: 14px 0 4px; font-size: 22px; }
.teaser .blurred { filter: blur(5px); user-select: none; pointer-events: none; color: #ddd5e8; margin: 0; }
.lock-fade { height: 70px; margin-top: -70px; position: relative; background: linear-gradient(to bottom, rgba(30,27,46,0), var(--ink2)); pointer-events: none; }
.locked .lock-cta { display: grid; place-items: center; text-align: center; margin-top: 8px; }
.lock-box { background: rgba(20,18,31,.92); border: 1px solid var(--gold); border-radius: 18px; padding: 24px; max-width: 420px; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 24px 0; }
.plan { background: var(--ink2); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.plan.best { border-color: var(--gold); position: relative; }
.plan .upsell { margin: 4px 0 0; color: var(--gold); font-size: 14px; font-weight: 600; }
.plan .price { font: 700 36px 'Cormorant Garamond', serif; }
.plan .price s { font-size: 18px; color: var(--muted); margin-left: 6px; }
.plan ul { padding-left: 18px; margin: 0 0 8px; color: #ddd5e8; font-size: 15px; flex: 1; }

/* report */
.report h3 { font-size: 26px; margin-top: 32px; color: var(--gold); }
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.mo { background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13px; }
.mo b { display: block; font-size: 15px; }
.stars { color: var(--gold); letter-spacing: 2px; }
.compat { display: grid; gap: 12px; max-width: 520px; }

.how .cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.how .c { background: var(--ink2); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.how .c b { font-family: 'Noto Serif KR', serif; color: var(--gold); }
.note { color: var(--muted); font-size: 14px; margin-top: 20px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: #ddd5e8; }
.foot { text-align: center; padding: 40px 16px 100px; border-top: 1px solid var(--line); color: var(--muted); }

.sticky-cta { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 20; display: flex; gap: 14px; align-items: center; background: #2a2540; border: 1px solid var(--gold); border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: 0 10px 40px rgba(0,0,0,.5); font-size: 14px; width: max-content; max-width: calc(100% - 32px); }
.foot .links a { color: var(--paper); }
.foot p { margin: 6px 0; }
.foot .biz { margin: 14px auto 0; max-width: 760px; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.foot .biz p { margin: 3px 0; }
.foot .biz a { color: var(--muted); text-decoration: underline; white-space: nowrap; }
a { color: var(--gold); }
.nav a, .logo { color: var(--paper); }

/* modals */
.modal { border: 1px solid var(--line); border-radius: 20px; background: var(--ink2); color: var(--paper); padding: 28px; width: min(480px, calc(100% - 32px)); }
.modal::backdrop { background: rgba(10,8,18,.7); backdrop-filter: blur(3px); }
.modal .form { max-width: none; position: relative; }
.modal h2 { margin: 0; }
.modal .x { position: absolute; top: -12px; right: -8px; background: none; border: 0; color: var(--muted); font-size: 28px; cursor: pointer; }
.modal .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.modal .check input { margin-top: 5px; }
.co-price b { font: 700 32px 'Cormorant Garamond', serif; }
.btn-google { background: #fff; color: #222; display: flex; justify-content: center; gap: 10px; align-items: center; }
.divider { text-align: center; color: var(--muted); font-size: 13px; }
.ok { color: #8be0b0; }

/* report extras */
.strengths { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; padding: 0; list-style: none; }
.strengths li { background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.affirm { font: italic 600 26px 'Cormorant Garamond', serif; color: var(--gold); text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; margin: 32px 0; }
.rx { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.rx div { background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.rx b { display: block; color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.letter { background: var(--paper); color: var(--ink); border-radius: 16px; padding: 24px; margin-top: 32px; }
.letter p { margin: 0 0 10px; }
.save-note { background: #23314a; border: 1px solid #3b6fb6; border-radius: 14px; padding: 16px; margin: 16px 0; }

/* cookie bar */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #2a2540; border-top: 1px solid var(--line); padding: 5px 10px calc(5px + env(safe-area-inset-bottom)); display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 12.5px; line-height: 1.35; }
.cookie-bar p { margin: 0; min-width: 0; }
.cookie-bar div { display: flex; gap: 6px; flex: none; }
.cookie-bar .btn { padding: 0 12px; min-height: 32px; font-size: 12.5px; }
body:has(.cookie-bar) .sticky-cta { bottom: calc(54px + env(safe-area-inset-bottom)); }
body:has(.cookie-bar) .foot { padding-bottom: 140px; }

/* one real line from the visitor's own full report */
.real-line { margin: 0 0 8px; padding: 12px 14px; background: var(--ink); border: 1px solid var(--gold); border-radius: 12px; font-size: 16px; line-height: 1.5; }
.real-line small { display: block; color: var(--gold); font-size: 12px; font-weight: 600; margin-bottom: 2px; }

/* legal pages */
.legal-body { max-width: 760px; padding: 48px 16px 40px; }
.legal-body h1 { font-size: 44px; }
.legal-body h2 { font-size: 26px; margin-top: 36px; }
.legal-body p, .legal-body li { color: #ddd5e8; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.legal-body th, .legal-body td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.callout { background: var(--ink2); border: 1px solid var(--gold); border-radius: 14px; padding: 16px 18px; margin: 20px 0; }

/* quiz steps */
.step { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
.progress { height: 6px; background: var(--ink); border-radius: 99px; overflow: hidden; max-width: 520px; }
.progress span { display: block; height: 100%; width: 33%; background: var(--gold); border-radius: 99px; transition: width .35s ease; }
.fact { background: var(--ink); border-left: 3px solid var(--gold); border-radius: 8px; padding: 10px 14px; font-size: 14px; color: #ddd5e8; margin: 0; }
.row-btn { display: flex; gap: 10px; flex-wrap: wrap; }
.found { background: linear-gradient(160deg, #2a2540, #1e1b2e); border: 1px solid var(--gold); border-radius: 18px; padding: 20px 22px; margin-top: 28px; }
.found ul { list-style: none; padding: 0; margin: 10px 0 16px; display: grid; gap: 8px; }
.found li::before { content: '✦ '; color: var(--gold); }
.seen { height: 8px; background: var(--ink); border-radius: 99px; overflow: hidden; margin: 6px 0 4px; }
.seen span { display: block; height: 100%; background: var(--gold); }
.newsletter { display: grid; gap: 10px; max-width: 520px; margin-top: 28px; }
.newsletter .inline { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input[type=email] { flex: 1 1 220px; background: var(--ink); color: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: 16px Inter, sans-serif; }

/* trust & conversion */
.lang { background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font: 13px Inter, sans-serif; color-scheme: dark; max-width: 130px; }
@media (max-width: 640px) { .lang { max-width: 90px; } #accountBtn { display: none; } }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; font-size: 14px; color: #ddd5e8; }
.trust b { display: inline-block; width: 22px; color: var(--gold); }
.sample-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; margin-top: 20px; }
@media (max-width: 820px) { .sample-grid { grid-template-columns: 1fr; } }
.sample-letter { margin-top: 0; box-shadow: 0 24px 60px rgba(0,0,0,.35); transform: rotate(-1deg); }
.affirm-sm { font: italic 600 20px 'Cormorant Garamond', serif; color: #8a5a12; margin-top: 12px !important; }
.inside { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.inside li { background: var(--ink2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: #ddd5e8; font-size: 15px; }
.inside li b { display: block; color: var(--paper); margin-bottom: 2px; }
.story { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }
@media (max-width: 640px) { .story { grid-template-columns: 1fr; } }
.story-seal { width: 110px; height: 110px; border-radius: 18px; background: var(--red); color: #fff; display: grid; place-items: center; font: 700 64px 'Noto Serif KR', serif; transform: rotate(-4deg); box-shadow: 0 16px 40px rgba(200,64,47,.35); }
.story p { color: #ddd5e8; max-width: 640px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.review { margin: 0; background: var(--ink2); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.review blockquote { margin: 8px 0; color: #ddd5e8; }
.review figcaption { color: var(--muted); font-size: 13px; }
.guarantee { display: flex; gap: 18px; align-items: center; background: var(--ink2); border: 1px solid var(--gold); border-radius: 18px; padding: 18px 22px; margin: 8px 0 14px; }
.g-badge { flex: none; width: 72px; height: 72px; border-radius: 50%; border: 2px dashed var(--gold); color: var(--gold); display: grid; place-items: center; font: 700 30px/1 'Cormorant Garamond', serif; text-align: center; }
.g-badge small { display: block; font: 600 11px Inter, sans-serif; }
.guarantee p { margin: 4px 0 0; }
.translated-note { background: var(--ink2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 13px; color: var(--muted); }

.demo-badge { display: inline-block; background: #4a2f1a; color: #ffcf99; font-size: 12px; padding: 4px 10px; border-radius: 6px; margin-bottom: 10px; }

/* English birthday selects */
.dob-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.dob-group legend { font-weight: 500; font-size: 14px; margin-bottom: 6px; padding: 0; }
.dob { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 8px; }
.dob select, .form select { background: var(--ink); color: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 10px; font: 16px Inter, sans-serif; color-scheme: dark; min-width: 0; width: 100%; }
.form label .micro { font-weight: 400; }

/* 10-year luck cycles */
.decades { display: grid; gap: 8px; margin: 10px 0; }
.decade { background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.decade.now { border: 2px solid var(--gold); }
.decade-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.now-tag { background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 99px; }
.plan .price .once { font: 500 14px Inter, sans-serif; color: var(--muted); }

/* Reviews (review-kit.css) + "before you buy" proof block shown while there are no reviews */
:root { --rk-bg: var(--ink2); --rk-line: var(--line); --rk-muted: var(--muted); --rk-accent: var(--gold); --rk-accent-ink: #1a1608; --rk-star: var(--gold); --rk-ok: #7fd3a5; --rk-trial: #b9a7ff; --rk-err: #ff9a8a; }
.rk-card blockquote { color: #ddd5e8; }
.proof { margin: 24px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
@media (max-width: 820px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-card { background: var(--ink2); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 8px; align-content: start; justify-items: start; }
.proof-card .pi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(232,195,106,.12); font-size: 19px; }
.proof-card b { color: var(--paper); font-size: 17px; }
.proof-card p { margin: 0; color: #ddd5e8; font-size: 15px; }
.inside li.inside-cta { background: none; border: 0; padding: 4px 0 0; }
.trial-link { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--muted); }
.trial-ready { margin: 10px 0 0; padding: 10px 12px; border: 1px dashed var(--gold); border-radius: 12px; font-size: 14px; }
#reviewBox { margin-top: 28px; }
.sample-intro h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 5vw, 48px); margin: 6px 0 10px; }
.sample-facts { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.sample-facts li { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; color: #ddd5e8; }
.sample-facts b { color: var(--paper); }
.sample-end { text-align: center; }
.sample-end .trust { justify-content: center; }
.reviews .rk-grid { justify-content: start; }

/* link to the tarot page (index hero) */
.t-promo { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--paper); text-decoration: none; background: rgba(232,195,106,.06); }
.t-promo:hover { border-color: var(--gold); }
.nav .btn { white-space: nowrap; }

/* "Reading your chart" screen (analysis.js) */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html.an-lock, html.an-lock body { overflow: hidden; }
dialog.analysis { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 24px 18px; border: 0; color: var(--paper); background: radial-gradient(120% 80% at 50% 0%, #2a2540 0%, var(--ink) 62%); overflow: auto; }
dialog.analysis[open] { display: grid; place-items: center; animation: anIn .35s ease both; }
dialog.analysis.out { opacity: 0; transition: opacity .25s ease; }
dialog.analysis::backdrop { background: var(--ink); }
@keyframes anIn { from { opacity: 0; } }
.an-box { width: min(440px, 100%); text-align: center; }
.an-wheel { width: min(220px, 56vw); height: auto; display: block; margin: 0 auto 14px; overflow: visible; }
.an-spin { transform-origin: 110px 110px; animation: anSpin 36s linear infinite; }
.an-up { transform-box: fill-box; transform-origin: center; animation: anSpin 36s linear infinite reverse; }
@keyframes anSpin { to { transform: rotate(360deg); } }
.an-cycle { fill: none; stroke: rgba(232,195,106,.28); stroke-width: 1.2; }
.an-star { fill: none; stroke: rgba(184,176,200,.12); stroke-width: 1; stroke-dasharray: 3 4; }
.an-disc { fill: var(--ink2); }
.an-track { fill: none; stroke: var(--line); stroke-width: 5; }
.an-fill { fill: none; stroke-width: 5; stroke-linecap: round; }
.an-glyph { font: 600 20px 'Noto Serif KR', serif; text-anchor: middle; }
.an-center { font: 600 26px 'Noto Serif KR', serif; text-anchor: middle; fill: var(--gold); }
.an-sub { margin: 0 0 4px; }
.an-box h2 { font-size: clamp(26px, 6vw, 34px); margin: 0 0 18px; outline: none; }
.an-steps { list-style: none; margin: 0 auto 18px; padding: 0; text-align: left; display: grid; gap: 9px; max-width: 380px; }
.an-steps li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: #6f6888; font-size: 15px; line-height: 1.4; }
.an-steps li i { width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; }
.an-steps li.on { color: var(--paper); }
.an-steps li.on i { border-color: var(--gold); border-top-color: transparent; animation: anSpin .9s linear infinite; }
.an-steps li.ok { color: #cfc7dd; }
.an-steps li.ok i { border-color: var(--gold); background: var(--gold); color: var(--ink); animation: none; }
.an-steps li.ok i::before { content: '✓'; }
.an-steps li.slow span::after { content: ' …'; color: var(--muted); }
.an-bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; max-width: 380px; margin: 0 auto; }
.an-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--wood), var(--fire), var(--earth), var(--metal), var(--water)); }
.an-pct { margin: 8px 0 0; font-variant-numeric: tabular-nums; }
dialog.analysis.still .an-spin, dialog.analysis.still .an-up, dialog.analysis.still .an-steps li.on i { animation: none; }
dialog.analysis.still .an-steps li.on i { border-top-color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  dialog.analysis[open] { animation: none; }
  .an-spin, .an-up, .an-steps li.on i { animation: none !important; }
}
@media (max-height: 640px) { .an-wheel { width: 150px; margin-bottom: 8px; } .an-steps { gap: 6px; } .an-steps li { font-size: 14px; } }

/* ===== 2026-11-27 colours: navy + white + yellow #FFD45C (buy/start buttons, key phrases). Element colours only where they mean an element. ===== */
:root {
  --ink: #0E1230; --ink2: #171C42; --line: #313A6E;
  --paper: #FFFFFF; --muted: #B6BEE0; --gold: #FFD45C; --red: #FF4D3D;
  --wood: #2ECC71; --fire: #FF4D3D; --earth: #F2B544; --metal: #E8EEF4; --water: #2F7BFF;
}
.nav { background: rgba(14,18,48,.92); }
.lead, .legal-body p, .legal-body li, .faq p, .story p, .plan ul, .trust, .fact, .inside li, .review blockquote, .rk-card blockquote, .proof-card p, .sample-facts li { color: #E4E8FA; }

/* 노랑은 아껴 쓴다: 작은 머리말·장식은 흰색 계열 */
.eyebrow, .how .c b, .trust b, .proof-card .pi, .g-badge { color: var(--muted); }
.eyebrow { color: #E4E8FA; }
.proof-card .pi { background: rgba(255,255,255,.07); }
.g-badge { border-color: var(--muted); color: #FFFFFF; }
.guarantee, .found { border-color: var(--line); }
.found li::before { color: #FFFFFF; }
a { color: #FFFFFF; }
.nav a, .logo { color: #FFFFFF; }
.btn, a.btn { color: var(--ink); }
.btn:hover { box-shadow: 0 8px 28px rgba(255,212,92,.42); }
.btn-ghost, a.btn-ghost { background: transparent; color: #FFFFFF; border: 1px solid #5A66A8; }
.nav a.btn-sm { background: transparent; color: var(--gold); box-shadow: 0 0 0 1.5px var(--gold) inset; }
.t-promo { background: rgba(255,255,255,.04); color: #FFFFFF; }
.t-promo:hover { border-color: #FFFFFF; }

/* 첫 화면: 가장 강한 대비 (흰 글자 + 노랑 Seoul + 노랑 버튼 + 불 일주 한 칸) */
.hero h1 { color: #FFFFFF; }
.hero .btn-lg { box-shadow: 0 10px 34px rgba(255,212,92,.35); }
.hero-card { background: #171C42; }
.pillars-demo div { background: #FFFFFF; color: var(--ink); }
.pillars-demo span { color: #4B5280; }
.pillars-demo div:nth-child(2) { background: var(--fire); }
.pillars-demo div:nth-child(2) span, .pillars-demo b.fire { color: var(--ink); }
.seal, .story-seal { background: var(--fire); color: var(--ink); }
.story-seal { box-shadow: 0 16px 40px rgba(255,77,61,.3); }

/* 무료 결과: 사주 칸은 남색 위에 원소 색 글자 (밝은 원소 색은 흰 칸에서 안 읽힘) */
.pil { background: #080B22; color: #FFFFFF; border: 1px solid var(--line); }
.pil small, .pil .rm { color: var(--muted); }
.pil.me { outline: 3px solid #FFFFFF; }
.pil.empty { opacity: 1; border-style: dashed; color: var(--muted); }
.dm .orb { color: var(--ink); }
.err { color: #FF9C92; }

/* 잠금 상자 = 결제 지점 */
.lock-box { background: #070A20; border: 2px solid var(--gold); box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.lock-fade { background: linear-gradient(to bottom, rgba(23,28,66,0), var(--ink2)); }
.real-line { background: #080B22; }

/* 가격 */
.plan.best { background: #070A20; border: 2px solid var(--gold); box-shadow: 0 24px 60px -28px rgba(255,212,92,.5); }
.plan .upsell { color: var(--gold); }
.sticky-cta, .cookie-bar { background: #070A20; }
.hero-card-cap { color: var(--muted); }
.form input::placeholder, .newsletter input::placeholder { color: #8B94C2; }
.an-steps li { color: #7F89BC; }
.an-steps li.on { color: #FFFFFF; }
.an-steps li.ok { color: #E4E8FA; }
dialog.analysis { background: var(--ink); }
.letter { color: var(--ink); }
.letter .micro { color: #4B5280; }
.affirm-sm { color: #7A5200; }
/* 쿠키 창 버튼은 노랑을 쓰지 않는다 (첫 화면의 노랑 버튼은 하나) */
.cookie-bar .btn { background: transparent; color: #FFFFFF; border: 1px solid #5A66A8; box-shadow: none; }
/* 무료 메일 신청은 결제가 아니므로 테두리 버튼 */
.newsletter .btn { background: transparent; color: #FFFFFF; border: 1px solid #5A66A8; }
.inside-cta .btn { background: transparent; color: #FFFFFF; border: 1px solid #5A66A8; }

/* ===== 한국어판 ===== */
body { font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, h3, .plan .price, .affirm, .g-badge { font-family: "Noto Serif KR", "AppleMyungjo", "Nanum Myeongjo", Batang, serif; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.28; }
h2 { font-size: clamp(25px, 3.4vw, 34px); line-height: 1.35; }
h1 em { font-style: normal; }
.btn, .form input, .form select, .dob select { font-family: inherit; }
.eyebrow { text-transform: none; }
.preview-strip { margin: 0; padding: 7px 14px; text-align: center; font-size: 13px; background: #2A2F66; color: #FFFFFF; }
.logo .seal { background: var(--fire); color: var(--ink); }
.seal { font-family: "Noto Serif KR", Batang, serif; }
.pillars-demo b, .pil .ch, .dm .orb, .story-seal { font-family: "Noto Serif KR", "Batang", serif; }
.dm h2 { margin: 0; }
.seg { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; }
.seg legend { font-weight: 500; font-size: 14px; margin-bottom: 6px; padding: 0; }
.form .seg label { display: block; flex: 1; cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; text-align: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--ink); font-size: 16px; }
.seg input:checked + span { border-color: #FFFFFF; box-shadow: 0 0 0 1px #FFFFFF inset; font-weight: 700; }
.seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form label.check { display: flex; gap: 10px; align-items: center; padding: 0; }
.form label.check input { width: 20px; height: 20px; }
.dob { grid-template-columns: 1.3fr 1fr 1fr; }
.notice { background: var(--ink); border: 1px dashed #7C88C8; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.tastes { display: grid; gap: 12px; margin-top: 24px; }
.taste { background: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.taste h3 { margin: 0 0 8px; font-size: 21px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.taste p { margin: 0; color: #E4E8FA; }
.taste .more { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.free-tag { font: 600 11px system-ui, "Malgun Gothic", sans-serif; border: 1px solid #5A66A8; color: var(--muted); border-radius: 99px; padding: 2px 9px; }
.teaser h3 { font-size: 19px; }
.lock-box .btn { margin-top: 4px; }
.after { margin-top: 22px; }
.plan .price { font-size: 32px; line-height: 1.3; }
.price .won { font-size: .6em; margin-left: 2px; }
.plan-name { font-size: 17px; }
.plan .btn-buy { background: transparent; color: #FFFFFF; border: 1px solid #5A66A8; box-shadow: none; }
/* 추천 묶음: 노란 테두리·표시·큰 가격·노란 버튼 (가격 칸에서 노랑은 여기에만) */
.plans { align-items: stretch; padding-top: 14px; }
.plan.best { border-width: 3px; box-shadow: 0 0 0 6px rgba(255,212,92,.14), 0 24px 60px -24px rgba(255,212,92,.6); padding-top: 32px; }
.plan.best .pick { position: absolute; top: -17px; left: 22px; background: var(--gold); color: #0E1230; font-weight: 800; font-size: 16px; line-height: 1; padding: 9px 20px; border-radius: 99px; }
.plan.best .plan-name { font-size: 20px; line-height: 1.45; }
.plan.best .price { font-size: 52px; color: var(--gold); }
.plan.best .btn-buy { background: var(--gold); color: #0E1230; border-color: var(--gold); font-weight: 800; font-size: 17px; padding-top: 15px; padding-bottom: 15px; }
.plan.free { background: transparent; }
.modal h2 { font-size: 24px; }
.legal-body h1 { font-size: 34px; }
.legal-body h2 { font-size: 21px; }
.foot .biz a { white-space: normal; }
@media (max-width: 640px) { .nav { padding: 12px 16px; gap: 12px; } .pillars { gap: 6px; } .pil .rm { font-size: 11px; } .pil small { font-size: 11px; letter-spacing: 0; } section { padding: 44px 0; } }
.plan .btn { text-align: center; }
section, .panel { scroll-margin-top: 72px; }
@media (max-width: 640px) { .trust { grid-template-columns: 1fr; } .hero { padding-top: 28px; } }

/* 근거가 보이는 무료 결과 (11-30 품질판) */
.dob.time { grid-template-columns: 1.4fr 1fr; }
.pil .god { display: block; font-size: .72rem; font-weight: 700; opacity: .85; line-height: 1.6; white-space: nowrap; }
.points { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; text-align: left; }
.points li { border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px 14px; line-height: 1.65; }
.result .why { display: block; font-size: .78rem; font-weight: 700; color: #FFD45C; margin: 0 0 4px; line-height: 1.5; }
.strength { text-align: left; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px; margin: 16px 0; }
.strength p { margin: 8px 0 0; line-height: 1.65; }
.gauge { height: 10px; border-radius: 10px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 8px; }
.gauge span { display: block; height: 100%; background: #FFD45C; border-radius: 10px; }
.plan-tag { font-size: .7rem; font-weight: 700; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; padding: 1px 8px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }
.lock-desc { font-size: .88rem; margin: 2px 0 6px; line-height: 1.55; }

/* 사업자 정보: 작은 글씨여도 또렷하게 */
.foot .biz { font-size: 13.5px; color: #D5DAF5; }
.foot .biz a { color: #FFFFFF; }

/* 주문/결제 · 결제 결과 (12-01) */
main.shop-main { max-width: 640px; padding: 28px 16px 48px; }
.shop-main h1 { font-size: 30px; margin-bottom: 6px; }
.box { background: var(--ink2); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-top: 16px; }
.box h2 { font-size: 19px; margin: 0 0 12px; }
.pick-list { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.pick-item { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: start; border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px; cursor: pointer; }
.pick-item:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; background: #070A20; }
.pick-item input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--gold); }
.pick-item b { display: block; line-height: 1.45; }
.pick-item small { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 4px; }
.pick-item .amt { font-weight: 800; white-space: nowrap; }
.rows { margin: 0; display: grid; }
.rows div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rows div:last-child { border-bottom: 0; }
.rows dt { color: var(--muted); font-size: 14px; }
.rows dd { margin: 0; font-size: 15px; }
.rows .total dd { font-size: 22px; font-weight: 800; color: var(--gold); }
.agree { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; font-size: 14px; line-height: 1.6; cursor: pointer; }
.agree input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); }
.pay-btn { width: 100%; margin-top: 16px; text-align: center; }
.pay-btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.back-link { display: block; text-align: center; margin-top: 14px; font-size: 14px; }
button.back-link { width: 100%; background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-family: inherit; }
.stop-note { border: 1px solid var(--gold); border-radius: 14px; padding: 14px 16px; margin-top: 16px; font-size: 14px; line-height: 1.65; background: #070A20; }
@media (max-width: 420px) { .rows div { grid-template-columns: 84px 1fr; } .box { padding: 16px 14px; } }
.price-table td:last-child { white-space: nowrap; }

/* 2026-12-01 신뢰 보완: 견본·목차·내 문단·환불 안내 */
.more-box { margin-top: 28px; border: 2px solid var(--gold); border-radius: 18px; padding: 20px 18px; background: var(--ink2); word-break: keep-all; }
.more-head { display: block; font-size: 19px; line-height: 1.45; }
.more-sub { color: var(--gold); font-weight: 700; font-size: 14px; margin: 18px 0 0; }
.more-box .micro { margin: 6px 0 0; }
.my-line { margin-top: 14px; padding: 12px 14px; background: var(--ink); border: 1px solid var(--gold); border-radius: 12px; }
.my-line small { display: block; color: var(--gold); font-size: 12.5px; font-weight: 600; }
.my-line p { margin: 6px 0; line-height: 1.7; }
.my-line .who { display: block; font-size: 12.5px; color: var(--muted); }
.peek { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 10px; padding-bottom: 8px; }
.peek button { flex: 0 0 min(78%, 250px); scroll-snap-align: start; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #FFFFFF; cursor: zoom-in; }
.peek img { display: block; width: 100%; height: auto; }
.more-box ol.toc { margin: 8px 0 0; padding-left: 22px; display: grid; gap: 6px; font-size: 15px; line-height: 1.6; }
.more-box ul.safe { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; font-size: 14px; line-height: 1.65; }
.more-box ul.safe li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; overflow-wrap: anywhere; }
.more-box .btn-wide { display: block; text-align: center; margin-top: 14px; }
.plan .one { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.55; word-break: keep-all; }
.peek-modal { padding: 0; width: min(520px, calc(100% - 16px)); max-height: 92vh; }
.peek-modal img { display: block; width: 100%; height: auto; }
.peek-close { position: sticky; top: 0; display: block; width: 100%; padding: 12px; border: 0; border-bottom: 1px solid var(--line); background: var(--ink); color: #FFFFFF; font: 600 15px sans-serif; cursor: pointer; }
#footer { scroll-margin-top: 80px; }

/* 12-01 흐림 미리보기: 실제 문장의 앞부분 + 글자 없는 흐린 막대 */
.locks { margin: 0 0 6px; word-break: keep-all; }
.locks > .more-sub { margin-top: 0; }
.lk { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--ink); }
.lk h3 { margin: 0 0 8px; font-size: 19px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lk-from { display: block; font-size: 12.5px; color: var(--gold); font-weight: 600; line-height: 1.5; }
.lk-line { margin: 4px 0 0; font-size: 17px; line-height: 1.85; font-weight: 600; color: #FFFFFF; overflow-wrap: anywhere; }
.lk-hide i { display: inline-block; height: .8em; width: 3.2em; margin: 0 .3em 0 0; border-radius: .4em; background: linear-gradient(90deg, rgba(228,232,250,.8), rgba(228,232,250,.4)); filter: blur(4px); vertical-align: -.05em; }
.lk-hide i:nth-child(2) { width: 5em; } .lk-hide i:nth-child(3) { width: 2.2em; } .lk-hide i:nth-child(4) { width: 5.8em; } .lk-hide i:nth-child(5) { width: 2.8em; }
.btn-rest { display: block; width: 100%; margin: 10px 0 0; padding: 11px 14px; font-size: 16px; text-align: center; }
.lk .lock-desc { margin: 9px 0 0; font-size: 13.5px; color: var(--muted); }

/* 12-01 궁금증 한 줄: 앞부분 + 글자 없는 빈칸 + 뒷말 */
.locks .lk-line { font-size: 18px; line-height: 1.9; }
.locks .lk-hide { display: inline-block; white-space: nowrap; padding: 0 .08em; border-bottom: 2px solid var(--gold); }
.locks .lk-hide i { margin-right: .2em; width: 2.6em; }
.locks .lk-hide i:nth-child(2) { width: 3.8em; } .locks .lk-hide i:nth-child(3) { width: 1.9em; margin-right: 0; }
.locks .lk-tail { white-space: pre-wrap; }
.locks .lk-hide { margin-right: 1px; }

/* 12-01 결과 끝 안내 한 번 + 가격 칸 한 화면 */
.locked .lock-cta { margin-top: 18px; }
.locked .lock-box b { display: block; margin-bottom: 12px; font-size: 19px; line-height: 1.45; }
.locked .lock-box .micro { margin: 10px 0 0; }
.plan-more { margin-top: 10px; text-align: left; }
.plan-more summary { cursor: pointer; text-align: center; font-size: 14px; text-decoration: underline; padding: 4px 0; }
.plan-more ul { margin-bottom: 0; }
#pricing .plans { align-items: start; }
@media (max-width: 640px) {
  #pricing .plans { gap: 18px; }
  #pricing .plan { padding-top: 18px; padding-bottom: 12px; }
  #pricing .plan .price { margin: 2px 0; line-height: 1.15; }
  #pricing .plan[data-plan="basic"] .price, #pricing .plan[data-plan="plus"] .price { font-size: 38px; }
  #pricing .plan .one { margin: 4px 0 10px; }
}
