/* ===== Iso grid background (hero + CTA band) ===== */
.q-grid { position: absolute; inset: 0; pointer-events: none; }
.q-grid > svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
.q-grid__dots {
  color: var(--q-purple-700);
  /* Clear behind the copy, fade back in towards the sides, fade out to nothing at every edge. */
  -webkit-mask-image:
    radial-gradient(ellipse 42% 62% at 50% 48%, transparent 45%, #000 100%),
    linear-gradient(to right, transparent, #000 14%, #000 86%, transparent),
    linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse 42% 62% at 50% 48%, transparent 45%, #000 100%),
    linear-gradient(to right, transparent, #000 14%, #000 86%, transparent),
    linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-composite: intersect;
}
.q-cell-out { animation: q-cell-out 700ms ease-out forwards; }
@keyframes q-cell-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .q-cell-out, .q-snake { display: none; } }

/* ===== Hero ===== */
.q-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--q-line); background: var(--q-page); --q-accent-cover: var(--q-page); }
.q-hero__inner { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 700px; padding: 64px 24px; }
.q-hero__content { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.q-hero__title { font-family: var(--q-font-display); font-size: 40px; line-height: 1.3; font-weight: 300; color: var(--q-purple-700); }
.q-hero__text { font-family: var(--q-font-sans); font-size: 18px; line-height: 1.6; color: #000; }
.q-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
@media (min-width: 768px) {
    .q-hero__inner { padding: 64px 48px; }
    .q-hero__title { font-size: 56px; line-height: 1.2; }
}