/*
 * Shared type system for the top page, training and every service LP.
 * Change the four tokens below to update the typefaces site-wide.
 */
:root {
  --site-font-body: "Gen Interface JP", "Noto Sans JP", sans-serif;
  --site-font-display: "Gen Interface JP Display", "Noto Sans JP", sans-serif;
  --site-font-latin: "DM Sans", sans-serif;
  --site-font-mono: "IBM Plex Mono", monospace;
}

body[data-site-page],
body[data-site-page] :is(button, input, select, textarea) {
  font-family: var(--site-font-body);
}

body[data-site-page] :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--site-font-body);
}

body[data-site-page] :is(.hero h1, .hero-lead h1, .hero-form-panel h2) {
  font-family: var(--site-font-display);
}

body[data-site-page] :is(
  [lang="en"],
  .section-kicker,
  .snum,
  .method-en,
  .hero-headline-en,
  .hero-scroll-cue-label,
  .pn,
  .fk,
  .sk,
  .cok,
  .wb,
  .rk,
  .sp-num,
  .ln,
  .about-step-num,
  .iv,
  .ms-dot
) {
  font-family: var(--site-font-latin);
}

body[data-site-page] .img-ph {
  font-family: var(--site-font-mono);
}

/* In running copy, keep Aitria as a wordmark-sized text label rather than a logo asset. */
body[data-site-page] .brand-word {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  font-family: var(--site-font-latin) !important;
  font-size: 1em;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.045em;
  vertical-align: -.02em;
  color: inherit;
}
/* CTA panels use the white/red logo; running copy keeps the text above. */
body[data-site-page] :is(.cta-logo, .workshop-related-logo) img {
  display: block;
  max-width: 100%;
  height: auto;
  filter: none;
  opacity: 1;
}
body[data-site-page] .cta .cta-brand--logo {
  display: inline-flex;
  margin: 0 .2em;
  vertical-align: -.2em;
}
body[data-site-page] .cta .cta-brand--logo img {
  display: block;
  width: auto;
  height: 1.25em;
  filter: none;
}

/* A dark, filled serif quote is legible against the pale testimonial cards. */
body[data-site-page] .voice-card .voice-mark {
  display: block;
  width: auto;
  height: 44px;
  margin-bottom: 16px;
  color: #545454;
  font: 700 72px/1 Georgia, "Times New Roman", serif;
}
