/* Black Friday 2026: black-friday/ landing page and checkout/agency-lifetime/ checkout + success pages.
   Everything is scoped to .bf-page so the shared menu and footer are untouched. Loaded from cm_css.tpl. */
.bf-page
{
    --bf-night: #0b0b0e; /* hero and closing band */
    --bf-night-soft: #18181d;
    --bf-night-line: #2a2a31;
    --bf-signal: #ffd60a; /* the one accent: price, countdown, primary action */
    --bf-signal-deep: #f0c400;
    --bf-paper: #f6f4ee; /* warm alternate band */
    --bf-ink: #111114;
    --bf-ink-soft: #55555f;
    --bf-line: #e3e0d6;
    --bf-blue: #1c6dd0; /* links on light */
    --bf-display: 'Archivo', 'Arial Narrow', 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--bf-ink);
    background: #ffffff;
}

.bf-page .bf-wrap
{
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ---------- Type ---------- */
.bf-page .bf-h1
{
    font-family: var(--bf-display);
    font-stretch: 75%;
    font-weight: 900;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 22px;
    text-wrap: balance;
}

.bf-page .bf-h1-accent
{
    display: block;
    color: var(--bf-signal);
}

.bf-page .bf-h2
{
    font-family: var(--bf-display);
    font-stretch: 85%;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--bf-ink);
    margin: 0 0 14px;
    text-wrap: balance;
}

.bf-page .bf-h3
{
    font-family: var(--bf-display);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.25;
    color: var(--bf-ink);
    margin: 0 0 6px;
}

.bf-page .bf-lead
{
    font-size: 1.15rem;
    line-height: 1.6;
    color: #c9c9d1;
    max-width: 54ch;
    margin: 0 0 28px;
}

.bf-page .bf-section-lead
{
    font-size: 1.075rem;
    line-height: 1.6;
    color: var(--bf-ink-soft);
    max-width: 62ch;
    margin: 0 0 36px;
}

.bf-page .bf-card-text
{
    font-size: 0.975rem;
    line-height: 1.6;
    color: var(--bf-ink-soft);
    margin: 0;
}

.bf-page a
{
    color: var(--bf-blue);
    text-underline-offset: 3px;
}

.bf-page .bf-eyebrow
{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bf-signal);
    margin: 0 0 22px;
}

.bf-page .bf-eyebrow-dark
{
    color: var(--bf-ink);
}

.bf-page .bf-eyebrow-dot
{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3b30;
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6);
    animation: bf-pulse 1.8s ease-out infinite;
}

@keyframes bf-pulse
{
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

/* ---------- Buttons ---------- */
.bf-page .bf-actions
{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bf-page .bf-actions-center
{
    justify-content: center;
}

.bf-page .bf-btn
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.bf-page .bf-btn:hover
{
    transform: translateY(-1px);
}

.bf-page .bf-btn:focus-visible
{
    outline: 3px solid var(--bf-blue);
    outline-offset: 3px;
}

.bf-page .bf-btn[disabled]
{
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.bf-page .bf-btn-signal
{
    background: var(--bf-signal);
    color: var(--bf-ink);
}

.bf-page .bf-btn-signal:hover
{
    background: var(--bf-signal-deep);
    color: var(--bf-ink);
}

.bf-page .bf-btn-ghost
{
    border-color: #3a3a42;
    color: #ffffff;
}

.bf-page .bf-btn-ghost:hover
{
    border-color: #ffffff;
    color: #ffffff;
}

.bf-page .bf-btn-dark
{
    background: var(--bf-ink);
    color: #ffffff;
}

.bf-page .bf-btn-dark:hover
{
    background: #2a2a31;
    color: #ffffff;
}

.bf-page .bf-btn-line
{
    border-color: var(--bf-line);
    color: var(--bf-ink);
    background: #ffffff;
}

.bf-page .bf-btn-line:hover
{
    border-color: var(--bf-ink);
    color: var(--bf-ink);
}

.bf-page .bf-btn-block
{
    display: flex;
    width: 100%;
    margin-top: 12px;
}

.bf-page .bf-btn-busy
{
    position: relative;
    color: transparent;
}

.bf-page .bf-btn-busy::after
{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(17, 17, 20, 0.25);
    border-top-color: var(--bf-ink);
    border-radius: 50%;
    animation: bf-spin 0.8s linear infinite;
}

@keyframes bf-spin
{
    to { transform: rotate(360deg); }
}

/* ---------- Hero ---------- */
.bf-page .bf-hero
{
    background:
        radial-gradient(1100px 500px at 85% 10%, rgba(255, 214, 10, 0.12), transparent 60%),
        var(--bf-night);
    padding: 76px 0 92px;
    overflow: hidden;
}

.bf-page .bf-hero-grid
{
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 64px;
    align-items: center;
}

/* Price tag: the single object the hero is built around */
.bf-page .bf-tag
{
    position: relative;
    background: var(--bf-signal);
    color: var(--bf-ink);
    border-radius: 18px 18px 18px 18px;
    padding: 44px 34px 30px;
    transform: rotate(2.5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    clip-path: polygon(14% 0, 86% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
}

.bf-page .bf-tag-hole
{
    position: absolute;
    top: 16px;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    border-radius: 50%;
    background: var(--bf-night);
}

.bf-page .bf-tag-name
{
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.bf-page .bf-tag-price
{
    font-family: var(--bf-display);
    font-stretch: 70%;
    font-weight: 900;
    font-size: clamp(4.2rem, 9vw, 6.4rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    margin: 0;
}

.bf-page .bf-tag-once
{
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-left: 8px;
}

.bf-page .bf-tag-alt
{
    font-size: 0.9rem;
    font-weight: 600;
    margin: 8px 0 18px;
}

.bf-page .bf-tag-list
{
    list-style: none;
    margin: 0;
    padding: 16px 0 0;
    border-top: 2px dashed rgba(17, 17, 20, 0.35);
}

.bf-page .bf-tag-list li
{
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-weight: 600;
    font-size: 0.975rem;
    padding: 4px 0;
}

.bf-page .bf-tag-compare
{
    margin: 16px 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.75;
}

/* ---------- Countdown ---------- */
.bf-page .bf-countdown
{
    display: flex;
    gap: 10px;
    margin: 0 0 30px;
}

.bf-page .bf-countdown-cell
{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 78px;
    padding: 12px 8px 10px;
    border: 1px solid var(--bf-night-line);
    border-radius: 12px;
    background: var(--bf-night-soft);
}

.bf-page .bf-countdown-num
{
    font-family: var(--bf-display);
    font-stretch: 75%;
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--bf-signal);
    font-variant-numeric: tabular-nums;
}

.bf-page .bf-countdown-label
{
    margin-top: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a9aa5;
}

.bf-page .bf-countdown-compact .bf-countdown-cell
{
    min-width: 64px;
}

.bf-page .bf-countdown-compact .bf-countdown-num
{
    font-size: 1.9rem;
}

.bf-page .bf-countdown-light .bf-countdown-cell
{
    background: var(--bf-night);
    border-color: var(--bf-night);
}

.bf-page .bf-countdown-ended .bf-countdown-num
{
    color: #6b6b75;
}

/* ---------- Sections ---------- */
.bf-page .bf-section
{
    padding: 88px 0;
}

.bf-page .bf-section-paper
{
    background: var(--bf-paper);
}

.bf-page .bf-section-night
{
    background: var(--bf-night);
}

.bf-page .bf-section-night .bf-h2
{
    color: #ffffff;
}

.bf-page .bf-section-night .bf-section-lead
{
    color: #c9c9d1;
}

.bf-page .bf-closing
{
    text-align: center;
}

.bf-page .bf-closing .bf-section-lead
{
    margin-left: auto;
    margin-right: auto;
}

.bf-page .bf-closing .bf-countdown,
.bf-page .bf-closing .bf-actions
{
    justify-content: center;
}

.bf-page .bf-grid
{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bf-page .bf-card
{
    background: #ffffff;
    border: 1px solid var(--bf-line);
    border-radius: 16px;
    padding: 24px 22px;
}

.bf-page .bf-card-icon
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bf-ink);
    color: var(--bf-signal);
    margin-bottom: 16px;
}

.bf-page .bf-split
{
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}

.bf-page .bf-photo
{
    margin: 0;
}

.bf-page .bf-photo img
{
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.bf-page .bf-packages
{
    display: grid;
    gap: 14px;
}

.bf-page .bf-package
{
    background: #ffffff;
    border: 1px solid var(--bf-line);
    border-left: 5px solid var(--bf-signal);
    border-radius: 12px;
    padding: 20px 22px;
}

.bf-page .bf-package-client
{
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bf-ink-soft);
    margin: 0 0 6px;
}

.bf-page .bf-steps
{
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    counter-reset: none;
}

.bf-page .bf-step
{
    position: relative;
    padding: 0 0 0 0;
}

.bf-page .bf-step-num
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bf-signal);
    color: var(--bf-ink);
    font-family: var(--bf-display);
    font-weight: 900;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.bf-page .bf-compare-scroll
{
    overflow-x: auto;
}

.bf-page .bf-compare
{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border: 1px solid var(--bf-line);
    border-radius: 14px;
    overflow: hidden;
    font-size: 0.975rem;
}

.bf-page .bf-compare th,
.bf-page .bf-compare td
{
    padding: 14px 18px;
    border-bottom: 1px solid var(--bf-line);
    text-align: left;
    vertical-align: middle;
}

.bf-page .bf-compare tbody tr:last-child th,
.bf-page .bf-compare tbody tr:last-child td
{
    border-bottom: 0;
}

.bf-page .bf-compare thead th
{
    font-family: var(--bf-display);
    font-weight: 800;
    font-size: 1rem;
}

.bf-page .bf-compare tbody th
{
    font-weight: 600;
    color: var(--bf-ink-soft);
}

.bf-page .bf-compare .bf-compare-ours
{
    background: #fffbe0;
    font-weight: 700;
}

.bf-page .bf-fine
{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 48px;
    margin: 28px 0 0;
}

.bf-page .bf-fine-row
{
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--bf-line);
}

.bf-page .bf-fine-row dt
{
    font-weight: 700;
}

.bf-page .bf-fine-row dd
{
    margin: 0;
    color: var(--bf-ink-soft);
    line-height: 1.55;
}

/* FAQ: shared two-column accordion pattern, chevron turns when open */
.bf-page .bf-faq .btn-link
{
    font-weight: 600;
    text-align: left;
    gap: 16px;
}

.bf-page .bf-faq .btn-link .fa-chevron-down
{
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.bf-page .bf-faq .btn-link:not(.collapsed) .fa-chevron-down
{
    transform: rotate(180deg);
}

/* ---------- Checkout ---------- */
.bf-page.bf-checkout
{
    background: var(--bf-paper);
    padding: 40px 0 96px;
    min-height: 70vh;
}

.bf-page .bf-crumb
{
    margin: 0 0 24px;
    font-weight: 600;
}

.bf-page .bf-crumb a
{
    color: var(--bf-ink-soft);
    text-decoration: none;
}

.bf-page .bf-crumb a:hover
{
    color: var(--bf-ink);
}

.bf-page .bf-checkout-grid
{
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 32px;
    align-items: start;
}

.bf-page .bf-summary,
.bf-page .bf-panel
{
    background: #ffffff;
    border: 1px solid var(--bf-line);
    border-radius: 18px;
    padding: 32px;
}

.bf-page .bf-panel
{
    position: sticky;
    top: 96px;
}

.bf-page .bf-summary-price
{
    font-family: var(--bf-display);
    font-stretch: 75%;
    font-weight: 900;
    font-size: 3.4rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    margin: 8px 0 6px;
}

.bf-page .bf-summary-once
{
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bf-ink-soft);
}

.bf-page .bf-summary-note,
.bf-page .bf-summary-small,
.bf-page .bf-panel-small
{
    color: var(--bf-ink-soft);
    font-size: 0.9rem;
    line-height: 1.55;
}

.bf-page .bf-summary-list
{
    list-style: none;
    margin: 22px 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--bf-line);
}

.bf-page .bf-summary-list li
{
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
    line-height: 1.45;
}

.bf-page .bf-summary-list .fa-check
{
    color: #16a34a;
}

.bf-page .bf-summary .bf-countdown
{
    margin: 20px 0 0;
}

.bf-page .bf-panel-text
{
    color: var(--bf-ink-soft);
    line-height: 1.6;
}

.bf-page .bf-panel-steps
{
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.bf-page .bf-panel-step
{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--bf-ink-soft);
    font-weight: 600;
}

.bf-page .bf-panel-step-num
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--bf-line);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.bf-page .bf-panel-step-active
{
    color: var(--bf-ink);
}

.bf-page .bf-panel-step-active .bf-panel-step-num
{
    background: var(--bf-signal);
    border-color: var(--bf-signal);
    color: var(--bf-ink);
}

.bf-page .bf-panel-step-done .bf-panel-step-num
{
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
}

.bf-page .bf-panel-facts
{
    margin: 0 0 8px;
}

.bf-page .bf-panel-facts div
{
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bf-line);
}

.bf-page .bf-panel-facts dt
{
    color: var(--bf-ink-soft);
    font-weight: 600;
}

.bf-page .bf-panel-facts dd
{
    margin: 0;
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

.bf-page .bf-notice
{
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding: 12px 14px;
    border-radius: 10px;
    margin: 0 0 18px;
    font-weight: 600;
}

.bf-page .bf-notice-info
{
    background: #eef4ff;
    color: #1e3a8a;
}

.bf-page .bf-pay-message
{
    display: none;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fdecec;
    color: #9b1c1c;
    font-weight: 600;
}

.bf-page .bf-pay-message-visible
{
    display: block;
}

.bf-page .bf-pay-message-visible:empty
{
    display: none;
}

/* Success page */
.bf-page .bf-done
{
    max-width: 920px;
    text-align: center;
    padding-top: 32px;
}

.bf-page .bf-done .bf-section-lead
{
    margin-left: auto;
    margin-right: auto;
}

.bf-page .bf-done-icon
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 22px;
}

.bf-page .bf-done-icon-ok
{
    background: var(--bf-signal);
    color: var(--bf-ink);
}

.bf-page .bf-done-icon-wait
{
    background: var(--bf-ink);
    color: var(--bf-signal);
}

.bf-page .bf-steps-compact
{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: left;
    margin: 12px 0 36px;
    background: #ffffff;
    border: 1px solid var(--bf-line);
    border-radius: 18px;
    padding: 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px)
{
    .bf-page .bf-hero
    {
        padding: 48px 0 64px;
    }

    .bf-page .bf-hero-grid,
    .bf-page .bf-split,
    .bf-page .bf-checkout-grid
    {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .bf-page .bf-tag
    {
        max-width: 420px;
        transform: rotate(1.5deg);
    }

    .bf-page .bf-grid,
    .bf-page .bf-steps
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bf-page .bf-fine
    {
        grid-template-columns: minmax(0, 1fr);
    }

    .bf-page .bf-panel
    {
        position: static;
    }

    .bf-page .bf-section
    {
        padding: 64px 0;
    }
}

@media (max-width: 640px)
{
    .bf-page .bf-grid,
    .bf-page .bf-steps,
    .bf-page .bf-steps-compact
    {
        grid-template-columns: minmax(0, 1fr);
    }

    .bf-page .bf-countdown
    {
        gap: 6px;
    }

    .bf-page .bf-countdown-cell,
    .bf-page .bf-countdown-compact .bf-countdown-cell
    {
        min-width: 0;
        flex: 1 1 0;
    }

    .bf-page .bf-countdown-num
    {
        font-size: 1.9rem;
    }

    .bf-page .bf-btn
    {
        width: 100%;
    }

    .bf-page .bf-fine-row
    {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .bf-page .bf-summary,
    .bf-page .bf-panel
    {
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce)
{
    .bf-page .bf-eyebrow-dot,
    .bf-page .bf-btn-busy::after
    {
        animation: none;
    }

    .bf-page .bf-btn,
    .bf-page .bf-faq .btn-link .fa-chevron-down
    {
        transition: none;
    }

    .bf-page .bf-btn:hover
    {
        transform: none;
    }
}
