/* ============================================================================
   cosmos eligibility-quiz — page-local styles
   No global selectors. All classes prefixed with .cf-q- to avoid collision.
   ============================================================================ */

.cf-q-hero{padding:60px 0 40px;background:linear-gradient(135deg,#0a2540 0%,#102d50 100%);color:#fff;}
.cf-q-hero h1{font-size:clamp(28px,4.6vw,46px);font-weight:800;letter-spacing:-0.02em;line-height:1.15;margin:0 0 14px;color:#fff;}
.cf-q-hero .cf-q-sub{font-size:clamp(15px,2vw,18px);line-height:1.55;opacity:0.92;max-width:720px;margin:0 auto 24px;}
.cf-q-hero .cf-q-trust{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-width:720px;margin:0 auto;}
.cf-q-hero .cf-q-trust span{background:rgba(255,255,255,0.10);border:1px solid rgba(255,255,255,0.20);padding:7px 12px;border-radius:999px;font-size:12.5px;font-weight:600;letter-spacing:-0.005em;}

.cf-q-stage-wrap{padding:48px 0 64px;background:#f6f8fb;min-height:60vh;}
.cf-q-app{max-width:720px;margin:0 auto;background:#fff;border-radius:18px;box-shadow:0 18px 48px rgba(10,37,64,0.10);padding:36px 30px;}
.cf-q-stage[hidden]{display:none !important;}
.cf-q-stage h2{font-size:24px;font-weight:800;color:#0a2540;letter-spacing:-0.01em;margin:0 0 14px;line-height:1.25;}

/* INTRO */
.cf-q-intro{text-align:center;}
.cf-q-intro p{font-size:15px;color:#324054;line-height:1.6;margin:0 0 24px;}

/* PROGRESS */
.cf-q-progress{display:flex;align-items:center;gap:14px;margin-bottom:22px;}
.cf-q-progress-bar{flex:1;height:8px;background:rgba(10,37,64,0.08);border-radius:999px;overflow:hidden;position:relative;}
.cf-q-progress-bar > i{position:absolute;left:0;top:0;bottom:0;width:0%;background:linear-gradient(90deg,#E8622A,#ff7f47);border-radius:999px;transition:width 320ms cubic-bezier(.2,.8,.2,1);}
.cf-q-progress-text{font-size:13px;color:#56616f;font-variant-numeric:tabular-nums;font-weight:600;}

/* OPTIONS */
.cf-q-options{display:flex;flex-direction:column;gap:10px;margin:20px 0 24px;}
.cf-q-option{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;padding:14px 16px;border:1.5px solid #d6dce5;background:#fff;border-radius:12px;cursor:pointer;font-size:15px;font-weight:500;color:#0a2540;transition:border-color 180ms ease,box-shadow 180ms ease,background 180ms ease,transform 100ms ease;}
.cf-q-option:hover{border-color:#E8622A;background:rgba(232,98,42,0.03);}
.cf-q-option:active{transform:translateY(1px);}
.cf-q-option:focus-visible{outline:2px solid #E8622A;outline-offset:2px;}
.cf-q-option.cf-q-option--selected{border-color:#E8622A;background:rgba(232,98,42,0.06);box-shadow:0 0 0 3px rgba(232,98,42,0.10);}
.cf-q-option-check{opacity:0;width:24px;height:24px;border-radius:50%;background:#E8622A;color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;transition:opacity 180ms ease;flex-shrink:0;}
.cf-q-option.cf-q-option--selected .cf-q-option-check{opacity:1;}
.cf-q-option-label{flex:1;padding-right:12px;}

/* NAV BUTTONS */
.cf-q-nav{display:flex;justify-content:space-between;gap:10px;margin-top:8px;}
.cf-q-btn{padding:12px 22px;border-radius:999px;border:none;font-size:15px;font-weight:700;letter-spacing:-0.005em;cursor:pointer;transition:transform 120ms ease,box-shadow 200ms ease,background 200ms ease,opacity 180ms ease;}
.cf-q-btn:active{transform:translateY(1px);}
.cf-q-btn:disabled{opacity:0.45;cursor:not-allowed;}
.cf-q-btn--primary{background:linear-gradient(135deg,#E8622A 0%,#ff7f47 100%);color:#fff;box-shadow:0 4px 14px rgba(232,98,42,0.32);}
.cf-q-btn--primary:hover:not(:disabled){box-shadow:0 8px 20px rgba(232,98,42,0.44);}
.cf-q-btn--ghost{background:rgba(10,37,64,0.06);color:#0a2540;}
.cf-q-btn--ghost:hover:not(:disabled){background:rgba(10,37,64,0.12);}
.cf-q-btn--full{width:100%;height:54px;margin-top:6px;}

/* VERDICT */
.cf-q-verdict-card{padding:24px;border-radius:14px;border:1.5px solid #d6dce5;background:#fafbfd;margin-bottom:24px;}
.cf-q-verdict-card[data-tier="strong"]{border-color:#1e9b6b;background:rgba(30,155,107,0.04);}
.cf-q-verdict-card[data-tier="possible"]{border-color:#E8622A;background:rgba(232,98,42,0.04);}
.cf-q-verdict-card[data-tier="not_yet"]{border-color:#a8324d;background:rgba(168,50,77,0.04);}
.cf-q-verdict-tag{display:inline-block;padding:5px 11px;font-size:12px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;border-radius:999px;background:#0a2540;color:#fff;margin-bottom:12px;}
.cf-q-verdict-card[data-tier="strong"] .cf-q-verdict-tag{background:#1e9b6b;}
.cf-q-verdict-card[data-tier="possible"] .cf-q-verdict-tag{background:#E8622A;}
.cf-q-verdict-card[data-tier="not_yet"] .cf-q-verdict-tag{background:#a8324d;}
.cf-q-verdict h2{font-size:22px;font-weight:800;color:#0a2540;margin-bottom:8px;}
.cf-q-verdict p#cf-q-verdict-body{font-size:15px;color:#324054;line-height:1.6;margin:0 0 18px;}
.cf-q-verdict-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px;}
.cf-q-verdict-stats > div{text-align:center;padding:10px;background:rgba(255,255,255,0.7);border-radius:10px;border:1px solid rgba(10,37,64,0.06);}
.cf-q-verdict-stats b{display:block;font-size:18px;font-weight:800;color:#0a2540;}
.cf-q-verdict-stats span{font-size:11.5px;color:#56616f;text-transform:uppercase;letter-spacing:0.04em;}

/* GATED FORM */
.cf-q-form-card{padding:24px;border-radius:14px;background:#fff;border:1px solid #e3e8ef;}
.cf-q-form-card h3{font-size:18px;font-weight:800;color:#0a2540;margin:0 0 6px;}
.cf-q-form-card .cf-q-form-sub{font-size:14px;color:#324054;margin:0 0 18px;line-height:1.5;}
.cf-q-form-card .form-control{width:100%;height:46px;padding:10px 14px;border:1px solid #d6dce5;border-radius:10px;font-size:15px;color:#0a2540;background:#fff;margin-bottom:12px;}
.cf-q-form-card .form-control:focus{outline:none;border-color:#E8622A;box-shadow:0 0 0 3px rgba(232,98,42,0.15);}
.cf-q-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
@media (max-width:540px){.cf-q-row{grid-template-columns:1fr;}}
.cf-q-fineprint{margin-top:14px;font-size:11.5px;line-height:1.55;color:#56616f;}

@media (prefers-reduced-motion: reduce){
  .cf-q-progress-bar > i,.cf-q-btn,.cf-q-option{transition:none !important;}
}
