@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&display=swap');
/* One fixed, shared palette across the production site, including legacy templates. */
:root,html[data-theme],html body,body[data-page="home"]{
  color-scheme:dark;
  --bg:#050c15!important;--surface:#0b1825!important;--ink:#f5eee3!important;--muted:#acbac6!important;--line:#30414e!important;
  --lacquer:#edc78e!important;--lacquer-deep:#d9a962!important;--on-lacquer:#101821!important;--seal:#edc78e!important;
  --gold:#d3ad73!important;--gold-bright:#f4d7a5!important;--field:#08121d!important;
  --wood:#8fc6ae!important;--fire:#eeaa8a!important;--earth:#d5b77d!important;--metal:#c6d3e0!important;--water:#8cb7e6!important;
  --ai-bg:#050c15!important;--ai-paper:#0b1825!important;--ai-ink:#f5eee3!important;--ai-muted:#acbac6!important;--ai-line:#30414e!important;
  --ai-red:#edc78e!important;--ai-red-ink:#101821!important;--ai-gold:#d3ad73!important;
  --obs-ink:#f5eee3!important;--obs-muted:#acbac6!important;--obs-gold:#edc78e!important;--obs-line:#30414e!important;
}
html{background:#050c15!important;scroll-behavior:smooth;scroll-padding-top:105px}
body,body.ai-app{margin:0!important;background:#050c15!important;color:#f5eee3!important;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI','Hiragino Kaku Gothic ProN','PingFang SC',sans-serif!important;font-size:16px!important;line-height:1.75!important;-webkit-font-smoothing:antialiased}
body:not([data-page="home"]){background-image:radial-gradient(ellipse at 90% 0%,#12304675,transparent 43%),radial-gradient(ellipse at 5% 90%,#32261c35,transparent 40%)!important;background-attachment:fixed!important}
*,*::before,*::after{box-sizing:border-box}a{color:#e9c992}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}
button,a,input,select,textarea,summary{outline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #f4d7a5!important}
body>.band,body>.fret,body>.page-nav,body>.ai-header,body>.ai-navigation{display:none!important}
.cosmic-header{position:relative;z-index:30;display:flex;align-items:center;gap:32px;width:calc(100% - 104px);max-width:1450px;min-height:90px;margin:0 auto;border-bottom:1px solid #c9b58e48;color:#f5eee3;background:transparent}
.cosmic-brand{display:inline-flex;align-items:center;gap:17px;color:#f5eee3!important;text-decoration:none!important;white-space:nowrap;font:400 29px/1.2 'Newsreader',Georgia,serif;letter-spacing:-.6px}
.cosmic-mark{display:flex;align-items:center;gap:5px;width:33px;height:34px;flex-shrink:0}
.cosmic-mark i{display:block;width:4px;height:29px;border-radius:100%;background:linear-gradient(#f9dfae,#cf9a50)}
.cosmic-mark i:nth-child(2),.cosmic-mark i:nth-child(3){height:35px}
.cosmic-nav{display:flex;align-items:center;gap:30px;margin-left:auto}
.cosmic-nav a{color:#e1e4e5!important;text-decoration:none!important;font-size:13px;padding:12px 0;white-space:nowrap}
.cosmic-nav a:hover,.cosmic-nav a[aria-current="page"]{color:#f4d7a5!important}
.cosmic-controls{display:flex;align-items:center;gap:20px}
.cosmic-lang{border:0!important;background:transparent!important;color:#f5eee3!important;border-radius:0!important;padding:9px 25px 9px 7px!important;font-size:12px!important;max-width:102px;min-height:44px}
.cosmic-lang option{background:#0b1825;color:#f5eee3}
.cosmic-start{display:inline-flex;justify-content:center;align-items:center;min-height:42px;border:1px solid #d8ad68;border-radius:50px;padding:8px 24px;white-space:nowrap;font-size:12px;text-decoration:none;color:#f4d7a5!important}
.cosmic-menu{display:none;background:transparent;border:1px solid #40535f;color:#f5eee3;border-radius:5px;width:44px;height:44px;font-size:20px}
body[data-page="home"]>main.wrap{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
body[data-page="home"] .hero.observatory{display:block!important;position:relative!important;isolation:isolate;overflow:hidden!important;min-height:660px!important;margin:0!important;padding:82px max(6vw,24px) 70px!important;background:#050c15}
body[data-page="home"] .hero.observatory::before{content:'';position:absolute;z-index:-2;inset:-1.5%;background:url('/assets/cosmic-universe.png') center 50%/cover no-repeat;transform:translate3d(var(--cosmic-x,0px),var(--cosmic-y,0px),0) scale(1.02);transition:transform 1.6s ease-out;pointer-events:none}
body[data-page="home"] .hero.observatory::after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#030b13c9 0%,#030b1355 33%,transparent 57%),linear-gradient(0deg,#050c15 0%,transparent 25%);pointer-events:none}
body[data-page="home"] .observatory-copy{padding:0!important;max-width:660px!important;width:49%!important;position:relative;z-index:2}
body[data-page="home"] .observatory-kicker{display:block!important;margin:0 0 24px!important;color:#efc581!important;font:600 11px/1.5 'DM Sans',sans-serif!important;letter-spacing:.28em!important}
body[data-page="home"] .observatory-kicker::before{display:none!important}
body[data-page="home"] .observatory h1{font:400 clamp(57px,6.2vw,101px)/.98 'Newsreader',Georgia,serif!important;letter-spacing:-.055em!important;color:#fff9ee!important;max-width:none!important;margin:0 0 25px!important;white-space:pre-line!important;text-wrap:unset!important}
body[data-page="home"] .observatory .lede-l{display:block!important;color:#e0e5e9!important;max-width:410px!important;font:400 clamp(16px,1.6vw,22px)/1.7 'DM Sans',sans-serif!important;margin:0!important}
body[data-page="home"] .observatory .lede-s,body[data-page="home"] .observatory-stage,body[data-page="home"] .hero-pts,body[data-page="home"] .hero-card,body[data-page="home"] .bagua{display:none!important}
body[data-page="home"] .hero-actions{display:flex!important;align-items:center;gap:27px!important;margin:34px 0 0!important;flex-wrap:wrap}
.primary,.ai-primary,.ai-result-card .ai-result-primary,.cosmic-gold{background:linear-gradient(120deg,#f9e4bd,#e8c184 65%,#f4d39c)!important;color:#101720!important;border:1px solid #f6daac!important;border-radius:5px!important;box-shadow:0 0 28px #e9b55f1a,inset 0 1px #fff8de7a!important;text-shadow:none!important}
body[data-page="home"] .hero-actions .primary{padding:14px 22px!important;min-height:53px!important;font-size:14px!important;font-weight:600!important;letter-spacing:.01em}
body[data-page="home"] .hero-actions .ghost{padding:11px 0!important;min-height:44px!important;border:0!important;border-bottom:1px solid #d6dfdf75!important;background:transparent!important;color:#f5eee3!important;border-radius:0!important;font-size:14px!important}
.cosmic-free-note{display:block;margin-top:22px;color:#9baebc;font-size:12px;line-height:1.7}
.cosmic-home-content{padding:0 max(6vw,24px) 52px;max-width:1600px;margin:0 auto}
.cosmic-feature-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #718f9655;border-radius:7px;background:linear-gradient(120deg,#10232bbd,#0a1823ad);backdrop-filter:blur(12px);position:relative;z-index:3;box-shadow:0 15px 50px #0003;min-height:75px}
.cosmic-feature-strip a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 25px;color:#e8e8df;text-decoration:none;font-size:14px;position:relative}
.cosmic-feature-strip a+a::before{content:'';position:absolute;left:0;top:26%;bottom:26%;width:1px;background:#71858d75}
.cosmic-feature-strip a span{font-size:15px;color:#cda76c}
.cosmic-feature-strip a:hover{background:#d6b57a0a;color:#ffe3b2}
.cosmic-intro{text-align:center;padding:47px 20px 45px}
.cosmic-intro h2{font:400 clamp(29px,3vw,43px)/1.15 'Newsreader',Georgia,serif!important;letter-spacing:-.03em;margin:0 0 14px!important;color:#f4edde!important}
.cosmic-intro p{font:400 14px/1.8 'DM Sans',sans-serif;color:#abbcc9;margin:0!important}
.cosmic-next-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px;border-top:1px solid #30414e;padding:35px 0 10px}
.cosmic-next-grid article{display:grid;grid-template-columns:38px 1fr;gap:18px}
.cosmic-section-number{font:400 17px/1.4 'Newsreader',serif;color:#d9b677;padding-top:5px}
.cosmic-next-grid h3{font:400 28px/1.2 'Newsreader',serif;margin:0 0 13px;color:#f4edde}
.cosmic-next-grid p{font:400 13px/1.9 'DM Sans',sans-serif;color:#aebdca;margin:0 0 14px;max-width:460px}
.cosmic-next-grid a{font-size:12px;color:#ebc58a;text-underline-offset:5px}
body[data-page="home"] .observatory-index,body[data-page="home"] #fp-sub{display:none!important}
body:not([data-page="home"]) .cosmic-home-content{display:none!important}
body>.wrap,body>main,body>footer,body .ai-width{width:min(1120px,calc(100% - 72px))!important;max-width:1120px!important;margin-inline:auto!important;padding-inline:0!important}
body[data-page="chart"]>main,body[data-page="service"]>main{max-width:960px!important}
body:not([data-page="home"]) h1{color:#f5eee3!important;font-family:'Newsreader','Hiragino Mincho ProN','Songti SC',Georgia,serif!important;font-weight:400!important;letter-spacing:-.035em;line-height:1.15}
body:not([data-page="home"]) h2,body:not([data-page="home"]) h3{color:#f5eee3!important;font-family:'Newsreader','Hiragino Mincho ProN','Songti SC',Georgia,serif!important;font-weight:400!important}
.flow-heading,.service-page,.ai-page{padding-top:46px!important;padding-bottom:28px!important}
.flow-heading h1,.service-page h1{font-size:clamp(34px,4.8vw,62px)!important;margin-bottom:18px!important}
.flow-heading .hint,.service-page .lede,.ai-lede{color:#acbac6!important}
.frame{background:#0a1724e8!important;border:1px solid #3c4f5d!important;border-radius:10px!important;padding:30px!important;box-shadow:0 15px 55px #0002!important}
.frame::before,.frame::after{display:none!important}
input:not([type="checkbox"]):not([type="radio"]),select:not(.cosmic-lang),textarea{background:#07111d!important;color:#eef1ed!important;border-color:#435563!important;border-radius:5px!important;min-height:47px;font-size:16px!important}
input::placeholder,textarea::placeholder{color:#8599aa!important;opacity:1}
input[type="checkbox"],input[type="radio"]{accent-color:#e4bd80}
input:disabled,select:disabled{opacity:.5}
button,.ghost,.ai-button{border-color:#435563!important}
.ghost,.ai-button:not(.ai-primary),.sample-link,.reading-sample{color:#e7d5b7!important;background:#0c1b29!important}
.hint,.form-note,.ai-small,.ai-muted,.op,.reading-kicker{color:#a9bbc8!important}
.st,.seal-c,.ai-plan-label,.ai-eyebrow,.price,.op strong,.reading-kicker{color:#e8c58c!important;background:transparent!important}
.st{border-color:#65573f!important}
.result,.panel,.offer,.reading-card,.reading-preview,.ai-result-card,.ai-included,.ai-empty,.ai-plan,.ai-data-note,.ai-login-callout,.ai-chart-panel,.ai-answer,.p0-service-note,.cta,.note,.card,.box{background:#0b1927!important;color:#e9e9df!important;border-color:#3b5060!important;border-radius:8px!important}
.ai-result-card p,.ai-result-card h3,#ai-result-entry h3{color:#e4e7e6!important}
.ai-result-card{border-width:1px!important;box-shadow:0 8px 40px #0002}
.ai-result-card .ai-result-history{color:#e9c58e!important;background:transparent!important}
.ai-app .ai-plan-featured{background:linear-gradient(140deg,#142535,#0b1825)!important;border-color:#a68a5c!important}
.ai-app .ai-price{font:400 clamp(33px,5vw,49px)/1.2 'Newsreader',serif!important;color:#f5d9ac!important}
.ai-page h1{font-size:clamp(34px,4.8vw,60px)!important}
.ai-app .ai-plan{padding:28px!important}
.ai-example-pillars,.pillars{color:#f0d8ad}
table{border-color:#314655!important;max-width:100%}
td,th{border-color:#314655!important;background:transparent!important;color:#dce2e5}
thead,th{background:#132536!important;color:#eac995!important}
.pillars td,.pillars th{background:#0b1927!important}
details{border-color:#354b5a!important}summary{color:#e6d4b6!important}
pre,code{background:#101f2f!important;color:#dfe6e9!important}
.meter,.bar-bg,.balance-track{background:#1f3242!important}
.ai-chart-pills{color:#e3c38b!important}
.ai-footer,body>footer{border-color:#30414e!important;color:#a3b4c0!important;font-size:12px!important;padding-top:25px!important;padding-bottom:30px!important;margin-top:35px!important}
body>footer a,.ai-footer a{color:#ccb796!important}
body>main>h1:first-child{padding-top:38px}
body[data-cosmic-document]>main{max-width:920px!important}
body[data-cosmic-document] main>p,body[data-cosmic-document] main>ul,body[data-cosmic-document] main>ol,body[data-cosmic-document] main section>p{max-width:76ch}
body[data-cosmic-document] main pre{overflow-x:auto;padding:18px;font-size:12px}
body:not([data-page="home"]) h1{text-wrap:balance}
.p0-service-note{font-size:13px!important;padding:20px!important}
.ai-app dialog,dialog{background:#0b1927!important;color:#eee9dd!important;border:1px solid #887553!important;border-radius:12px!important;max-width:min(570px,calc(100% - 32px))!important;max-height:calc(100dvh - 40px)!important;padding:28px!important;box-shadow:0 30px 130px #000a}
dialog::backdrop{background:#010711c9!important;backdrop-filter:blur(8px)}
.ai-header-actions{flex-wrap:wrap}
.ai-app .ai-plans{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.ai-app .ai-more-plans[open]{min-width:0}
.ai-answer-container{min-width:0}
.ai-answer-content,.ai-answer-text{color:#dce4e9!important}
@media(min-width:1700px){body[data-page="home"] .hero.observatory{min-height:780px!important;padding-top:110px!important}}
@media(max-width:1000px){.cosmic-header{width:calc(100% - 56px);gap:20px;min-height:81px}.cosmic-nav{gap:19px}.cosmic-nav a{font-size:12px}.cosmic-controls{gap:10px}.cosmic-start{padding:8px 18px}.cosmic-brand{font-size:26px;gap:13px}body[data-page="home"] .hero.observatory{min-height:580px!important;padding-top:75px!important}.cosmic-feature-strip a{padding:20px 18px;font-size:12px}.cosmic-feature-strip a span{font-size:12px}}
@media(max-width:760px){
  html{scroll-padding-top:20px}.cosmic-header{width:calc(100% - 40px);gap:12px;min-height:76px;flex-wrap:wrap;padding:15px 0}.cosmic-brand{font-size:26px;gap:12px}.cosmic-mark{width:29px;gap:4px}.cosmic-mark i{width:3px;height:25px}.cosmic-mark i:nth-child(2),.cosmic-mark i:nth-child(3){height:31px}.cosmic-controls{margin-left:auto;gap:8px}.cosmic-lang{font-size:11px!important;max-width:86px;padding-left:0!important;padding-right:16px!important}.cosmic-start{display:none}.cosmic-menu{display:block}.cosmic-nav{display:none;width:100%;margin:8px 0 0;gap:0;border-top:1px solid #30414e;flex-wrap:wrap;padding-top:8px}.cosmic-nav.is-open{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.cosmic-nav a{font-size:13px;min-height:44px;white-space:normal}
  body[data-page="home"] .hero.observatory{padding:47px 24px 0!important;min-height:770px!important;overflow:hidden!important}
  body[data-page="home"] .observatory-copy{width:100%!important;max-width:540px!important}
  body[data-page="home"] .observatory-kicker{font-size:9px!important;letter-spacing:.21em!important;margin-bottom:20px!important}
  body[data-page="home"] .observatory h1{font-size:clamp(53px,10.8vw,76px)!important;line-height:.98!important;letter-spacing:-.045em!important;margin-bottom:20px!important}
  html:lang(ja) body[data-page="home"] .observatory h1{font-size:clamp(31px,8.6vw,49px)!important;line-height:1.25!important}
  body[data-page="home"] .observatory .lede-l{font-size:15px!important;line-height:1.75!important;max-width:390px!important}
  body[data-page="home"] .hero-actions{gap:22px!important;margin-top:25px!important;align-items:center}
  body[data-page="home"] .hero-actions a{flex:0 1 auto!important}
  body[data-page="home"] .hero-actions .primary{font-size:13px!important;padding:13px 18px!important;min-height:49px!important}
  body[data-page="home"] .hero-actions .ghost{font-size:12px!important}
  .cosmic-free-note{font-size:11px;margin-top:18px}
  body[data-page="home"] .hero.observatory::before{inset:0;background-size:auto 475px;background-position:62% 100%;background-repeat:no-repeat;transform:none;transition:none}
  body[data-page="home"] .hero.observatory::after{background:linear-gradient(#050c15 0%,#050c15 36%,#050c15e6 44%,#050c1520 65%,transparent 82%,#050c15 100%)}
  .cosmic-home-content{padding:0 20px 25px}.cosmic-feature-strip{grid-template-columns:1fr 1fr;min-height:112px;margin-top:-10px}.cosmic-feature-strip a{padding:16px 17px;font-size:12px}.cosmic-feature-strip a:nth-child(3),.cosmic-feature-strip a:nth-child(4){border-top:1px solid #30414e}.cosmic-feature-strip a:nth-child(3)::before{display:none}
  .cosmic-intro{padding:38px 0 31px}.cosmic-intro h2{font-size:32px!important;line-height:1.2!important;max-width:400px;margin-inline:auto!important}.cosmic-intro p{font-size:12px;max-width:310px;margin-inline:auto!important}
  .cosmic-next-grid{grid-template-columns:1fr;gap:28px;padding-top:28px}.cosmic-next-grid article{grid-template-columns:26px 1fr;gap:13px}.cosmic-next-grid h3{font-size:26px}.cosmic-next-grid p{font-size:13px}
  body>.wrap,body>main,body>footer,body .ai-width{width:calc(100% - 40px)!important;padding-inline:0!important}
  .flow-heading,.service-page,.ai-page{padding-top:30px!important;padding-bottom:22px!important}.flow-heading h1,.service-page h1{font-size:36px!important}
  .frame{padding:20px!important;border-radius:8px!important}.dsel{gap:7px!important}.frame select{padding-left:7px!important;padding-right:5px!important}
  body:not([data-page="home"]) h1{overflow-wrap:break-word}
  .ai-app .ai-plans{grid-template-columns:1fr!important}.ai-app .ai-plan{padding:23px!important}.ai-app .ai-consult-grid{grid-template-columns:1fr!important}.ai-title-row{flex-wrap:wrap!important;gap:16px!important}.ai-wallet-chip{white-space:normal!important;max-width:100%}
  .ai-app h1{font-size:36px!important}.ai-app h2{font-size:25px!important}.ai-app .ai-lede{font-size:15px!important}
  .ai-hero{display:block!important}.ai-hero-aside{margin-top:30px}.ai-flow{grid-template-columns:1fr!important;gap:24px!important}.ai-chart-panel{padding:20px!important}
  .ai-actions,.ai-reading-actions{flex-wrap:wrap}.ai-result-card{padding:20px!important}.ai-result-card .ai-result-primary{padding:12px 15px!important}
  table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%}td,th{overflow-wrap:normal}.pillars{table-layout:fixed!important;display:table!important;width:100%!important}.pillars td,.pillars th{padding:9px 3px!important}
  .ai-chart-pills{gap:4px!important}.ai-footer{padding-top:20px!important}.ai-footer>div{display:flex!important;flex-wrap:wrap;gap:10px 18px!important}
  .ai-app dialog,dialog{padding:23px!important}
}
@media(max-width:380px){.cosmic-brand{font-size:23px;gap:8px}.cosmic-controls{gap:4px}.cosmic-lang{max-width:71px;font-size:10px!important}.cosmic-header{gap:6px}.cosmic-menu{width:44px;height:44px}.cosmic-header{width:calc(100% - 32px)}body[data-page="home"] .hero.observatory{padding-left:20px!important;padding-right:20px!important;min-height:780px!important}body[data-page="home"] .observatory h1{font-size:45px!important}body[data-page="home"] .hero-actions{gap:14px!important}body[data-page="home"] .hero-actions .primary{font-size:12px!important;padding:12px 14px!important}body[data-page="home"] .hero-actions .ghost{font-size:11px!important}.cosmic-feature-strip a{font-size:11px;padding:15px 12px}.cosmic-intro h2{font-size:29px!important}.frame{padding:16px!important}body>.wrap,body>main,body>footer,body .ai-width{width:calc(100% - 32px)!important}.ai-result-card{padding:16px!important}.ai-app .ai-plan{padding:19px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
/* Keep the real checkout quote legible as a single line on narrow screens. */
#checkout-dialog h2{font-size:clamp(21px,4.5vw,28px)!important;line-height:1.45!important;padding-right:15px}
#checkout-pack{font-size:clamp(19px,4.5vw,29px)!important;line-height:1.5!important;white-space:nowrap;letter-spacing:-.025em}

/* Legacy SEO calculators and conversion panels share the same dark/gold palette. */
.fp-quick,.fp-conversion{background:#0b1927!important;color:#e9e9df!important;border-color:#3b5060!important;border-radius:8px!important}
.fp-quick button,.fp-conversion-actions .fp-conversion-primary{background:linear-gradient(120deg,#f9e4bd,#e8c184 65%,#f4d39c)!important;color:#101720!important;border:1px solid #f6daac!important;border-radius:5px!important;box-shadow:0 0 28px #e9b55f1a!important}
.fp-quick [aria-live]{color:#eebfa2!important}
.fp-conversion small{color:#acbac6!important}
body article .fp-conversion a:not(.fp-conversion-primary){color:#e9c992!important}
