/* Agreement typography, shared by the web viewer and the PDF (WeasyPrint). */

@font-face { font-family: "Source Serif 4"; src: url("../fonts/SourceSerif4-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/SourceSerif4-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/SourceSerif4-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/SourceSerif4-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

.doc {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  color: #16191d;
  line-height: 1.55;
  font-kerning: normal;
}

.doc h1 {
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  margin: 0 0 1.5em;
}

.doc h2 {
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 1.7em 0 0.75em;
}

.doc p { margin: 0 0 0.85em; text-align: justify; hyphens: auto; }
.doc strong { font-weight: 700; }

.doc ul { margin: 0 0 0.9em; padding-left: 1.5em; }
.doc li { margin: 0 0 0.4em; text-align: justify; hyphens: auto; }

/* (a), (b) clauses: hanging indent, no bullet */
.doc ul.clauses { list-style: none; padding-left: 1.5em; }
.doc li.clause { padding-left: 2em; text-indent: -2em; }
.doc .clause-marker { display: inline-block; width: 2em; text-indent: 0; }

/* Signature block */
.doc table.signature-block {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 2.2em 0 0;
  page-break-inside: avoid;
  break-inside: avoid;
}
.doc table.signature-block th,
.doc table.signature-block td {
  text-align: left;
  vertical-align: bottom;
  font-weight: 400;
  padding: 0.4em 1.75em 0.4em 0;
}
.doc table.signature-block th { padding-bottom: 0.9em; }

/* No in-flow content, so the box's baseline is its bottom edge: the line sits on the text baseline. */
.doc .sig {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  width: 76%;
  height: 3.6em;
  border-bottom: 1px solid #16191d;
}
.doc .sig img {
  position: absolute;
  left: 0.25em;
  bottom: 0.15em;
  max-width: 96%;
  max-height: 3.3em;
}
.doc .blank {
  display: inline-block;
  vertical-align: baseline;
  width: 15em;
  max-width: 68%;
  height: 1em;
  border-bottom: 1px solid #16191d;
}
