/* ── SEARCH-INTENT PAGES (2026-09-26, token 20260926_intent_pages) ──
   Loaded ONLY by the evergreen answer pages that scripts/build-article-page.js
   renders from scripts/intent-pages.js:
     /articles/boxing-draft-game/                    (Draft League, red)
     /articles/fantasy-boxing-league-with-friends/   (Draft League, red)
     /articles/fantasy-boxing-salary-cap/            (Promoter League, blue)
   They reuse the article shell from css/article-pages.css unchanged;
   everything here is scoped to body.ff-intent-page so no editorial article
   repaints, and it lives in its own file so article-pages.css keeps its token
   across 50+ shells.

   COLOUR FOLLOWS THE PRODUCT. Draft pages keep the article red (#8f1117).
   The Promoter page swaps the three red tokens for the signup door's
   Promoter blue (#1F63B8, .ffsp-btn--promoter in app.html, the same blue as
   /get's "Two ways to play" band), so every red consumer in article-pages.css
   (kicker, buttons, links, footer CTA) turns blue with no per-rule overrides.

   Mobile: on a 390px phone the first CTA sits above the fold. The editorial
   hero spends ~380px on a photo before the headline, so on phones the photo
   goes and the headline, answer and action block lead. */

body.ff-intent-page--promoter {
    --ff-red:        #1F63B8;
    --ff-red-rgb:    31, 99, 184;
    --ff-red-hover:  #1a559e;
}

.ff-intent-page {
    --ff-promoter-blue:     #1F63B8;
    --ff-promoter-blue-rgb: 31, 99, 184;
}

/* ── Breadcrumb ── */
.ff-intent-crumbs {
    margin: 0 0 14px 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: #5a6478;
}

.ff-intent-crumbs a {
    color: inherit;
    text-decoration: none;
}

.ff-intent-crumbs a:hover {
    color: var(--ff-red);
}

/* ── Hero ── */
/* The editorial 4rem ceiling suits a six-word headline; these H1s carry the
   whole search phrase, so they cap lower to keep the first CTA on screen. */
.ff-intent-page .ff-article-title {
    max-width: 18ch;
    font-size: clamp(2.2rem, 3.1vw, 2.9rem);
    line-height: 1.06;
}

/* The answer paragraph is the quotable one: darker and a touch larger than an
   editorial excerpt, same face and measure. */
.ff-intent-page .ff-intent-answer {
    color: #334155;
    font-size: 1.04rem;
    line-height: 1.7;
    max-width: 60ch;
}

.ff-intent-meta {
    font-size: 12.5px;
    font-weight: 700;
    color: #6b7280;
}

.ff-intent-action {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ff-intent-action--card {
    padding: 16px 16px 18px;
    border-radius: 18px;
    background: rgba(var(--ff-red-rgb), 0.06);
    border: 1px solid rgba(var(--ff-red-rgb), 0.16);
}

.ff-intent-action-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ff-red);
}

.ff-intent-action-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--ff-dark);
}

.ff-intent-action-copy {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

.ff-intent-stats {
    display: flex;
    gap: 10px;
}

.ff-intent-stat {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(var(--ff-red-rgb), 0.07);
    border: 1px solid rgba(var(--ff-red-rgb), 0.14);
}

.ff-intent-stat-value {
    font-family: "Playfair Display", "Playfair Display Fallback", Georgia, serif;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.05;
    color: var(--ff-red);
}

.ff-intent-stat-label {
    font-size: 12px;
    font-weight: 700;
    color: #4b5563;
}

.ff-intent-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ff-intent-cta-row .ff-article-btn {
    width: auto;
    min-height: 48px;
    padding: 13px 22px;
    font-size: 14px;
}

.ff-intent-cta-note {
    margin: 0;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
    color: #6b7280;
}

/* ── Prose components ── */
.ff-intent-steps {
    list-style: none;
    counter-reset: ff-intent-step;
    margin: 0 0 22px !important;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ff-intent-steps li {
    counter-increment: ff-intent-step;
    position: relative;
    margin: 0 !important;
    padding: 14px 16px 14px 58px;
    border-radius: 16px;
    background: #f7f8fb;
    border: 1px solid rgba(26, 26, 46, 0.07);
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.55 !important;
}

.ff-intent-steps li::before {
    content: counter(ff-intent-step);
    position: absolute;
    left: 16px;
    top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--ff-red);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ff-intent-steps li strong {
    font-size: 15px;
}

.ff-intent-steps li span {
    font-size: 14px;
    color: #4b5563;
}

.ff-intent-table {
    width: 100%;
    border-collapse: collapse;
    margin: 4px 0 12px;
    font-size: 14.5px;
}

.ff-intent-table caption {
    text-align: left;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    padding-bottom: 6px;
}

.ff-intent-table th,
.ff-intent-table td {
    padding: 11px 4px;
    border-bottom: 1px solid rgba(26, 26, 46, 0.08);
    vertical-align: top;
}

.ff-intent-table th {
    text-align: left;
    font-weight: 600;
    color: #334155;
}

.ff-intent-table td {
    text-align: right;
    white-space: nowrap;
    font-weight: 800;
    color: var(--ff-red);
}

/* Game plan rows carry a sentence on the right, so they wrap and read left. */
.ff-intent-table--plan th {
    width: 36%;
    font-weight: 800;
    color: var(--ff-dark);
}

.ff-intent-table--plan td {
    text-align: left;
    white-space: normal;
    font-weight: 600;
    color: #334155;
}

.ff-intent-page .ff-article-prose .ff-intent-table-note {
    font-size: 13.5px;
    color: #5b6477;
}

.ff-intent-page .ff-intent-faq-item h3 {
    margin-top: 20px;
}

.ff-intent-page .ff-intent-updated {
    margin: 26px 0 0;
    font-size: 12.5px;
    color: #94a3b8;
}

/* ── "The other way to play" card: always Promoter blue, on any page ── */
.ff-intent-promo {
    margin-top: 26px;
    padding: 24px 24px 26px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(var(--ff-promoter-blue-rgb), 0.1) 0%, rgba(var(--ff-promoter-blue-rgb), 0.04) 100%);
    border: 1px solid rgba(var(--ff-promoter-blue-rgb), 0.22);
}

.ff-intent-promo-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ff-promoter-blue);
}

.ff-intent-promo-title {
    margin: 6px 0 8px;
    font-family: "Playfair Display", "Playfair Display Fallback", Georgia, serif;
    font-size: 26px;
    line-height: 1.1;
    color: var(--ff-dark);
}

.ff-intent-promo-copy {
    margin: 0 0 14px;
    max-width: 58ch;
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
}

.ff-intent-promo-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    font-weight: 800;
    color: var(--ff-promoter-blue);
    text-decoration: none;
}

.ff-intent-promo-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ff-intent-page .ff-article-footer-actions .ff-article-btn {
    width: auto;
}

@media (max-width: 760px) {
    .ff-intent-page .ff-article-hero-media {
        display: none;
    }

    .ff-intent-page .ff-article-hero-copy {
        gap: 12px;
        padding: 20px 18px 20px;
    }

    .ff-intent-page .ff-article-title {
        font-size: 1.8rem;
        line-height: 1.1;
        letter-spacing: -0.02em;
        max-width: none;
    }

    .ff-intent-page .ff-intent-answer {
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .ff-intent-cta-row {
        flex-direction: column;
    }

    .ff-intent-cta-row .ff-article-btn,
    .ff-intent-page .ff-article-footer-actions .ff-article-btn {
        width: 100%;
    }

    .ff-intent-promo {
        padding: 20px 20px 22px;
    }
}
