/* ===== Landing views (signed out) =====
   Global stylesheet: every selector is prefixed .pl-, under a single .pl root per landing component. */

.pl {
    --pl-accent: #1a385e;
    --pl-section-gap: 56px;
    color: var(--slate-800);
    font-family: var(--font-sans);
    padding-bottom: 48px;
}

/* ── Shared type ───────────────────────────────────────────── */

.pl-eyebrow {
    margin: 0 0 8px;
    color: var(--pl-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.pl-eyebrow--light {
    color: #9aa3b4;
}

.pl-section {
    padding: var(--pl-section-gap) 0;
    border-top: 1px solid var(--slate-200);
}

/* Tinted bands stay inside the container as rounded panels; a negative-margin bleed would overflow a narrow gutter. */
.pl-section--soft {
    margin-top: var(--pl-section-gap);
    padding: 44px 36px;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--slate-100);
}

.pl-section--soft + .pl-section {
    border-top: 0;
}

.pl-section__header {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
}

.pl-section__title {
    margin: 0;
    color: var(--slate-800);
    font-family: var(--font-heading);
    font-size: clamp(26px, 2.6vw, 30px);
    font-weight: 700;
    line-height: 1.2;
}

.pl-section__subtitle {
    max-width: 640px;
    margin: 12px auto 0;
    color: var(--slate-600);
    font-size: 15px;
    line-height: 1.65;
}

.pl-link-arrow {
    color: var(--pl-accent);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.pl-link-arrow::after {
    margin-left: 7px;
    content: "→";
}

.pl-link-arrow:hover {
    text-decoration: underline;
}

/* ── 1. Intro band ─────────────────────────────────────────── */

.pl-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 380px);
    gap: 48px;
    align-items: center;
    padding: 40px 0 56px;
}

.pl-intro__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(30px, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.pl-intro__lead {
    max-width: 560px;
    margin: 16px 0 0;
    color: var(--slate-600);
    font-size: 16px;
    line-height: 1.65;
}

.pl-intro__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 26px;
}

/* Sign-in card */

.pl-login {
    padding: 24px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--form-bg-color);
    box-shadow: var(--shadow-soft);
}

.pl-login__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
}

.pl-login__sub {
    margin: 4px 0 18px;
    color: var(--slate-600);
    font-size: 13.5px;
}

.pl-field {
    display: block;
    margin-bottom: 14px;
}

.pl-field__label {
    display: block;
    margin-bottom: 6px;
    color: var(--slate-600);
    font-size: 12.5px;
    font-weight: 600;
}

.pl-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--slate-600);
    font-size: 13px;
    cursor: pointer;
}

.pl-remember input {
    margin: 0;
}

.pl-login__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
    color: var(--slate-600);
    font-size: 13px;
}

.pl-login__links a {
    color: var(--pl-accent);
    font-weight: 600;
    text-decoration: none;
}

.pl-login__links a:hover {
    text-decoration: underline;
}

/* ── 2. Feature cards ──────────────────────────────────────── */

.pl-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pl-feature {
    padding: 20px 18px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--form-bg-color);
}

.pl-feature__icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: var(--radius-md);
    background: var(--badge-g3-bg);
    color: var(--pl-accent);
}

.pl-feature__icon svg {
    width: 20px;
    height: 20px;
}

.pl-feature h3 {
    margin: 0 0 6px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
}

.pl-feature p {
    margin: 0;
    color: var(--slate-600);
    font-size: 13.5px;
    line-height: 1.55;
}

/* ── 3. How it works ───────────────────────────────────────── */

.pl-how {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: center;
}

.pl-how .pl-section__title {
    margin-bottom: 24px;
}

.pl-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pl-steps li {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--slate-300);
}

.pl-steps li:first-child {
    border-top: 0;
    padding-top: 0;
}

.pl-steps__num {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--slate-800);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
}

.pl-steps h3 {
    margin: 4px 0 4px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
}

.pl-steps p {
    margin: 0;
    color: var(--slate-600);
    font-size: 13.5px;
    line-height: 1.55;
}

.pl-shot {
    margin: 0;
    padding: 10px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--form-bg-color);
    box-shadow: 0 12px 32px rgba(11, 11, 11, 0.08);
}

.pl-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* ── 4. Catalogue styles ───────────────────────────────────── */

.pl-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 26px;
}

.pl-chip {
    padding: 7px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--background-color-secondary);
    color: var(--slate-800);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease;
}

.pl-chip:hover {
    border-color: var(--slate-300);
}

.pl-chip--active {
    background: var(--slate-800);
    border-color: var(--slate-800);
    color: #fff;
}

.pl-preview {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.pl-preview__frame {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 24px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--slate-100);
}

.pl-preview__frame img {
    display: block;
    max-width: 100%;
    max-height: 520px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(11, 11, 11, 0.16);
}

.pl-preview__name {
    margin: 0 0 6px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
}

.pl-preview__desc {
    margin: 0 0 14px;
    color: var(--slate-600);
    font-size: 14.5px;
    line-height: 1.6;
}

.pl-preview__price {
    margin: 0 0 18px;
    color: var(--slate-600);
    font-size: 13.5px;
}

.pl-credits {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--badge-g2-bg);
    color: var(--badge-g2-fg);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.pl-credits--free {
    background: var(--badge-lr-bg);
    color: var(--badge-lr-fg);
}

/* ── 5. Reports & credits ──────────────────────────────────── */

.pl-reports {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: start;
}

.pl-reports__list {
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--form-bg-color);
    box-shadow: var(--shadow-soft);
}

.pl-report {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--slate-800);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s ease;
}

.pl-report:hover {
    background: var(--slate-100);
}

.pl-report--active {
    background: var(--badge-g3-bg);
    font-weight: 700;
}

.pl-reports__preview .pl-preview__name {
    margin-top: 16px;
    font-size: 18px;
}

.pl-preview__frame--tall {
    min-height: 360px;
}

/* ── 6. Closing CTA ────────────────────────────────────────── */

.pl-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 8px;
    padding: 36px 40px;
    border-radius: var(--radius-lg);
    background: var(--hero-gradient);
    color: #fff;
}

.pl-cta__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(24px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.2;
}

.pl-cta__sub {
    margin: 8px 0 0;
    color: #cfd4de;
    font-size: 15px;
}

.pl-cta__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pl-cta__secondary {
    color: var(--slate-200);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.pl-cta__secondary::after {
    margin-left: 7px;
    content: "→";
}

.pl-cta__secondary:hover {
    color: #fff;
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 991.98px) {
    .pl-intro {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 24px;
    }

    .pl-login {
        max-width: 480px;
    }

    .pl-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pl-how,
    .pl-preview,
    .pl-reports {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pl-how__copy {
        order: 1;
    }

    .pl-shot {
        order: 2;
    }
}

@media (max-width: 575.98px) {
    .pl {
        --pl-section-gap: 40px;
    }

    .pl-section--soft {
        padding: 32px 20px;
    }

    .pl-section__header {
        text-align: left;
        margin-inline: 0;
    }

    .pl-section__subtitle {
        margin-inline: 0;
    }

    .pl-features {
        grid-template-columns: 1fr;
    }

    .pl-chips {
        justify-content: flex-start;
    }

    .pl-preview__frame {
        min-height: 0;
        padding: 14px;
    }

    .pl-cta {
        padding: 28px 22px;
    }

    .pl-cta__actions,
    .pl-intro__actions {
        width: 100%;
    }

    .pl-cta__actions .btn,
    .pl-intro__actions .btn {
        flex: 1 1 auto;
    }
}

.pl-preview__variants {
    display: block;
    margin-top: 6px;
    color: var(--slate-500);
    font-size: 12.5px;
}

/* ── Report library (used where a section has more reports than
      previews): list on the left, a detail card on the right. ── */

.pl-report__meta {
    display: block;
    margin-top: 2px;
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 400;
}

.pl-report-card {
    padding: 24px 26px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--form-bg-color);
    box-shadow: var(--shadow-soft);
}

.pl-report-card .pl-preview__name {
    margin-top: 0;
}

.pl-report-card .pl-preview__frame {
    margin-top: 18px;
}

.pl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.pl-tags li {
    padding: 4px 10px;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: var(--background-color-secondary);
    color: var(--slate-600);
    font-size: 12px;
    font-weight: 600;
}

.pl-tags__label {
    margin: 18px 0 0;
    color: var(--slate-500);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Criteria tiles: the filters every report accepts ── */

.pl-criteria {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pl-criterion {
    padding: 16px 18px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--form-bg-color);
}

.pl-criterion h3 {
    margin: 0 0 4px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
}

.pl-criterion p {
    margin: 0;
    color: var(--slate-600);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .pl-criteria {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .pl-criteria {
        grid-template-columns: 1fr;
    }
}
