/* Self-hosted Inter (variable, roman). Replaces the prior fonts.googleapis.com
 * link — keeps the production app's "zero third-party origins" claim honest.
 * Inter v4.66, OFL 1.1 licensed (https://rsms.me/inter/inter.css). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/static/fonts/InterVariable.woff2') format('woff2-variations');
}

html, body, #root { height: 100%; margin: 0; padding: 0; }
/* 2026-05-23 (Sneha-locked durability fix): make #root a flex container
   so that React-Native-Web's root <View style={{flex:1}}> can actually
   distribute height. Without this, #root is display:block by default;
   the RN-Web root child has `flex: 1` which only works inside a flex
   parent → child collapses to h=0 → the whole RN flex chain (SafeAreaView,
   KeyboardAvoidingView, ScrollView) cascades to h=0 → screens render
   blank on web.
   This single rule fixes the root-cause for ALL 41 screens that use
   SafeAreaView+flex layout. The previous inline minHeight=winH patches
   on ConfirmEmailScreen / OnboardingProfileScreen / SetupRecoveryScreen /
   UnlockVaultScreen become redundant but stay as defensive belt+braces.
*/
#root { display: flex; flex-direction: column; }
body {
  background: #1a1a2e;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
#splash {
  position: fixed; inset: 0;
  background: #1a1a2e;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}
#splash.hidden { opacity: 0; pointer-events: none; }
.splash-mark {
  width: 72px; height: 72px;
  background: #C8A84B; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  animation: markPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes markPop {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.splash-k {
  font-size: 38px; font-weight: 900;
  color: #1a1a2e; letter-spacing: -2px; line-height: 1;
}
.splash-name {
  font-size: 22px; font-weight: 700; color: #ffffff;
  letter-spacing: -0.5px; margin-bottom: 8px;
  animation: fadeUp 0.4s 0.15s both;
}
.splash-tagline {
  font-size: 14px; color: rgba(255,255,255,0.4);
  animation: fadeUp 0.4s 0.25s both;
}
.splash-dots {
  display: flex; gap: 6px; margin-top: 40px;
  animation: fadeUp 0.4s 0.35s both;
}
.splash-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #C8A84B; opacity: 0.4;
  animation: dotPulse 1.2s ease-in-out infinite;
}
.splash-dot:nth-child(2) { animation-delay: 0.2s; }
.splash-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse { 0%,100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
