/* lead.css — page shell for the standalone lead form. Reuses the app's brand
   components.css (cards, fields, dropdown, consent, modals, coins); this file
   only adds the responsive web page layout (no app phone-stage). */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ash);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.lead-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Floating paw coins fixed across the whole viewport, behind the content. */
.coin-float-layer { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.coin-float { animation-name: lead-coin-rise; }
@keyframes lead-coin-rise {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); }
  100% { transform: translateY(-114vh) translateX(var(--drift, 0px)) rotate(calc(var(--spin, 1) * 360deg)); }
}

/* Top bar: logo + language toggle */
.lead-nav {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 40px); /* full-width: logo pinned left, language pinned right */
}
.lead-nav .logo { width: 66px; height: 30px; }

/* Centered card area */
.lead-main {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6px 16px 48px;
}
@media (min-width: 600px) and (min-height: 760px) {
  .lead-main { align-items: center; }
}

.lead-wrap {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.lead-wrap .peek-mascot { width: 84px; }
.lead-card { width: 100%; gap: 11px; }

.lead-h1 {
  font-family: var(--font-display);
  font-size: clamp(21px, 5.4vw, 27px);
  color: var(--ink);
  text-align: center;
  line-height: 1.12;
  margin: 2px 0 2px;
}
.lead-h1 .o { color: var(--orange); }
.lead-sub {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: #5a5a5a;
  text-align: center;
  margin: 0 0 4px;
  line-height: 1.4;
}
.lead-error { color: #e5484d; font-family: var(--font-body); font-weight: 700; font-size: 13px; text-align: center; min-height: 1em; margin: -2px 0; }

/* Thank-you modal mascot */
.thanks-mascot { width: 96px; height: auto; display: block; margin: 0 auto 4px; }

footer.lead-foot {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 11px;
  color: #9a9a9a;
  padding: 0 16px 18px;
}
