/* In-Yun site: same design system as the report (report/render.mjs v6): misty backdrop, frosted glass, cobalt/light blue */
:root {
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo", sans-serif;
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --kr: "Noto Serif KR", "AppleMyungjo", serif;
  --page: #05080f; --ink: #eef2fb; --ink-2: #c6d1e3; --muted: #9dabc1; --line: rgba(200,215,240,.13); --line-2: rgba(200,215,240,.24);
  --blue: #8fb7f2; --blue-ink: #b4cff5; --blue-soft: rgba(143,183,242,.16);
  --sage: #3d659d; --sage-2: #33578a; --on-sage: #f4f6fb; --rose: #e79aad; --star: #f4dcae;
  --glass: rgba(150,180,230,.07); --glass-2: rgba(170,200,240,.14); --glass-line: rgba(190,212,250,.16);
  --glass-shadow: 0 1px 0 rgba(215,230,255,.1) inset, 0 20px 40px -24px rgba(0,2,10,.95);
  --glass-blur: blur(20px) saturate(1.4); --lift: 0 6px 14px -10px rgba(0,0,0,.6);
  --mist-1: #0c1526; --mist-2: #04060c; --kraft: #b9a385; --paper: #e9e4d5;
  --radius: 26px; --radius-sm: 18px; --pill: 999px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font: 400 17px/1.65 var(--sans); font-feature-settings: "ss01", "cv11"; min-height: 100vh;
  background: radial-gradient(120% 70% at 85% 8%, var(--mist-1) 0%, transparent 60%),
    radial-gradient(90% 60% at 0% 100%, color-mix(in srgb, var(--sage) 26%, transparent), transparent 70%),
    linear-gradient(180deg, var(--mist-1), var(--mist-2)) fixed; background-color: var(--mist-2); }
::selection { background: var(--sage); color: var(--on-sage); }
a { color: var(--blue-ink); text-underline-offset: 3px; }
[hidden] { display: none !important; }

/* hero: no dark band, the headline sits on the mist like the report cover */
.hero { padding: 28px 20px 8px; text-align: center; position: relative; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 12px; font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #2b2a26;
  background: color-mix(in srgb, var(--kraft) 80%, transparent); transform: rotate(-1.5deg); box-shadow: var(--lift); }
.card .eyebrow, .result .eyebrow { transform: none; background: none; box-shadow: none; padding: 0; color: var(--blue-ink); }
.hero h1 { font: 300 clamp(38px, 9vw, 72px)/1.02 var(--sans); letter-spacing: -.045em; margin: .1em auto .25em; max-width: 12em; }
.hero h1 em, .hero h1 .serif { font: italic 500 1em var(--serif); letter-spacing: -.02em; color: var(--blue-ink); }
.hero .sub { max-width: 32em; margin: 0 auto; color: var(--ink-2); font-size: 18px; }
.hero-cta { margin: 26px 0 10px; }
.hero-note { margin: 0; }
.hand { font: 600 24px/1 var(--hand); color: var(--rose); display: inline-block; transform: rotate(-3deg); margin-top: 6px; }

main { max-width: 680px; margin: 0 auto; padding: 0 16px 40px; }
@media (min-width: 760px) { main { max-width: 940px; } }
h2 { font: 300 clamp(28px, 5vw, 40px)/1.08 var(--sans); letter-spacing: -.035em; margin: 0 0 14px; }
h3 { font: 600 20px/1.3 var(--sans); letter-spacing: -.01em; margin: 22px 0 8px; }
.center { text-align: center; margin: 48px 0 18px; }
.muted { color: var(--muted); } .tiny { font-size: 13px; color: var(--muted); }

/* one glass recipe for every card */
.card, fieldset.person, .faq details, .grid div {
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.card { border-radius: var(--radius); padding: 26px 22px; margin: 20px 0; }
@media (min-width: 760px) { .card { padding: 32px; } }

.products { display: grid; gap: 16px; }
@media (min-width: 760px) { .products { grid-template-columns: 1fr 1fr; } }
.product { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.product h3 { margin: 0; font: 300 30px/1.1 var(--sans); letter-spacing: -.03em; }
.product:first-child { background: var(--sage); color: var(--on-sage); border-color: transparent; }
.product:first-child .eyebrow, .product:first-child .tiny, .product:first-child .price .tiny { color: color-mix(in srgb, var(--on-sage) 78%, transparent); }
.product:first-child .btn.primary { background: #fff; color: #1c2420; border-color: #fff; }
.price { font: italic 500 34px/1.1 var(--serif); margin: 6px 0 10px; } .price .tiny { font: 400 13px var(--sans); }
.incl { list-style: none; padding: 0; margin: 8px 0 14px; display: grid; gap: 6px; font-size: 15px; }
.incl li { padding-left: 18px; position: relative; } .incl li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7; }
.product .btn { margin-top: auto; text-align: center; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 50px; min-height: 34px; color: var(--ink-2); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--glass-line); font: 600 14px var(--sans); color: var(--ink); }
.steps strong { color: var(--ink); font-weight: 600; }

.faq details { border-radius: var(--radius-sm); padding: 14px 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--muted); } .faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 2px; color: var(--ink-2); }

/* buttons: pills */
button, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--pill); cursor: pointer; text-decoration: none;
  font: 500 15px/1 var(--sans); color: var(--ink); background: var(--glass-2); border: 1px solid var(--glass-line); box-shadow: var(--lift); }
button.primary, .btn.primary { background: var(--ink); color: var(--page); border-color: var(--ink); }
button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* forms */
form { display: grid; gap: 14px; margin-top: 12px; }
label { display: grid; gap: 6px; font: 600 14px/1.25 var(--sans); }
label .tiny { font-weight: 400; }
input, select { font: 16px var(--sans); padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--glass-2); color: var(--ink); width: 100%; }
input[type=checkbox] { width: 18px; height: 18px; padding: 0; accent-color: var(--sage); }
input:disabled { opacity: .45; }
label.check { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; font: 500 14px/1.45 var(--sans); }
label.check input { margin: 2px 0 0; }
fieldset.person { border-radius: var(--radius-sm); padding: 16px 16px 6px; margin: 0; display: grid; gap: 12px; }
fieldset.person legend { font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink); padding: 4px 12px; border-radius: var(--pill); background: var(--glass-2); border: 1px solid var(--glass-line); }
.error { color: var(--rose); margin: 0; min-height: 1.2em; font-size: 14px; }

/* mini chart result */
.result { text-align: center; }
.pillar { font: 700 88px/1 var(--kr); margin: 6px 0; }
.label { font: italic 500 24px var(--serif); margin: 0 0 8px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; text-align: left; }
.grid div { border-radius: var(--radius-sm); padding: 12px 14px; display: grid; gap: 2px; }
.k { font: 600 11px var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.bars { display: grid; gap: 8px; text-align: left; }
.bar { display: grid; grid-template-columns: 7.5em 1fr 1.5em; align-items: center; gap: 10px; font-size: 14px; }
.bar-track { height: 12px; background: rgba(255,255,255,.6); border-radius: 6px; overflow: hidden; }
.bar-fill { display: block; height: 100%; }
.echo { font: italic 400 18px var(--serif); margin: 18px 0 6px; }
.notes { text-align: left; font-size: 14px; color: var(--muted); padding-left: 1.2em; }
.share { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 16px 0 4px; }
.upsell { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; justify-items: center; }
.upsell p { margin: 0; }

/* legal */
.legal h1 { font: 300 clamp(32px, 6vw, 46px)/1.05 var(--sans); letter-spacing: -.04em; margin: 0 0 4px; }
.legal h2 { font: 600 19px/1.3 var(--sans); letter-spacing: -.01em; margin: 28px 0 6px; }
.legal p, .legal li { color: var(--ink-2); } .legal li { margin: 4px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.4; }
.legal th, .legal td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }
.todo { background: #fff3c4; color: #1c2420; padding: 0 4px; border-radius: 4px; }

footer { text-align: center; padding: 24px 16px 48px; color: var(--muted); font-size: 14px; }
.links a { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

h2 em { font: italic 500 1em var(--serif); letter-spacing: -.02em; color: var(--blue-ink); }
.adds-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.adds-list li { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--glass-2); border: 1px solid var(--glass-line); color: var(--ink-2); }
.adds-list strong { color: var(--ink); font-weight: 600; }
html { scroll-behavior: smooth; }

.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 560px; margin: 0 auto; padding: 16px 18px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--page) 82%, transparent); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); font-size: 14px; display: grid; gap: 10px; }
.consent p { margin: 0; color: var(--ink-2); }
.consent-btns { display: flex; gap: 8px; justify-content: flex-end; } .consent button { min-height: 40px; padding: 0 18px; }

/* line breaks: a second sentence in a heading always starts its own line, and lines are balanced so no phrase is split awkwardly */
h1, h2, h3, .hand { text-wrap: balance; }
p, li, .sub { text-wrap: pretty; }
h1 em, h2 em { display: block; }
.hero h1 { font-size: clamp(28px, 7.4vw, 72px); max-width: none; }
.hero h1 em { margin-top: .04em; }
.nw { white-space: nowrap; }

/* landing v3: free first, product shown, price at the end */
.hero.landing { padding: 40px 20px 8px; }
@media (min-width: 900px) {
  .hero.landing { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; max-width: 1080px; margin: 0 auto; padding: 64px 32px 24px; text-align: left; }
  .landing .sub { margin: 0; } .landing h1 { margin-left: 0; }
}
.hero-free { margin: 0; }
.phone { margin: 0; border-radius: 30px; overflow: hidden; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow), 0 30px 60px -36px rgba(20,40,70,.55); padding: 8px; }
.phone img { display: block; width: 100%; height: auto; border-radius: 23px; }
/* hero: two report screens overlapped, the handwritten tag floating on top at the right */
.hero-stack { position: relative; margin: 28px auto 0; width: min(88vw, 360px); aspect-ratio: 1 / 1.2; }
.hero-stack .phone { position: absolute; width: 64%; padding: 6px; border-radius: 26px; }
.hero-stack .phone img { border-radius: 20px; aspect-ratio: 520 / 700; object-fit: cover; object-position: top; }
.hero-stack .back { left: 0; top: 9%; transform: rotate(-5deg); opacity: .96; }
.hero-stack .front { right: 0; bottom: 0; transform: rotate(3deg); }
.hero-stack .hand { position: absolute; right: -4px; top: 0; margin: 0; z-index: 2; background: none; font-size: 26px; transform: rotate(-6deg); text-shadow: 0 1px 0 rgba(255,255,255,.7), 0 0 14px rgba(255,255,255,.65); white-space: nowrap; }
@media (min-width: 900px) { .hero-stack { margin: 0; width: 420px; justify-self: center; } .hero-stack .hand { right: -18px; font-size: 30px; } }
.mini { max-width: 560px; margin-left: auto; margin-right: auto; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(74vw, 280px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin: 0 -16px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; scroll-snap-align: center; display: grid; gap: 12px; align-content: start; }
.gallery figcaption { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.gallery figcaption strong { display: block; color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .gallery { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 4px 0 8px; } }
.center-note { text-align: center; margin: -6px 0 18px; }
.closing { text-align: center; padding: 40px 0 8px; }
.closing h2 { margin-bottom: 18px; }
.upsell .eyebrow { margin: 0; }
.upsell h3 { margin: 0; font: 300 28px/1.1 var(--sans); letter-spacing: -.03em; }

/* birth details: segmented date, hour:minute + AM/PM, "I don't know" toggle, city search */
.bi { display: grid; gap: 6px; }
.bi-label { font: 600 14px/1.25 var(--sans); }
.bi-seg { display: grid; grid-auto-flow: column; align-items: center; border: 1px solid var(--line-2); border-radius: 16px; background: var(--glass-2); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.bi-seg:focus-within, .bi-combo input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.bi-seg input, .bi-seg select { border: 0; border-radius: 0; background: transparent; min-height: 54px; font: 500 18px var(--sans); text-align: center; padding: 0 8px; }
.bi-seg input:focus-visible, .bi-seg select:focus-visible { outline: none; background: var(--blue-soft); }
.bi-date { grid-template-columns: 1.6fr .9fr 1.1fr; }
.bi-date > * + * { border-left: 1px solid var(--line) !important; }
.bi-date select { text-align: left; padding-left: 16px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background: linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 16px) 50% / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, var(--muted) 50%) calc(100% - 11px) 50% / 6px 6px no-repeat; }
.bi-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.bi-time { grid-template-columns: 64px auto 64px; flex: 0 0 auto; }
.bi-colon { font: 500 20px var(--sans); color: var(--muted); }
.bi-ampm { display: inline-grid; grid-auto-flow: column; padding: 4px; gap: 4px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--glass-2); }
.bi-ampm button { min-height: 44px; padding: 0 14px; border: 0; box-shadow: none; background: transparent; border-radius: 12px; font-weight: 600; color: var(--muted); }
.bi-ampm button[aria-checked=true] { background: var(--ink); color: var(--page); }
.bi-chip { min-height: 54px; border-radius: 16px; box-shadow: none; border: 1px dashed var(--line-2); background: transparent; color: var(--ink-2); font-weight: 500; }
.bi-chip[aria-pressed=true] { border: 1px solid var(--sage); background: var(--sage); color: var(--on-sage); }
.bi-chip[aria-pressed=true]::before { content: "✓"; margin-right: 6px; }
.is-unknown .bi-time, .is-unknown .bi-ampm { opacity: .35; }
.bi-combo { position: relative; }
.bi-combo input { min-height: 54px; font-size: 18px; border-radius: 16px; padding-left: 44px;
  background: var(--glass-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2355615b' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") 16px 50% no-repeat; }
.bi-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; border-radius: 16px;
  background: color-mix(in srgb, var(--page) 94%, transparent); border: 1px solid var(--glass-line); box-shadow: 0 20px 40px -20px rgba(10,20,40,.45); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.bi-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 11px; cursor: pointer; font-size: 16px; }
.bi-list li small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.bi-list li[aria-selected=true], .bi-list li:hover { background: var(--blue-soft); }
.bi-list .bi-none { cursor: default; color: var(--muted); font-size: 14px; }
.bi-msg { margin: 0; min-height: 1.3em; font-size: 13.5px; color: var(--muted); }
.bi-msg.ok { color: var(--blue-ink); } .bi-msg.ok::before { content: "✓ "; font-weight: 700; }
.bi-msg.bad { color: var(--rose); }
@media (max-width: 520px) { .bi-chip { flex: 1 0 100%; min-height: 46px; } .bi-time { flex: 1 1 0; min-width: 0; grid-template-columns: 1fr auto 1fr; } .bi-ampm { flex: 0 0 auto; } }

/* landing v4: Yanny-style storytelling line (one voice, objections answered), same tokens */
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px;
  background: color-mix(in srgb, var(--mist-1) 72%, transparent); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.wordmark { font: italic 600 22px/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.nav-links { display: none; gap: 26px; font-size: 15px; } .nav-links a { color: var(--ink-2); text-decoration: none; } .nav-links a:hover { color: var(--ink); }
.nav-cta { min-height: 40px; padding: 0 18px; font-size: 14px; }
@media (min-width: 900px) { .topbar { padding: 12px max(32px, calc((100vw - 1080px) / 2)); } .nav-links { display: flex; } }

.landing h1 { font-weight: 600; letter-spacing: -.055em; line-height: .98; }
.landing h1 { font-size: clamp(34px, 7.4vw, 66px); }
@media (min-width: 900px) { .landing h1 { font-size: clamp(44px, 4.6vw, 60px); } }
.landing h1 em { display: inline; font-weight: 500; letter-spacing: -.025em; padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(176deg, transparent 62%, color-mix(in srgb, var(--rose) 24%, transparent) 62%, color-mix(in srgb, var(--rose) 18%, transparent) 88%, transparent 88%); }
.lp main h2 { font-weight: 600; letter-spacing: -.045em; }
.lp main h2 em { font-weight: 500; }
.lp .product h3, .lp .upsell h3 { font-weight: 500; }
.nos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 0; margin: 4px 0 14px; font: 600 16px/1.3 var(--sans); color: var(--ink); }
.nos li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); margin-right: 8px; vertical-align: .15em; }
.btn.ghost { background: color-mix(in srgb, var(--rose) 12%, transparent); border-color: transparent; box-shadow: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (min-width: 900px) { .nos, .hero-cta { justify-content: flex-start; } }

/* before/after: the same birthday, astrology on the left of the handle, saju on the right */
.hero-stack { aspect-ratio: 1 / 1.22; }
.hero-stack .front { width: 70%; }
.hero-stack figcaption { position: absolute; left: 0; right: 0; bottom: -30px; text-align: center; }
.ba { position: relative; aspect-ratio: 520 / 700; border-radius: 20px; overflow: hidden; touch-action: pan-y; user-select: none; }
.ba-pane { position: absolute; inset: 0; padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.ba-pane p { margin: 0; }
.ba-saju { padding-left: 32px; background: linear-gradient(170deg, #f7f1e4, #eadcc4); color: #2b2a26; }
.ba-astro { background: linear-gradient(170deg, #e7edf6, #cdd9ea); color: #1c2420; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba-tag { align-self: flex-start; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.7); }
.ba-saju .ba-tag { align-self: flex-end; color: var(--rose); } .ba-astro .ba-tag { color: #365c8a; }
.ba-k { margin-top: 10px !important; font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.ba-han { font: 700 76px/1 var(--kr); margin: 6px 0 2px !important; }
.ba-big { font: 300 25px/1.1 var(--sans); letter-spacing: -.03em; } .ba-big em { font: italic 500 1em var(--serif); color: var(--rose); }
.ba-line { font-size: 13.5px; line-height: 1.45; opacity: .8; margin-top: auto !important; }
.ba-dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 12px; font: 500 11px var(--sans); text-align: center; }
.ba-dots span { display: grid; gap: 4px; justify-items: center; }
.ba-dots span::before { content: ""; width: 12px; height: 46px; border-radius: 6px; background: linear-gradient(to top, var(--rose) calc(var(--n) * 25%), rgba(0,0,0,.1) 0); }
.ba-dots span[data-n="0"] { --n: 0; } .ba-dots span[data-n="1"] { --n: 1; } .ba-dots span[data-n="2"] { --n: 2; } .ba-dots span[data-n="4"] { --n: 4; }
.ba-three { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.ba-three li { font: 300 22px/1.15 var(--sans); letter-spacing: -.02em; }
.ba-three b { font-weight: 400; color: #365c8a; margin-right: 6px; }
.ba-three span { display: block; font: 400 13px/1.4 var(--sans); letter-spacing: 0; opacity: .7; margin-top: 2px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: rgba(255,255,255,.95); box-shadow: 0 0 12px rgba(0,0,0,.18); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.95); color: #1c2420; font: 600 14px/1 var(--sans); box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.ba { cursor: ew-resize; }
.ba-range { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ba:focus-within .ba-handle span { outline: 3px solid var(--blue); outline-offset: 2px; }

/* facts strip: big numbers between hairlines */
.facts { display: grid; margin: 56px -16px 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 22px 20px; } .facts > div + div { border-top: 1px solid var(--line); }
.facts p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; max-width: 22em; }
.facts .fact-n { font: 600 clamp(28px, 3.4vw, 38px)/1.08 var(--sans); letter-spacing: -.05em; color: var(--ink); margin-bottom: 6px; max-width: none; }
.fact-n s { text-decoration: none; position: relative; color: var(--muted); }
.fact-n s::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: .14em; background: color-mix(in srgb, var(--rose) 70%, transparent); border-radius: 4px; transform: rotate(-4deg); }
.fact-n .arrow { color: var(--muted); font-weight: 400; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); margin: 64px 0 8px; } .facts > div + div { border-top: 0; border-left: 1px solid var(--line); } .facts > div { padding: 26px 28px; } }

/* story: one person talking, signed */
.story { margin: 64px auto 24px; max-width: 760px; }
.story .eyebrow, .compare .eyebrow { transform: none; background: none; box-shadow: none; padding: 0; color: var(--rose); }
.story h2 { font-weight: 600; letter-spacing: -.045em; }
.story-body { font-size: 18px; color: var(--ink-2); } .story-body p { margin: 0 0 14px; }
.story .sign { display: block; font-size: 30px; margin-top: 8px; }

/* comparison table */
.compare h2 { margin-bottom: 18px; }
.table-wrap { overflow-x: auto; margin: 0 -8px; }
.compare table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.4; }
.compare th, .compare td { padding: 12px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font: 600 13px/1.3 var(--sans); color: var(--muted); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.compare td { color: var(--ink-2); }
.compare .us { background: color-mix(in srgb, var(--sage) 12%, transparent); color: var(--ink); font-weight: 500; }
.compare thead .us { color: var(--blue-ink); border-radius: 14px 14px 0 0; font-size: 15px; }
.compare tbody tr:last-child .us { border-radius: 0 0 14px 14px; }

/* fit: for you / not for you */
.fit-grid { display: grid; gap: 16px; } .fit-grid .card { margin: 0; } .fit-grid h3 { margin-top: 0; }
.fit .not .incl li::before { background: var(--rose); border-radius: 2px; transform: rotate(45deg); }
@media (min-width: 760px) { .fit-grid { grid-template-columns: 1fr 1fr; } }
.closing .hand { display: block; margin: 6px auto 10px; font-size: 28px; }

/* SEO pages (/day-master/…, /saju-compatibility/): landing v4 tokens, one reading column, the same glass cards */
.seo-hero { max-width: 820px; margin: 0 auto; padding: 44px 20px 4px; text-align: center; }
.seo-hero h1 { font: 600 clamp(34px, 7vw, 58px)/1.02 var(--sans); letter-spacing: -.055em; margin: .1em auto .3em; }
.seo-hero h1 em { display: inline; font: italic 500 1em var(--serif); letter-spacing: -.025em; color: var(--blue-ink); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(176deg, transparent 62%, color-mix(in srgb, var(--rose) 24%, transparent) 62%, color-mix(in srgb, var(--rose) 18%, transparent) 88%, transparent 88%); }
.seo-hero .sub { max-width: 34em; margin: 0 auto; color: var(--ink-2); font-size: 18px; }
.crumbs { margin: 0 0 6px; font-size: 13px; color: var(--muted); } .crumbs a { color: var(--muted); }
.dm-han { margin: 0; font: 700 clamp(92px, 20vw, 150px)/1 var(--kr); color: var(--el, var(--ink)); }
.dm-names { margin: 0; color: var(--muted); font-size: 15px; }
.seo .mini { margin-top: 28px; }
.mini-compact { margin-top: 48px; }
.prose { max-width: 700px; margin: 44px auto; }
.prose h2 { margin: 40px 0 12px; font-size: clamp(26px, 4.4vw, 34px); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 18px; }
.prose .steps li { font-size: 17px; }
.prose .incl li { font-size: 17px; }
.lead-line { font: italic 500 clamp(22px, 3.4vw, 27px)/1.35 var(--serif) !important; color: var(--ink) !important; }
.watch { padding: 14px 18px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--rose) 9%, transparent); border: 1px solid color-mix(in srgb, var(--rose) 18%, transparent); }
.watch strong { color: var(--rose); font-weight: 600; }
.el-table { margin: 8px 0 0; }
.el-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.el-table th, .el-table td { padding: 11px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.el-table thead th { font: 600 12px/1.3 var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.el-table tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.el-table td { color: var(--ink-2); } .el-table td:nth-child(2) { white-space: nowrap; }
.el-table [lang=zh] { font-family: var(--kr); font-weight: 700; margin-right: 4px; color: var(--ink); }
@media (max-width: 560px) { .el-table thead { display: none; } .el-table tr { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .el-table th, .el-table td { border: 0; padding: 0; } .el-table td:last-child { grid-column: 1 / -1; } }
.pillars-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pillars-list li { padding: 8px 14px; border-radius: var(--pill); background: var(--glass-2); border: 1px solid var(--glass-line); font-size: 15px !important; color: var(--ink) !important; }
.pillars-list [lang=zh] { font: 700 17px var(--kr); } .pillars-list [lang=ko] { color: var(--muted); margin: 0 4px; }

/* hub: the ten Day Masters */
.dm-hub { margin: 24px 0; }
.dm-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.dm-card { display: grid; gap: 2px; align-content: start; padding: 18px 18px 16px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none;
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); transition: transform .15s, box-shadow .15s; }
.dm-card:hover { transform: translateY(-2px); box-shadow: var(--glass-shadow), 0 18px 30px -22px rgba(20,40,70,.5); }
.dm-card .han { font: 700 44px/1.05 var(--kr); color: var(--el); }
.dm-card .nm { font: 600 17px/1.2 var(--sans); margin-top: 6px; }
.dm-card .img { font: italic 500 17px var(--serif); color: var(--blue-ink); }
.dm-card .kr { font-size: 12.5px; color: var(--muted); }
.dm-card p { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .dm-card { transition: none; } .dm-card:hover { transform: none; } }

.dm-result .pillar { font-size: 96px; }
.dm-result .grid { margin: 16px 0; }
.cta-box { text-align: center; max-width: 700px; margin: 40px auto; }
.cta-box h2 { margin-bottom: 10px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.prose .cta-row { justify-content: flex-start; }
.others { max-width: 700px; margin: 40px auto 0; text-align: center; }
.others .eyebrow { transform: none; background: none; box-shadow: none; padding: 0; color: var(--rose); margin-bottom: 4px; }
.others-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.others-list a { padding: 8px 14px; border-radius: var(--pill); background: var(--glass-2); border: 1px solid var(--glass-line); text-decoration: none; color: var(--ink); font-size: 14px; }
.others-list [lang=zh] { font: 700 15px var(--kr); margin-right: 4px; }

/* compatibility: two birthdays, two Day Masters, one line */
.pair { max-width: 720px; }
.pair-people { display: grid; gap: 12px; }
@media (min-width: 680px) { .pair-people { grid-template-columns: 1fr 1fr; } }
.pair .bi-date { grid-template-columns: 1.5fr .8fr 1.1fr; }
.pair-result { max-width: 720px; margin-left: auto; margin-right: auto; }
.pair-cards { display: grid; gap: 12px; margin: 10px 0 4px; }
@media (min-width: 620px) { .pair-cards { grid-template-columns: 1fr 1fr; } }
.pair-card { padding: 18px; border-radius: var(--radius-sm); background: var(--glass-2); border: 1px solid var(--glass-line); }
.pair-card p { margin: 0 0 6px; } .pair-card .k { margin-bottom: 4px; }
.pair-card .pillar { font-size: 72px; color: var(--el); }
.pair-card .label { font-size: 21px; }
@media (min-width: 900px) { .dm-grid { grid-template-columns: repeat(5, 1fr); } }
.dm-result, .pair-result, #mini, #pair { scroll-margin-top: 76px; }
/* Day Master pair pages (/saju-compatibility/<a>-and-<b>/) */
.pair-han span:first-child { color: var(--a); } .pair-han span:last-child { color: var(--b); }
.pair-ones { list-style: none; padding: 0; } .pair-ones li { margin: 0 0 10px; }
.pair-cta { max-width: 860px; margin: 40px auto; } .pair-cta > .tiny { margin-top: 12px; }
.pair-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.pair-links a { display: inline-block; padding: 8px 14px; border-radius: var(--pill); background: var(--glass-2); border: 1px solid var(--glass-line); text-decoration: none; color: var(--ink); font-size: 14px; }

/* night sky: fixed star tile on every page; the landing page adds a live sky and a rising horizon */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .75;
  background-image:
    radial-gradient(1px 1px at 34px 58px, #fff, transparent), radial-gradient(1px 1px at 142px 214px, #cfe0ff, transparent),
    radial-gradient(1.4px 1.4px at 268px 92px, #fff, transparent), radial-gradient(1px 1px at 388px 318px, #f6e7c8, transparent),
    radial-gradient(1px 1px at 76px 402px, #cfe0ff, transparent), radial-gradient(1.2px 1.2px at 452px 462px, #fff, transparent),
    radial-gradient(1px 1px at 206px 486px, #fff, transparent), radial-gradient(1px 1px at 498px 146px, #cfe0ff, transparent);
  background-size: 540px 540px; }
.hero-wrap { position: relative; }
.hero-wrap > .hero { position: relative; z-index: 1; }
.sky { position: absolute; left: 0; right: 0; top: -66px; bottom: -420px; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 76%, transparent); mask-image: linear-gradient(#000 76%, transparent); }
.sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.horizon { position: absolute; left: 50%; top: calc(100% - 484px); width: max(2100px, 190vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, #04070e 93%, #0b1424 97.6%, #2c466f 99.2%, #dbe8ff 100%);
  box-shadow: 0 -2px 26px rgba(214,230,255,.75), 0 -24px 100px 14px rgba(120,165,235,.42), 0 -80px 240px 70px rgba(60,105,185,.3); }
.lp main { position: relative; z-index: 1; }

.topbar { top: 12px; width: calc(100% - 24px); max-width: 1120px; margin: 12px auto 0; padding: 8px 10px 8px 22px !important; border: 1px solid var(--glass-line); border-radius: var(--pill);
  background: rgba(14,21,36,.55); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.eyebrow { transform: none; color: var(--blue-ink); background: var(--glass-2); border: 1px solid var(--glass-line); border-radius: var(--pill); box-shadow: none; padding: 7px 14px; }
.hero h1, .landing h1 { background: linear-gradient(100deg, #fff 18%, #b4cff5 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 em, .landing h1 em { background: linear-gradient(100deg, #fff0d2, #f0cf93); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hand { color: var(--star); text-shadow: 0 0 18px rgba(244,220,174,.35) !important; }
button.primary, .btn.primary { background: linear-gradient(180deg, #fff, #c5d9f7); color: #07101f; border-color: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 30px -8px rgba(143,183,242,.75); }
.nav-cta.primary { background: linear-gradient(180deg, rgba(150,180,230,.34), rgba(90,120,170,.26)); color: var(--ink); border-color: var(--glass-line); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset; }
.btn.ghost { background: var(--glass-2); border: 1px solid var(--glass-line); color: var(--ink); }
.bar-track { background: rgba(190,212,250,.14); }
.phone { box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 60px -20px rgba(143,183,242,.35); }

/* landing, opening screen: the planet's edge on top, the headline under it, the free chart straight after */
.sky { top: -82px; bottom: auto; height: 1000px; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.horizon { top: 182px; width: clamp(780px, 120vw, 2300px);
  background: radial-gradient(closest-side, #03060c 94%, #081120 97.4%, #2c466f 99.3%, #e2edff 100%);
  box-shadow: 0 -2px 30px rgba(224,236,255,.85), 0 -28px 120px 22px rgba(130,172,240,.48), 0 -110px 300px 96px rgba(66,112,196,.34); }
.horizon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: .62; mix-blend-mode: screen; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1600'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.009 .024' numOctaves='5' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 .62 0 0 0 0 .74 0 0 0 0 1 1.9 0 0 0 -.84'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23n)'/%3E%3C/svg%3E") center / 100% 100%;
  -webkit-mask-image: radial-gradient(closest-side, transparent 80%, rgba(0,0,0,.28) 92%, #000 100%); mask-image: radial-gradient(closest-side, transparent 80%, rgba(0,0,0,.28) 92%, #000 100%); }
.hero-wrap > .hero.landing { display: block; max-width: 760px; margin: 0 auto; padding: 172px 20px 0; text-align: center; }
.hero-wrap .landing h1 { margin: .1em auto .28em; }
.hero-wrap .landing .sub { margin: 0 auto; max-width: 31em; font-size: 17px; }
.lp .mini.card { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; margin-top: 34px; }
.lp .mini .eyebrow { display: none; }
.lp .mini h2 { font-size: clamp(22px, 3vw, 26px); text-align: center; margin-bottom: 6px; }
.lp .mini > .muted { text-align: center; font-size: 15px; margin: 0 0 18px; }
.lp .mini .nos { justify-content: center; margin: 18px 0 6px; font-size: 14px; font-weight: 500; }
.lp .mini .hero-free { text-align: center; }
.lp .facts { margin-top: 52px; }
.lp .hero-stack { margin: 76px auto 64px; justify-self: auto; }
@media (max-width: 899px) { .hero-wrap > .hero.landing { padding-top: 154px; } .horizon { top: 170px; } }

/* the hook: what the chart is short on, what stays locked, and the pain points */
.gap { margin: 22px 0 8px; padding: 22px; text-align: center; border: 1px solid rgba(244,220,174,.32); border-radius: var(--radius-sm); background: linear-gradient(180deg, rgba(244,220,174,.1), rgba(244,220,174,.03)); }
.gap p { margin: 0; } .gap-k { font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--star); }
.gap-big { font: italic 500 clamp(32px, 6vw, 44px)/1.15 var(--serif); color: var(--star); margin: 8px 0 10px !important; }
.gap-q { font: italic 400 20px/1.3 var(--serif); color: var(--ink); margin-top: 12px !important; }
.locked { list-style: none; margin: 4px 0 8px; padding: 0; width: 100%; max-width: 30em; text-align: left; }
.locked li { padding: 11px 2px 11px 30px; border-bottom: 1px solid var(--line); position: relative; }
.locked li::before { content: "\1F512"; position: absolute; left: 2px; top: 11px; font-size: 14px; }
.pains { margin: 64px auto 16px; max-width: 760px; }
.pains ul { list-style: none; margin: 0; padding: 0; }
.pains li { font: 300 clamp(23px, 3.6vw, 33px)/1.2 var(--sans); letter-spacing: -.025em; padding: 20px 0; border-top: 1px solid var(--line); text-align: center; }
.pains-turn { text-align: center; color: var(--ink-2); font-size: 18px; max-width: 34em; margin: 26px auto 22px; }
.center-note .btn { margin-top: 2px; }
.korea { margin: 72px auto 16px; max-width: 760px; }
.korea dl { margin: 0; }
.korea dl > div { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.korea dt { font: italic 500 22px/1.25 var(--serif); color: var(--star); }
.korea dd { margin: 0; color: var(--ink-2); }
@media (min-width: 760px) { .korea dl > div { grid-template-columns: 280px 1fr; gap: 24px; align-items: baseline; } }
@media (max-width: 899px) { .lp .hero-stack .hand { font-size: 22px; } }
