body[data-project="projectlab"] {
    --accent: #dc2626;
    --accent-strong: #b91c1c;
}

html.dark body[data-project="projectlab"] {
    --accent: #ef4444;
    --accent-strong: #f87171;
}

.pl-hero__glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%);
}

.pl-hero__inner {
    position: relative;
    z-index: 1;
}

.pl-hero__accent {
    color: var(--accent);
}

/* Slogan under the project name, sized like the Zeti tagline. */
.pl-tagline {
    margin-top: var(--space-3);
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    line-height: var(--lh-tight);
    color: var(--text-strong);
}

.pl-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding: 0.28rem 0.9rem 0.28rem 0.28rem;
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    background: var(--surface);
    box-shadow: var(--elev-1);
}

.pl-badge__tag {
    padding: 0.15rem 0.55rem;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, var(--accent-strong), var(--accent));
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.pl-badge__text {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
}

.pl-ic--blue .feature-icon { background: color-mix(in srgb, #3b82f6 14%, transparent); color: #3b82f6; }
.pl-ic--red .feature-icon { background: color-mix(in srgb, #dc2626 14%, transparent); color: #dc2626; }
.pl-ic--purple .feature-icon { background: color-mix(in srgb, #8b5cf6 14%, transparent); color: #8b5cf6; }
.pl-ic--green .feature-icon { background: color-mix(in srgb, #16a34a 15%, transparent); color: #16a34a; }
html.dark .pl-ic--blue .feature-icon { color: #60a5fa; }
html.dark .pl-ic--red .feature-icon { color: #f87171; }
html.dark .pl-ic--purple .feature-icon { color: #a78bfa; }
html.dark .pl-ic--green .feature-icon { color: #4ade80; }

.pl-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
}

@media (min-width: 40rem) {
    .pl-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 64rem) {
    .pl-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pl-feature h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-strong);
}

.pl-feature p {
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    line-height: var(--lh-relaxed);
    color: var(--text-muted);
}

.pl-testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
}

@media (min-width: 48rem) {
    .pl-testimonials {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pl-testimonial__quote {
    font-size: var(--text-md);
    line-height: var(--lh-relaxed);
    color: var(--text);
    font-style: italic;
}

.pl-testimonial__author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.pl-avatar {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--r-pill);
    background: var(--accent);
    color: var(--on-accent);
    font-size: var(--text-xs);
    font-weight: 700;
    flex-shrink: 0;
}

.pl-avatar--red { background: #dc2626; }
.pl-avatar--blue { background: #2563eb; }
.pl-avatar--purple { background: #8b5cf6; }

.pl-testimonial__name {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-strong);
}

.pl-testimonial__name span {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
}

.pl-privacy {
    margin-inline: auto;
    max-width: var(--w-prose);
    text-align: center;
}

.pl-privacy h2 {
    margin-top: 0;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--text-faint);
}

.pl-privacy .prose p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* Pull the trial card up closer to the features grid above it. */
.pl-trial-section {
    padding-top: 0;
}

/* Mini LAB app icon (logo) shown to the left of the copy. */
.pl-trial__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: var(--r-md);
    box-shadow: var(--elev-1);
    flex-shrink: 0;
}

/* "Try Mini LAB free" card: icon + copy on the left, App Store button on the
   right (stacks on small screens). */
.pl-trial {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
}

@media (min-width: 40rem) {
    .pl-trial {
        flex-direction: row;
        align-items: center;
        gap: var(--space-6);
    }

    .pl-trial__copy {
        flex: 1;
    }
}

.pl-trial__title {
    font-size: var(--text-xl);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    color: var(--text-strong);
}

.pl-trial__text {
    margin-top: var(--space-2);
    font-size: var(--text-md);
    line-height: var(--lh-relaxed);
    color: var(--text-muted);
}

.pl-trial__text strong {
    color: var(--text-strong);
    font-weight: 700;
}

/* Download button with the privacy link stacked beneath it. */
.pl-trial__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

.pl-trial__privacy {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--dur-1) ease;
}

.pl-trial__privacy:hover {
    color: var(--accent);
}
