/* Visual refresh. The illustration remains the centre of the design. */
:root{--ink:#f7f1ff;--muted:#c0bed0;--subtle:#a09db4;--peach:#ffc9a6;--line:#d7c7ff25}
body{isolation:isolate;background:#070a1b;font-size:14px}
.world{inset:0;z-index:-1;overflow:hidden;background:#080d22;contain:strict}
.world:after{z-index:5;background:linear-gradient(90deg,#05091c78 0%,#080d2520 48%,transparent 80%),linear-gradient(0deg,#060a1c 0%,#060a1c66 19%,transparent 65%)}
.scene-layer{position:absolute;inset:-40px;will-change:transform;pointer-events:none}
.scene-layer img{display:block;width:100%;height:100%;object-fit:cover;object-position:68% 50%}
.scene-far{z-index:0}.scene-middle{z-index:1}.scene-near{z-index:3}
.scene-far,.scene-middle,.scene-near{opacity:0;transition:opacity 1.2s ease}
.world.scene-ready .scene-layer{opacity:1}
.world:not(.scene-ready){background:url('assets/scene-far.webp') 68% 50%/cover no-repeat}
.portal-glow{position:absolute;z-index:2;left:79%;top:29%;width:13vw;height:26vh;max-width:230px;background:radial-gradient(ellipse,#ffb96a31,transparent 70%);mix-blend-mode:screen;animation:portal-breathe 7s ease-in-out infinite alternate;pointer-events:none}
.forest-lights{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden}
.forest-light{position:absolute;left:var(--x);top:var(--y);width:3px;height:3px;border-radius:50%;background:#ffe5b5;box-shadow:0 0 7px 2px #ffc18d66;opacity:0;animation:firefly var(--duration,7s) var(--delay,0s) ease-in-out infinite}
.forest-light:nth-child(3n){width:2px;height:2px;background:#d4cbff;box-shadow:0 0 6px 2px #b6a1e644}
@keyframes firefly{0%,100%{opacity:0;transform:translate3d(0,8px,0) scale(.5)}35%{opacity:.7}65%{opacity:.25;transform:translate3d(9px,-12px,0) scale(1)}82%{opacity:0;transform:translate3d(13px,-19px,0) scale(.5)}}
@keyframes portal-breathe{from{opacity:.35;transform:scale(.94)}to{opacity:.8;transform:scale(1.05)}}
.wrap{width:min(1280px,calc(100% - 96px))}
.header{height:96px}.brand{gap:11px}.brand-moon{font-size:48px;text-shadow:none}.brand-text{font-size:35px;letter-spacing:-.7px}.brand-signature{font-size:7px;letter-spacing:2.5px;margin-top:8px}
.header nav{display:flex;align-items:center;gap:12px}.profile-button,.motion-toggle{width:39px;height:39px;background:#11132b77;border:1px solid #d5c9f22b;box-shadow:none}
.motion-toggle{display:grid;place-items:center;border-radius:50%;padding:0;color:#e3daf4}.motion-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}
.motion-toggle:hover,.profile-button:hover{background:#28233d;border-color:#ffd4af99}
body[data-view=home] #app{padding-bottom:8px}
.hero{max-width:725px;margin-top:58px;text-shadow:none}
.eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:1.8px;text-transform:uppercase;color:#d4cae5;margin-bottom:26px}
.eyebrow:before{content:'';height:5px;width:5px;flex-shrink:0;border-radius:50%;background:#ffcbab;box-shadow:0 0 12px #f7b68577}
.hero h1{font-family:var(--sans);font-weight:500;max-width:740px;font-size:clamp(42px,4.7vw,72px);line-height:1.08;letter-spacing:-2.7px;margin-bottom:25px}
.hero h1 .hero-emphasis{font-family:var(--serif);font-size:1.16em;font-style:italic;line-height:1;color:#ffddc3;font-weight:400;letter-spacing:-1.6px}
.hero-sub{font-size:14px;line-height:1.85;max-width:530px;color:#c9c4d9}
.entry-section{margin-top:48px;max-width:1000px}.entry-section h2{font-family:var(--sans);font-size:13px;font-weight:500;letter-spacing:.1px;margin-bottom:17px;text-shadow:none;color:#dfd7eb}
.entries{gap:14px;perspective:1200px}
.entry{min-height:180px;border-radius:17px;border:1px solid #e8d4ff30;background:linear-gradient(140deg,#17192fc7,#171329bd);box-shadow:0 8px 26px #03081722;transform:perspective(1000px) translate3d(0,var(--lift,0px),0) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:border-color .4s,box-shadow .45s,background .4s;backface-visibility:hidden}
.entry:hover{border-color:var(--tint);box-shadow:0 24px 40px #03081960,0 0 25px var(--glow);transform:perspective(1000px) translate3d(0,var(--lift,-8px),0) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg))}
.entry-art{height:180px;width:57%;position:absolute;right:-20px;top:0;opacity:.5;z-index:-1;transform:translate3d(var(--art-x,0px),var(--art-y,0px),0) scale(1.1);mask-image:linear-gradient(90deg,transparent,#000 45%);transition:opacity .5s}
.entry-art:after{background:linear-gradient(0deg,#101529bb,transparent 75%)}.entry:hover .entry-art{opacity:.9}
.entry-body{margin:0;padding:27px 24px;min-height:180px;display:flex;flex-direction:column;justify-content:center;max-width:89%}
.entry-title{font-family:var(--sans);font-size:21px;font-weight:500;line-height:1.2;letter-spacing:-.65px;padding-right:24px;margin-bottom:13px;color:#f7f1ff}
.entry-desc{font-size:10px;line-height:1.65;color:#cbc1da;padding-right:25px}
.entry-arrow{width:30px;height:30px;font-size:20px;right:17px;bottom:22px;border-color:#d6c6ee42;box-shadow:none;color:#eadcf4;transition:translate .35s,background .35s}
.entry:hover .entry-arrow{translate:3px -2px;background:#ffd4b314;border-color:var(--tint)}
.entry .surface-sheen{position:absolute;inset:0;z-index:4;pointer-events:none;border-radius:inherit;opacity:0;background:radial-gradient(ellipse at var(--light-x,50%) var(--light-y,50%),#ffedcd26,transparent 65%);transition:opacity .45s;mix-blend-mode:screen}
.entry.is-hovered .surface-sheen{opacity:1}
.entry:after{content:'';position:absolute;inset:-60% -30%;pointer-events:none;z-index:3;background:linear-gradient(115deg,transparent 40%,#fff5df12 49%,transparent 57%);transform:translateX(-110%) rotate(5deg);transition:transform .85s cubic-bezier(.18,.75,.22,1)}
.entry:hover:after{transform:translateX(110%) rotate(5deg)}
.entry.is-hovered{will-change:transform}
.free-note{font-size:10px;justify-content:flex-start;gap:10px;margin-top:19px;color:#bfb5d1}.free-note span{width:23px;background:#ffcba14d}.free-note span:last-child{display:none}
.demo-note{text-align:left;font-size:9px;opacity:.7;margin:12px 0 15px}.footer{border-color:#d8bfff17;font-size:10px;padding:20px 0 24px}.footer>span:first-child{font-family:var(--sans);font-size:10px}.footer-demo{font-size:8px}
.primary,.secondary{position:relative;overflow:hidden;isolation:isolate;border-radius:12px;transition:translate .3s,box-shadow .3s,background .3s}
.primary:before,.secondary:before{content:'';position:absolute;inset:0;pointer-events:none;z-index:2;background:linear-gradient(110deg,transparent 20%,#fff6 50%,transparent 80%);transform:translateX(-140%);transition:transform .65s cubic-bezier(.2,.7,.3,1)}
@media(hover:hover){.primary:hover:before,.secondary:hover:before{transform:translateX(140%)}.primary:hover,.secondary:hover{translate:0 -3px;box-shadow:0 12px 24px #0004}}
.primary:active,.secondary:active{translate:0 0}
.compact-content,.ritual-panel{border-color:#cdb5eb33;background:linear-gradient(135deg,#16172edb,#11152bde);box-shadow:0 30px 80px #04071930}
.compact-content h1,.ritual-copy h1,.ritual-copy .ritual-focus{font-family:var(--sans);font-size:30px;font-weight:500;letter-spacing:-1px;line-height:1.2}
.compact-fields>input,.compact-fields>textarea,.compact-row input,.compact-row select{border-color:#c6a9ec48;background:#1a1b3077}
.reading h1{font-family:var(--sans);font-weight:500;letter-spacing:-1.5px;font-size:46px;line-height:1.13}.reading{border-color:#d4bdf32b;background:#10142be8}.reading h2{font-family:var(--sans);font-size:28px;line-height:1.25;font-weight:500;letter-spacing:-.75px}
body[data-motion=off] .scene-layer{transform:none!important;will-change:auto}
body[data-motion=off] .forest-light,body[data-motion=off] .portal-glow,body[data-scene-paused=true] .forest-light,body[data-scene-paused=true] .portal-glow{animation-play-state:paused}
body[data-motion=off] .forest-light{opacity:0}
body[data-motion=off] .entry{transform:none!important;transition:border-color .2s,background .2s}
body[data-motion=off] .entry:after,body[data-motion=off] .primary:before,body[data-motion=off] .secondary:before{display:none}
@media(min-width:1500px){.hero{margin-top:80px}.entry-section{margin-top:65px}.entries{max-width:1060px}}
@media(max-width:900px){.wrap{width:calc(100% - 56px)}.hero{margin-top:45px;max-width:650px}.hero h1{font-size:55px}.entry-section{margin-top:38px}.entry-body{padding:24px 18px}.entry-title{font-size:18px}.entry-desc{font-size:10px}.entry-art{width:65%}.entry-arrow{right:13px}.portal-glow{left:77%}}
@media(max-width:600px){
 .wrap{width:calc(100% - 40px)}.header{height:77px}.brand-moon{font-size:39px}.brand-text{font-size:29px}.brand-signature{font-size:6px;letter-spacing:2px}.profile-button,.motion-toggle{width:34px;height:34px}.header nav{gap:8px}
 .world:after{background:linear-gradient(0deg,#070b1f 0%,#070b1fc4 35%,#070b1f55 72%,#070b1f22)}
 .scene-layer{inset:-23px}.scene-layer img{object-position:68% 50%}.scene-near{opacity:.7!important}
 .hero{margin-top:44px}.eyebrow{font-size:8px;letter-spacing:1.1px;line-height:1.7;margin-bottom:21px;max-width:270px}.hero h1{font-size:43px;letter-spacing:-1.75px;max-width:430px;line-height:1.08;margin-bottom:22px}.hero h1 .hero-emphasis{letter-spacing:-1.2px}.desktop-break{display:none}.hero-sub{font-size:12px;line-height:1.8;max-width:340px}
 .entry-section{margin-top:33px}.entry-section h2{font-size:12px;margin-bottom:15px}.entries{grid-template-columns:1fr;gap:10px}.entry{min-height:104px}.entry-body{min-height:104px;padding:19px 21px;max-width:86%}.entry-title{font-size:18px;margin-bottom:7px;letter-spacing:-.5px}.entry-title br{display:none}.entry-title br:after{content:' '}.entry-desc{font-size:10px;line-height:1.5;padding-right:25px}.entry-desc br{display:none}.entry-art{height:120px;width:40%;right:-5px;opacity:.5;top:-7px}.entry-arrow{bottom:36px;right:18px}.mobile-free{display:none}.free-note{display:flex;font-size:9px;margin-top:16px}.demo-note{font-size:8px;margin-bottom:24px}.footer{gap:14px;flex-wrap:wrap;padding-top:18px}.footer-demo{display:none}
 .forest-light:nth-child(n+9){display:none}.portal-glow{left:66%;top:27%;width:38vw;height:22vh}
 .reading h1{font-size:33px}.reading h2{font-size:25px}.compact-content h1,.ritual-copy h1,.ritual-copy .ritual-focus{font-size:26px}
}
@media(prefers-reduced-motion:reduce){.scene-layer{will-change:auto;transform:none!important}.forest-light,.portal-glow{animation:none!important}.forest-light{display:none}.entry,.entry:hover{transform:none!important}.entry:after,.primary:before,.secondary:before{display:none}.scene-layer{transition:none}}

@media(max-width:700px){.world:not(.scene-ready){background-image:url('assets/scene-far-small.webp')}}

.eyebrow{font-size:12px;letter-spacing:1.1px;padding:7px 13px;border:1px solid #ffc9a644;border-radius:99px;background:#1a192b99;width:fit-content;color:#ffe0c5}.entry-section{margin-bottom:48px}@media(max-width:600px){.eyebrow{font-size:10px;padding:7px 12px}.entry-section{margin-bottom:30px}}

.question-layout{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center;margin:55px 0 45px}
.question-layout .hero{margin:0}.question-layout .hero h1{font-size:clamp(38px,4.1vw,61px)}
.question-entry.compact-wizard{display:block;height:auto;width:100%;max-width:620px;padding:0;margin:0 auto}
.question-entry .compact-nav{margin-bottom:20px}.question-entry .compact-form{display:block}
.question-entry .compact-content{overflow:visible;padding:28px}
.question-entry h2{font-size:26px;font-weight:500;letter-spacing:-.7px;margin:0 0 18px}
.question-entry textarea,.question-entry select{width:100%;min-width:0;padding:13px;border:1px solid #c6a9ec48;border-radius:10px;background:#191c32e8;color:var(--ink);font:inherit;font-size:15px;line-height:1.5}
.question-entry textarea{resize:vertical;min-height:96px;max-height:180px}.question-entry textarea::placeholder{color:#b4acc5}
.question-entry select{font-size:13px}.question-entry option{background:#171a35}
.question-list-label{display:block;font-size:12px;color:var(--muted);margin:14px 0 8px}
.question-context{margin:18px 0 22px}.question-context summary{cursor:pointer;font-size:13px;color:var(--peach)}
.question-context summary span{color:var(--muted);font-size:11px;margin-left:6px}.question-context textarea{margin-top:13px}
.breath-ready{cursor:pointer;color:var(--ink);font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.breath-ready strong{font-size:25px;font-weight:500;z-index:1}.breath-ready .breath-label{font-size:16px;position:static}.breath-ready .breath-count{position:static;font-size:12px}.breath-ready:focus-visible{outline:2px solid var(--peach);outline-offset:8px}.generation-view{min-height:320px}.reading-loader{font-size:48px;color:var(--peach);animation:reading-pulse 2s ease-in-out infinite;text-align:center;padding:35px}@keyframes reading-pulse{50%{opacity:.3;transform:scale(.8)}}@media(prefers-reduced-motion:reduce){.reading-loader{animation:none}}
.question-entry .compact-next{width:100%;min-width:0}.question-entry .form-error:empty{display:none}
body[data-view=wizard]{height:auto;min-height:100dvh;overflow:auto}body[data-view=wizard] #app{height:auto;padding-bottom:24px}
@media(max-width:900px){.question-layout{gap:28px}.question-entry .compact-content{padding:22px}}
@media(max-width:700px){.question-layout{grid-template-columns:1fr;gap:24px;margin:22px 0 32px}.question-layout .hero h1{font-size:36px;max-width:520px;margin-bottom:12px}.question-layout .eyebrow{margin-bottom:16px}.question-layout .hero-sub{font-size:12px}.question-entry .compact-content{padding:20px}.question-entry h2{font-size:22px;margin-bottom:14px}.question-entry textarea{min-height:82px}.question-context{margin:15px 0 18px}}
