/* ==========================================================================
   HuntPDF — brand typography (single source of truth)
   Loaded LAST in <head> on every page so it wins over page-level <style>.
   Change the font here and the whole site follows.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500&display=swap');

:root {
  --hp-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto,
             'Helvetica Neue', Arial, sans-serif;
  --hp-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Legacy alias: sign-pdf.html and a few older pages reference var(--font). */
  --font: var(--hp-font);
}

html,
body {
  font-family: var(--hp-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Form controls and buttons do NOT inherit the page font by default in any
   browser — they fall back to the OS UI font. This is the single biggest
   cause of "the font looks different here" reports, so pin them explicitly. */
button,
input,
select,
textarea,
optgroup {
  font-family: var(--hp-font);
}

/* Headings and common text containers, in case a page sets them separately. */
h1, h2, h3, h4, h5, h6,
p, a, li, td, th, label, span, div {
  font-family: inherit;
}

/* Deliberate exceptions — these must NOT become Inter. */
code, kbd, pre, samp,
.kbd, .hp-mono,
[class*='mono'] {
  font-family: var(--hp-font-mono);
}

/* Handwritten signature previews keep their script face. */
.he-sig, .sigbox .sg, .sig-preview, #sigTypePreview,
[data-ff], .font-opt {
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
}
