/* Critical above-the-fold styles — visible before React (homepage LCP/FCP). */
:root {
  --landing-card-bg: rgba(255, 255, 255, 0.76);
  --landing-card-border: rgba(0, 0, 0, 0.08);
  --landing-heading: #1f2538;
  --landing-body: #2d3550;
  --landing-cta-bg: #6225e6;
}

html[data-site-theme='dark'] {
  --landing-card-bg: rgba(22, 24, 32, 0.82);
  --landing-card-border: rgba(255, 255, 255, 0.08);
  --landing-heading: #eef0f8;
  --landing-body: #c8cede;
  --landing-cta-bg: #7c3aed;
}

html[data-app-ready] #home-hero-shell {
  display: none !important;
}

#home-hero-shell {
  box-sizing: border-box;
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px 0;
  font-family: Onest, system-ui, -apple-system, sans-serif;
  color: var(--landing-body);
}

#home-hero-shell .hero-shell-card {
  border-radius: 24px;
  padding: 20px;
  background:
    radial-gradient(circle at 8% 0%, rgba(98, 37, 230, 0.08), transparent 52%),
    var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  box-shadow: 0 10px 28px rgba(98, 37, 230, 0.1);
}

#home-hero-shell h1 {
  margin: 0;
  font-size: clamp(1.72rem, 3.5vw, 2.9rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.06;
  color: var(--landing-heading);
}

#home-hero-shell .hero-shell-headline {
  display: block;
}

#home-hero-shell .hero-shell-platforms {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.08rem, 2.05vw, 1.72rem);
  font-weight: 560;
  line-height: 1.28;
  color: color-mix(in srgb, var(--landing-heading) 68%, var(--landing-body));
}

#home-hero-shell .hero-shell-lead {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--landing-heading) 11%, transparent);
  font-size: clamp(1rem, 1.22vw, 1.14rem);
  font-weight: 420;
  line-height: 1.68;
  color: color-mix(in srgb, var(--landing-body) 86%, var(--landing-heading));
}

#home-hero-shell .hero-shell-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

#home-hero-shell .hero-shell-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--landing-cta-bg);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(98, 37, 230, 0.28);
}

#home-hero-shell .hero-shell-meme {
  display: block;
  flex: 0 0 auto;
  width: min(100%, 248px);
  max-width: 248px;
  aspect-ratio: 452 / 900;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
}

#home-hero-shell .hero-shell-meme img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  #home-hero-shell .hero-shell-meme {
    width: min(100vw - 72px, 320px);
    max-width: 320px;
  }
}
