
/* ==========================================================================
   DSP TYPOGRAPHY REFRESH
   Manrope headings + Inter body.
   Keeps printable Resume/Bio Data/Builder paper typography under tool control.
   ========================================================================== */

:root{
  --dsp-font-head:"Manrope",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --dsp-font-body:"Inter",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}

html{font-size:16px}

body{
  font-family:var(--dsp-font-body);
  font-size:clamp(.96rem,.25vw + .91rem,1.02rem);
  line-height:1.62;
  letter-spacing:-.003em;
}

h1,h2,h3,h4,h5,h6{
  font-family:var(--dsp-font-head);
  text-wrap:balance;
}

h1{
  font-size:clamp(2.15rem,4.8vw,4.15rem);
  line-height:1.04;
  letter-spacing:-.038em;
  font-weight:800;
}
h2{
  font-size:clamp(1.7rem,3vw,2.62rem);
  line-height:1.1;
  letter-spacing:-.03em;
  font-weight:750;
}
h3{
  font-size:clamp(1.08rem,1.2vw,1.34rem);
  line-height:1.24;
  letter-spacing:-.018em;
  font-weight:700;
}
h4{
  font-size:1rem;
  line-height:1.35;
  font-weight:700;
}

p,li{
  line-height:1.62;
}
.dsp-lead{
  font-size:var(--dsp-type-lead,clamp(.98rem,.55vw + .88rem,1.1rem));
  line-height:1.58;
}

/* Small labels / eyebrows */
.dsp-eyebrow,
.dsp-hero-bg__eyebrow,
.dsp-showcase__label,
.dsp-feature__label{
  font-family:var(--dsp-font-head);
  font-size:var(--dsp-type-label,0.7813rem);
  line-height:1.2;
  letter-spacing:.085em;
  font-weight:800;
}

/* Buttons */
.dsp-btn,
.dsp-btn--glass{
  font-family:var(--dsp-font-head);
  font-size:.88rem;
  font-weight:700;
  letter-spacing:-.005em;
}
.dsp-btn{
  padding:12px 20px;
  min-height:44px;
}

/* Header */
.dsp-brand__name{
  font-family:var(--dsp-font-head);
  font-size:.96rem;
  font-weight:800;
  letter-spacing:-.025em;
}
.dsp-brand__sub{font-size:0.7813rem}
.dsp-nav__link{
  font-family:var(--dsp-font-head);
  font-size:.86rem !important;
  font-weight:650;
  letter-spacing:-.01em;
}
.dsp-utility{font-size:.76rem}
.dsp-status{font-size:.78rem}

/* Homepage hero */
.dsp-hero-bg__title{
  font-family:var(--dsp-font-head);
  font-size:clamp(2rem,3.4vw,3.25rem);
  line-height:1.03;
  letter-spacing:-.043em;
}
.dsp-hero-bg__lead{
  font-size:clamp(.9rem,.35vw + .84rem,1rem);
  line-height:1.55;
}

/* Homepage service showcase */
.dsp-showcase__head h2{
  font-size:clamp(1.6rem,2.8vw,2.3rem);
  line-height:1.1;
}
.dsp-showcase__content h3{
  font-family:var(--dsp-font-head);
  font-size:clamp(1.55rem,2.8vw,2.35rem);
  line-height:1.07;
  letter-spacing:-.03em;
}
.dsp-showcase__content>p{
  font-size:.9rem;
  line-height:1.52;
}
.dsp-showcase__content li{font-size:.78rem}

/* Homepage compact cards */
.dsp-cat__name,
.dsp-why__name,
.dsp-how__name,
.dsp-trust__h{
  font-family:var(--dsp-font-head);
  font-size:.92rem;
  line-height:1.3;
}
.dsp-cat__desc,
.dsp-why__text,
.dsp-how__text,
.dsp-trust__p{
  font-size:.8rem;
  line-height:1.5;
}
.dsp-slide__title{
  font-family:var(--dsp-font-head);
  font-size:var(--dsp-type-h3,1rem);
  line-height:1.3;
}
.dsp-slide__text{font-size:var(--dsp-type-text,.82rem);line-height:1.5}

/* Search */
.dsp-find__h{
  font-size:clamp(1.35rem,2.2vw,1.8rem);
}
.dsp-find__lead{font-size:.88rem}
.dsp-find__input{
  font-family:var(--dsp-font-body);
  font-size:.94rem;
}
.dsp-find__hint{font-size:.76rem}

/* Expansion / Tools Hub / common custom pages */
.dspx-hero>div>h1,
.dspx-hero>div>h2,
.dspx-simplehead>h1,
.dspx-simplehead>h2,
.dspx-legal>h1,
.dspx-legal>h2{
  font-family:var(--dsp-font-head);
  font-size:clamp(1.9rem,4vw,3.4rem) !important;
  line-height:1.05;
  letter-spacing:-.035em;
}
.dspx-lead{
  font-size:clamp(.94rem,.4vw + .88rem,1.03rem);
  line-height:1.62;
}
.dspx-card h2{font-size:1.12rem}
.dspx-card h3{font-size:1rem}
.dspx-card p{font-size:.88rem;line-height:1.56}
.dspx-sectionhead h2{font-size:1.45rem}

/* Utility builder UI - not the printable document itself */
.dsp-b2-hero h2{
  font-size:clamp(1.75rem,3.2vw,2.75rem);
  line-height:1.05;
}
.dsp-b2-hero p{font-size:.9rem;line-height:1.55}
.dsp-b2-panelhead h2,
.dsp-b2-previewhead h2{font-size:1.16rem}
.dsp-b2-sectionhead h2{font-size:clamp(1.35rem,2.2vw,1.8rem)}
.dsp-b2-stepgrid h3{font-size:.92rem}
.dsp-b2-stepgrid p{font-size:.8rem}

.dsp-rb3-hero h2{
  font-size:clamp(1.7rem,3vw,2.5rem);
  line-height:1.06;
}
.dsp-rb3-hero p{font-size:.88rem}
.dsp-rb3-photo h3{font-size:.92rem}
.dsp-rb3-toggle{font-size:.86rem}
.dsp-rb3-field span{font-size:0.8125rem}
.dsp-rb3-field input,
.dsp-rb3-field textarea,
.dsp-rb3-field select{font-size:.82rem}

/* Never override user-selectable/print document typography. The paper itself
   carries the chosen font; only its children inherit it (fixed 2026-09-30:
   the paper was inheriting the site font, which disabled the Font control). */
.dsp-b2-paper *,
.dsp-rb3-paper *{
  font-family:inherit;
}

/* Footer */
.dsp-foot{font-size:.86rem}
.dsp-foot__h{font-size:.92rem}
.dsp-foot__statement,
.dsp-foot__disclose{font-size:.8rem;line-height:1.55}

/* Mobile scale */
@media(max-width:768px){
  body{
    font-size:.94rem;
    line-height:1.58;
  }
  h1{
    font-size:clamp(1.85rem,8.7vw,2.65rem);
    line-height:1.06;
  }
  h2{
    font-size:clamp(1.48rem,6.5vw,2rem);
    line-height:1.12;
  }
  h3{font-size:1.05rem}

  .dsp-lead{font-size:var(--dsp-type-lead,.92rem)}

  .dsp-hero-bg__title{
    font-size:clamp(1.85rem,8.6vw,2.55rem);
    line-height:1.04;
  }
  .dsp-hero-bg__lead{
    font-size:.86rem;
    line-height:1.5;
  }

  .dsp-showcase__head h2{font-size:1.48rem}
  .dsp-showcase__content h3{font-size:1.5rem}
  .dsp-showcase__content>p{font-size:.81rem}
  .dsp-showcase__content li{font-size:.74rem}

  .dsp-nav__link{font-size:.98rem !important}
  .dsp-drawer__nav .dsp-nav__link{font-size:1rem !important}

  .dspx-hero>div>h1,
  .dspx-hero>div>h2,
  .dspx-simplehead>h1,
  .dspx-simplehead>h2,
  .dspx-legal>h1,
  .dspx-legal>h2{
    font-size:clamp(1.7rem,8vw,2.35rem) !important;
  }

  .dsp-b2-hero h2,
  .dsp-rb3-hero h2{
    font-size:1.65rem;
  }
}

@media(max-width:390px){
  body{font-size:.92rem}
  h1{font-size:1.82rem}
  h2{font-size:1.42rem}
  .dsp-btn{font-size:.84rem}
  .dsp-cat__desc,
  .dsp-why__text,
  .dsp-how__text,
  .dsp-trust__p{font-size:.76rem}
}

/* 2026-10-14: readable touch input sizes; document canvases retain their fonts. */
@media screen and (max-width:768px){
  body :is(.dsp-rb3-field,.dsp-p2,.dsp-p3,.dsp-extra,.dsp-org-search,.dsp-sv3-search) :is(input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),select,textarea),
  body .dsp-find__input{font-size:16px!important;line-height:1.5}
  body .dsp-rb3-field span{font-size:.875rem}
}
