/* ── Page wrapper ────────────────────────────────────────────────── */
.fn-page {
    padding-top: 62px;
    overflow-x: hidden;
}

/* ── Shared utilities ─────────────────────────────────────────────── */
.fn-red       { color: #dc2626; }
.fn-red-light { color: #fca5a5; }

/* ── Hero ────────────────────────────────────────────────────────── */
.fn-hero {
    position: relative;
    padding: 80px 0 88px;
    background:
        radial-gradient(120% 70% at 95% -8%, rgba(220, 38, 38, .09), transparent 50%),
        radial-gradient(90% 60% at -8% 110%, rgba(220, 38, 38, .05), transparent 48%),
        #fff;
    overflow: hidden;
}

.fn-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(17, 24, 39, .04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(17, 24, 39, .04) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 65% 70% at 50% 0%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 65% 70% at 50% 0%, #000 0%, transparent 70%);
    pointer-events: none;
}

.fn-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

/* ── Kicker ──────────────────────────────────────────────────────── */
.fn-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #dc2626;
    margin-bottom: 20px;
}

.fn-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #dc2626;
    box-shadow: 0 0 10px rgba(220, 38, 38, .6);
    flex-shrink: 0;
    animation: fn-pulse 2.2s ease-in-out infinite;
}

@keyframes fn-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(220, 38, 38, .6); }
    50%       { box-shadow: 0 0 18px rgba(220, 38, 38, .2); }
}

/* ── Hero copy ───────────────────────────────────────────────────── */
.fn-hero-copy h1 {
    font-size: clamp(52px, 6.4vw, 86px);
    font-weight: 700;
    color: #111827;
    letter-spacing: -.04em;
    line-height: .93;
    margin-bottom: 24px;
}

.fn-pct {
    color: #dc2626;
}

.fn-sub {
    display: block;
    font-size: clamp(26px, 3.2vw, 42px);
    margin-top: 6px;
    color: #111827;
}

.fn-lead {
    font-size: 18px;
    color: #374151;
    line-height: 1.7;
    max-width: 52ch;
    margin-bottom: 32px;
}

.fn-lead strong {
    color: #111827;
    font-weight: 600;
}

.fn-hero-ctas {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.fn-ghost-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .2s, color .2s, background .2s;
}

.fn-ghost-link:hover {
    border-color: #9ca3af;
    color: #111827;
    background: #f9fafb;
}

/* ── Coupon card ─────────────────────────────────────────────────── */
.fn-coupon-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 24px 60px -28px rgba(220, 38, 38, .28), 0 0 0 6px rgba(220, 38, 38, .04);
}

.fn-cc-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -.02em;
    margin-bottom: 6px;
}

.fn-cc-sub {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

.fn-ticket {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1.5px dashed rgba(220, 38, 38, .45);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #fef2f2 100%);
    padding: 16px 18px;
    margin-bottom: 16px;
}

.fn-ticket-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 4px;
}

.fn-ticket-code {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 30px;
    color: #dc2626;
    letter-spacing: .04em;
}

.fn-copy-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #111827;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
    white-space: nowrap;
    flex-shrink: 0;
}

.fn-copy-btn:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.fn-copy-btn--done,
.fn-copy-btn--done:hover {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}

.fn-apply-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #dc2626;
    border-radius: 12px;
    padding: 15px 24px;
    transition: background .18s, transform .18s, box-shadow .18s;
    margin-bottom: 12px;
    letter-spacing: -.01em;
}

.fn-apply-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, .3);
}

.fn-cc-note {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #9ca3af;
    text-align: center;
    line-height: 1.5;
}

/* ── Features ────────────────────────────────────────────────────── */
.fn-features-section {
    padding: 72px 0 64px;
    background: #fafafa;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.fn-section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 28px;
}

.fn-section-label--red {
    color: #dc2626;
}

.fn-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fn-fcard {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px;
    transition: box-shadow .2s, transform .2s;
}

.fn-fcard:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
    transform: translateY(-2px);
}

.fn-fcard-ico {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #fef2f2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.fn-fcard h3 {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -.02em;
    margin-bottom: 8px;
}

.fn-fcard p {
    font-size: 14.5px;
    color: #6b7280;
    line-height: 1.6;
}

/* ── Steps ───────────────────────────────────────────────────────── */
.fn-steps-section {
    padding: 80px 0;
}

.fn-steps-head {
    text-align: center;
    margin-bottom: 56px;
}

.fn-steps-head h2 {
    font-size: clamp(26px, 3.4vw, 42px);
    font-weight: 700;
    color: #111827;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.fn-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fn-step {
    position: relative;
    padding: 28px 24px;
    border-left: 2px solid rgba(220, 38, 38, .25);
}

.fn-step-num {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 13px;
    color: #dc2626;
    letter-spacing: .04em;
    margin-bottom: 10px;
}

.fn-step-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -.02em;
    margin-bottom: 8px;
}

.fn-step-body p {
    font-size: 14.5px;
    color: #6b7280;
    line-height: 1.6;
}

.fn-step-body strong {
    color: #111827;
    font-weight: 600;
}

/* ── CTA band ────────────────────────────────────────────────────── */
.fn-cta-section {
    padding: 0 0 96px;
}

.fn-cta-band {
    position: relative;
    background: #111827;
    border-radius: 20px;
    padding: 64px 56px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}

.fn-cta-glow {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(220, 38, 38, .22) 0%, transparent 65%);
    pointer-events: none;
}

.fn-cta-copy {
    position: relative;
    z-index: 1;
}

.fn-cta-copy h2 {
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -.035em;
    line-height: 1.18;
    margin-bottom: 10px;
}

.fn-cta-copy p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
}

.fn-cta-copy strong {
    color: #fca5a5;
}

.fn-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.fn-cta-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #d1d5db;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .2s, color .2s, background .2s;
}

.fn-cta-ghost:hover {
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .fn-hero-inner {
        gap: 40px;
    }

    .fn-feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .fn-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fn-hero-copy h1 {
        font-size: clamp(44px, 9vw, 72px);
    }

    .fn-feat-grid {
        grid-template-columns: 1fr;
    }

    .fn-steps-grid {
        grid-template-columns: 1fr;
    }

    .fn-cta-band {
        grid-template-columns: 1fr;
        padding: 48px 36px;
    }

    .fn-cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .fn-page {
        /* prevent any child from blowing out the width */
        max-width: 100vw;
    }

    .fn-hero {
        padding: 48px 0 56px;
    }

    .fn-kicker {
        font-size: 10px;
        letter-spacing: .1em;
    }

    .fn-hero-copy h1 {
        font-size: clamp(38px, 11vw, 56px);
    }

    .fn-sub {
        font-size: clamp(20px, 6vw, 30px);
    }

    .fn-lead {
        font-size: 15px;
    }

    .fn-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .fn-hero-ctas .btn-red-lg {
        justify-content: center;
    }

    .fn-coupon-card {
        padding: 22px;
    }

    .fn-ticket-code {
        font-size: 22px;
    }

    .fn-ticket {
        gap: 8px;
    }

    .fn-features-section {
        padding: 48px 0 40px;
    }

    .fn-steps-section {
        padding: 56px 0;
    }

    .fn-steps-head {
        margin-bottom: 36px;
    }

    .fn-cta-band {
        padding: 36px 20px;
    }

    .fn-cta-actions {
        flex-direction: column;
    }

    .fn-cta-actions .btn-red-lg {
        justify-content: center;
    }

    .fn-cta-ghost {
        text-align: center;
    }
}
