html, body { margin: 0; height: 100%; background: #0C2427; }
#splash { position: fixed; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 18px; background: #0C2427; color: #F7F3EA; transition: opacity .35s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; padding: 24px; box-sizing: border-box; }
#splash.gone { opacity: 0; pointer-events: none; }
#splash .mark { border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
#splash .demo { max-width: 300px; margin: 6px 0 0; text-align: center; font-size: 16px; line-height: 1.5; color: rgba(247,243,234,.78); }
#splash .bar { width: 120px; height: 2px; background: rgba(247,243,234,.14); border-radius: 2px; overflow: hidden; margin-top: 8px; }
#splash .bar span { display: block; width: 40%; height: 100%; background: #C69A50; animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { #splash .bar span { animation: none; width: 100%; } }
@font-face { font-family: 'AG Display'; src: url('assets/assets/fonts/CormorantGaramond-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'AG Body'; src: url('assets/assets/fonts/Manrope-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'AG Body'; src: url('assets/assets/fonts/Manrope-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
/* The demo intro, laid out like the app's own intro screen. */
#splash.has-intro { justify-content: flex-start; align-items: stretch; padding: max(28px, env(safe-area-inset-top)) 28px max(28px, env(safe-area-inset-bottom)); }
#splash.has-intro .mark, #splash.has-intro .word { display: none; }
#splash.has-intro .bar { position: absolute; top: 0; left: 0; right: 0; width: auto; margin: 0; border-radius: 0; }
#splash .intro { display: flex; flex-direction: column; flex: 1; font-family: 'AG Body', -apple-system, system-ui, sans-serif; }
#splash .intro[hidden] { display: none; }
#splash .intro h1 { margin: auto 0 14px; font-family: 'AG Display', Georgia, serif; font-weight: 600; font-size: 34px; line-height: 1.1; color: #F7F3EA; }
#splash .intro .body { margin: 0; font-size: 15.5px; line-height: 1.5; color: rgba(247,243,234,.7); }
#splash .intro .start { margin-top: auto; height: 54px; border: 0; border-radius: 27px; font: 600 16px 'AG Body', system-ui, sans-serif; color: #10282B;
  background: linear-gradient(180deg, #E8CD92, #C69A50); box-shadow: 0 8px 24px rgba(198,154,80,.28); cursor: pointer; }
#splash .intro .start:disabled { opacity: .8; }
#splash .intro .privacy { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: rgba(247,243,234,.54); }
