/*
 * Shared first-paint contract for the public SEO documents.
 *
 * These documents are intentionally small: they keep the indexable heading,
 * summary and links visible while the route's React chunk is downloaded. The
 * values mirror the public dark shell and typography used by the hydrated
 * pages, so a hard refresh does not briefly expose the old generic giant-H1
 * layout. Route-specific critical sheets (for example events-prerender.css)
 * are loaded after this sheet when a route needs a tighter layout.
 */
.seo-prerender-public {
  box-sizing: border-box;
  min-height: 100vh;
  margin: 0;
  padding: 148px 24px 80px;
  background: radial-gradient(circle at 50% 0, rgba(124, 58, 237, 0.16), transparent 34%), #0b0712;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.seo-prerender-public *,
.seo-prerender-public *::before,
.seo-prerender-public *::after {
  box-sizing: border-box;
}

.seo-prerender-public > div {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.seo-prerender-public h1 {
  max-width: 980px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: clamp(36px, 3.8vw, 54px);
  font-weight: 540;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.seo-prerender-public p {
  max-width: 640px;
  margin: 0 auto;
  color: #c9bde2;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.65;
}

.seo-prerender-public nav {
  max-width: 760px;
  margin: 32px auto 0;
}

.seo-prerender-public nav ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-prerender-public nav a {
  display: block;
  padding: 12px 16px;
  border: 1px solid rgba(216, 180, 254, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: #c9bde2;
  text-decoration: none;
  line-height: 1.5;
}

.seo-prerender-public article {
  max-width: 920px;
  margin: 36px auto 0;
  padding: 24px;
  border: 1px solid rgba(216, 180, 254, 0.14);
  border-radius: 18px;
  background: rgba(21, 16, 35, 0.58);
  color: #e8e0f4;
  line-height: 1.7;
}

.seo-prerender-public img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 24px;
  border-radius: 14px;
}

@media (max-width: 640px) {
  .seo-prerender-public {
    padding: 118px 18px 44px;
  }

  .seo-prerender-public h1 {
    max-width: 390px;
    font-size: clamp(32px, 8.85vw, 42px);
    line-height: 1.08;
  }

  .seo-prerender-public p {
    max-width: 340px;
    font-size: 15px;
    line-height: 1.62;
  }

  .seo-prerender-public article {
    padding: 20px;
  }
}
