/* ========================================================================
   pricing.css -- ScribeHold pricing layout

   Component layer of the modular CSS bundle. Provides the layout for the
   pricing section on the Pricing page:

     .pricing-section   -- outer section wrapper, controls max-width for
                           grid and LEP band (wider than .narrow header)
     .pricing-grid      -- 2-card row: Free + Pro. Single-column mobile,
                           two-column centered block at >= 768px.
     .pricing-trust     -- trust strip below the 2-card row
     .lep-band          -- full-width add-on band for Legal Export Pack

   Individual tier cards use .card / .card-pricing from card.css.
   The featured treatment (.card-pricing--featured) is defined in card.css
   and is applied to Pro (the hero), not LEP.

   Breakpoint literals (browsers do not support var() in @media queries):
     sm: 480px  md: 768px  lg: 1024px  xl: 1280px

   Bundle order: tokens -> base -> layout -> components/* -> pages/*
   ======================================================================== */

/* ------------------------------------------------------------------------
   1. .pricing-section -- outer wrapper

   Mirrors the .container horizontal padding so the pricing content aligns
   with the rest of the page while allowing a wider max-width than .narrow.
   ------------------------------------------------------------------------ */

.pricing-section {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-4);
}

@media (min-width: 768px) {
    .pricing-section {
        padding-inline: var(--space-6);
    }
}

@media (min-width: 1024px) {
    .pricing-section {
        padding-inline: var(--space-8);
    }
}

/* ------------------------------------------------------------------------
   2. .pricing-grid -- 2-card Free + Pro row

   Mobile: single column, full-width cards.
   >= md: two equal columns centered as a contained block (~760px wide so
   each card is ~360px — comfortable for all bullet text).

   align-items: stretch makes both cards fill the row's full height so Free
   and Pro are equal height. Combined with .card-pricing__cta's
   margin-top: auto (card.css), the CTA buttons are pushed to the bottom of
   each card and align on the same baseline regardless of body length.
   ------------------------------------------------------------------------ */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    width: 100%;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
        gap: var(--space-6);
        max-width: 760px;
    }
}

/* ------------------------------------------------------------------------
   3. .pricing-trust -- trust strip

   Three checkmark items in a centered row. Wraps gracefully on mobile.
   Sits below the 2-card grid, above the LEP band.
   ------------------------------------------------------------------------ */

.pricing-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4) var(--space-8);
    margin-inline: auto;
    margin-top: var(--space-6);
    max-width: 760px;
    padding-block: var(--space-4);
}

.pricing-trust__item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--color-muted);
    white-space: nowrap;
}

.pricing-trust__icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: var(--color-accent);
}

.pricing-trust__link {
    color: var(--color-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pricing-trust__link:hover {
    color: var(--color-accent-ink);
}

/* ------------------------------------------------------------------------
   4. .lep-band -- Legal Export Pack add-on band

   Full-width panel sitting below the trust strip. Visually distinct from
   the card row: bordered, warm parchment wash, not a card. LEP is a
   secondary upsell aimed at buyers who already want Pro or know they need
   court exports.

   On mobile: stacked block.
   >= md: inner content constrained to match the card grid width so the
   layout reads as a cohesive contained unit.
   ------------------------------------------------------------------------ */

.lep-band {
    margin-top: var(--space-8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-bg-parchment);
    padding: var(--space-6);
}

@media (min-width: 768px) {
    .lep-band {
        padding: var(--space-8);
    }
}

.lep-band__inner {
    max-width: 680px;
    margin-inline: auto;
}

.lep-band__eyebrow {
    margin: 0 0 var(--space-2) 0;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: var(--color-accent);
}

.lep-band__title {
    margin: 0 0 var(--space-2) 0;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--color-ink);
}

.lep-band__price {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-regular);
    color: var(--color-muted);
}

.lep-band__crosssell {
    margin: 0 0 var(--space-3) 0;
    font-size: var(--font-size-sm);
    color: var(--color-muted);
}

.lep-band__copy {
    margin: 0 0 var(--space-4) 0;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-ink);
}

.lep-band__cta {
    margin-top: var(--space-5);
}
