@font-face{font-family:"VT IRANSansX";src:url("/fonts/typography/v1/iransans-x-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"VT IRANSansX";src:url("/fonts/typography/v1/iransans-x-500.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"VT IRANSansX";src:url("/fonts/typography/v1/iransans-x-600.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"VT IRANSansX";src:url("/fonts/typography/v1/iransans-x-700.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"VT IRANYekan";src:url("/fonts/typography/v1/iranyekan-400.woff") format("woff");font-weight:400;font-display:swap}
@font-face{font-family:"VT IRANYekan";src:url("/fonts/typography/v1/iranyekan-700.woff") format("woff");font-weight:700;font-display:swap}
@font-face{font-family:"VT IRANYekan";src:url("/fonts/typography/v1/iranyekan-800.woff") format("woff");font-weight:800;font-display:swap}
@font-face{font-family:"VT Peyda";src:url("/fonts/typography/v1/peyda-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"VT Peyda";src:url("/fonts/typography/v1/peyda-700.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"VT Peyda";src:url("/fonts/typography/v1/peyda-900.woff2") format("woff2");font-weight:900;font-display:swap}
@font-face{font-family:"VT Dana";src:url("/fonts/typography/v1/dana-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"VT Dana";src:url("/fonts/typography/v1/dana-600.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"VT Dana";src:url("/fonts/typography/v1/dana-700.woff2") format("woff2");font-weight:700;font-display:swap}

html[data-typography] body{font-family:var(--vt-font-body)}
/* The heading face is for page and section titles only; small titles inside cards and widgets read better in IRANSansX. */
html[data-typography] body :is(h1,h2,.rate-cost strong){font-family:var(--vt-font-heading)}
html[data-typography] body :is(h3,h4,h5,h6,.card-title){font-family:var(--vt-font-body);font-weight:700}
html[data-typography] body :is(.hero h1,.footer-invite h2,.bespoke-cta h3,.blog-cta h2,.auth-card h1){font-family:var(--vt-font-display)}
html[data-typography] body :is(input,textarea,select){font-family:var(--vt-font-body)}
html[data-typography] body :is(button,.btn,.button,.nav-cta,.vm-cta,.area-button,.blog-button,.design-primary,.kb-cta,.vx-button,.showcase-link,.fork-recommend-cta,.footer-invite a,.rate-card a,.plan-shortcuts a){font-family:var(--vt-font-action)}
html[data-typography] body :is(code,pre,kbd,input.color-hex){font-family:ui-monospace,Consolas,monospace}

/* The heading hierarchy stays stable across the legacy and React sections. */
html[data-typography="site"] body h1{font-size:24px!important;line-height:1.55}
html[data-typography="site"] body h2{font-size:20px!important;line-height:1.6}
html[data-typography="site"] body h3{font-size:16px!important;line-height:1.7}
html[data-typography="site"] body h4{font-size:15px!important;line-height:1.7}
html[data-typography="site"] body :is(h5,h6){font-size:14px!important}
/* Titles inside compact cards and widgets step down once more. */
html[data-typography="site"] body :is(.capability-card,.kb-card,.screen-card,.area-article,.area-siblings,.vx-value,.vx-quick-card,.blog-card,.rate-card,.journal-card,.fork-road,.footer-directory) :is(h3,h4){font-size:15px!important}
/* Readable line breaks: no lonely last word in titles, fewer short last lines in paragraphs. */
html[data-typography] body :is(h1,h2,h3,h4,h5,h6,.vnav-tile-text b,.vnav-tile-text em,.area-head p,.inner-hero-wrap>p,figcaption,blockquote){text-wrap:balance}
html[data-typography] body :is(p,li,dd){text-wrap:pretty}
html[data-typography="site"] body :is(.footer-invite h2,.blog-cta h2,.rate-cost strong){font-size:20px!important}
html[data-typography="site"] body :is(.customer-feature blockquote,.customers-contact>b,.insight-score b,.not-found-code){font-size:20px}
html[data-typography="site"] body :is(.nav-cta,.footer-invite-link,.area-button,.blog-button,.design-primary){font-size:13px}
html[data-typography="site"] body :is(.inner-hero-wrap>p,.hero-copy>p,.blog-prose p){font-size:15px}
html[data-typography="site"] body .footer-invite-link{font-family:var(--vt-font-action)}
@media(max-width:640px){
  html[data-typography="site"] body :is(.inner-hero-wrap>p,.hero-copy>p,.blog-prose p){font-size:14px}
}

.typography-settings .card-head{flex-wrap:wrap;gap:10px}
.typography-actions{display:flex;flex-wrap:wrap;gap:8px}
.typography-profiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px}
.typography-profile{margin:0;padding:16px;min-width:0;border:1px solid var(--line);border-radius:14px}
.typography-profile legend{padding-inline:8px;font-weight:700}
.typography-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:14px}
.typography-sample{display:grid;gap:7px;align-content:start;margin-top:18px;padding:18px;border-radius:12px;background:var(--soft);font-family:var(--vt-font-body);overflow-wrap:anywhere}
.typography-sample [data-sample=display]{font-family:var(--vt-font-display);font-size:1.3rem;font-weight:800}
.typography-sample [data-sample=heading]{font-family:var(--vt-font-heading);font-size:1.05rem}
.typography-sample [data-sample=action]{justify-self:start;border-radius:9px;padding:6px 12px;color:#fff;background:var(--primary);font-family:var(--vt-font-action);font-weight:700}

/* Browser-default sizes (small = 13.33px) joined to the scale. */
html[data-typography="site"] small{font-size:12px}
