/**
 * LegalFlow AI — Commercial hero (TASK-CURSOR-001.1)
 * Overrides app.css hero copy layout for SaaS positioning.
 */

.landing-hero--commercial {
    padding-block: clamp(1.25rem, 3vw, 2rem) clamp(2.75rem, 6vw, 4.75rem);
}

.landing-hero--commercial .hero-content-block {
    gap: clamp(1.15rem, 2.4vw, 1.65rem);
}

.landing-hero--commercial .hero-section-kicker {
    font-size: var(--lf-text-xs);
    font-weight: 600;
    letter-spacing: var(--lf-tracking-wider);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.landing-hero--commercial .hero-main-title {
    max-width: min(100%, 22rem);
    font-size: clamp(1.85rem, 5.8vw, 3.35rem);
    line-height: 1.04;
    letter-spacing: -0.032em;
    text-wrap: balance;
}

.landing-hero--commercial .hero-subheadline {
    max-width: 36rem;
    font-size: clamp(1rem, 2.1vw, 1.125rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
}

.landing-hero--commercial .hero-cta-group {
    margin-top: 0.35rem;
    gap: 0.75rem;
}

.landing-hero--commercial .hero-cta-primary {
    min-height: 3.25rem;
    padding-inline: 1.35rem;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.landing-hero--commercial .hero-cta-primary:hover,
.landing-hero--commercial .hero-cta-primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
}

.landing-hero--commercial .hero-cta-secondary {
    min-height: 3rem;
    border-color: rgba(255, 255, 255, 0.42);
    color: rgba(255, 255, 255, 0.95);
}

.landing-hero--commercial .hero-cta-secondary:hover,
.landing-hero--commercial .hero-cta-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.hero-trust-list {
    list-style: none;
    margin: 0.65rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    max-width: 30rem;
}

.hero-trust-list li {
    position: relative;
    padding-left: 1.55rem;
    font-size: var(--lf-text-sm);
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.84);
}

.hero-trust-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.05em;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

@media (min-width: 768px) {
    .landing-hero--commercial .hero-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.85rem 1rem;
        margin-top: 0.5rem;
    }

    .landing-hero--commercial .hero-cta-group .btn {
        width: auto;
        flex: 0 1 auto;
    }

    .landing-hero--commercial .hero-cta-primary {
        padding-inline: 1.65rem;
    }

    .hero-trust-list {
        margin-top: 0.85rem;
        gap: 0.65rem;
    }
}

@media (min-width: 992px) {
    .landing-hero--commercial .hero-main-title {
        max-width: 13.5em;
        font-size: clamp(2.2rem, 3.6vw, 3.15rem);
    }

    .landing-hero--commercial .hero-section-grid {
        gap: 3.25rem;
    }

    .landing-hero--commercial .hero-content-block {
        gap: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .landing-hero--commercial {
        padding-block: 1rem 2.5rem;
    }

    .landing-hero--commercial .hero-content-block {
        max-width: min(100%, 22rem);
    }

    .landing-hero--commercial .hero-main-title {
        max-width: none;
        font-size: clamp(1.7rem, 7.2vw, 2.15rem);
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .landing-hero--commercial .hero-subheadline {
        font-size: var(--lf-text-base);
        max-width: 22rem;
        overflow-wrap: anywhere;
    }

    .landing-hero--commercial .hero-section-kicker {
        display: block;
        max-width: 100%;
        overflow-wrap: anywhere;
        white-space: normal;
        line-height: 1.45;
    }

    .landing-hero--commercial .hero-cta-primary {
        font-size: 1rem;
    }

    .hero-trust-list li {
        font-size: 0.8125rem;
    }
}
