:root {
    --ff-blue: #0d2c62;
    --ff-orange: #ff8a1d;
    --ff-ink: #10243e;
    --ff-muted: #36506d;
    --ff-soft: #f6f9ff;
    --ff-brand-50: #eff6ff;
    --ff-brand-100: #dbeafe;
    --ff-brand-500: #3b82f6;
    --ff-brand-600: #2563eb;
    --ff-brand-700: #1d4ed8;
    --ff-brand-800: #1e40af;
    --ff-brand-900: #1e3a8a;
    --ff-accent-500: #10b981;
    --ff-slate-50: #f8fafc;
    --ff-slate-100: #f1f5f9;
    --ff-slate-200: #e2e8f0;
    --ff-slate-600: #475569;
    --ff-slate-900: #0f172a;
}

* {
    box-sizing: border-box;
}

body.ff-body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ff-ink);
    background: #fff;
}

.glass-nav {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, .6);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all .8s cubic-bezier(.16, 1, .3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.gradient-text {
    background: linear-gradient(135deg, var(--ff-brand-700) 0%, var(--ff-accent-500) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ff-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 7vw;
    background: #fff;
    border-bottom: 1px solid rgba(16, 36, 62, .08);
    position: sticky;
    top: 0;
    z-index: 10;
}

.ff-brand img {
    height: 54px;
    max-width: 260px;
    object-fit: contain;
}

.ff-navlinks {
    display: flex;
    align-items: center;
    gap: 26px;
    font-weight: 800;
}

.ff-navlinks a,
.ff-footer a {
    color: var(--ff-blue);
    text-decoration: none;
}

.ff-button {
    display: inline-block;
    background: var(--ff-brand-600);
    color: #fff !important;
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(37, 99, 235, .25);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.ff-button:hover {
    background: var(--ff-brand-700);
    transform: translateY(-1px);
}

.ff-button-secondary {
    background: #fff;
    color: var(--ff-brand-700) !important;
    border: 1px solid var(--ff-slate-200);
    box-shadow: none;
}

.ff-hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 44px;
    align-items: center;
    padding: 78px 7vw 70px;
    background: radial-gradient(circle at 75% 20%, rgba(255, 138, 29, .18), transparent 28%), linear-gradient(135deg, #f8fbff 0%, #fff 52%, #eef6ff 100%);
}

.ff-kicker {
    color: var(--ff-brand-600);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 14px;
}

.ff-hero h1,
.ff-section h2 {
    color: var(--ff-blue);
    letter-spacing: -.04em;
}

.ff-hero h1 {
    margin: 14px 0 18px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .95;
}

.ff-lede,
.ff-section p {
    color: var(--ff-muted);
    line-height: 1.6;
}

.ff-lede {
    font-size: clamp(19px, 2vw, 25px);
    max-width: 760px;
}

.ff-actions,
.ff-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.ff-proof-grid,
.ff-card-grid {
    display: grid;
    gap: 18px;
}

.ff-proof-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 34px;
}

.ff-proof-grid div,
.ff-card {
    background: #fff;
    border: 1px solid rgba(13, 44, 98, .08);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 14px 35px rgba(13, 44, 98, .08);
}

.ff-proof-grid div {
    color: var(--ff-blue);
    font-weight: 900;
}

.ff-hero-visual {
    position: relative;
    min-height: 440px;
}

.ff-hero-visual img {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 30px 70px rgba(13, 44, 98, .18);
}

.ff-float-card {
    position: absolute;
    background: #fff;
    border-radius: 22px;
    padding: 18px 20px;
    box-shadow: 0 18px 45px rgba(13, 44, 98, .16);
    max-width: 280px;
    font-weight: 900;
}

.ff-float-one {
    left: -20px;
    top: 36px;
}

.ff-float-two {
    right: -8px;
    bottom: 40px;
}

.ff-section {
    padding: 74px 7vw;
}

.ff-funnel-intro-section {
    padding-bottom: 58px;
    padding-top: 58px;
}

.ff-section-alt {
    background: var(--ff-soft);
}

.ff-section h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.02;
    margin: 0 0 18px;
}

.ff-checkup-header h1 {
    color: var(--ff-slate-900);
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.12;
    margin: 12px 0 18px;
    max-width: 980px;
}

.ff-checkup-header {
    background: radial-gradient(circle at 80% 20%, rgba(147, 197, 253, .32), transparent 30%), linear-gradient(180deg, var(--ff-brand-50) 0%, #fff 100%);
    overflow: hidden;
    padding-bottom: 88px;
    padding-top: 78px;
    position: relative;
}

.ff-checkup-header-grid {
    align-items: center;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
}

.ff-section p {
    font-size: 19px;
    max-width: 950px;
}

.ff-checkup-header p,
.ff-funnel-stage-section > p,
.ff-final-cta p {
    color: var(--ff-slate-600);
}

.ff-card-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 34px;
}

.ff-card h3 {
    color: var(--ff-blue);
    font-size: 24px;
    margin: 0 0 10px;
}

.ff-card p,
.ff-card li {
    font-size: 16px;
    line-height: 1.55;
}

.ff-pill-row span {
    background: rgba(255, 138, 29, .12);
    color: var(--ff-blue);
    border: 1px solid rgba(255, 138, 29, .25);
    border-radius: 999px;
    padding: 10px 15px;
    font-weight: 900;
}

.ff-callout {
    background: var(--ff-blue);
    color: #fff;
    border-radius: 34px;
    padding: 46px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.ff-callout h2,
.ff-callout p {
    color: #fff;
}

.ff-avoid-list {
    columns: 2;
    column-gap: 42px;
    color: var(--ff-muted);
    font-size: 18px;
    line-height: 1.65;
    max-width: 1050px;
}

.ff-final-cta {
    padding-bottom: 44px;
    padding-top: 38px;
    text-align: center;
}

.ff-final-cta h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    margin-bottom: 14px;
}

.ff-final-cta .ff-conversion-actions {
    margin-top: 10px;
}

.ff-final-cta p {
    margin-left: auto;
    margin-right: auto;
}

.ff-footer {
    padding: 42px 7vw;
    background: #071d3f;
    color: #d8e6fb;
}

.ff-footer-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
}

.ff-footer img {
    height: 46px;
    max-width: 230px;
    object-fit: contain;
}

.ff-footer a,
.ff-footer p {
    color: #d8e6fb;
}

.ff-build {
    opacity: .7;
    font-size: 13px;
}

.ff-simple-page {
    padding: 72px 7vw;
    max-width: 980px;
}

.ff-simple-page h1 {
    color: var(--ff-blue);
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1;
}

.ff-simple-page p,
.ff-simple-page li {
    color: var(--ff-muted);
    font-size: 18px;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .ff-hero,
    .ff-callout {
        grid-template-columns: 1fr;
    }

    .ff-card-grid,
    .ff-proof-grid {
        grid-template-columns: 1fr;
    }

    .ff-navlinks {
        display: none;
    }

    .ff-avoid-list {
        columns: 1;
    }

    .ff-hero-visual {
        min-height: auto;
    }

    .ff-float-card {
        position: static;
        margin: 14px 0;
    }

    .ff-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

.ff-funnel-hero {
    grid-template-columns: 1fr .8fr;
}

.ff-url-form,
.ff-lead-form,
.ff-refinement-form {
    margin-top: 28px;
}

.ff-url-form-title {
    color: var(--ff-blue);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 16px;
}

.ff-url-form label,
.ff-lead-form label,
.ff-refinement-form label {
    display: grid;
    gap: 8px;
    color: var(--ff-blue);
    font-weight: 900;
}

.ff-url-row {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 12px;
    margin-top: 8px;
}

.ff-url-row input,
.ff-lead-form input,
.ff-lead-form textarea,
.ff-get-started-form input,
.ff-get-started-form textarea,
.ff-refinement-form textarea {
    background: #fff;
    width: 100%;
    border: 1px solid rgba(13, 44, 98, .18);
    border-radius: 16px;
    color: var(--ff-ink);
    font: inherit;
    padding: 15px 16px;
}

.ff-form-message {
    min-height: 24px;
    color: #b33a00;
    font-size: 15px;
    line-height: 1.4;
    margin: 10px 0 0;
}

.ff-form-message.is-success {
    color: #18703a;
}

.ff-checkup-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.ff-checkup-points span {
    background: #fff;
    border: 1px solid rgba(13, 44, 98, .08);
    border-radius: 999px;
    color: var(--ff-blue);
    font-weight: 900;
    padding: 10px 14px;
}

.ff-hero-secondary-actions {
    margin-top: 18px;
}

.ff-get-started-page {
    background: var(--ff-slate-50);
    isolation: isolate;
    overflow: hidden;
    padding: 48px 0 76px;
    position: relative;
}

.ff-get-started-bg {
    border-radius: 999px;
    filter: blur(110px);
    pointer-events: none;
    position: fixed;
    z-index: -1;
}

.ff-get-started-bg-right {
    background: rgba(147, 197, 253, .26);
    height: 680px;
    right: -180px;
    top: -180px;
    width: 680px;
}

.ff-get-started-bg-left {
    background: rgba(16, 185, 129, .18);
    bottom: -180px;
    height: 540px;
    left: -180px;
    width: 540px;
}

.ff-get-started-wrap {
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 7vw;
}

.ff-get-started-heading {
    margin-bottom: 38px;
}

.ff-get-started-heading h1 {
    color: var(--ff-slate-900);
    font-size: clamp(36px, 4vw, 48px);
    line-height: 1.05;
    margin: 0 0 12px;
}

.ff-get-started-heading p {
    color: var(--ff-slate-600);
    font-size: 19px;
    line-height: 1.55;
    max-width: 720px;
}

.ff-onboarding-layout {
    align-items: start;
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 390px;
}

.ff-onboarding-card,
.ff-onboarding-success,
.ff-trust-panel,
.ff-next-steps-panel {
    border-radius: 28px;
}

.ff-onboarding-card,
.ff-onboarding-success {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 22px 55px rgba(15, 23, 42, .1);
    padding: clamp(24px, 4vw, 40px);
}

.ff-onboarding-section h2 {
    align-items: center;
    color: var(--ff-slate-900);
    display: flex;
    font-size: 22px;
    gap: 12px;
    margin: 0 0 18px;
}

.ff-onboarding-section h2 span {
    align-items: center;
    background: var(--ff-brand-100);
    border-radius: 999px;
    color: var(--ff-brand-600);
    display: inline-flex;
    font-size: 14px;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.ff-plan-summary-card {
    background: linear-gradient(135deg, var(--ff-brand-600, #2563eb), var(--ff-brand-900, #1e3a8a));
    border: 1px solid rgba(96, 165, 250, .65);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(37, 99, 235, .28);
    color: #fff;
    overflow: hidden;
    padding: 24px;
    position: relative;
}

.ff-plan-orb {
    border-radius: 999px;
    filter: blur(28px);
    opacity: .35;
    position: absolute;
}

.ff-plan-orb-top {
    background: var(--ff-brand-500);
    height: 180px;
    right: -28px;
    top: -55px;
    width: 180px;
}

.ff-plan-orb-bottom {
    background: var(--ff-accent-500);
    bottom: -45px;
    height: 130px;
    left: -45px;
    width: 130px;
}

.ff-plan-summary-content {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.ff-plan-pill {
    background: var(--ff-accent-500);
    border-radius: 999px;
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 14px;
    padding: 7px 12px;
    text-transform: uppercase;
}

.ff-plan-summary-card h3 {
    color: #fff;
    font-size: clamp(38px, 4vw, 50px);
    line-height: 1;
    margin: 0 0 10px;
}

.ff-plan-summary-card h3 span {
    color: var(--ff-brand-100);
    font-size: 19px;
    font-weight: 500;
}

.ff-plan-summary-card p {
    color: var(--ff-brand-50);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
    max-width: 520px;
}

.ff-plan-icon {
    align-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    display: flex;
    flex: 0 0 auto;
    height: 74px;
    justify-content: center;
    width: 74px;
}

.ff-plan-icon svg {
    height: 42px;
    width: 42px;
}

.ff-onboarding-divider {
    border: 0;
    border-top: 1px solid var(--ff-slate-100);
    margin: 38px 0;
}

.ff-form-grid-two {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ff-onboarding-field-stack {
    display: grid;
    gap: 18px;
}

.ff-onboarding-card label {
    color: var(--ff-slate-700, #334155);
    display: grid;
    font-size: 14px;
    font-weight: 800;
    gap: 7px;
}

.ff-onboarding-card label span {
    color: #94a3b8;
    font-weight: 500;
}

.ff-onboarding-card input,
.ff-onboarding-card textarea {
    background: var(--ff-slate-50);
    border: 1px solid var(--ff-slate-200);
    border-radius: 14px;
    color: var(--ff-ink);
    font: inherit;
    padding: 14px 16px;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}

.ff-onboarding-card input:focus,
.ff-onboarding-card textarea:focus {
    background: #fff;
    border-color: var(--ff-brand-500);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
    outline: none;
}

.ff-onboarding-error {
    background: #fff1f2;
    border: 1px solid #ffe4e6;
    border-radius: 14px;
    color: #e11d48;
    font-size: 14px;
    font-weight: 800;
    margin: 28px 0 18px;
    padding: 14px 16px;
}

.ff-onboarding-submit {
    align-items: center;
    background: var(--ff-brand-600);
    border: 0;
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(37, 99, 235, .24);
    color: #fff;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 18px;
    font-weight: 900;
    gap: 10px;
    justify-content: center;
    padding: 16px 28px;
    transition: transform .2s ease, background .2s ease;
    width: 100%;
}

.ff-onboarding-submit:hover {
    background: var(--ff-brand-700);
    transform: translateY(-1px);
}

.ff-onboarding-submit svg {
    height: 20px;
    width: 20px;
}

.ff-onboarding-note {
    color: #94a3b8;
    font-size: 13px;
    margin: 14px 0 0;
    text-align: center;
}

.ff-onboarding-success {
    text-align: center;
}

.ff-onboarding-success h2 {
    color: var(--ff-slate-900);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.1;
    margin: 0 0 14px;
}

.ff-onboarding-success p {
    color: var(--ff-slate-600);
    font-size: 18px;
    line-height: 1.65;
    margin: 0 auto 28px;
    max-width: 620px;
}

.ff-confirm-icon {
    align-items: center;
    background: var(--ff-brand-100);
    border: 4px solid #fff;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, .14);
    color: var(--ff-brand-600);
    display: inline-flex;
    font-size: 36px;
    font-weight: 900;
    height: 74px;
    justify-content: center;
    margin-bottom: 22px;
    width: 74px;
}

.ff-confirm-icon svg {
    height: 40px;
    width: 40px;
}

.ff-onboarding-sidebar {
    position: sticky;
    top: 112px;
}

.ff-trust-panel {
    background: var(--ff-slate-900);
    box-shadow: 0 22px 45px rgba(15, 23, 42, .18);
    color: #fff;
    padding: 32px;
}

.ff-trust-panel h3 {
    color: #fff;
    font-size: 22px;
    margin: 0 0 24px;
}

.ff-trust-panel ul {
    display: grid;
    gap: 18px;
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.ff-trust-panel li {
    display: flex;
    gap: 12px;
}

.ff-trust-panel li > span {
    align-items: center;
    background: rgba(16, 185, 129, .18);
    border-radius: 999px;
    color: #34d399;
    display: flex;
    flex: 0 0 auto;
    height: 22px;
    justify-content: center;
    margin-top: 2px;
    width: 22px;
}

.ff-trust-panel svg {
    height: 13px;
    width: 13px;
}

.ff-trust-panel strong {
    color: #f8fafc;
    display: block;
    font-size: 15px;
    margin-bottom: 3px;
}

.ff-trust-panel li p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.ff-testimonial-box {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 18px;
    padding: 20px;
}

.ff-stars {
    color: #fbbf24;
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.ff-testimonial-box p {
    color: #cbd5e1;
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.ff-next-steps-panel {
    background: rgba(255, 255, 255, .64);
    border: 1px solid var(--ff-slate-200);
    margin-top: 24px;
    padding: 28px;
}

.ff-next-steps-panel h4 {
    color: var(--ff-slate-900);
    font-size: 14px;
    letter-spacing: .08em;
    margin: 0 0 24px;
    text-transform: uppercase;
}

.ff-next-steps-list {
    border-left: 2px solid var(--ff-slate-200);
    display: grid;
    gap: 22px;
    margin-left: 10px;
}

.ff-next-steps-list div {
    padding-left: 22px;
    position: relative;
}

.ff-next-steps-list span {
    background: var(--ff-brand-500);
    border: 4px solid var(--ff-slate-50);
    border-radius: 999px;
    height: 18px;
    left: -10px;
    position: absolute;
    top: 2px;
    width: 18px;
}

.ff-next-steps-list div:not(:first-child) span {
    background: #cbd5e1;
}

.ff-next-steps-list strong {
    color: var(--ff-slate-900);
    display: block;
    font-size: 14px;
}

.ff-next-steps-list p {
    color: var(--ff-slate-600);
    font-size: 13px;
    line-height: 1.45;
    margin: 4px 0 0;
}

.ff-funnel-panel,
.ff-funnel-shell,
.ff-lead-card,
.ff-conversion-card {
    background: #fff;
    border: 1px solid var(--ff-slate-200);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
}

.ff-funnel-panel {
    padding: 28px;
}

.ff-panel-header {
    align-items: center;
    color: var(--ff-blue);
    display: flex;
    font-weight: 900;
    gap: 10px;
    margin-bottom: 22px;
}

.ff-panel-dot {
    background: var(--ff-orange);
    border-radius: 50%;
    display: inline-block;
    height: 12px;
    width: 12px;
}

.ff-score-card {
    align-items: center;
    background: var(--ff-soft);
    border-radius: 22px;
    display: grid;
    gap: 18px;
    grid-template-columns: auto 1fr;
    padding: 22px;
}

.ff-score-number {
    align-items: center;
    background: var(--ff-blue);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 42px;
    font-weight: 900;
    height: 78px;
    justify-content: center;
    width: 78px;
}

.ff-mini-checklist,
.ff-refinement-log {
    color: var(--ff-muted);
    line-height: 1.6;
    padding-left: 20px;
}

.ff-funnel-stage-section > p {
    max-width: 980px;
}

.ff-scan-workspace-section {
    padding-top: 48px;
}

.step-content {
    display: none;
    opacity: 0;
    transition: opacity .4s ease;
}

.step-content.active {
    display: block;
    opacity: 1;
}

.ff-checkup-funnel {
    margin-bottom: -12px;
    padding-bottom: 46px;
}

.ff-checkup-funnel [data-funnel-root] {
    box-shadow: 0 18px 45px rgba(15, 23, 42, .13);
}

.ff-checkup-confirmation {
    padding-bottom: 58px !important;
    padding-top: 58px !important;
}

.ff-checkup-confirmation .max-w-2xl {
    margin-bottom: 0;
}

.ff-checkup-confirmation h3 {
    line-height: 1.12;
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
}

.ff-checkup-confirmation p {
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
}

.ff-funnel-shell {
    border-radius: 24px;
    margin-top: 26px;
    overflow: hidden;
}

.ff-funnel-steps {
    background: var(--ff-slate-900);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.ff-funnel-steps button {
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, .16);
    color: #d8e6fb;
    cursor: pointer;
    font-weight: 900;
    padding: 16px 14px;
}

.ff-funnel-steps button.is-active {
    background: var(--ff-brand-600);
    color: #fff;
}

.ff-funnel-stage {
    padding: 26px;
}

.ff-empty-state,
.ff-progress-box,
.ff-result-summary,
.ff-inline-cta,
.ff-admin-note {
    background: var(--ff-slate-50);
    border: 1px solid var(--ff-slate-200);
    border-radius: 18px;
    padding: 20px;
}

.ff-progress-box {
    align-items: center;
    display: flex;
    gap: 18px;
    margin-bottom: 20px;
    outline: 2px solid rgba(255, 138, 29, .14);
}

.ff-spinner {
    animation: ff-spin 1s linear infinite;
    border: 4px solid rgba(37, 99, 235, .12);
    border-radius: 50%;
    border-top-color: var(--ff-brand-600);
    height: 42px;
    width: 42px;
}

@keyframes ff-spin {
    to { transform: rotate(360deg); }
}

.ff-opportunity-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 18px;
}

.ff-opportunity-grid article {
    background: #fff;
    border: 1px solid var(--ff-slate-200);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
    padding: 18px;
}

.ff-opportunity-grid article:nth-child(5),
.ff-opportunity-grid article:nth-child(6),
.ff-opportunity-grid article:nth-child(7) {
    grid-column: span 1;
}

.ff-opportunity-grid h4 {
    color: var(--ff-slate-900);
    font-size: 20px;
    margin: 0 0 8px;
}

.ff-opportunity-grid p {
    font-size: 15px;
    margin-bottom: 0;
}

.ff-opportunity-grid span {
    background: var(--ff-brand-50);
    border-radius: 999px;
    color: var(--ff-brand-600);
    display: inline-flex;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    margin-bottom: 10px;
    width: 30px;
}

.ff-inline-cta,
.ff-lead-card,
.ff-preview-layout {
    display: grid;
    gap: 20px;
    margin-top: 22px;
}

.ff-inline-cta,
.ff-lead-card {
    align-items: center;
    grid-template-columns: 1fr auto;
}

.ff-conversion-card {
    display: grid;
    gap: 18px;
    margin-top: 22px;
    padding: 34px;
}

.ff-conversion-card h3 {
    max-width: 820px;
}

.ff-conversion-card > p {
    max-width: 860px;
}

.ff-report-next-steps {
    background: var(--ff-slate-50);
    border: 1px solid var(--ff-slate-200);
    border-radius: 18px;
    color: var(--ff-muted);
    max-width: 760px;
    padding: 18px;
}

.ff-report-next-steps strong {
    color: var(--ff-slate-900);
    display: block;
    margin-bottom: 6px;
}

.ff-report-next-steps p {
    font-size: 16px;
    margin: 0;
}

.ff-lead-card {
    grid-template-columns: minmax(0, .7fr) minmax(420px, 1fr);
    padding: 26px;
}

.ff-lead-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
}

.ff-lead-form label:has(textarea),
.ff-lead-form .ff-form-message,
.ff-lead-form button {
    grid-column: 1 / -1;
}

.ff-preview-layout {
    grid-template-columns: minmax(0, 1fr) minmax(420px, .5fr);
}

.ff-demo-frame {
    background: linear-gradient(135deg, #f8fbff 0%, #fff 60%, #eef6ff 100%);
    border: 1px solid rgba(13, 44, 98, .1);
    border-radius: 28px;
    min-height: 460px;
    overflow: hidden;
}

.ff-demo-hero {
    padding: 38px;
}

.ff-demo-label {
    color: var(--ff-orange);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ff-demo-hero h3,
.ff-lead-card h3 {
    color: var(--ff-blue);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    margin: 12px 0;
}

.ff-conversion-card h3 {
    color: var(--ff-blue);
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.08;
    margin: 0;
}

.ff-demo-columns {
    background: #fff;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
    padding: 24px;
}

.ff-refinement-panel {
    background: #fff;
    border: 1px solid var(--ff-slate-200);
    border-radius: 24px;
    padding: 28px;
}

.ff-turns {
    color: var(--ff-brand-600);
    font-weight: 900;
    margin: 12px 0;
}

.ff-demo-link-note,
.ff-signup-wall {
    background: var(--ff-slate-50);
    border: 1px solid var(--ff-slate-200);
    border-radius: 18px;
    color: var(--ff-muted);
    padding: 16px;
}

.ff-signup-wall {
    background: #071d3f;
    border-color: rgba(255, 138, 29, .55);
    box-shadow: 0 18px 38px rgba(7, 29, 63, .22);
    color: #fff;
    margin: 18px 0;
}

.ff-signup-wall h3 {
    color: #fff;
    margin-top: 0;
}

.ff-signup-wall p {
    color: #d8e6fb;
    font-size: 16px;
    margin-bottom: 12px;
}

.ff-suggested-prompts {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.ff-suggested-prompts button {
    background: var(--ff-soft);
    border: 1px solid rgba(13, 44, 98, .08);
    border-radius: 14px;
    color: var(--ff-blue);
    cursor: pointer;
    font-weight: 800;
    padding: 12px;
    text-align: left;
}

.ff-conversion-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 900px) {
    .ff-funnel-hero,
    .ff-url-row,
    .ff-checkup-header-grid,
    .ff-onboarding-layout,
    .ff-inline-cta,
    .ff-lead-card,
    .ff-preview-layout,
    .ff-conversion-card {
        grid-template-columns: 1fr;
    }

    .ff-funnel-steps,
    .ff-opportunity-grid,
    .ff-demo-columns,
    .ff-lead-form,
    .ff-form-grid-two {
        grid-template-columns: 1fr;
    }

    .ff-onboarding-card {
        padding: 24px;
    }

    .ff-onboarding-sidebar {
        position: static;
    }

    .ff-plan-icon {
        display: none;
    }
}

.ff-service-hero {
    grid-template-columns: 1fr .72fr;
}

.ff-offer-panel {
    align-self: stretch;
}

.ff-price-card {
    background: linear-gradient(135deg, #fff7ef 0%, #f6f9ff 100%);
    border: 1px solid rgba(255, 138, 29, .18);
    border-radius: 22px;
    padding: 24px;
}

.ff-price-card strong {
    color: var(--ff-blue);
    display: block;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.05;
    margin: 8px 0 12px;
}

.ff-price-kicker {
    color: var(--ff-orange);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ff-package-layout {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 360px;
    margin-top: 28px;
}

.ff-package-main,
.ff-package-side,
.ff-url-form-card {
    background: #fff;
    border: 1px solid rgba(13, 44, 98, .08);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(13, 44, 98, .1);
    padding: 28px;
}

.ff-url-form-card {
    border-top: 5px solid var(--ff-orange);
}

.ff-scan-card {
    box-shadow: 0 24px 60px rgba(13, 44, 98, .14);
}

.ff-package-main h3 {
    color: var(--ff-blue);
    font-size: clamp(28px, 4vw, 42px);
    margin: 0 0 12px;
}

.ff-package-side strong {
    color: var(--ff-blue);
    display: block;
    font-size: 20px;
    margin-top: 10px;
}

.ff-package-list {
    columns: 1;
    margin-top: 22px;
}

.ff-funnel-intro-grid {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr);
}

.ff-result-summary {
    background: #071d3f;
}

.ff-result-summary h3,
.ff-result-summary p {
    color: #fff;
}

.ff-centered-actions {
    justify-content: center;
}

@media (max-width: 900px) {
    .ff-service-hero,
    .ff-package-layout,
    .ff-funnel-intro-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1180px) and (min-width: 901px) {
    .ff-opportunity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ff-preview-layout {
        grid-template-columns: minmax(0, 1fr) minmax(360px, .55fr);
    }
}

.ff-agent-grid,
.ff-plan-grid,
.ff-prompt-grid,
.ff-growth-path,
.ff-faq-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
}

.ff-agent-card,
.ff-plan-card,
.ff-prompt-grid div,
.ff-growth-path div,
.ff-faq-grid article {
    background: #fff;
    border: 1px solid rgba(13, 44, 98, .08);
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(13, 44, 98, .08);
    padding: 26px;
}

.ff-agent-card h3,
.ff-plan-card h3,
.ff-growth-path h3,
.ff-faq-grid h3 {
    color: var(--ff-blue);
    font-size: 24px;
    margin: 0 0 10px;
}

.ff-prompt-grid {
    grid-template-columns: repeat(5, 1fr);
}

.ff-prompt-grid div {
    color: var(--ff-blue);
    font-weight: 900;
    line-height: 1.35;
}

.ff-growth-path div {
    border-top: 5px solid var(--ff-orange);
}

.ff-growth-path span {
    color: var(--ff-orange);
    display: block;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.ff-faq-grid article {
    box-shadow: none;
}

.ff-plan-card span {
    color: var(--ff-orange);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ff-plan-card.is-featured {
    border-color: rgba(255, 138, 29, .45);
    box-shadow: 0 20px 60px rgba(255, 138, 29, .16);
    transform: translateY(-8px);
}

.ff-timeline {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.ff-timeline div {
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(13, 44, 98, .08);
    border-radius: 22px;
    display: grid;
    gap: 14px;
    grid-template-columns: auto 1fr;
    padding: 22px;
}

.ff-timeline span {
    align-items: center;
    background: var(--ff-orange);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-weight: 900;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.ff-timeline strong {
    color: var(--ff-blue);
    display: block;
    font-size: 20px;
}

.ff-timeline p {
    grid-column: 2;
    margin: -8px 0 0;
}

@media (max-width: 900px) {
    .ff-agent-grid,
    .ff-plan-grid,
    .ff-prompt-grid,
    .ff-growth-path,
    .ff-faq-grid {
        grid-template-columns: 1fr;
    }

    .ff-plan-card.is-featured {
        transform: none;
    }
}
