/* Explain: App-specific layout utilities (add as needed). */
.diagnostic-grid,
.aid-grid,
.tech-grid {
    background-image:
        linear-gradient(color-mix(in srgb, var(--primary-color) 8%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--primary-color) 8%, transparent) 1px, transparent 1px);
    background-size: 42px 42px;
    background-position: center;
}

.section-orbs,
.section-topography {
    position: relative;
    overflow: hidden;
}

.section-orbs::before,
.section-topography::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 8% 15%, color-mix(in srgb, var(--accent-color) 17%, transparent) 0 12rem, transparent 25rem),
        radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--primary-color) 14%, transparent) 0 14rem, transparent 28rem);
    opacity: 0.95;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 12%, color-mix(in srgb, var(--accent-color) 18%, transparent), transparent 26rem),
        linear-gradient(135deg, var(--ink-color), color-mix(in srgb, var(--primary-color) 62%, var(--ink-color)));
}

.content-band {
    position: relative;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--border-color) 88%, transparent);
    background: linear-gradient(135deg, var(--surface-color), color-mix(in srgb, var(--surface-alt) 72%, var(--surface-color)));
    box-shadow: var(--shadow-soft);
}

.content-band::after {
    content: "";
    position: absolute;
    right: -5rem;
    top: -5rem;
    width: 15rem;
    height: 15rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-color) 15%, transparent);
}

.image-stack {
    position: relative;
}

.image-stack::before {
    content: "";
    position: absolute;
    inset: 1rem -1rem -1rem 1rem;
    z-index: 0;
    border-radius: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.18;
}

.image-stack img,
.image-stack .image-stack-inner {
    position: relative;
    z-index: 1;
}

.timeline-track {
    position: relative;
}

.timeline-track::before {
    content: "";
    position: absolute;
    left: 1.5rem;
    top: 2rem;
    bottom: 2rem;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    opacity: 0.36;
}

.check-list li {
    display: flex;
    gap: 0.75rem;
}

.check-list i {
    margin-top: 0.25rem;
    color: var(--success-color);
}

@media (min-width: 768px) {
    .timeline-track::before {
        left: 50%;
        transform: translateX(-50%);
    }
}