/* Public qualification page: stepped layout, light only. Colors follow the brand board when one is set (--c-primary). */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/fonts/inter-500.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-600.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/inter-700.woff2) format("woff2"); }
body.qp { background: #f5f6f8; color: #1e293b; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.qp { --navy: rgb(var(--c-primary, 20 40 75)); --amber: #f2a33a; --line: #e2e8f0; --mut: #64748b; }
.qp-wrap { max-width: 1100px; margin: 0 auto; padding: 28px 20px 56px; }
.qp-top { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin: -8px 0 22px 0; }
.qp-logo { height: 56px; width: auto; display: block; margin-left: -8px; }
.qp-slogan { margin: -6px 0 0; font-size: .88rem; font-weight: 500; color: #64748b; letter-spacing: .01em; }
.qp-mark { width: 38px; height: 38px; flex: none; }
.qp-mark svg { width: 100%; height: 100%; display: block; }
.qp-name { font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; color: var(--navy); }
.qp-main { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 960px) { .qp-main { grid-template-columns: 5fr 7fr; gap: 48px; } .qp-aside { position: sticky; top: 28px; } }
.qp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: #e8ecf3; color: #334155; font-size: .78rem; font-weight: 500; margin-bottom: 14px; }
.qp-aside h1 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; color: var(--navy); margin: 0 0 10px; }
.qp-aside .qp-sub { color: #475569; font-size: 1.02rem; line-height: 1.55; margin: 0 0 22px; }
.qp-bar { height: 8px; border-radius: 99px; background: #e2e6ee; overflow: hidden; }
.qp-bar > i { display: block; height: 100%; background: var(--amber); border-radius: 99px; width: 25%; transition: width .3s ease; }
.qp-steplabel { display: block; margin-top: 8px; font-size: .82rem; color: var(--mut); font-weight: 500; }
.qp-track { list-style: none; margin: 22px 0 0; padding: 0; display: none; }
@media (min-width: 960px) { .qp-track { display: block; } .qp-steplabel { display: none; } }
.qp-track li { display: flex; gap: 14px; align-items: flex-start; padding: 0 0 18px; position: relative; opacity: .55; }
.qp-track li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--line); }
.qp-track b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; font-weight: 700; background: #fff; border: 1px solid #cbd5e1; color: #64748b; flex: none; }
.qp-track strong { display: block; font-size: 1rem; font-weight: 600; color: #334155; }
.qp-track small { display: block; font-size: .8rem; color: var(--mut); }
.qp-track li.on { opacity: 1; } .qp-track li.on b { background: var(--amber); border-color: var(--amber); color: #14284b; } .qp-track li.on strong { color: var(--navy); }
.qp-track li.done { opacity: 1; } .qp-track li.done b { background: var(--navy); border-color: var(--navy); color: #fff; }
.qp-priv { display: flex; gap: 8px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--mut); }
.qp-priv svg { width: 16px; height: 16px; flex: none; }
.qp-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; box-shadow: 0 4px 20px -2px rgba(20,40,75,.06), 0 2px 6px -1px rgba(20,40,75,.03); }
@media (min-width: 640px) { .qp-card { padding: 36px; } }
.qp-card .qp-kick { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.qp-card h2 { font-size: 1.55rem; font-weight: 700; letter-spacing: -.015em; color: var(--navy); margin: 4px 0 4px; }
.qp-card .qp-help { color: var(--mut); font-size: .92rem; margin: 0 0 18px; }
.qp-card .qp-head { border-bottom: 1px solid #f1f5f9; padding-bottom: 14px; margin-bottom: 18px; }
.qp-card label { font-weight: 600; font-size: .9rem; color: #334155; margin: 14px 0 6px; }
.qp-card input:not([type=checkbox]), .qp-card select { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; color: #1e293b; }
.qp-card input:focus, .qp-card select:focus { outline: 3px solid rgba(242,163,58,.35); border-color: var(--navy); }
.qp-card .grid2 { gap: 4px 16px; }
.qp-card label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .85rem; line-height: 1.5; color: #475569; margin: 12px 0 0; }
.qp-card input[type=checkbox] { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.qp-consent { border: 1px solid var(--line); background: #f8fafc; border-radius: 12px; padding: 6px 16px 14px; margin-top: 4px; }
.qp-consent label.check + label.check { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.qp-legal { font-size: .8rem; color: var(--mut); line-height: 1.5; margin: 14px 0 0; }
.qp-legal a { color: var(--navy); font-weight: 500; }
.qp-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #f1f5f9; }
.qp-nav .qp-time { font-size: .8rem; color: #94a3b8; }
.qp-btn { font: inherit; font-weight: 600; font-size: .95rem; padding: 13px 24px; border-radius: 12px; border: 1px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; }
.qp-btn:hover:not(:disabled) { filter: brightness(1.15); } .qp-btn:disabled { opacity: .6; cursor: default; }
.qp-btn.ghost { background: #fff; color: #475569; border-color: #cbd5e1; }
.qp-btn.wide { width: 100%; padding: 16px; font-size: 1rem; }
.qp-err { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: #fde8e8; color: #9b1c1c; font-size: .9rem; }
/* result */
.qp-res { text-align: center; }
.qp-ok { width: 54px; height: 54px; border-radius: 50%; background: #e7f6ee; color: #15803d; display: grid; place-items: center; margin: 0 auto 12px; }
.qp-ok svg { width: 26px; height: 26px; }
.qp-res .qp-kick { display: block; }
.qp-range { margin: 18px 0 8px; padding: 22px 16px 18px; background: #fff7ea; border: 1px solid #fbd29b; border-radius: 16px; }
.qp-range .qp-big { font-size: clamp(2rem, 7vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; color: #14284b; line-height: 1.1; }
.qp-range .qp-big span { color: var(--amber); }
.qp-gauge { position: relative; margin: 26px 8px 0; padding-top: 30px; }
.qp-gauge .qp-rail { height: 14px; background: #ebe4d6; border-radius: 99px; position: relative; overflow: hidden; }
.qp-gauge .qp-fill { position: absolute; top: 0; bottom: 0; background: var(--amber); border-radius: 99px; transform-origin: left center; animation: qpgrow .9s .15s cubic-bezier(.2,.8,.2,1) both; }
@keyframes qpgrow { from { transform: scaleX(0); opacity: .4; } to { transform: scaleX(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .qp-gauge .qp-fill { animation: none; } }
.qp-gauge .qp-flag { position: absolute; top: 0; transform: translateX(-50%); font-size: .8rem; font-weight: 700; color: #14284b; white-space: nowrap; }
.qp-gauge .qp-flag::after { content: ""; display: block; width: 2px; height: 8px; background: #14284b; margin: 2px auto 0; }
.qp-gauge .qp-flag.lo { transform: translateX(-70%); } .qp-gauge .qp-flag.hi { transform: translateX(-30%); }
.qp-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: .75rem; color: #8a7f6a; }
.qp-note { color: var(--mut); font-size: .85rem; margin: 10px 0 0; }
.qp-next { margin: 22px 0 0; font-size: 1rem; color: #334155; }
.qp-fine { color: #94a3b8; font-size: .78rem; margin: 18px 0 0; }
.qp-loading, .qp-fail { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.hidden { display: none !important; }
@media (max-width: 959px) { .qp-main.is-result .qp-aside { display: none; } }
