/* quickqualifier.com public sales site (test build in qq/). Colours come from the Check-Q mark (favicon.svg). */
:root {
    --navy: #16324F;
    --navy-deep: #0f243a;
    --green: #3DBA7E;
    --green-dark: #2a9a64;
    --green-soft: #e7f7ef;
    --blue-soft: #eef3f9;
    --ink: #15263a;
    --muted: #586a80;
    --line: #dbe3ec;
    --bg: #ffffff;
    --bg-alt: #f5f8fb;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(22, 50, 79, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

a { color: var(--navy); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p + p { margin-top: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Buttons */
.btn {
    display: inline-block;
    border: 2px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 650;
    padding: 11px 24px;
    text-align: center;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
    overflow-wrap: anywhere;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-small { padding: 7px 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-head .wrap { align-items: center; display: flex; gap: 20px; height: 68px; }
.brand { white-space: nowrap; align-items: center; color: var(--navy); display: flex; font-size: 1.2rem; font-weight: 750; gap: 10px; text-decoration: none; }
.brand img { height: 36px; width: 36px; }
.nav { align-items: center; display: flex; gap: 6px; margin-left: auto; }
.nav a { white-space: nowrap; border-radius: 8px; color: var(--ink); font-weight: 550; padding: 8px 12px; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--blue-soft); color: var(--navy); }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { background: var(--green-dark); }
.nav-toggle { background: none; border: 0; cursor: pointer; display: none; margin-left: auto; padding: 8px; }
.nav-toggle span { background: var(--navy); border-radius: 2px; display: block; height: 3px; margin: 4px 0; width: 24px; }

@media (max-width: 1000px) {
    .nav-toggle { display: block; }
    .nav {
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: stretch;
        left: 0; right: 0; top: 68px;
        padding: 12px 20px 20px;
        position: absolute;
    }
    .nav.open { display: flex; }
    .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding: 72px 0 80px; overflow: hidden; }
.hero h1, .hero h2 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, .85); }
.hero-grid { align-items: center; display: grid; gap: 48px; grid-template-columns: 1.05fr 1fr; }
.hero .note { color: rgba(255, 255, 255, .75); font-size: .95rem; margin-top: 16px; }
.hero-small { padding: 56px 0 60px; }
.hero-small .lead { max-width: 720px; margin-top: 14px; }
@media (max-width: 860px) {
    .hero { padding: 48px 0 56px; }
    .hero-grid { grid-template-columns: 1fr; }
}

/* Mock of a loan officer's site, used until real screenshots are added */
.mock { background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); color: var(--ink); overflow: hidden; }
.mock-bar { align-items: center; background: #e9eef4; display: flex; gap: 6px; padding: 10px 14px; }
.mock-bar i { background: #c3ccd7; border-radius: 50%; height: 10px; width: 10px; }
.mock-bar .url { background: #fff; border-radius: 6px; color: var(--muted); font-size: .8rem; margin-left: 10px; padding: 3px 10px; }
.mock-shot { display: block; height: auto; width: 100%; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head .lead { margin-top: 12px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card .tag { color: var(--green-dark); display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; margin-bottom: 6px; text-transform: uppercase; }
.icon { align-items: center; background: var(--green-soft); border-radius: 12px; color: var(--green-dark); display: flex; font-size: 1.4rem; font-weight: 800; height: 46px; justify-content: center; margin-bottom: 14px; width: 46px; }

.stat-row { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 34px; }
.stat b { color: #fff; display: block; font-size: 1.9rem; }
.stat span { color: rgba(255, 255, 255, .75); font-size: .95rem; }

.checks { list-style: none; }
.checks li { padding: 6px 0 6px 32px; position: relative; }
.checks li::before {
    background: var(--green);
    border-radius: 50%;
    color: #fff;
    content: "\2713";
    font-size: .8rem;
    font-weight: 800;
    height: 20px;
    left: 0;
    line-height: 20px;
    position: absolute;
    text-align: center;
    top: 10px;
    width: 20px;
}

/* Steps */
.steps { counter-reset: step; list-style: none; }
.steps li { counter-increment: step; padding: 0 0 22px 56px; position: relative; }
.steps li::before {
    background: var(--navy);
    border-radius: 50%;
    color: #fff;
    content: counter(step);
    font-weight: 700;
    height: 38px;
    left: 0;
    line-height: 38px;
    position: absolute;
    text-align: center;
    top: -4px;
    width: 38px;
}
.steps b { color: var(--navy); }

/* Pricing */
.plans { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 2px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; padding: 32px; }
.plan.best { border-color: var(--green); position: relative; }
.plan .badge { background: var(--green); border-radius: 999px; color: #fff; font-size: .8rem; font-weight: 700; padding: 3px 12px; position: absolute; right: 22px; top: -14px; }
.plan h3 { font-size: 1.1rem; }
.price { color: var(--navy); font-size: 3rem; font-weight: 800; line-height: 1.1; margin: 10px 0 4px; }
.price small { color: var(--muted); font-size: 1.05rem; font-weight: 500; }
.plan .checks { margin: 18px 0 26px; }
.plan .btn { margin-top: auto; }

.callout { align-items: center; background: var(--green-soft); border: 1px solid #bfe8d3; border-radius: 18px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; padding: 26px 30px; }
.callout h3 { margin-bottom: 4px; }
.callout-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.callout-navy h3, .callout-navy h2 { color: #fff; }
.callout-navy p { color: rgba(255, 255, 255, .85); }

/* Banner shown above everything (test build) */
.test-banner { background: #fff4d6; border-bottom: 1px solid #f0d58a; color: #6b4e00; font-size: .9rem; padding: 6px 20px; text-align: center; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row-2 { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form .row-2 { grid-template-columns: 1fr; } }
.field { display: grid; font-weight: 600; gap: 6px; }
.field .optional { color: var(--muted); font-weight: 400; }
.field .hint { color: var(--muted); font-size: .88rem; font-weight: 400; }
.input, textarea.input, select.input {
    border: 1px solid #8492a6;
    border-radius: 10px;
    font: inherit;
    padding: 10px 12px;
    width: 100%;
}
.input:focus { border-color: var(--navy); outline: 3px solid rgba(61, 186, 126, .35); }
.input-prefix { align-items: center; border: 1px solid #8492a6; border-radius: 10px; display: flex; overflow: hidden; }
.input-prefix span { background: var(--bg-alt); border-right: 1px solid var(--line); color: var(--muted); font-weight: 400; padding: 10px 10px 10px 12px; white-space: nowrap; }
.input-prefix .input { border: 0; border-radius: 0; }
.input-prefix span.suffix { border-left: 1px solid var(--line); border-right: 0; padding: 10px 12px 10px 10px; }
.input-prefix:focus-within { border-color: var(--navy); outline: 3px solid rgba(61, 186, 126, .35); }
.input-prefix .input:focus { outline: none; }
.form-status { border-radius: 10px; display: none; padding: 12px 16px; }
.form-status.show { display: block; }
.form-status.ok { background: var(--green-soft); }
.form-status.err { background: #fdecea; color: #8a1c13; }
/* Signup form: username availability, and a field only bots fill in (kept off screen) */
.name-check:empty { display: none; }
.name-check.ok { color: #1a7f45; }
.name-check.taken { color: #8a1c13; }
.name-check .link-button { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; font-weight: 700; padding: 0; text-decoration: underline; }
.trap { height: 1px; left: -10000px; overflow: hidden; position: absolute; width: 1px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 32px; }
@media (max-width: 600px) { .form-card { padding: 22px; } }
.choice { align-items: flex-start; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; display: flex; font-weight: 500; gap: 12px; padding: 14px 16px; }
.choice:has(input:checked) { background: var(--green-soft); border-color: var(--green); }
.choice input { margin-top: 6px; }
.choice b { color: var(--navy); }

.split { align-items: start; display: grid; gap: 48px; grid-template-columns: 1fr 1.1fr; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { color: var(--navy); cursor: pointer; font-weight: 650; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* Legal pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin: 32px 0 10px; }
.prose ul { margin: 10px 0 0 22px; }
.prose li { margin: 4px 0; }

/* Footer */
.site-foot { background: var(--navy-deep); color: rgba(255, 255, 255, .8); font-size: .95rem; padding: 48px 0 32px; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 { color: #fff; font-size: .85rem; letter-spacing: .06em; margin-bottom: 10px; text-transform: uppercase; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin: 6px 0; }
.foot-brand { align-items: center; color: #fff; display: flex; font-weight: 750; gap: 10px; margin-bottom: 10px; }
.foot-brand img { height: 30px; width: 30px; }
.foot-legal { align-items: center; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-top: 36px; padding-top: 22px; }
.ehl { align-items: center; display: flex; gap: 10px; }
.ehl svg { flex: none; }

/* Pricing without the stock plan cards: one ruled panel, the included list once, plain sections below. */
/* The plans set out like a Quick Qualifier calculator panel: navy title bar, ruled rows, a total line. */
.qq-plans { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; margin: 0 auto; max-width: 820px; }
.qq-plan { background: #fff; border: 2px solid #b9c7d8; border-radius: 12px; box-shadow: 0 8px 24px rgba(22, 50, 79, .16); display: flex; flex-direction: column; padding: 16px 18px 22px; }
.qq-plan .bar { background: var(--navy); border-radius: 6px; color: #fff; font-size: 1rem; font-weight: 700; margin: 0 0 6px; padding: 8px 14px; }
.qq-plan .row { align-items: baseline; border-bottom: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; padding: 9px 4px; }
.qq-plan .row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.qq-plan .row.less b { color: var(--green-dark); }
.qq-plan .row.total { border-bottom: 0; border-top: 2px solid var(--navy); font-weight: 700; margin-top: -1px; padding-top: 10px; }
.qq-plan .row.total b { color: var(--navy); font-size: 1.9rem; line-height: 1.1; }
.qq-plan p { margin: 10px 4px 20px; }
.qq-plan .btn { align-self: flex-start; margin: auto 4px 0; }
.price-after { margin: 24px auto 0; max-width: 820px; text-align: center; }
.included { margin: 56px auto 0; max-width: 820px; }
.included h2 { font-size: 1.35rem; margin-bottom: 4px; }
.included ul { display: grid; gap: 0 40px; grid-template-columns: 1fr 1fr; list-style: none; margin: 14px 0 0; padding: 0; }
.included li { border-top: 1px solid var(--line); padding: 11px 0; }
.also { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.also h3 { margin-bottom: 6px; }
.also p { margin-bottom: 14px; }
@media (max-width: 700px) {
    .qq-plans { grid-template-columns: 1fr; }
    .included ul { grid-template-columns: 1fr; }
    .also { grid-template-columns: 1fr; gap: 28px; }
}

/* Plain ruled lists, columns and a ledger of figures, in place of tick lists, icon cards and callout bands. */
.ruled { list-style: none; margin: 0; padding: 0; }
.ruled li { border-top: 1px solid var(--line); padding: 11px 0; }
.ruled li:last-child { border-bottom: 1px solid var(--line); }
.ruled.numbered { counter-reset: n; }
.ruled.numbered li::before { color: var(--navy); content: counter(n) "."; counter-increment: n; font-weight: 700; margin-right: 10px; }
.ledger { max-width: 720px; }
.ledger .row { align-items: baseline; border-top: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; padding: 11px 0; }
.ledger .row:last-child { border-bottom: 1px solid var(--line); }
.ledger b { color: var(--navy); font-size: 1.15rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cols-3 { display: grid; gap: 40px; grid-template-columns: repeat(3, 1fr); }
.cols-3 > div { border-top: 2px solid var(--navy); padding-top: 14px; }
.cols-3 h3 { margin-bottom: 6px; }
@media (max-width: 700px) { .cols-3 { gap: 26px; grid-template-columns: 1fr; } }
.ruled-2 { display: grid; gap: 0 40px; grid-template-columns: 1fr 1fr; }
.ruled-2 li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.closing > * { max-width: 720px; }
.closing p { margin: 6px 0 16px; }
@media (max-width: 700px) { .ruled-2 { grid-template-columns: 1fr; } .ruled-2 li:nth-last-child(2) { border-bottom: 0; } }
.also > div { align-items: flex-start; display: flex; flex-direction: column; }
.also > div > .btn, .also > div > .btn-row { margin-top: auto !important; }
