@font-face {
  font-family: 'Archia';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://app.formhealth.io/assets/fonts/Archia/Archia-Regular.otf');
}

@font-face {
  font-family: 'Archia';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('https://app.formhealth.io/assets/fonts/Archia/Archia-SemiBold.otf');
}

@font-face {
  font-family: 'Archia';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://app.formhealth.io/assets/fonts/Archia/Archia-Bold.otf');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://app.formhealth.io/assets/fonts/DMSans/DMSans-Regular.ttf');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('https://app.formhealth.io/assets/fonts/DMSans/DMSans-Italic.ttf');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('https://app.formhealth.io/assets/fonts/DMSans/DMSans-SemiBold.ttf');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('https://app.formhealth.io/assets/fonts/DMSans/DMSans-SemiBoldItalic.ttf');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://app.formhealth.io/assets/fonts/DMSans/DMSans-Bold.ttf');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('https://app.formhealth.io/assets/fonts/DMSans/DMSans-BoldItalic.ttf');
}

/* Hide all site chrome — nav, search sidebar, footer, print affordance.
   ?embed=1 does not strip these on its own; the app supplies its own header. */
html.embed header#mainNav,
html.embed aside#sidebar,
html.embed footer,
html.embed section.related,
html.embed #beacon-container,
html.embed #fullArticle .printArticle {
  display: none;
}

/* .withRelated reserves bottom space for the now-hidden related section */
html.embed .contentWrapper.withRelated {
  margin-bottom: 0;
}

/* #main-content is .span9 beside the now-hidden .span3 sidebar (float grid) —
   reclaim the full width or the article sits at 75% with a dead gutter. */
html.embed #main-content {
  width: auto;
  float: none;
  margin-left: 0;
}

html.embed #contentArea {
  padding-top: 0;
}

html.embed,
html.embed body,
html.embed .contentWrapper {
  background-color: rgba(255, 253, 249, 1);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

html.embed #fullArticle h1 {
  font-family: Archia, sans-serif;
  font-size: 32px;
  font-weight: 600;
}

html.embed #fullArticle h2 {
  font-family: Archia, sans-serif;
  font-size: 24px;
  font-weight: 600;
}

html.embed #fullArticle h3 {
  font-family: Archia, sans-serif;
  font-size: 20px;
  font-weight: 600;
}

html.embed #fullArticle blockquote,
html.embed #fullArticle dd,
html.embed #fullArticle div,
html.embed #fullArticle li,
html.embed #fullArticle ol,
html.embed #fullArticle p,
html.embed #fullArticle table,
html.embed #fullArticle ul {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 1.5;
}
