/* Mobile-first product layer. Each destination is a focused app screen. */
:root{--app-violet:#b99bea;--app-ivory:#f4ebda;--app-gold:#edcb88;--app-edge:rgba(232,204,151,.22)}
html{scroll-padding-top:86px}
body{overflow-x:hidden;background:#090713!important}
.shell{max-width:1680px;min-height:100svh;padding-inline:clamp(18px,3.2vw,54px)}
.shell:before{background:radial-gradient(circle at 75% 14%,rgba(122,70,163,.13),transparent 28%),radial-gradient(circle at 6% 58%,rgba(42,79,118,.11),transparent 28%)}
.topbar{height:74px;gap:22px;padding-inline:6px}
.topbar .brand{min-width:225px;font-size:20px}
.topbar .brand-mark{width:42px;height:42px;border-radius:13px;transform:rotate(-8deg)}
.topbar .brand-mark>*{transform:rotate(8deg)}
.nav-links{height:100%;align-items:center;gap:5px;padding:5px;border:1px solid rgba(237,203,136,.12);border-radius:15px;background:rgba(13,9,29,.44)}
.nav-links a{height:100%;display:flex;align-items:center;padding:0 20px!important;border:0!important;border-radius:10px;color:#bfb4ca;font-size:11px}
.nav-links a:after{display:none}
.nav-links a.active,.nav-links a:hover{background:rgba(224,189,126,.12);color:#f4d493}
.privacy-settings{margin-left:auto}
.app-view:not([hidden]){animation:app-enter .28s ease-out both}
@keyframes app-enter{from{opacity:.7;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.hero{min-height:0;padding:27px 0 22px;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:clamp(18px,2.5vw,40px);align-items:stretch}
.hero:before{inset:0 -4% auto;height:95%;opacity:.53;background:linear-gradient(90deg,#090713 3%,rgba(9,7,19,.88) 38%,rgba(11,8,25,.57)),url('assets/rishivan-astrolabe-command-bg.png') center 42%/cover;mask-image:linear-gradient(#000 70%,transparent)}
.hero>.eyebrow{grid-column:1/-1;margin:6px 0 -6px;color:#cdb686;font-size:9px}
.home-conversation{max-width:none;min-width:0;align-self:stretch}
.home-conversation .greeting{margin:0 0 8px;font-size:10px;color:#d9ba81}
.home-conversation h1{max-width:none;font-size:clamp(39px,3.8vw,64px);line-height:1.04;letter-spacing:-.04em}
.home-conversation h1 em{color:#d9b8ff}
.home-conversation .hero-text{max-width:720px;margin:10px 0 17px;font-size:14px;line-height:1.55;color:#c6bbd0}
.conversation-frame{overflow:hidden;border:1px solid rgba(235,199,137,.3);border-radius:21px;background:linear-gradient(150deg,rgba(27,17,46,.96),rgba(11,9,27,.94));box-shadow:0 25px 75px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.05)}
.conversation-head{display:flex;align-items:center;gap:11px;padding:13px 17px;border-bottom:1px solid rgba(235,199,137,.14);background:linear-gradient(90deg,rgba(128,82,150,.13),transparent)}
.conversation-avatar{width:35px;height:35px;display:grid;place-items:center;border:1px solid rgba(238,205,144,.61);border-radius:11px;background:radial-gradient(circle at 33% 27%,#765a92,#231632 70%);font:italic 22px 'Playfair Display',serif;color:#f6dba4;box-shadow:0 0 22px rgba(166,104,221,.2)}
.conversation-head>div{display:grid;gap:3px}.conversation-head b{font:500 16px 'Playfair Display',serif;color:#f5e8d2}.conversation-head small,.conversation-presence{font:9px 'DM Mono',monospace;letter-spacing:1px;color:#a99db7}
.conversation-presence{margin-left:auto;color:#b7dbc8;white-space:nowrap}.conversation-presence i{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#9bd9b5;box-shadow:0 0 12px #9bd9b5}
.conversation-feed{height:clamp(180px,27vh,310px);overflow:auto;display:flex;flex-direction:column;gap:13px;padding:20px 21px;scrollbar-color:#715987 transparent}
.conversation-welcome{margin:auto 0;display:flex;align-items:center;gap:14px;color:#d7cbdc}.conversation-welcome span{color:#edcb88;font-size:27px;text-shadow:0 0 22px rgba(237,203,136,.55)}.conversation-welcome p{max-width:380px;margin:0;font:19px/1.45 'Playfair Display',serif}
.conversation-message{max-width:83%;padding:12px 15px;border-radius:14px;font-size:13px;line-height:1.58}.conversation-message span{display:block;margin-bottom:6px;color:#dbc28e;font:9px 'DM Mono',monospace;letter-spacing:1px}.conversation-message p{margin:0;overflow-wrap:anywhere}.conversation-message.from-rishivan{align-self:flex-start;border:1px solid rgba(234,205,155,.19);background:rgba(102,72,122,.15);color:#ede5ef}.conversation-message.from-you{align-self:flex-end;border:1px solid rgba(177,153,211,.23);background:rgba(106,77,156,.3);color:#f7effc}.conversation-message.from-you span{color:#c9b8e7}.conversation-message .text-button{color:#eaca85;font-size:11px}
.home-chatbox{max-width:none;margin:0 13px 12px;padding:6px 7px 6px 13px;border-radius:13px;background:rgba(6,5,17,.79);box-shadow:none}
.home-chatbox textarea{min-height:46px;height:46px;max-height:100px;font-size:14px}.home-chatbox .primary{min-height:43px;border-radius:9px}.home-mic{flex:0 0 39px;height:39px;border:1px solid rgba(233,203,149,.24);border-radius:9px;background:rgba(235,199,137,.06);color:#e5ca96}.home-mic:hover{background:rgba(235,199,137,.15)}
.conversation-frame .home-guide-answer{margin:0 14px 12px;max-width:none}.conversation-frame .voice-status{margin:0 15px 8px}.question-suggestions{margin-top:12px}.question-suggestions button{padding:7px 11px;color:#dbd0df}.home-status{margin-top:13px;font-size:9px}
.compass-card{align-self:stretch;padding:22px;border-radius:21px;min-height:0;display:flex;flex-direction:column;justify-content:space-between}
.jarvis-core .orbit{height:min(27vh,240px);min-height:145px}.jarvis-core .orbit:before{width:min(19vw,190px);height:min(19vw,190px)}.jarvis-core .orbit:after{width:min(12vw,120px);height:min(12vw,120px)}
.compass-title{font-size:clamp(21px,2vw,29px)}.compass-card .muted{font-size:12px}.jarvis-readouts{margin-top:16px}
.signal-deck{padding:18px 0 28px}.deck-heading{margin-bottom:14px}.deck-heading h2{font-size:clamp(25px,2.5vw,34px)}.signal-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.signal-card{min-height:150px;padding:18px}.signal-glyph{margin-bottom:9px}.signal-card b{font-size:20px}.signal-card small{margin-top:6px}.signal-strip{margin-top:12px}
.quick-grid{padding:0 0 40px}.quick-card{min-height:180px;padding:21px}.quick-card h2,.quick-card h3{font-size:21px}.quick-card p:not(.card-label){font-size:12px}.quick-card .primary{margin-top:6px}
.screen-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0 22px}.screen-intro .eyebrow{margin:0 0 5px}.screen-intro h1{margin:0;color:#f6ecd9;font:500 clamp(39px,3.4vw,55px)/1 'Playfair Display',serif;letter-spacing:-.04em}.screen-intro p:last-child{margin:8px 0 0;color:#bcb2c8;font-size:13px}.screen-emblem{width:58px;height:58px;display:grid;place-items:center;border:1px solid rgba(233,202,141,.35);border-radius:50%;color:#e8c98b;font-size:30px;box-shadow:0 0 30px rgba(190,145,222,.12)}
.council-section{padding-top:0;padding-bottom:45px;border-top:0}.council-section .council-layout{grid-template-columns:minmax(180px,.42fr) minmax(300px,.9fr) minmax(0,1.1fr);gap:14px}.council-section .council-panel{padding:20px;gap:12px;min-height:500px}.council-section .council-panel>label{font:10px 'DM Mono',monospace;letter-spacing:1.2px;color:#e4cb99}.council-section .council-panel>textarea{min-height:180px}.council-section .council-layout>.rishi-presence{top:91px}.council-section .answer-card{top:91px;min-height:500px}.council-section .rishi-grid>span{min-height:48px}.council-banner{margin-top:20px!important;min-height:225px!important}.council-banner h2{font-size:clamp(38px,4vw,58px)}
.explore-section,.timeline-section{border-top:0;padding-top:28px}.explore-section .section-heading h2,.timeline-section h2{font-size:clamp(36px,3vw,48px)}.chart-layout{gap:14px}.chart-card,.kundli-workspace,.chart-atlas,.kundli-profile-strip{border-radius:18px}.pathways{gap:9px}.pathway{min-height:70px}.workspace-card{min-height:100px}.timeline-section{min-height:calc(100svh - 120px)}.journey-tabs{gap:6px}.journey-tabs button{padding:10px 15px;font-size:11px}.timeline{border:0;background:transparent;gap:12px}.timeline>div{border-radius:14px!important;border:1px solid var(--app-edge);min-height:130px}
footer{padding:18px 0 28px}.rishivan-orb{right:25px;bottom:24px;width:63px;height:63px}.guide-panel{z-index:11}
@media(max-width:1180px){.council-section .council-layout{grid-template-columns:minmax(300px,.92fr) minmax(0,1.08fr)}.council-section .council-panel{grid-column:1}.council-section .answer-card{grid-column:2}.council-section .council-layout>.rishi-presence{grid-column:1/-1;grid-row:2;position:static}.council-section .council-layout>.rishi-presence .rishi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.signal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.shell{padding-inline:20px}.topbar{height:64px}.topbar .brand{min-width:0}.hero{grid-template-columns:1fr;gap:15px;padding-top:18px}.hero>.eyebrow{margin:0}.hero:before{background-position:58% center}.home-conversation h1{font-size:clamp(40px,7vw,56px)}.compass-card{max-width:none;display:grid;grid-template-columns:120px 1fr;gap:6px 18px;align-items:center}.compass-top,.jarvis-readouts{grid-column:1/-1}.jarvis-core .orbit{grid-row:2/4;min-height:110px;height:110px}.jarvis-core .orbit:before{width:105px;height:105px}.jarvis-core .orbit:after{width:67px;height:67px}.compass-title{grid-column:2;align-self:end}.compass-card .muted{grid-column:2;align-self:start}.signal-deck{padding-top:12px}.quick-grid{grid-template-columns:1fr 1fr;padding-bottom:90px}.quick-grid .feature-card{grid-column:1/-1}.council-section .council-layout{grid-template-columns:1fr}.council-section .council-panel{grid-column:1;grid-row:1;min-height:0}.council-section .answer-card{grid-column:1;grid-row:2;top:auto;min-height:380px}.council-section .council-layout>.rishi-presence{grid-column:1;grid-row:3}.mobile-nav{z-index:10}.rishivan-orb{bottom:87px}.guide-panel{bottom:152px;max-height:calc(100svh - 225px)}}
@media(max-width:560px){body{padding-bottom:74px}.shell{padding-inline:15px}.topbar{height:59px}.topbar .brand{font-size:17px}.topbar .brand-mark{width:35px;height:35px}.profile{width:32px;height:32px}.privacy-settings{margin-right:3px}.hero{padding:14px 0 12px}.hero>.eyebrow{font-size:8px}.home-conversation .greeting{font-size:9px}.home-conversation h1{font-size:40px}.home-conversation .hero-text{margin:8px 0 14px;font-size:12px}.conversation-head{padding:11px 12px}.conversation-presence{font-size:8px}.conversation-feed{height:clamp(180px,29svh,280px);padding:15px 12px}.conversation-welcome p{font-size:17px}.conversation-message{max-width:91%;font-size:12px}.home-chatbox{display:flex;align-items:center;margin:0 8px 8px;padding:5px}.home-chatbox textarea{min-height:42px;height:42px;padding:8px 4px;font-size:13px}.home-chatbox .primary{width:auto;min-width:63px;min-height:40px;margin:0;padding:8px}.home-mic{flex-basis:36px;height:36px}.question-suggestions{overflow-x:auto;flex-wrap:nowrap;white-space:nowrap;padding-bottom:3px}.home-status{margin-top:9px}.compass-card{display:grid;grid-template-columns:95px 1fr;padding:14px;gap:3px 11px}.jarvis-core .orbit{height:95px;min-height:95px}.jarvis-core .orbit:before{width:86px;height:86px}.jarvis-core .orbit:after{width:56px;height:56px}.jarvis-core .orbit-core{font-size:31px}.compass-title{font-size:19px}.compass-card .muted{font-size:11px}.jarvis-readouts{gap:5px;margin-top:6px}.jarvis-readouts span{font-size:8px}.deck-heading>span{display:none}.signal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.signal-card{min-height:130px;padding:13px}.signal-glyph{font-size:19px;margin-bottom:6px}.signal-card b{font-size:17px}.signal-card small{font-size:10px}.signal-card i{right:10px;bottom:8px}.signal-strip{display:none}.quick-grid{grid-template-columns:1fr;padding-bottom:76px}.quick-grid .feature-card{grid-column:1}.quick-card{min-height:0;padding:17px}.screen-intro{padding:15px 0}.screen-intro h1{font-size:38px}.screen-intro p:last-child{font-size:11px}.screen-emblem{width:43px;height:43px;font-size:22px}.council-section .council-panel{padding:17px}.council-section .council-panel>textarea{min-height:125px}.council-section .answer-card{min-height:310px}.council-section .council-layout>.rishi-presence .rishi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.council-banner{min-height:190px!important}.council-banner h2{font-size:36px}.explore-section,.timeline-section{padding-top:20px}.journey-tabs{display:grid;grid-template-columns:repeat(2,1fr)}.journey-tabs button{font-size:10px}.mobile-nav{padding:5px 5px max(5px,env(safe-area-inset-bottom))}.mobile-nav button{min-height:49px;font-size:10px}.mobile-nav button i{font-size:16px}.rishivan-orb{right:15px;bottom:78px;width:54px;height:54px}.rishivan-orb small{font-size:6px}.guide-panel{left:10px;right:10px;bottom:142px;width:auto;max-height:calc(100svh - 205px)}}
@media(max-width:380px){.conversation-presence{font-size:0}.conversation-presence i{width:7px;height:7px}.home-conversation h1{font-size:36px}.signal-card{min-height:126px}.signal-card b{font-size:15px}.signal-card small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.app-view:not([hidden]){animation:none}}
.brand-mark:before,.brand-mark:after{display:none}.brand-mark img{display:block;width:100%;height:100%;border-radius:12px;transform:rotate(8deg)}
.entry-core{overflow:hidden;padding:0;background:none!important;border:0!important}.entry-core img{display:block;width:100%;height:100%;object-fit:cover;border-radius:25%}
.entry-gate:after{background:url('assets/rishivan-sigil.svg') right 5% bottom 4%/240px no-repeat;opacity:.18}
.conversation-avatar img{width:100%;height:100%;border-radius:10px}
.screen-emblem img{width:54px;height:54px;filter:drop-shadow(0 0 13px rgba(232,201,139,.2))}
.rishivan-orb{overflow:visible;background:rgba(23,12,41,.96);display:flex;flex-direction:column;justify-content:center;gap:2px}.rishivan-orb img{width:36px;height:36px;border-radius:9px}.rishivan-orb small{font-size:5px;white-space:nowrap;letter-spacing:.04em}
/* Reference-led art direction: midnight sky, illuminated brass, architectural depth. */
body{background:#070d17!important;color:#f6ebd5}
body:before{background:radial-gradient(circle at 66% 8%,rgba(29,59,91,.18),transparent 32%),linear-gradient(90deg,rgba(3,9,18,.88),rgba(7,12,24,.74))!important}
.entry-gate{background:linear-gradient(90deg,rgba(4,9,18,.91) 0%,rgba(5,10,20,.66) 45%,rgba(5,10,20,.25) 100%),url('assets/rishivan-sanctuary-brand.png') center 43%/cover no-repeat}
.entry-gate:before{border-color:rgba(237,201,135,.27)}
.entry-intro h1 em,.home-conversation h1 em{color:#f6d69c;text-shadow:0 0 36px rgba(240,193,110,.22)}
.phone-form,.chart-creating{background:linear-gradient(145deg,rgba(6,13,24,.91),rgba(9,13,25,.81));border-color:rgba(235,201,140,.45)}
.topbar{background:rgba(5,12,23,.91);border-bottom-color:rgba(235,201,140,.25)}
.nav-links{background:rgba(4,10,20,.55)}.nav-links a.active,.nav-links a:hover{background:rgba(209,167,92,.13)}
.hero:before{opacity:.72;background:linear-gradient(90deg,rgba(5,10,21,.99) 0%,rgba(5,10,21,.94) 36%,rgba(5,10,21,.56) 100%),url('assets/rishivan-council-brand.png') center 38%/cover}
.conversation-frame{background:linear-gradient(145deg,rgba(7,16,30,.97),rgba(5,11,22,.95));border-color:rgba(235,199,137,.37)}
.conversation-head{background:linear-gradient(90deg,rgba(135,97,43,.15),transparent)}
.conversation-message.from-rishivan{background:rgba(40,57,78,.36)}.conversation-message.from-you{background:rgba(97,75,55,.36)}
.home-chatbox{background:rgba(3,9,18,.8)}.question-suggestions button{background:rgba(7,17,32,.78)}
.compass-card,.quick-card,.council-panel,.chart-card{background:linear-gradient(145deg,rgba(15,27,43,.94),rgba(6,13,26,.91))!important}
.signal-card,.workspace-card,.pathway,.kundli-house-card,.timing-cards>div,.timeline>div{background:linear-gradient(145deg,rgba(15,29,47,.88),rgba(7,14,27,.9))}
.signal-primary{background:linear-gradient(145deg,rgba(67,50,46,.92),rgba(13,26,42,.94))}
.council-section{position:relative;isolation:isolate}.council-section:before{content:'';position:absolute;z-index:-1;inset:0 -4% auto;height:690px;background:linear-gradient(90deg,rgba(5,11,22,.86),rgba(5,11,22,.63)),url('assets/rishivan-council-brand.png') center top/cover;mask-image:linear-gradient(#000 72%,transparent)}
.council-section .council-layout>.rishi-presence{background:rgba(7,17,31,.89)}.rishi-grid>span{background:linear-gradient(120deg,rgba(28,45,67,.68),rgba(10,19,36,.75))}
.council-banner{background:linear-gradient(90deg,rgba(4,11,22,.91),rgba(4,11,22,.69) 54%,rgba(4,11,22,.26)),url('assets/rishivan-council-brand.png') center 45%/cover}
.explore-section,.timeline-section{position:relative}.explore-section:before,.timeline-section:before{content:'';position:absolute;z-index:-1;inset:0 -4% auto;height:360px;background:linear-gradient(180deg,rgba(5,12,23,.79),rgba(5,12,23,.98)),url('assets/rishivan-council-brand.png') center/cover;mask-image:linear-gradient(#000,transparent)}
.kundli-profile-strip,.kundli-workspace,.chart-atlas,.palm-section{background:linear-gradient(145deg,rgba(14,27,44,.94),rgba(6,13,26,.94))}
.mobile-nav{background:rgba(4,11,22,.96)}
.profile-sheet{position:fixed;z-index:12;top:78px;right:clamp(18px,3.2vw,54px);width:min(340px,calc(100vw - 30px));padding:21px;border:1px solid rgba(237,202,137,.4);border-radius:18px;background:linear-gradient(145deg,rgba(15,28,44,.98),rgba(6,13,25,.98));box-shadow:0 26px 70px rgba(0,0,0,.5);backdrop-filter:blur(20px)}
.profile-sheet-head{display:flex;justify-content:space-between;align-items:center}.profile-sheet-head .card-label{margin:0}.profile-sheet-head button{border:0;background:none;color:#e6d5b7;font-size:24px}.profile-sheet h2{margin:19px 0 5px;font:500 29px 'Playfair Display',serif}.profile-sheet p{margin:0;color:#bdb4c5;font-size:12px;line-height:1.5}.profile-sheet-actions{display:grid;gap:7px;margin-top:19px}.profile-sheet-actions .outline{width:100%;text-align:center}.profile-sheet-actions .text-button{padding:9px 0;color:#e9cc92}
@media(max-width:800px){.entry-gate{background:linear-gradient(90deg,rgba(4,9,18,.87),rgba(4,9,18,.58)),url('assets/rishivan-sanctuary-brand.png') center 44%/cover}.profile-sheet{top:67px;right:15px}}
@media(max-width:560px){.entry-gate{background:linear-gradient(180deg,rgba(4,9,18,.38),rgba(4,9,18,.62) 42%,rgba(4,9,18,.96) 100%),url('assets/rishivan-sanctuary-brand.png') center 38%/cover}.hero:before{background:linear-gradient(90deg,rgba(5,10,21,.95),rgba(5,10,21,.77)),url('assets/rishivan-council-brand.png') 72% center/cover}.profile-sheet{top:62px}}
