/* ─── IQ4hire · /connectivity/ ───
   Only what exists on this one page: the form card, the address finder list, the steps.
   Buttons, fields, cards, hero and bands come from site.css. Tokens only, no raw colors. */

.cx-card{background:var(--card);border:1px solid var(--line-strong);padding:1.75rem 2.25rem;box-shadow:var(--shadow-card);}

/* The address is the one thing people must do, so it is the biggest thing on the page. */
.cx-address .f-label{font-size:1.1rem;}
.cx-address-input{font-size:1.3rem;padding:1.1rem 1.15rem;}
.cx-hint{font-size:0.95rem;color:var(--text-muted);margin:0;}
.cx-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));column-gap:1.25rem;}
.cx-err{font-size:0.95rem;font-weight:600;color:var(--red-ink);margin:0;}
.f-input[aria-invalid="true"]{border-color:var(--red-ink);border-width:2px;}

/* Honeypot: off screen, never display:none (some bots skip hidden fields). */
.cx-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}

.cx-turnstile{flex:0 1 300px;min-width:0;min-height:65px;}
.cx-submit-row{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;}
.cx-card .f-submit{width:auto;min-width:260px;margin-top:0;font-size:1.15rem;padding:1.1rem 2.25rem;}
.cx-status{margin:0.75rem 0 0;font-size:1rem;color:var(--text-secondary);}
.cx-status:empty{display:none;}
.cx-status[data-state="error"]{color:var(--red-ink);font-weight:600;}
.cx-consent{text-align:left;margin-top:1.25rem;}

/* Address finder: a listbox under the field. */
.cx-combo{position:relative;}
.cx-suggest{position:absolute;z-index:20;left:0;right:0;top:100%;margin:0.25rem 0 0;padding:0;list-style:none;background:var(--card);border:1px solid var(--line-strong);box-shadow:var(--shadow-menu);max-height:20rem;overflow-y:auto;}
.cx-suggest[hidden]{display:none;}
.cx-suggest li{padding:0.8rem 1rem;font-size:1.05rem;color:var(--text);cursor:pointer;border-top:1px solid var(--line);}
.cx-suggest li:first-child{border-top:0;}
.cx-suggest li[aria-selected="true"],.cx-suggest li:hover{background:var(--tint-blue);outline:2px solid var(--accent);outline-offset:-2px;}

/* Address check: the form stops here and asks the visitor to confirm or change the address. */
.cx-confirm{margin:0.5rem 0 1.5rem;padding:1.5rem;border:2px solid var(--accent);background:var(--tint-blue);}
.cx-confirm[hidden]{display:none;}
.cx-confirm h3{font-family:var(--display);font-stretch:112%;font-size:1.5rem;font-weight:600;letter-spacing:-0.01em;line-height:1.2;color:var(--text);margin:0 0 0.5rem;}
.cx-confirm h3:focus{outline:none;}
.cx-confirm h3{scroll-margin-top:calc(var(--nav-h) + 1rem);}
.cx-confirm-note{margin:0 0 0.5rem;font-size:1.05rem;color:var(--text-secondary);}
.cx-opts{border:0;margin:0;padding:0;min-width:0;}
.cx-opt{display:flex;align-items:flex-start;gap:0.75rem;margin-top:0.6rem;padding:0.9rem 1rem;background:var(--card);border:1px solid var(--line-strong);font-size:1.1rem;color:var(--text);cursor:pointer;}
.cx-opt input{width:20px;height:20px;margin-top:0.2rem;flex-shrink:0;accent-color:var(--accent);}
.cx-opt:has(input:checked){border:2px solid var(--accent);padding:calc(0.9rem - 1px) calc(1rem - 1px);font-weight:600;}
.cx-opt:has(input:focus-visible){outline:3px solid var(--accent);outline-offset:2px;}
.cx-confirm-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.25rem;}

.cx-card .form-success{border:0;padding:1rem 0;}
.cx-card .form-success:focus{outline:none;}
.cx-card .form-success .page-hero-actions{justify-content:center;}

.cx-steps{margin:2rem 0 1.5rem;padding-left:1.5rem;display:grid;gap:1rem;font-size:1.2rem;line-height:1.6;color:var(--text-secondary);}
.cx-steps strong{color:var(--text);}

@media(max-width:900px){
  .cx-card{padding:1.5rem;}
}
@media(max-width:600px){
  .cx-card{padding:1.1rem;}
  .cx-address-input{font-size:1.1rem;padding:1rem;}
  .cx-card .f-submit{width:100%;min-width:0;}
  .cx-confirm{padding:1.1rem;}
  .cx-confirm-actions .btn-green,.cx-confirm-actions .btn-outline{width:100%;justify-content:center;}
  .cx-steps{font-size:1.06rem;}
}
