/* Public typography parity with landing.css + product-v4.css (V4). */
:root {
  --type-font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --type-font-body: "Inter", system-ui, sans-serif;
  --type-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --ww-font-heading: var(--type-font-display);
  --ww-font-body: var(--type-font-body);
  --ww-font-mono: var(--type-font-mono);
  --heading: var(--type-font-display);
  --body: var(--type-font-body);
  --mono: var(--type-font-mono);
}
html, body, nav, header, footer, main, section, article, aside,
a, button, input, select, textarea, option, optgroup, label, legend, fieldset,
table, th, td, summary, details, [role="button"], [role="textbox"],
[role="combobox"], [role="listbox"], [role="option"] {
  font-family: var(--type-font-body);
}
body { font-size: 15px; font-weight: 400; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body :is(h1,h2,h3,h4,h5,h6), .industry-visual strong {
  font-family: var(--type-font-display); font-synthesis: none;
}
body h1 { font-weight: 800; letter-spacing: -.065em; line-height: 1.09; }
body h2 { font-weight: 700; letter-spacing: -.045em; }
body h3 { font-weight: 700; letter-spacing: -.045em; }
body :is(h4,h5,h6) { font-weight: 700; }
body p { line-height: 1.7; }
/* Headings nested inside linked directory cards retain display typography. */
body :is(h1,h2,h3,h4,h5,h6) :is(a,span,strong,em) { font-family: inherit; }
/* Match final V4 navigation declarations rather than the older landing base. */
.bar .nav nav { font-family: var(--body); font-size: 14px; font-weight: 400; }
.bar .nav nav > a, .bar .nav nav .menu > summary {
  font-family: var(--body); font-size: 14px; font-weight: 450; line-height: 20px;
}
.bar .nav nav .dropdown a { font: 400 13px/1.4 var(--body); }
.bar .nav nav .dropdown small { font: 400 10px/1.4 var(--mono); letter-spacing: .05em; }
.bar .nav-actions .signin { font: 500 13px/1.4 var(--body); }
body :is(.button,.btn), body button { font-family: var(--body); font-weight: 650; font-size: 14px; font-synthesis: none; }
.bar .nav-actions :is(.button,.btn) { font-size: 12.8px; font-weight: 500; }
/* Actual form controls, including controls added by tools-v1.js after load. */
body :is(label,legend,.field-label,.tool-field) { font-family: var(--body); font-size: 12px; font-weight: 700; }
body :is(input,textarea,select,option,optgroup),
body .tool-field :is(input,textarea,select) {
  font-family: var(--body); font-size: 13px; font-weight: 500; line-height: 1.5; font-synthesis: none;
}
body :is(input,textarea)::placeholder { font-family: var(--body); font-size: 13px; font-weight: 500; line-height: inherit; }
body :is(.faq,.tool-copy) summary { font-family: var(--heading); font-size: 14px; font-weight: 750; }
body :is(.faq,.tool-copy) details p { font-family: var(--body); font-weight: 400; }
/* V4 uses Inter for editorial eyebrows; reserve mono for technical values. */
body .kicker { font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
body :is(pre,code,kbd,samp,.windowbar,.number,.metrics strong,.tool-metric strong,.guide-steps span,.technical-value),
body [data-font="mono"] { font-family: var(--mono); font-variant-ligatures: none; }
body .tool-output :is(pre,code) { font-family: var(--mono); }
body [data-font="display"] { font-family: var(--heading); }
body [data-font="body"] { font-family: var(--body); }
@media (min-width:901px) and (max-width:1120px) {
  .bar .nav nav > a, .bar .nav nav .menu > summary { font-size:13px; }
}
@media (max-width:900px) {
  .bar .nav nav > a, .bar .nav nav .menu > summary { font-weight:450; }
}
@media (max-width:600px) {
  .bar .nav-actions :is(.button,.btn) { font-size:11px; }
  body :is(.faq,.tool-copy) summary { font-size:13px; }
}

/* Final directory typography layer. Match V4 component roles, not browser defaults. */
body.feature-hub {font-family:var(--type-font-body);font-weight:400;line-height:1.65;font-synthesis:none}
body.feature-hub :is(h1,h2,h3,h4,h5,h6),
body.feature-hub :is(h1,h2,h3,h4,h5,h6) :is(a,span,strong,em) {font-family:var(--type-font-display);font-synthesis:none}
body.feature-hub h1 {font-weight:800;letter-spacing:-.045em}
body.feature-hub :is(h2,h3,h4,h5,h6) {font-weight:700}
body.feature-hub :is(p,a,button,small,label,summary,li,td,th,input,select,textarea,option) {font-family:var(--type-font-body)}
body.feature-hub :is(h1,h2,h3,h4,h5,h6) a {font-family:var(--type-font-display)}
body.feature-hub .bar .nav nav > a,body.feature-hub .bar .nav nav .menu > summary {font-family:var(--type-font-body);font-size:14px;font-weight:450;line-height:20px}
body.feature-hub .bar .nav nav .dropdown a {font:400 13px/1.4 var(--type-font-body)}
body.feature-hub .bar .nav-actions .signin {font:500 13px/1.4 var(--type-font-body)}
body.feature-hub .button {font-family:var(--type-font-body);font-weight:650;font-size:14px}
body.feature-hub .bar .nav-actions .button {font-weight:500;font-size:12.8px}
body.feature-hub .fh-flow-step {font-family:var(--type-font-body);font-weight:650}
body.feature-hub .fh-flow-step small,body.feature-hub .fh-caption,body.feature-hub .fh-metrics small {font-family:var(--type-font-body);font-weight:400;letter-spacing:0}
body.feature-hub .fh-jump a,body.feature-hub .fh-next-links a {font-family:var(--type-font-body);font-weight:500}
body.feature-hub .fh-preview-button {font-family:var(--type-font-body);font-weight:500;font-size:12px}
body.feature-hub .fh-view {font-family:var(--type-font-body);font-weight:650}
body.feature-hub .fh-mini-header h3 {font-family:var(--type-font-display);font-weight:700;line-height:1.4;padding-bottom:.25em;overflow:visible;white-space:normal}
body.feature-hub :is(.fh-visual-top,.fh-mini-header small,.fh-metrics strong,[data-font="mono"],pre,code,kbd,samp) {font-family:var(--type-font-mono);font-variant-ligatures:none}
body.feature-hub .fh-metrics strong {font-weight:500}
body.feature-hub :is(.fh-item p,.dh-preview-content p,.dh-steps,.fh-records) {font-family:var(--type-font-body);font-weight:400}
body.feature-hub .dh-compare strong {font-family:var(--type-font-display);font-weight:700}
body.feature-hub .dh-compare > div > span {font-family:var(--type-font-body);font-weight:650}
body.feature-hub .kicker {font-family:var(--type-font-body);font-weight:700;font-size:10px;letter-spacing:.12em}
@media(min-width:901px) and (max-width:1120px){body.feature-hub .bar .nav nav > a,body.feature-hub .bar .nav nav .menu > summary{font-size:13px}}
@media(max-width:900px){body.feature-hub .bar .nav nav > a,body.feature-hub .bar .nav nav .menu > summary{font-size:12px}}
@media(max-width:600px){body.feature-hub .bar .nav-actions .button{font-size:11px}}
