/* One heading family across every page, including Paper Studio.
   Archivo remains the body, navigation and control family. */
@font-face {
  font-family: "Roboto Slab";
  src: url("/fonts/roboto-slab-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --vk-serif: "Roboto Slab", Georgia, serif;
  --vk-heading-weight: 400;
  --vk-heading-h1-size: clamp(34px, 4vw, 56px);
  --vk-heading-hero-size: clamp(34px, 3.35vw, 48px);
  --vk-heading-h2-size: clamp(27px, 2.5vw, 36px);
  --vk-heading-h3-size: 20px;
  --vk-heading-h4-size: 17px;
}
h1, h2, h3, h4, h5, h6, .studio-preboot-title {
  /* Page/component font shorthands must not replace the shared heading face. */
  font-family: var(--vk-serif) !important;
  font-weight: var(--vk-heading-weight) !important;
  font-optical-sizing: auto;
  font-variation-settings: normal !important;
}
h1 { font-size: var(--vk-heading-h1-size); line-height: 1.12; letter-spacing: -0.012em; }
.hero h1 { font-size: var(--vk-heading-hero-size); }
h2 { font-size: var(--vk-heading-h2-size) !important; line-height: 1.2 !important; letter-spacing: -0.008em !important; }
h3 { font-size: var(--vk-heading-h3-size) !important; line-height: 1.3 !important; letter-spacing: -0.008em !important; }
h4 { font-size: var(--vk-heading-h4-size) !important; line-height: 1.3 !important; letter-spacing: -0.005em !important; }
h2[id^="family-"] {
  font-family: var(--vk-serif);
  font-weight: var(--vk-heading-weight);
  font-variation-settings: normal;
}
/* Match the Studio title before and after application initialization. */
body.studio-ai .t-hero :is(h1, p.studio-preboot-title),
body .t-hero h1 {
  font-size: var(--vk-heading-h1-size);
  line-height: 1.12;
  letter-spacing: -0.012em;
}
/* Chat author names are message metadata, not section subheadings. */
.studio-message > h2 { font-size: 13px !important; line-height: 1.4 !important; letter-spacing: 0 !important; }
