/* A clear invitation at the moment the visitor discovers something. */
:root body button[data-get-app]{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;max-width:100%;padding:13px 24px;border:1px solid #efd398;border-radius:12px;background:linear-gradient(120deg,#d2ab64,#f0d69d 48%,#d4ae69);color:#181e2a;font:600 16px/1.45 var(--sans);letter-spacing:.1px;text-align:center;text-decoration:none;box-shadow:inset 0 1px 0 #fff5,0 5px 0 #79603944,0 10px 28px #cfab5c28;transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;cursor:pointer}
:root body button[data-get-app]::after{content:'';position:absolute;inset:-70% -40%;pointer-events:none;z-index:-1;background:linear-gradient(105deg,transparent 40%,#fff6 49%,transparent 58%);transform:translateX(-130%);animation:journey-gleam 9s ease-in-out 1.2s 3}
:root body button[data-get-app]:hover{transform:translateY(-2px);filter:brightness(1.06);box-shadow:inset 0 1px 0 #fff7,0 5px 0 #79603944,0 14px 36px #cfab5c40}
:root body button[data-get-app]:active{transform:translateY(1px);box-shadow:inset 0 1px 0 #fff4,0 2px 0 #79603944,0 5px 14px #cfab5c20}
:root body button[data-get-app]:focus-visible{outline:3px solid var(--ivory);outline-offset:4px}
:root body button[data-get-app] span{font-size:inherit;line-height:inherit;font-weight:inherit}
:root .site-header button[data-get-app]{min-height:44px;padding:10px 19px;font-size:14px;white-space:nowrap;border-radius:10px;box-shadow:inset 0 1px 0 #fff5,0 5px 17px #cfab5c20}
:root .hero-actions button[data-get-app]{min-height:49px;padding:12px 23px;font-size:16px}
:root .footer-top button[data-get-app]{font-size:14px;min-height:44px;padding:9px 19px}
.journey-invitation{position:relative;margin:24px 0 12px;padding:22px;border:1px solid #d9b87947;border-radius:14px;background:radial-gradient(ellipse at 0 0,#d9b87914,transparent 75%),linear-gradient(130deg,#172235bb,#0d152399);box-shadow:0 12px 32px #0002}
.journey-invitation .eyebrow{font-size:10px;letter-spacing:1.6px}
.journey-invitation-copy{font-size:15px;line-height:1.75;color:#c0ccdc;margin-top:10px}
:root .journey-invitation button[data-get-app]{width:100%;margin:19px 0 0}
.story-scene,html:not([lang=en]) .story-scene{height:auto;min-height:610px}
.story-content{max-width:550px;padding-block:48px 50px}
:root .story-content button.story-entry{margin:24px 0 0;font-size:15px;width:100%;max-width:360px}
.story-content .story-tabs{margin-top:26px}
.story-content>p,html:not([lang=en]) .story-content>p{min-height:0}
.story-content .story-tabs button{min-height:64px;border-radius:0 0 8px 8px;padding:12px 7px 8px;transition:background .2s,color .2s}
.story-content .story-tabs button:hover{background:#d9b87910}
/* The finding and next step remain together instead of living in a distant footer. */
.sim-insight{position:relative;margin-top:20px;padding:23px 24px 24px;border:1px solid #d9b87955;border-radius:16px;background:radial-gradient(ellipse at 95% 0,#d9b87914,transparent 75%),linear-gradient(135deg,#172437,#101927);box-shadow:inset 0 1px 0 #fff04,0 12px 30px #0002}
.sim-insight .sim-insight-kicker{font-size:10px;line-height:1.5;letter-spacing:1.8px;color:#e0c28b;margin:0 0 10px}
.sim-insight h4.sim-insight-title{font:400 24px/1.4 var(--serif);color:#f2e7d4;margin:0 0 12px}
.sim-insight .sim-insight-body,.sim-insight .sim-insight-prompt,.sim-insight #sim-focus-text{font-size:15px;line-height:1.75;color:#c4cfde;margin:0}
.sim-insight .sim-insight-prompt{color:#e8d7b9;margin-top:10px}
.sim-conversion{margin-top:19px}
:root .sim-conversion button[data-get-app]{width:100%;padding:13px 16px;font-size:16px}
.sim-conversion-note{font-size:11px;color:#a4b4cb;line-height:1.6;margin:10px 0 0;text-align:center}
.sim-insight + .sim-small{margin-top:14px;line-height:1.7}
.sim-panel-footer{margin-top:23px;padding-block:14px 20px}
.sim-private{max-width:none}
.sim-focus{padding:0;margin:0;border:0}
/* Secondary controls stay quieter but clearly look interactive. */
:root :is(.sim-primary,.sim-text-button,.prompt-chips button,.map-reset,.footer-motion,.theme-toggle,.menu-toggle){border-radius:10px;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
:root :is(.sim-primary,.sim-text-button,.map-reset,.footer-motion){min-height:44px;padding:10px 15px;border:1px solid var(--line);text-decoration:none}
:root .sim-primary{box-shadow:0 5px 15px #0002}
:root :is(.sim-text-button,.map-reset,.footer-motion){background:#152035aa;color:var(--gold-soft)}
:root :is(.sim-text-button,.map-reset,.footer-motion,.theme-toggle,.menu-toggle):hover{background:#d9b8791c;border-color:var(--gold);box-shadow:0 4px 15px #0002}
:root .map-reset{min-height:36px;font-size:11px;padding:6px 11px}
:root .menu-toggle{border:1px solid var(--line);background:#111a2599}
:root .graha-button{box-shadow:0 3px 12px #00018}
:root .graha-button[aria-pressed=true]{box-shadow:0 0 0 1px #d9b87940,0 4px 16px #d9b8791c}
.province-button,.reading-tab{border-radius:9px}
.reading-tab[aria-selected=true]{box-shadow:inset 3px 0 var(--gold),inset 0 0 30px #d9b87909}
/* A custom inset chevron keeps language text away from the border. */
:root .header-inner .language-switch select{appearance:none;-webkit-appearance:none;width:112px;max-width:none;min-height:44px;padding:10px 34px 10px 14px;border-radius:10px;line-height:1.5;background-image:none;box-shadow:inset 0 1px 0 #fff05,0 5px 15px #00016}
.language-switch::after{content:'';position:absolute;pointer-events:none;right:15px;top:calc(50% - 4px);width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);color:var(--gold-soft)}
:root .sim-panel select{appearance:none;-webkit-appearance:none;padding-right:45px;border-radius:10px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23d9b879' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center;background-size:13px}
html[data-theme=light] .sim-panel select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23735128' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center;background-size:13px}
/* Warm bronze on ivory has the same hierarchy as champagne on midnight. */
html[data-theme=light] body button[data-get-app]{background:linear-gradient(115deg,#79501e,#976728 48%,#77501d);color:#fffdf6;border-color:#9f763c;box-shadow:inset 0 1px 0 #fff3,0 4px 0 #694a2729,0 10px 26px #79552126}
html[data-theme=light] body button[data-get-app]:hover{box-shadow:inset 0 1px 0 #fff5,0 5px 0 #694a2729,0 14px 30px #79552135}
html[data-theme=light] body button[data-get-app]::after{background:linear-gradient(105deg,transparent 40%,#fff3 49%,transparent 58%)}
html[data-theme=light] .journey-invitation{background:linear-gradient(130deg,#fffefa,#f0e5ce);border-color:#a8895659;box-shadow:0 10px 26px #81644312}
html[data-theme=light] .journey-invitation-copy{color:#4c5a67}
html[data-theme=light] .sim-insight{background:radial-gradient(ellipse at 95% 0,#d6b57633,transparent 70%),linear-gradient(135deg,#fffdf6,#f1e8d6);border-color:#a080475c;box-shadow:inset 0 1px 0 #fffc,0 12px 30px #77592d12}
html[data-theme=light] .sim-insight .sim-insight-kicker{color:#7d5724}
html[data-theme=light] .sim-insight h4.sim-insight-title{color:#303e4c}
html[data-theme=light] .sim-insight :is(.sim-insight-body,.sim-insight-prompt,#sim-focus-text){color:#435565}
html[data-theme=light] .sim-insight .sim-insight-prompt{color:#6d4e25}
html[data-theme=light] .sim-conversion-note{color:#5e6872}
html[data-theme=light] :is(.sim-text-button,.map-reset,.footer-motion,.menu-toggle){background:#fffdf9bf;color:#735128;border-color:#a68b605c}
html[data-theme=light] :is(.sim-text-button,.map-reset,.footer-motion,.menu-toggle):hover{background:#eaddc4}
html[data-theme=light] .story-tabs button:hover{background:#a6804020}
@keyframes journey-gleam{0%,72%{transform:translateX(-130%)}90%,100%{transform:translateX(130%)}}
body.motion-paused button[data-get-app]::after{animation:none}
body.motion-paused :is(button[data-get-app],.sim-insight){transition:none}
@media(max-width:1180px) and (min-width:1051px){:root .site-header button[data-get-app]{padding-inline:14px}:root .header-inner .language-switch select{width:104px}}
@media(max-width:1050px){.story-content{max-width:500px}.story-scene,html:not([lang=en]) .story-scene{min-height:670px}.sim-insight{padding:20px}}
@media(max-width:700px){
 :root .site-header button[data-get-app]{display:none}
 :root .header-inner .language-switch select{width:94px;max-width:94px;font-size:12px;padding:10px 27px 10px 11px}
 .language-switch::after{right:12px;width:6px;height:6px}
 .header-inner{gap:6px}
 :root .mobile-dock button[data-get-app]{min-height:54px;padding:6px 8px;font-size:11px;flex-direction:column;gap:4px;border-radius:11px;box-shadow:0 4px 13px #bd964a20}
 :root .mobile-dock button[data-get-app]:hover{transform:none}
 :root .hero-actions button[data-get-app]{font-size:15px;padding:12px 18px}
 :root .map-reset{min-height:44px}
 .story-scene,html:not([lang=en]) .story-scene{min-height:900px}
 .story-content{max-width:none;padding:30px 6% 260px}
 :root .story-content button.story-entry{font-size:15px;max-width:400px;margin-top:22px}
 .story-content .story-tabs{margin-top:27px}
 .journey-invitation{padding:19px;margin-top:20px}
 :root .journey-invitation button[data-get-app]{font-size:15px;padding:13px 14px}
 .sim-insight{margin-top:19px;padding:21px 19px}
 .sim-insight h4.sim-insight-title{font-size:23px}
 .sim-insight .sim-insight-body,.sim-insight .sim-insight-prompt,.sim-insight #sim-focus-text{font-size:15px}
 :root .sim-conversion button[data-get-app]{font-size:15px;padding:13px 12px}
 .sim-panel-footer{margin-top:18px}
}
@media(max-width:359px){:root .header-inner .language-switch select{width:87px;max-width:87px;font-size:12px;padding-left:9px;padding-right:25px}.header-inner{gap:3px}.header-inner .brand>span,html:not([lang=en]) .header-inner .brand>span{font-size:15px;letter-spacing:.6px}.header-inner .brand{gap:4px}.story-content{padding-inline:4%}.sim-insight{padding:19px 14px}}
@media(prefers-reduced-motion:reduce){:root body button[data-get-app]::after{animation:none}:root body button[data-get-app],.sim-insight{transition:none}:root body button[data-get-app]:hover{transform:none}}
@media(forced-colors:active){:root body button[data-get-app]{background:ButtonFace;color:ButtonText;border:2px solid ButtonText;box-shadow:none}:root body button[data-get-app]::after{display:none}.sim-insight,.journey-invitation{background:Canvas;border-color:CanvasText}.language-switch::after{color:ButtonText}}
