.qfml {
    --navy:#203344;
    --gold:#92774e;
    --ink:#263746;
    --muted:#617080;
    --border:#dfe5e9;
    width:100%;
    max-width:none;
    margin:0;
    color:var(--ink);
    background:#fff;
    font-size:16px;
    line-height:1.75;
    overflow-wrap:break-word;
}

.qfml *,
.qfml *::before,
.qfml *::after {
    box-sizing:border-box;
}

.qfml h1,
.qfml h2,
.qfml h3 {
    color:var(--navy);
    font-weight:650;
    letter-spacing:-.025em;
    line-height:1.22;
    margin:0 0 18px;
}

.qfml h1 {
    font-size:clamp(34px,4.2vw,58px);
}

.qfml h2 {
    font-size:clamp(27px,3vw,40px);
}

.qfml h3 {
    font-size:21px;
    letter-spacing:-.015em;
}

.qfml p {
    margin:0 0 18px;
    color:var(--muted);
    line-height:1.8;
}

.qfml-container {
    width:min(1240px,calc(100% - 64px));
    margin:0 auto;
}

.qfml-narrow {
    max-width:850px;
}

.qfml-center {
    text-align:center;
}

.qfml-section {
    padding:76px 0;
}

.qfml-soft {
    background:#f6f8fa;
}

.qfml-heading {
    max-width:800px;
    margin:0 auto 38px;
}

.qfml-eyebrow {
    display:block;
    font-size:11px;
    font-weight:750;
    letter-spacing:2px;
    color:var(--gold);
    margin-bottom:14px;
}

.qfml-lead {
    font-size:19px;
    line-height:1.8!important;
}

.qfml .qfml-small {
    font-size:13px;
    margin-top:16px;
    color:var(--muted);
}

.qfml-hero {
    background:linear-gradient(125deg,#f8f5ee,#f0f4f6);
    padding:42px 0 64px;
}

.qfml-search-panel {
    max-width:960px;
    margin:0 auto 56px;
    padding:32px;
    background:#fff;
    border:1px solid #e0e5e8;
    border-radius:18px;
    box-shadow:0 12px 40px rgba(32,51,68,.06);
    text-align:center;
}

.qfml-search-panel h2 {
    margin-bottom:8px;
    font-size:30px;
}

.qfml-search-panel .qfml-eyebrow {
    margin-bottom:8px;
}

.qfml-search-input {
    display:flex;
    align-items:center;
    gap:14px;
    padding:8px;
    border:1px solid #c8d2da;
    border-radius:10px;
    background:#fff;
}

.qfml-search-input > svg {
    margin-left:12px;
    color:#718293;
    flex-shrink:0;
}

.qfml .qfml-search-input input {
    flex:1;
    width:100%;
    min-width:0;
    margin:0!important;
    padding:10px 0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    height:auto!important;
    font-size:16px!important;
    line-height:1.5!important;
    color:var(--navy)!important;
}

.qfml-search-input:focus-within {
    border-color:var(--navy);
    box-shadow:0 0 0 3px rgba(32,51,68,.08);
}

.qfml-search-help {
    font-size:12px;
    margin:12px 0 0!important;
}

.qfml-hero-grid,
.qfml-split {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:56px;
    align-items:center;
}

.qfml-image {
    display:block;
    width:100%;
    height:auto;
    border-radius:16px;
}

.qfml-actions {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
    margin-top:24px;
}

.qfml .qfml-button {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:14px!important;
    width:auto;
    min-height:48px!important;
    height:auto!important;
    padding:13px 24px!important;
    margin:0;
    border:1px solid #203344!important;
    border-radius:7px!important;
    background:#203344!important;
    color:#fff!important;
    font-family:inherit!important;
    font-size:15px!important;
    font-weight:650!important;
    line-height:1.5!important;
    letter-spacing:0!important;
    text-transform:none!important;
    text-decoration:none!important;
    text-align:center!important;
    white-space:normal!important;
    box-shadow:none!important;
    cursor:pointer;
    transition:background .18s ease;
}

.qfml .qfml-button:hover {
    background:#344e64!important;
    color:#fff!important;
}

.qfml .qfml-outline {
    background:transparent!important;
    color:var(--navy)!important;
}

.qfml .qfml-outline:hover {
    background:#eaf0f4!important;
    color:var(--navy)!important;
}

.qfml .qfml-button:focus-visible,
.qfml summary:focus-visible,
.qfml a:focus-visible {
    outline:3px solid #a68b54;
    outline-offset:4px;
}

.qfml-button:disabled {
    opacity:.65;
    cursor:wait;
}

.qfml-trust {
    border-bottom:1px solid var(--border);
    padding:22px 0;
}

.qfml-trust-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    text-align:center;
    font-size:13px;
    font-weight:600;
}

.qfml-feature-grid,
.qfml-theme-grid,
.qfml-steps {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}

.qfml-feature {
    padding:28px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
}

.qfml-feature-number {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    background:#f0ede5;
    color:#826b46;
    font-weight:700;
    font-size:14px;
    border-radius:10px;
    margin-bottom:18px;
}

.qfml-feature p {
    font-size:15px;
    margin-bottom:0;
}

.qfml-checks {
    list-style:none!important;
    margin:24px 0!important;
    padding:0!important;
}

.qfml-checks li {
    position:relative;
    padding:7px 0 7px 27px!important;
    margin:0!important;
    list-style:none!important;
    line-height:1.6;
    font-size:15px;
}

.qfml-checks li::before {
    content:"\2713";
    position:absolute;
    left:0;
    color:#527b62;
    font-weight:700;
}

.qfml-theme-card {
    padding:12px;
    border:1px solid var(--border);
    border-radius:12px;
    background:#fff;
}

.qfml-theme-card h3 {
    text-align:center;
    font-size:16px;
    margin:16px 0 8px;
}

.qfml-theme-preview {
    background:var(--preview-bg);
    color:var(--preview-ink);
    border-radius:8px;
    min-height:310px;
    padding:24px 16px;
    display:flex;
    align-items:center;
    flex-direction:column;
    justify-content:center;
    text-align:center;
    font-family:Georgia,serif;
}

.qfml-preview-decoration {
    color:var(--preview-accent);
    font-size:23px;
}

.qfml-preview-heading {
    font-size:20px;
    margin:6px 0 16px;
}

.qfml-preview-portrait {
    width:82px;
    height:82px;
    border:2px solid var(--preview-accent);
    border-radius:50%;
    overflow:hidden;
    margin-bottom:14px;
}

.qfml-theme-preview strong {
    color:inherit;
    font-size:17px;
}

.qfml-theme-preview small {
    color:inherit;
    font-size:10px;
    margin-top:8px;
}

.qfml-preview-line {
    width:50%;
    height:1px;
    background:var(--preview-accent);
    margin:18px 0 12px;
}

.qfml-preview-story {
    font-size:13px;
}

.qfml-preview-lines {
    width:72%;
    height:24px;
    margin-top:10px;
    opacity:.25;
    background:repeating-linear-gradient(
        to bottom,
        var(--preview-ink) 0 1px,
        transparent 1px 7px
    );
}

.qfml-steps article {
    padding:20px;
    text-align:center;
}

.qfml-steps article > span {
    display:inline-flex;
    width:54px;
    height:54px;
    border-radius:50%;
    background:var(--navy);
    color:#fff;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
    font-weight:700;
}

.qfml-plans {
    max-width:920px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

.qfml-plan {
    display:flex;
    flex-direction:column;
    padding:34px;
    border:1px solid var(--border);
    border-radius:16px;
    background:#fff;
}

.qfml-plan-premium {
    border:2px solid #a68b54;
    background:#faf8f3;
}

.qfml-plan-label {
    color:var(--gold);
    font-size:11px;
    font-weight:700;
    letter-spacing:1.4px;
    margin-bottom:12px;
}

.qfml-plan h3 {
    font-size:25px;
    margin-bottom:8px;
}

.qfml-price {
    font-size:52px;
    line-height:1.3;
    font-weight:700;
    color:var(--navy);
    letter-spacing:-2px;
}

.qfml-plan .qfml-button {
    width:100%;
    margin-top:auto;
}

.qfml-privacy {
    background:#f6f3ec;
}

.qfml-faq details {
    border-bottom:1px solid var(--border);
    padding:20px 0;
}

.qfml-faq summary {
    cursor:pointer;
    font-size:17px;
    font-weight:650;
    color:var(--navy);
    list-style:none;
    position:relative;
    padding-right:34px;
}

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

.qfml-faq summary::after {
    content:"+";
    position:absolute;
    right:0;
    top:0;
    font-size:23px;
    font-weight:400;
}

.qfml-faq details[open] summary::after {
    content:"\2212";
}

.qfml-faq details p {
    margin:14px 0 0;
}

.qfml-final {
    background:var(--navy);
    color:#fff;
}

.qfml-final h2 {
    color:#fff;
}

.qfml-final p {
    color:#dbe3ea;
}

.qfml-final .qfml-eyebrow {
    color:#ddc89e;
}

.qfml-final .qfml-button {
    background:#fff!important;
    color:var(--navy)!important;
    border-color:#fff!important;
}

.qfml-final .qfml-button:hover {
    background:#e7edf2!important;
}

.qfml-final-links {
    margin-top:24px!important;
    font-size:13px;
}

.qfml-final-links a {
    color:#fff!important;
    text-decoration:underline;
}

.qfml-sr {
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
}

#qfml-search-status:not(:empty) {
    margin-top:18px;
    color:var(--muted);
    font-size:14px;
}

#qfml-search-results {
    display:grid;
    gap:12px;
    text-align:left;
}

.qfml-result {
    display:flex;
    align-items:center;
    gap:16px;
    padding:16px;
    border:1px solid var(--border);
    border-radius:10px;
    text-decoration:none!important;
    color:var(--navy)!important;
    margin-top:12px;
}

.qfml-result:hover {
    background:#f6f8fa;
}

.qfml-result-photo {
    width:64px;
    height:64px;
    flex-shrink:0;
    border-radius:8px;
    object-fit:cover;
    background:#edf1f4;
    display:flex;
    align-items:center;
    justify-content:center;
}

.qfml-result-info {
    flex:1;
    min-width:0;
}

.qfml-result-info strong {
    display:block;
    font-size:16px;
}

.qfml-result-info small {
    color:var(--muted);
    font-size:13px;
}

@media(max-width:1000px) {
    .qfml-hero-grid,
    .qfml-split {
        gap:30px;
    }

    .qfml-feature-grid,
    .qfml-theme-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

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

@media(max-width:700px) {
    .qfml-container {
        width:calc(100% - 32px);
    }

    .qfml-section {
        padding:46px 0;
    }

    .qfml-hero {
        padding:24px 0 42px;
    }

    .qfml-search-panel {
        padding:20px;
        margin-bottom:32px;
    }

    .qfml-search-input {
        flex-wrap:wrap;
        gap:8px;
    }

    .qfml .qfml-search-input input {
        flex-basis:calc(100% - 54px);
        font-size:14px!important;
    }

    .qfml-search-input .qfml-button {
        width:100%;
    }

    .qfml-hero-grid,
    .qfml-split,
    .qfml-plans,
    .qfml-steps,
    .qfml-feature-grid {
        grid-template-columns:1fr;
    }

    .qfml-theme-grid {
        gap:12px;
    }

    .qfml-theme-preview {
        padding:14px 8px;
        min-height:250px;
    }

    .qfml-preview-heading {
        font-size:15px;
    }

    .qfml-theme-preview strong {
        font-size:13px;
    }

    .qfml-plan,
    .qfml-feature {
        padding:24px;
    }

    .qfml-actions .qfml-button {
        width:100%;
    }

    .qfml-lead {
        font-size:17px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .qfml * {
        transition:none!important;
        scroll-behavior:auto!important;
    }
}
