/* escrownad — the private splash screen.
   Palette from tokens.css (Monad-adjacent: deep night + electric violet).
   Radius is var(--radius); no pills.

   Background — `cover.webp`: full-bleed, dark, Monad-network vibes
   (speed / violet / a flash of proof). var(--bg) beneath is the fallback.

   THE SPLASH IS ALWAYS DARK, deliberately. The text sits over a dark image,
   so it stays light under any system theme. This page is standalone: the
   html.light script lives in _base_core, which is not included here.
   => Do NOT add a theme switch and do not pull in _base_core. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font), system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg) url('/static/images/cover.webp') center/cover no-repeat;
  display: flex;
  flex-direction: column;
}
/* A dark gradient on the left keeps the text readable over a bright cover. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 9, 28, 0.88) 0%, rgba(14, 9, 28, 0.55) 42%, rgba(14, 9, 28, 0.15) 72%, transparent 100%),
    linear-gradient(180deg, rgba(14, 9, 28, 0.35) 0%, transparent 40%, rgba(14, 9, 28, 0.55) 100%);
  z-index: 0;
}
@media (max-width: 680px) {
  body { background-position: 65% center; }
  body::before {
    background:
      linear-gradient(180deg, rgba(14, 9, 28, 0.75) 0%, rgba(14, 9, 28, 0.55) 45%, rgba(14, 9, 28, 0.8) 100%);
  }
}
.wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(28px, 8vw, 140px);
  max-width: 760px;
}
.mark {
  display: flex; align-items: center; gap: 14px;
  font-weight: 600; font-size: 18px; letter-spacing: .28em; color: var(--fg);
}
.mark .seal {
  width: 36px; height: 36px; flex: none;
  border-radius: var(--radius);
  object-fit: cover;
}
.mark b { font-weight: 600; color: var(--accent); }
.lead {
  margin-top: 28px; font-weight: 200;
  font-size: clamp(26px, 4vw, 44px); line-height: 1.22;
  color: var(--fg); max-width: 14ch;
}
.sub { margin-top: 18px; font-weight: 300; font-size: 15px; color: var(--muted); letter-spacing: .02em; }
.enter { margin-top: 40px; }
.enter a, .enter button {
  display: inline-block; text-decoration: none; cursor: pointer;
  appearance: none; background: transparent; font-family: inherit;
  font-weight: 500; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); padding: 13px 36px;
  border: 1px solid var(--accent); border-radius: var(--radius);
  transition: background .2s, color .2s, box-shadow .2s;
}
.enter a:hover, .enter button:hover {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 0 28px rgba(110, 84, 255, 0.35);
}
.foot {
  position: relative;
  z-index: 1;
  padding: 22px clamp(28px, 8vw, 140px);
  font-weight: 300; font-size: 12px; color: var(--muted); letter-spacing: .14em;
}

/* Fintech app bar on splash (Connect wallet top-right) */
.landing-app .wrap { padding-top: 0; }
.landing-app .app-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(28px, 8vw, 140px);
}
.landing-app .app-bar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.28em;
}
.landing-app .app-bar__brand b { color: var(--accent); }
.landing-app .app-bar__brand img {
  width: 32px; height: 32px;
  border-radius: var(--radius);
  object-fit: cover;
}
.landing-app .app-bar__actions .ds-btn--primary {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--accent-fg);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 11px 22px;
  transition: box-shadow 0.2s, opacity 0.2s;
}
.landing-app .app-bar__actions .ds-btn--primary:hover {
  box-shadow: 0 0 28px rgba(110, 84, 255, 0.35);
}
