/* Summit Financial Recruitment: shared styles loaded on every page */

/* Plus Jakarta Sans, self-hosted (SIL Open Font Licence). No requests to Google. */
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-400.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-500.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-600.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-700.woff2) format('woff2')}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-800.woff2) format('woff2')}

/* cookie preferences */
.cookie{position:fixed;left:16px;bottom:16px;z-index:140;max-width:440px;background:#fff;border-radius:18px;padding:20px 22px;box-shadow:0 20px 50px -10px rgba(0,0,0,.35);border:1px solid var(--line,#E3E7EE);display:none;font-size:.88rem;color:var(--muted,#5B6474);line-height:1.55}
.cookie.on{display:block}
.cookie b{color:var(--navy,#0B1F3F);font-size:1rem}
.cookie p{margin-top:6px}
.cookie a{color:var(--blue,#1F6BFF);text-decoration:underline}
.cookie .row{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}
.cookie .row .btn{flex:1 1 140px;justify-content:center;padding:11px 16px;font-size:.86rem}
.cookie .state{margin-top:10px;font-size:.8rem;font-weight:600;color:var(--navy,#0B1F3F)}
@media (max-width:640px){.cookie{left:12px;right:12px;bottom:calc(90px + env(safe-area-inset-bottom));max-width:none}}

/* back to top */
.totop{position:fixed;right:18px;bottom:18px;z-index:80;width:48px;height:48px;border-radius:50%;border:0;background:var(--navy,#0B1F3F);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 30px -8px rgba(7,21,44,.5);opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .3s,transform .3s}
.totop.on{opacity:1;transform:none;pointer-events:auto}
.totop:hover{background:var(--blue,#1F6BFF)}
.totop svg{width:18px;height:18px}
@media (max-width:900px){.totop{bottom:calc(92px + env(safe-area-inset-bottom));right:14px;width:44px;height:44px}}
@media print{.totop,.cookie{display:none!important}}

/* privacy notices at the point of collection */
.fnote{font-size:.78rem;line-height:1.5;color:var(--muted,#5B6474);margin:0}
.fnote a{text-decoration:underline}
.card.emp .fnote,.dark .fnote{color:var(--muted-d,#A9B6CC)}
.optin{display:flex;gap:10px;align-items:flex-start;font-size:.82rem;color:var(--muted,#5B6474);line-height:1.5;cursor:pointer}
.optin input{margin-top:3px;width:16px;height:16px;flex:none;accent-color:var(--blue,#1F6BFF)}

/* form feedback */
.ferr{display:block;font-size:.76rem;font-weight:600;color:#C2261B;margin-top:6px}
.card.emp .ferr,.dark .ferr{color:#FF9C92}
.fld [aria-invalid=true]{border-color:#C2261B!important}
.btn[aria-busy=true]{opacity:.7;cursor:progress}
.btn[aria-busy=true]::after{content:"";width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.done.err{color:#C2261B}
.card.emp .done.err{color:#FF9C92}
.drop .rm{margin-top:4px;border:0;background:none;color:var(--blue,#1F6BFF);font:inherit;font-size:.8rem;font-weight:700;text-decoration:underline;cursor:pointer}

/* data rights request form (privacy page) */
.rform{display:grid;gap:14px;background:var(--soft,#F5F7FB);border-radius:22px;padding:26px;margin:20px 0}
.rform label.t{display:block;font-size:.82rem;font-weight:700;color:var(--navy,#0B1F3F);margin-bottom:6px}
.rform input,.rform select,.rform textarea{width:100%;font:inherit;font-size:.95rem;padding:12px 14px;border:1.5px solid var(--line,#E3E7EE);border-radius:12px;background:#fff;color:var(--ink,#0F172A)}
.rform textarea{min-height:110px;resize:vertical}
.rform input:focus,.rform select:focus,.rform textarea:focus{outline:none;border-color:var(--blue,#1F6BFF);box-shadow:0 0 0 4px rgba(31,107,255,.15)}
.rform .g2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.rform .btn{justify-self:start}
@media (max-width:640px){.rform .g2{grid-template-columns:1fr}}

@media (prefers-reduced-motion:reduce){.totop,.btn[aria-busy=true]::after{transition:none;animation:none}}
