/*
  Marketing LCP lives outside #root so React createRoot never remounts it.
  Classes mirror MarketingPage hero closely enough for first paint.
  Kept as a static file so CSP can drop style-src 'unsafe-inline' for <style> tags.
*/
#boot-marketing {
  min-height: 100svh;
  margin: 0;
  background: #143528;
  color: #f7f3ea;
  font-family: Georgia, 'Times New Roman', serif;
}
#boot-marketing[hidden] {
  display: none !important;
}
#boot-marketing .boot-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  place-items: end stretch;
  overflow: hidden;
  background: #143528;
}
#lcp-login-scene {
  position: absolute;
  inset: -6%;
  margin: 0;
  pointer-events: none;
}
#lcp-login-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
#lcp-login-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 53, 40, 0.25),
    rgba(10, 22, 16, 0.78)
  );
  pointer-events: none;
}
#boot-marketing .boot-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 50% at 50% 20%,
      rgba(244, 239, 228, 0.12),
      transparent 58%
    ),
    linear-gradient(180deg, transparent 35%, rgba(8, 18, 14, 0.88) 100%);
  pointer-events: none;
  z-index: 1;
}
#boot-marketing .boot-inner {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: min(100%, 40rem);
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 3.5rem) 1.35rem
    calc(clamp(2.75rem, 8vh, 4.5rem) + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
#boot-marketing .boot-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.35rem;
}
#boot-marketing .boot-mark {
  width: 3.55rem;
  height: auto;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  animation: boot-mark-in 700ms ease-out both;
}
#boot-marketing .boot-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
#boot-marketing .boot-kicker {
  margin: 0;
  font-family: system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, #f4efe4 55%, #b08a3c);
}
#boot-marketing .boot-name {
  margin: 0;
  font-size: clamp(2rem, 6vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #f7f3ea;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
#boot-marketing .boot-headline {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: color-mix(in srgb, #f4efe4 92%, #b08a3c);
}
#boot-marketing .boot-lede {
  margin: 0;
  max-width: 28rem;
  font-family: system-ui, sans-serif;
  font-size: 1.02rem;
  line-height: 1.5;
  color: color-mix(in srgb, #f4efe4 78%, #b8c4b4);
}
#boot-marketing .boot-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}
#boot-marketing .boot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.25rem;
  border-radius: 0.55rem;
  background: #f4efe4;
  color: #143528;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
}
#boot-marketing .boot-btn--ghost {
  background: transparent;
  color: #f4efe4;
  border-color: color-mix(in srgb, #f4efe4 45%, transparent);
}
#boot-marketing .boot-invite-hint {
  margin: 0.15rem 0 0;
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, #f4efe4 58%, #b8c4b4);
}
@keyframes boot-mark-in {
  from {
    transform: translateY(6px) scale(0.96);
  }
  to {
    transform: none;
  }
}
html:has(#boot-marketing:not([hidden])),
html:has(#boot-marketing:not([hidden])) body {
  background-color: #143528;
  background-image: none;
}
/* Auth cold-start: fullscreen scene parked on body until LoginScene adopts it. */
#lcp-login-scene.lcp-login-scene--page {
  position: fixed;
  inset: -6%;
  z-index: 0;
}
/* Author CSS must not defeat [hidden] after sign-in (fixed scene on body). */
#lcp-login-scene[hidden] {
  display: none !important;
}
