/* Static subset of the existing Inter at 850 avoids WebKit variable-weight fallback. */
@font-face {
  font-family: 'Wax Cache Brand';
  font-style: normal;
  font-weight: 850;
  font-display: swap;
  src: url('/fonts/wax-cache-brand-850.woff2') format('woff2');
}

/* Startup-only styling shared by the pre-Nuxt shell and hydrated overlay. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-var.woff2') format('woff2');
}

wax-cache-splash {
  --splash-background: #0b0d10;
  --splash-ink: #f2f4f8;
  --splash-muted: #a6aebb;
  display: grid;
  position: absolute;
  inset: 0;
  place-items: center;
  overflow: hidden;
  background: var(--splash-background);
  color: var(--splash-ink);
  font-family: 'Inter', sans-serif;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

html.light wax-cache-splash {
  --splash-background: #f7f8fa;
  --splash-ink: #111827;
  --splash-muted: #596476;
}

.wc-splash-composition {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  transform: translateY(-34px);
}

.wc-splash-mark {
  width: clamp(180px, 52vw, 232px);
  aspect-ratio: 80 / 104;
}

.wc-splash-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.wc-splash-wordmark {
  font-family: 'Wax Cache Brand', 'Inter', sans-serif;
  margin-top: 28px;
  font-size: clamp(30px, 8vw, 38px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.1;
  white-space: nowrap;
}
.wc-splash-wordmark span {
  color: #116bfc;
}

.wc-splash-status {
  position: absolute;
  inset: auto 24px calc(48px + env(safe-area-inset-bottom, 0px));
  margin: 0;
  color: var(--splash-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

@media (max-height: 500px) {
  .wc-splash-composition {
    transform: translateY(-20px);
  }
  .wc-splash-mark {
    width: 140px;
  }
  .wc-splash-wordmark {
    font-family: 'Wax Cache Brand', 'Inter', sans-serif;
    margin-top: 12px;
    font-size: 28px;
  }
  .wc-splash-status {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}
