/**
 * pricing-page.css — styling for the four-edition pricing page (/pricing/).
 *
 * Faithful recreation of the "Option 5" design handoff (Claude Design):
 * the modern 4-column layout (V1) WITH the "New" badge omitted from Firm Basic,
 * so the new edition reads as a permanent peer rather than a promo.
 *
 * Everything is scoped under .fls-pp so the theme's global CSS (fls-content,
 * fls-forms, fls-modal) and this file never bleed into each other.
 *
 * Design tokens (from the handoff):
 *   page bg #faf8f4 · ink #1a1d22 / #525860 / #8b919a · border #e6e2d9
 *   accent (teal) #2A6B72 · accent-soft ~#e9f0f1 · card radius 16px
 *
 * Typography: inherits the theme font stack (the prototype used "Public Sans";
 * we stay native to the site rather than importing a web font — swap in
 * Public Sans here later if an exact type match is wanted).
 */

/*
 * WEB-625 review request (Dan, 2026-07-28): "can we see what it looks like if the
 * screen background is white and the background of the four rounded rectangles is
 * the light beige color?" — this is a LOOK-AT-IT change, not an approved design
 * change. To revert to the original Option 5 palette, swap these two values back:
 *   --pp-bg: #faf8f4;  --pp-card-bg: #fff;
 */
.fls-pp {
    --pp-bg: #fff;          /* page background — was #faf8f4 (beige) */
    --pp-card-bg: #faf8f4;  /* the four cards — was #fff */
    --pp-ink: #1a1d22;
    --pp-ink-2: #525860;
    --pp-ink-3: #8b919a;
    --pp-border: #e6e2d9;
    --pp-accent: #2A6B72;
    --pp-accent-soft: #e9f0f1;
    background: var(--pp-bg);
    color: var(--pp-ink);
    padding: 48px 24px 56px;
}

.fls-pp * { box-sizing: border-box; }

.fls-pp__head {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}
.fls-pp__eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pp-accent);
}
.fls-pp__title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--pp-ink);
    margin: 8px 0 0;
    line-height: 1.2;
}
.fls-pp__subtitle {
    font-size: 15px;
    color: var(--pp-ink-2);
    line-height: 1.55;
    margin: 12px 0 0;
}

.fls-pp__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1320px;
    margin: 0 auto;
    align-items: stretch; /* equal-height cards: tallest card in a row sets height (card has height:100%) */
}

.fls-pp__card {
    position: relative;
    background: var(--pp-card-bg);
    border: 1px solid var(--pp-border);
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

/* Recommended treatment — not applied by default (no tier flagged in the
   handoff's exported state). Add class fls-pp__card--rec to a card to enable. */
.fls-pp__card--rec {
    border: 1.5px solid var(--pp-accent);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}
.fls-pp__badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pp-accent);
    background: var(--pp-accent-soft);
    padding: 4px 10px;
    border-radius: 999px;
}

.fls-pp__name {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--pp-ink);
}
.fls-pp__tagline {
    font-size: 13.5px;
    color: var(--pp-ink-2);
    line-height: 1.45;
    margin-top: 4px;
    min-height: 38px;
}

.fls-pp__price-amount {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--pp-ink);
    font-variant-numeric: tabular-nums;
}
.fls-pp__price-period {
    font-size: 14px;
    color: var(--pp-ink-2);
    margin-left: 4px;
}
.fls-pp__price-sub {
    font-size: 12px;
    color: var(--pp-ink-3);
    margin-top: 4px;
}

.fls-pp__cta {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 11px 16px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    border: 1px solid var(--pp-accent);
    color: var(--pp-accent);
    background: #fff;
    transition: background 0.15s, color 0.15s;
}
.fls-pp__cta:hover {
    background: var(--pp-accent);
    color: #fff;
}
.fls-pp__card--rec .fls-pp__cta {
    background: var(--pp-accent);
    color: #fff;
}
.fls-pp__card--rec .fls-pp__cta:hover {
    background: #1f5258;
}

.fls-pp__features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}
.fls-pp__features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 6px 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--pp-ink);
}
.fls-pp__check {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: var(--pp-accent);
}

.fls-pp__guarantee {
    max-width: 1320px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 13px;
    color: var(--pp-ink-2);
    line-height: 1.5;
}

/* Responsive: 4 -> 2 -> 1 columns */
@media (max-width: 1024px) {
    .fls-pp__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .fls-pp__grid { grid-template-columns: 1fr; }
    .fls-pp { padding: 32px 16px 40px; }
    .fls-pp__title { font-size: 25px; }
    .fls-pp__tagline { min-height: 0; }
}
