/* Heading accent: a row of violet dots under the words, drawn in left to right when it scrolls into view.
   --q-accent-cover must match the background behind the heading. */
@property --q-accent-reveal { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
.q-accent {
    font-weight: 400;
    background-image:
    linear-gradient(var(--q-accent-cover, #fff), var(--q-accent-cover, #fff)),
    radial-gradient(circle, var(--q-violet) 0.032em, transparent 0.037em);
    background-size: calc(100% - var(--q-accent-reveal)) 0.12em, 0.15em 0.08em;
    background-repeat: no-repeat, repeat-x;
    background-position: 100% 100%, 0.02em 100%;
    padding-bottom: 0.1em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    transition: --q-accent-reveal 1100ms cubic-bezier(0.65, 0, 0.35, 1);
}
@media (prefers-reduced-motion: reduce) {
  .q-section *, .q-section *::before, .q-section *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== 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; } }

/* ===== CTA band ===== */
.q-cta { overflow: hidden; background: var(--q-page); --q-accent-cover: var(--q-page); }
.q-cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; max-width: var(--q-page-width); min-height: 360px; margin: 0 auto; padding: 64px 24px; text-align: center; }
.q-cta__title { font-family: var(--q-font-display); font-size: 40px; line-height: 1.3; font-weight: 300; color: #000; }
.q-cta__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: 48rem) {
    .q-cta__inner { padding: 64px 48px; }
    .q-cta__title { font-size: 48px; line-height: 1.3; }
}