/* ==========================================================
   Analytics Panel
   ========================================================== */
.analytics-wrap {
    font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

#multi-link-pages .content-space-2 {
    padding-bottom: 60px !important;
}

.analytics-hero {
    text-align: center;
    margin: 0;
    padding: clamp(16px, 2vw, 20px) 12px clamp(36px, 4vw, 44px);
}

.analytics-title {
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    font-size: clamp(28px, 4.4vw, 40px);
    color: #111827;
}

/* Swoosh positioning/sizing now comes from .swoosh-underline in style.css */
.analytics-title .accent {
    color: var(--swoosh-color);
}

.analytics-sub {
    margin: clamp(18px, 2vw, 24px) 0 0;
    font-size: clamp(14px, 2.2vw, 18px);
    color: #202124;
    font-weight: 600;
}

.analytics-sub small {
    display: block;
    color: #5b5b6b;
    font-weight: 600;
}

.analytics-panel {
    border-radius: 22px;
    background: linear-gradient(180deg, #8f94fb 0%, #7d65fd 100%);
    padding: clamp(16px, 3.6vw, 28px);
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(125, 101, 253, 0.35);
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 2.4vw, 24px);
    align-items: start;
}

.ana-card {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 18px;
    padding: clamp(12px, 2.2vw, 18px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.ana-illus {
    display: grid;
    place-items: start center;
    aspect-ratio: 6 / 5;
    overflow: hidden;
    background: #ffffff;
    border-radius: 14px;
    padding: 8px;
}

.ana-graph {
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    clip-path: inset(0 2px);
    border-radius: 10px;
    background: #ffffff;
}

/* Portrait screenshots fit the frame by height so nothing is cropped */
.ana-graph--portrait {
    width: auto;
    height: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.ana-list {
    margin: 12px 8px 0 8px;
    padding: 0 0 0 18px;
    color: #2e2363;
    font-weight: 700;
    font-size: clamp(14px, 2.2vw, 18px);
}

.ana-list li {
    margin: 8px 0;
}

.ana-list li::marker {
    color: #4b36d3;
}

.analytics-footer {
    text-align: center;
    margin-top: clamp(16px, 3vw, 26px);
    color: #eae9ff;
}

.analytics-footer p {
    margin: 6px auto;
    max-width: 70ch;
    font-size: clamp(13px, 2vw, 16px);
}

.analytics-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

.btn-ana {
    background: #fff;
    color: #6a4fe8;
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.btn-ana:hover {
    filter: brightness(0.98);
}

.wizard {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffd19a;
    font-weight: 700;
    font-size: 13px;
    margin-left: 14px;
}

.analytics-footer .wizard .button-subtext {
    color: #ffffff;
}

.wizard svg {
    width: 14px;
    height: 14px;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 640px) {
    #multi-link-pages .content-space-2 {
        padding-bottom: 40px !important;
    }

    .analytics-hero {
        padding-top: 16px;
        padding-bottom: 32px;
    }

    .analytics-sub {
        margin-top: 14px;
    }

    .analytics-grid {
        grid-template-columns: 1fr;
    }
}
