/* contact-static.css — selectors specific to the static (no-React) rebuild
   of the contact pages, layered on top of the verbatim contact.css +
   contact-a.css. Keeps those two files unmodified.

   1) The request-type switcher is now <a> links (was <button> in the SPA).
   2) The form is wrapped in a real <form> that must own the flex column so
      .db-actions{margin-top:auto} still pins to the bottom.
   3) A chooser list of links on /contact (the SPA chooser screen).
   4) The HubSpot handoff: honeypot, fallback box, demo note, privacy line
      (contact-api.js + contact-wizard.js). */

/* 1 · Switcher as links — mirror the .db-switch button rules (dark default) */
.db-switch a{
  display:flex;align-items:center;gap:13px;text-align:left;cursor:pointer;text-decoration:none;
  padding:13px 15px;border-radius:8px;border:1px solid rgba(244,239,230,0.14);background:transparent;
  color:var(--bone);font-family:var(--sans);
  transition:background .18s var(--ease),border-color .18s var(--ease);outline:none}
.db-switch a:hover{background:rgba(244,239,230,0.05)}
.db-switch a:focus-visible{outline:2px solid var(--ochre);outline-offset:2px}
.db-switch a[aria-current="page"]{background:rgba(244,239,230,0.08);border-color:rgba(244,239,230,0.4)}

/* Light (contact-a) override — mirror .contact-a .db-switch button */
.contact-a .db-switch a{color:var(--ink);border-color:var(--line);background:var(--paper)}
.contact-a .db-switch a:hover{background:var(--bone);border-color:var(--fog)}
.contact-a .db-switch a:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.contact-a .db-switch a[aria-current="page"]{background:var(--bone);border-color:var(--ink)}

/* 2 · Form owns the flex column inside .db-form */
.db-form form{display:flex;flex-direction:column;flex:1;min-height:0}
/* The [hidden] attribute must win over author display rules
   (contact.css sets .db-done{display:flex}, .gnf-choices is a grid, etc.). */
.db-step[hidden],
.db-done[hidden],
.db-block[hidden]{display:none}

/* 3 · Chooser options as links (the /contact landing) */
.db-choose{display:flex;flex-direction:column;gap:10px;margin-top:26px}
.db-choose a{
  display:flex;align-items:center;justify-content:space-between;gap:16px;text-decoration:none;
  padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);
  transition:border-color .18s var(--ease),background .18s var(--ease)}
.db-choose a:hover{border-color:var(--fog);background:var(--bone)}
.db-choose a:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.db-choose .cw{display:flex;align-items:center;gap:13px;min-width:0}
.db-choose .g{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-family:var(--serif);font-size:16px;color:#fff;flex-shrink:0}
.db-choose .ct{font-family:var(--sans);font-size:16px;font-weight:500;letter-spacing:-0.005em}
.db-choose .cs{font-family:var(--mono);font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--fog);white-space:nowrap}

/* Privacy note link in the trust rail */
.db-trust-link{display:inline-flex;align-items:center;gap:6px;margin-top:6px;align-self:flex-start;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;
  color:rgba(244,239,230,0.7);text-decoration:none;border-bottom:1px solid transparent;padding-bottom:2px}
.db-trust-link:hover{color:var(--bone);border-bottom-color:currentColor}
.contact-a .db-trust-link{color:var(--fog)}
.contact-a .db-trust-link:hover{color:var(--ink)}
.db-trust-link:focus-visible{outline:2px solid var(--navy);outline-offset:2px;border-radius:3px}

/* 4 · HubSpot handoff ──────────────────────────────────────────── */
/* Honeypot — parked off-screen, never display:none (bots skip hidden inputs);
   aria-hidden + tabindex=-1 keep it out of the a11y tree and the tab order. */
.gnf-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* Fallback box — demo mode or a failed send; carries the mailto escape hatch.
   Also the <noscript> paragraph, which shares the class. */
.gnf-fallback{margin:24px 0 0;padding:14px 16px;border:1px solid var(--rust);border-radius:10px;
  background:var(--rustTint);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.55;outline:none}
.gnf-fallback p{margin:0}
.gnf-fallback p + p{margin-top:8px}
.gnf-fallback a{color:var(--rust);font-weight:500;text-decoration:underline;text-underline-offset:2px}
.gnf-fallback a:hover{color:var(--ink)}
.gnf-fallback a:focus-visible{outline:2px solid var(--navy);outline-offset:2px;border-radius:3px}
.gnf-fallback:focus-visible{outline:2px solid var(--rust);outline-offset:3px}
.gnf-fallback-addr{font-family:var(--mono);font-size:12px;color:var(--fog);margin-left:10px}
.gnf-fallback[hidden]{display:none}

/* Demo note — visible whenever config.js still holds placeholders */
.gnf-demo{margin:24px 0 0;padding:10px 14px;border:1px dashed var(--fog);border-radius:8px;
  font-family:var(--mono);font-size:11px;letter-spacing:.04em;line-height:1.5;color:var(--fog)}

/* Privacy line under the actions */
/* It sits in the actions row, to the left of the send button and vertically centered with it. */
.gnf-privacy{margin:0;flex:1 1 auto;min-width:0;max-width:440px;text-align:left;font-family:var(--sans);font-size:12.5px;line-height:1.5;color:var(--fog)}
.gnf-privacy[hidden]{display:none}
.db-actions [data-submit]{margin-left:auto;flex:0 0 auto}
@media (max-width:720px){
  .db-actions{flex-wrap:wrap}
  .db-actions .gnf-privacy{flex:1 1 100%;max-width:none;order:-1}
}
.gnf-privacy a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.gnf-privacy a:hover{color:var(--ink)}

/* Consent checkbox — required, the last field before the actions. The sentence in
   [data-consent-text] is sent to HubSpot verbatim, so keep markup out of it. */
/* Type matches .gnf-label (14px / 500 / -0.005em); the color is the quieter gray (--fog), chosen by the
   owner over black on 5 October 2026. Contrast on the page background stays above WCAG AA. */
.gnf-check{display:flex;align-items:flex-start;gap:10px;cursor:pointer;
  font-family:var(--sans);font-size:14px;font-weight:500;letter-spacing:-0.005em;line-height:1.45;color:var(--fog)}
.gnf-check input[type="checkbox"]{flex:0 0 auto;width:16px;height:16px;margin:2px 0 0; /* flush with the labels and help lines above */
  accent-color:var(--navy);cursor:pointer}
.gnf-check input[type="checkbox"]:focus-visible{outline:2px solid var(--navy);outline-offset:3px}
.gnf-consent[data-err="true"] .gnf-check input[type="checkbox"]{outline:2px solid var(--rust);outline-offset:2px}
/* The withdrawal link lives in the same line as the consent sentence. */
.gnf-check-text a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.gnf-check-text a:hover{color:var(--navy)}
.gnf-check-text a:focus-visible{outline:2px solid var(--navy);outline-offset:2px;border-radius:3px}
