/* ============================================================
   Landing page — clean white + RLT teal, matches dashboard style.
   ============================================================ */

.lp {
    /* Break out of parent .container's padding-xl so sections can run
       full-bleed. base.html wraps content in .container with padding only. */
    margin: calc(var(--spacing-xl) * -1);
    margin-top: calc(var(--spacing-lg) * -1);
    color: var(--color-gray-900);
    font-family: var(--font-sans);
    background: white;

    --lp-bleed: clamp(1.25rem, 5vw, 5rem);
    --lp-max: 1200px;
    --lp-teal: var(--color-primary, #067886);
    --lp-teal-dark: var(--color-primary-dark, #055a65);
    --lp-teal-soft: var(--color-primary-lighter, #e6f5f7);
}

.lp h1, .lp h2, .lp h3 {
    margin: 0;
    color: var(--color-gray-900);
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.lp p { margin: 0; line-height: 1.6; }

/* ============ HERO ============ */
.lp-hero {
    padding: clamp(3rem, 7vw, 5.5rem) var(--lp-bleed) clamp(2.5rem, 5vw, 4rem);
    max-width: var(--lp-max);
    margin: 0 auto;
    text-align: left;
}

.lp-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--lp-teal);
    margin-bottom: 1rem;
}

.lp-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    font-weight: 400;
    max-width: 22ch;
    margin-bottom: 1.25rem;
}

.lp-hero__brand {
    font-weight: 500;
    color: var(--color-primary);
    letter-spacing: -0.03em;
}

.lp .lp-hero__lede {
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    color: var(--color-gray-700);
    max-width: 44rem;
    margin-bottom: 1.25rem;
}

.lp-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.lp-hero__fineprint {
    font-size: 0.85rem;
    color: var(--color-gray-500);
    margin-top: 0.9rem;
}

.lp-hero__audience {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.lp-hero__audience li {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--lp-teal-dark);
    background: var(--lp-teal-soft);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
}

/* ============ BUTTONS ============ */
.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.3rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background var(--transition-base), color var(--transition-base);
    border: 1.5px solid transparent;
}
.lp-btn--primary {
    background: var(--lp-teal);
    color: white;
}
.lp-btn--primary:hover {
    background: var(--lp-teal-dark);
}
.lp-btn--ghost {
    background: white;
    color: var(--lp-teal);
    border-color: var(--lp-teal);
}
.lp-btn--ghost:hover {
    background: var(--lp-teal-soft);
}

/* ============ SECTIONS ============ */
.lp-section {
    padding: clamp(3rem, 6vw, 5rem) var(--lp-bleed);
    max-width: var(--lp-max);
    margin: 0 auto;
    border-top: 1px solid var(--color-gray-200);
}

.lp-section__head {
    max-width: 50rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.lp-section__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.lp-section__sub {
    font-size: 1.02rem;
    color: var(--color-gray-600);
    max-width: 52ch;
}

/* ============ DASHBOARD TOUR ============ */
.lp-tour__row {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding: clamp(2.25rem, 4vw, 3.5rem) 0;
}
.lp-tour__row + .lp-tour__row {
    border-top: 1px solid var(--color-gray-200);
}
.lp-tour__row--right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.lp-tour__row--right .lp-tour__copy { order: -1; }

.lp-tour__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--lp-teal);
    background: var(--lp-teal-soft);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.lp-tour__copy h3 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    max-width: 22ch;
}
.lp-tour__copy p {
    color: var(--color-gray-700);
    max-width: 38ch;
}

/* ============ SCREENSHOT FRAMES ============ */
.lp-shot {
    margin: 0;
}
.lp-shot__caption {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--lp-teal);
    margin-bottom: 0.75rem;
}
.lp-shot__frame {
    background: var(--lp-teal);
    padding: 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
    will-change: transform;
}
.lp-shot__frame:hover {
    transform: translateY(-4px);
}
.lp-shot__frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    background: white;
}

/* ============ COMMENTS GRID ============ */
.lp-comments__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* ============ TRUST SLT BAND + CTA ============ */
.lp-band {
    background: linear-gradient(135deg, var(--lp-teal) 0%, var(--lp-teal-dark) 100%);
    color: white;
    padding: clamp(3.5rem, 7vw, 6rem) var(--lp-bleed);
    margin-top: clamp(2rem, 5vw, 4rem);
}
.lp-band__inner {
    max-width: var(--lp-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}
.lp-band__copy h2 {
    color: white;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.lp-band__copy p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 52ch;
    font-size: 1.02rem;
}
.lp-band__cta {
    justify-self: end;
}

.lp-btn--onband {
    background: white;
    color: var(--lp-teal-dark);
}
.lp-btn--onband:hover {
    background: var(--lp-teal-soft);
    color: var(--lp-teal-dark);
}

@media (max-width: 820px) {
    .lp-band__inner {
        grid-template-columns: 1fr;
    }
    .lp-band__cta {
        justify-self: start;
    }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 820px) {
    .lp-tour__row,
    .lp-tour__row--right {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .lp-tour__row--right .lp-tour__copy { order: 0; }
    .lp-tour__copy h3,
    .lp-tour__copy p { max-width: none; }

    .lp-comments__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .lp-hero__cta { flex-direction: column; align-items: stretch; }
    .lp-btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-shot__frame { transition: none; }
    .lp-shot__frame:hover { transform: none; }
}
