:root {
  --bf-blue: #073b76;
  --bf-blue-2: #0b5cc7;
  --bf-green: #14a44d;
  --bf-ink: #102033;
  --bf-muted: #5d6b7a;
  --bf-soft: #f3f8ff;
  --bf-card: #ffffff;
  --bf-border: #dfe8f4;
  --bf-gold: #f3b51b;
  --shadow-soft: 0 14px 40px rgba(7, 59, 118, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --shell: min(1160px, calc(100% - 32px));
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--bf-ink);
  background: #fff;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -60px; left: 16px; background: #000; color: #fff; padding: 10px 14px; z-index: 9999; }
.skip-link:focus { top: 12px; }
.site-shell { width: var(--shell); margin-inline: auto; }
.narrow-shell { max-width: 880px; }
.text-center { text-align: center; }
.section-pad { padding: 56px 0; }
.section-pad-lg { padding: 72px 0 56px; }
.section-soft { background: linear-gradient(180deg, #f7fbff, #edf6ff); }
.section-header { max-width: 860px; margin: 0 auto 28px; }
.section-header h2, .feature-split h2, .quiz-grid h2 { margin: 8px 0 10px; font-size: clamp(1.65rem, 4vw, 2.55rem); line-height: 1.14; color: var(--bf-blue); }
.section-subtitle { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #243a56; font-weight: 650; }
.eyebrow {
    color: var(--bf-green);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .08em;
    font-size: clamp(1.65rem, 4vw, .9rem);
    margin: 0 0 8px;
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; padding: 12px 20px; font-weight: 800; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover, .btn:focus-visible { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-primary { background: linear-gradient(135deg, var(--bf-blue-2), var(--bf-green)); color: #fff; }

.btn-secondary { background: #fff; border-color: var(--bf-border); color: var(--bf-blue); }
.section-actions { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--bf-border); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.nav-toggle { width: 44px; height: 44px; border: 1px solid var(--bf-border); border-radius: 12px; background: #fff; display: grid; place-items: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: var(--bf-blue); position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.primary-nav { display: none; position: absolute; left: 16px; right: 16px; top: 72px; background: #fff; border: 1px solid var(--bf-border); border-radius: 18px; box-shadow: var(--shadow-soft); padding: 12px; }
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; padding: 0; margin: 0; }
.primary-nav a, .nav-submenu-button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 10px; border-radius: 12px; color: var(--bf-ink); text-decoration: none; background: transparent; border: 0; cursor: pointer; text-align: left; }
.primary-nav a:hover, .nav-submenu-button:hover { background: var(--bf-soft); }
.nav-signin { background: var(--bf-blue) !important; color: #fff !important; justify-content: center !important; }
.nav-submenu { display: none; margin-left: 10px !important; border-left: 2px solid var(--bf-border); padding-left: 10px !important; }
.has-menu.is-expanded .nav-submenu { display: block; }

.hero-section { background: radial-gradient(circle at 75% 18%, #d7f4ff 0, transparent 32%), linear-gradient(135deg, #f0f7ff, #e6f2fa); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.hero-copy h1 { margin: 0; color: var(--bf-blue); font-size: clamp(2rem, 7vw, 4.3rem); line-height: 1.05; letter-spacing: -.04em; }
.hero-lead { font-size: clamp(1.05rem, 2.5vw, 1.35rem); color: #243a56; max-width: 760px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.microcopy { margin: 8px 0 0; color: #c95b4c; font-weight: 700; }
.trust-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.trust-card { background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-soft); border-radius: var(--radius-md); padding: 16px; }
.trust-card strong { display: block; color: var(--bf-blue-2); font-size: 1.45rem; line-height: 1; }
.trust-card span { color: var(--bf-muted); font-weight: 650; }
.hero-visual { background: rgba(255,255,255,.64); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 16px; }
.rotating-copy { color: var(--bf-blue); font-weight: 850; text-align: center; margin: 4px 0 14px; }
.hero-visual img { border-radius: 18px; margin-inline: auto; max-height: 610px; object-fit: contain; }

.category-tabs { display: flex; justify-content:center; align-items:center; flex-wrap:wrap; gap: 12px; overflow-x: auto; padding: 4px 0 18px; margin-bottom: 12px; scrollbar-width: thin; text-align:center }



.category-tab {
    border: 1px solid var(--bf-border);
    background: #fff;
    border-radius: 999px;
    padding: 10px 16px;
    white-space: nowrap;
    color: var(--bf-blue);
    font-weight: 800;
    cursor: pointer;
}
.category-tab.active { background: var(--bf-blue); color: #fff; }
.template-category { display: none; }
.template-category.active { display: block; }
.category-copy { max-width: 850px; margin: 0 auto 20px; text-align: center; }
.category-copy h3 { color: var(--bf-blue); font-size: clamp(1.25rem, 3vw, 1.8rem); margin-bottom: 8px; }
.template-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.template-card { background: #fff; border: 1px solid var(--bf-border); border-radius: var(--radius-md); padding: 12px; box-shadow: 0 8px 28px rgba(10, 60, 118, .08); }
.template-card a { position: relative; display: block; text-decoration: none; color: inherit; }
.template-card img { width: 100%; border-radius: 12px; background: #f8fafc; object-fit:contain; aspect-ratio: 3/4; }
.template-cta {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    color: #FFF;
    font-family: 'Inter', sans-serif;
    letter-spacing: .4px;
    font-size: clamp(0.875rem, 0.9vw + 0.3rem, 1rem);
    background: rgba(0, 123, 255,.72);
    color: #fff;
    text-align: center;
    border-radius: 999px;
    padding: 9px;
    font-weight: 600;
}
.template-card h4 { margin: 14px 0 6px; color: var(--bf-blue); }
.template-card p { color: var(--bf-muted); margin: 0; }

.step-grid,
.testimonial-grid,
.expert-grid,
.pricing-grid,
.feature-card-grid,
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.step-card,
.testimonial-card,
.expert-card,
.pricing-card,
.mini-card,
.blog-card,
.faq-item {
    background: var(--bf-card);
    border: 1px solid var(--bf-border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: 0 8px 28px rgba(10, 60, 118, .07);
    text-align: center;
}

.step-icon-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    margin-bottom: 14px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 28px;
    font-weight: 900;
    color: #d7d7d7;
    line-height: 1;
}

.step-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.step-card h3,
.mini-card h3 {
    color: var(--bf-blue);
    margin-bottom: 10px;
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 991px) {

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

    .step-card {
        padding: 24px 20px;
    }

    .step-number {
        font-size: 28px;
    }

    .step-icon {
        width: 68px;
        height: 68px;
    }
}

/* Desktop View */
@media (min-width: 992px) {

    .step-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile View */
@media (max-width: 767px) {

    .step-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 20px 16px;
    }

    .step-number {
        font-size: 24px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-card h3 {
        font-size: 1.2rem;
    }

    .step-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

    .content-note {
        max-width: 980px;
        margin: 24px auto 0;
        text-align: center;
        color: #243a56;
        font-size: 1.05rem;
    }

    .testimonial-card img {
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 12px;
    }

    .testimonial-card h3 {
        margin: 0 0 4px;
        color: var(--bf-blue);
    }

    .role {
        color: var(--bf-blue-2);
        font-weight: 750;
        margin: 0 0 8px;
    }

    .stars {
        color: var(--bf-gold);
        letter-spacing: 2px;
    }

    .expert-card {
        display: grid;
        gap: 18px;
    }

        .expert-card img {
            width: 140px;
            height: 140px;
            object-fit: cover;
            border-radius: 50%;
        }

    .pricing-card {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        .pricing-card.featured {
            border: 2px solid var(--bf-green);
            transform: translateY(-2px);
        }

    .plan-badge {
        align-self: flex-start;
        background: #eaf8ef;
        color: #0b7838;
        border-radius: 999px;
        padding: 6px 10px;
        font-weight: 900;
        font-size: .82rem;
        margin: 0;
    }

    .pricing-card h3 {
        color: var(--bf-blue);
        font-size: 1.45rem;
        margin: 4px 0;
    }

    .price {
        color: var(--bf-blue-2);
        font-size: 2rem;
        font-weight: 900;
        margin: 0;
    }

    .best-for {
        color: var(--bf-muted);
        font-weight: 700;
    }

    .plan-features {
        list-style: none;
        padding: 0;
        margin: 8px 0 14px;
        display: grid;
        gap: 10px;
    }

        .plan-features li {
            position: relative;
            padding-left: 26px;
        }

            .plan-features li::before {
                content: "✓";
                position: absolute;
                left: 0;
                color: var(--bf-green);
                font-weight: 900;
            }

    .pricing-card .btn {
        margin-top: auto;
    }

    .comparison-table-wrap {
        overflow-x: auto;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-soft);
        background: #fff;
    }

    .comparison-table {
        width: 100%;
        border-collapse: collapse;
        min-width: 760px;
    }

        .comparison-table th, .comparison-table td {
            border-bottom: 1px solid var(--bf-border);
            padding: 14px;
            text-align: left;
            vertical-align: top;
        }

        .comparison-table thead th {
            background: var(--bf-blue);
            color: #fff;
        }

        .comparison-table tbody th {
            color: var(--bf-blue);
        }

    .feature-split, .quiz-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: center;
    }

    .feature-card-grid {
        align-content: start;
    }

    .mini-card h3 {
        margin-top: 0;
    }

    .quiz-grid img, .feature-split > img, .feature-split picture img {
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-soft);
        background: #fff;
    }

    .ba-tabs {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        justify-content: center;
        margin: 0 0 20px;
    }

    .ba-tab {
        border: 1px solid var(--bf-border);
        background: #fff;
        color: var(--bf-blue);
        font-weight: 850;
        border-radius: 999px;
        padding: 10px 16px;
        cursor: pointer;
    }

        .ba-tab.active {
            background: var(--bf-blue);
            color: #fff;
        }

    .ba-panel {
        display: none;
        margin: 0;
    }

        .ba-panel.active {
            display: block;
        }

        .ba-panel img {
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-soft);
            margin: 0 auto;
        }

    .client-logo-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

        .client-logo-grid a {
            display: grid;
            place-items: center;
            background: #fff;
            border: 1px solid var(--bf-border);
            border-radius: 14px;
            min-height: 88px;
            padding: 12px;
        }

        .client-logo-grid img {
            max-height: 52px;
            object-fit: contain;
        }

    .blog-card {
        padding: 0;
        overflow: hidden;
    }

        .blog-card a {
            text-decoration: none;
            display: block;
        }

        .blog-card img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
        }

        .blog-card h3 {
            color: var(--bf-blue);
            padding: 16px 16px 6px;
            margin: 0;
        }

        .blog-card span {
            display: inline-block;
            color: var(--bf-blue-2);
            padding: 0 16px 18px;
            font-weight: 800;
        }

    .faq-item {
        margin-bottom: 12px;
        padding: 0;
        overflow: hidden;
    }

        .faq-item summary {
            cursor: pointer;
            padding: 18px 20px;
            color: var(--bf-blue);
            font-weight: 850;
            list-style: none;
        }

            .faq-item summary::-webkit-details-marker {
                display: none;
            }

        .faq-item p {
            margin: 0;
            padding: 0 20px 18px;
            color: var(--bf-muted);
        }

    .site-footer {
        background: #08182b;
        color: #d9e7f7;
        padding: 48px 0 88px;
    }

        .site-footer h2, .site-footer h3 {
            color: #fff;
        }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 8px;
    }

    .site-footer a {
        color: #d9e7f7;
        text-decoration: none;
    }

        .site-footer a:hover {
            color: #fff;
            text-decoration: underline;
        }

    .footer-bottom {
        border-top: 1px solid rgba(255,255,255,.12);
        margin-top: 28px;
        padding-top: 18px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

        .footer-bottom nav {
            display: flex;
            gap: 16px;
        }

    .mobile-sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: #fff;
        border-top: 1px solid var(--bf-border);
        box-shadow: 0 -10px 24px rgba(0,0,0,.08);
    }

        .mobile-sticky-cta a {
            display: grid;
            place-items: center;
            min-height: 54px;
            color: #fff;
            background: var(--bf-blue);
            text-decoration: none;
            font-weight: 900;
        }

            .mobile-sticky-cta a + a {
                background: var(--bf-green);
            }

    @media (min-width: 640px) {
        .trust-strip {
            grid-template-columns: repeat(3, 1fr);
        }

        .template-grid, .step-grid, .testimonial-grid, .pricing-grid, .feature-card-grid, .blog-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .client-logo-grid {
            grid-template-columns: repeat(4, 1fr);
        }

        .expert-card {
            grid-template-columns: 140px 1fr;
            align-items: center;
        }
    }

    @media (min-width: 992px) {
        .section-pad {
            padding: 76px 0;
        }

        .section-pad-lg {
            padding: 104px 0 76px;
        }

        .nav-toggle {
            display: none;
        }

        .primary-nav {
            display: block;
            position: static;
            border: 0;
            box-shadow: none;
            padding: 0;
            background: transparent;
        }

            .primary-nav > ul {
                display: flex;
                align-items: center;
                gap: 4px;
            }

            .primary-nav a, .nav-submenu-button {
                padding: 10px 12px;
                font-weight: 750;
            }

        .has-menu {
            position: relative;
        }

        .nav-submenu {
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 230px;
            background: #fff;
            border: 1px solid var(--bf-border);
            border-radius: 14px;
            box-shadow: var(--shadow-soft);
            padding: 8px !important;
            margin-left: 0 !important;
        }

        .has-menu:hover .nav-submenu, .has-menu:focus-within .nav-submenu {
            display: block;
        }

        .hero-grid {
            grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
        }

        .trust-strip {
            grid-template-columns: repeat(5, 1fr);
        }

        .template-grid {
            grid-template-columns: repeat(4, 1fr);
        }

        .step-grid {
            grid-template-columns: repeat(4, 1fr);
        }

        .testimonial-grid, .expert-grid, .blog-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .pricing-grid {
            grid-template-columns: repeat(4, 1fr);
            align-items: stretch;
        }

        .feature-split, .quiz-grid {
            grid-template-columns: 1fr 1fr;
        }

            .feature-split.reverse {
                direction: rtl;
            }

                .feature-split.reverse > * {
                    direction: ltr;
                }

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

        .client-logo-grid {
            grid-template-columns: repeat(7, 1fr);
        }

        .footer-grid {
            grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
        }

        .mobile-sticky-cta {
            display: none;
        }

        .site-footer {
            padding-bottom: 42px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: .01ms !important;
            animation-iteration-count: 1 !important;
            scroll-behavior: auto !important;
            transition-duration: .01ms !important;
        }
    }
