:root {
  --top-margin-scaling-factor: 1.5;
  --bottom-margin-scaling-factor: 0;
  --use-margin: 1;
  --rounding-value: 4;
  --base-font-size: 16;
  --text-font-size: var(--fs-p-mobile);
  --base-line-height: 1.7;
}

@supports (margin-top: round(up, 10px, 4px)) {
  h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dt, dd, li, pre, summary, details, address, blockquote, figcaption, legend, label {
    --calced-font-size: calc((var(--text-font-size) / var(--base-font-size)) * 1rem);
    font-size: var(--calced-font-size);
    --calced-margin-top: calc(
      var(--use-margin, 1) *
      (
        round(
          up,
          (var(--text-font-size) * var(--top-margin-scaling-factor)),
          var(--rounding-value))
        / var(--base-font-size)
      ) * 1rem
    );
    margin-top: var(--calced-margin-top);
    --calced-margin-bottom: calc(
      var(--use-margin, 1) *
      (
        round(
          up,
          (var(--text-font-size) * var(--bottom-margin-scaling-factor)),
          var(--rounding-value))
        / var(--base-font-size)
      ) * 1rem
    );
    margin-bottom: var(--calced-margin-bottom);
    --calced-line-height: calc(
      ((round(
        up,
        var(--text-font-size) * var(--text-line-height, --base-line-height),
        var(--rounding-value)))
      / var(--base-font-size)
      ) * 1rem
    );
    line-height: var(--calced-line-height);
  }
  p span {
    --calced-font-size: calc((var(--text-font-size) / var(--base-font-size)) * 1rem);
    font-size: var(--calced-font-size);
  }
}
@supports not (margin-top: round(up, 10px, 4px)) {
  h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dt, dd, li, pre, summary, details, address, blockquote, figcaption, legend, label {
    --calced-font-size: calc((var(--text-font-size) / var(--base-font-size)) * 1rem);
    font-size: var(--calced-font-size);
    --calced-margin-top: calc(
      var(--use-margin, 1) *
        (
          (var(--text-font-size) * var(--top-margin-scaling-factor)) /
          var(--base-font-size)
        ) *
        1rem
    );
    margin-top: var(--calced-margin-top);
    --calced-margin-bottom: calc(
      var(--use-margin, 1) *
        (
          (var(--text-font-size) * var(--bottom-margin-scaling-factor)) /
          var(--base-font-size)
        ) *
        1rem
    );
    margin-bottom: var(--calced-margin-bottom);
    --calced-line-height: calc(
      (
        (var(--text-font-size) * var(--text-line-height, --base-line-height)) /
        var(--base-font-size)
      ) *
      1rem
    );
    line-height: var(--calced-line-height);
  }
  p span {
    --calced-font-size: calc((var(--text-font-size) / var(--base-font-size)) * 1rem);
    font-size: var(--calced-font-size);
  }
}
body {
  --text-line-height: 1.6;
  font-size: calc(var(--text-font-size) / var(--base-font-size) * 1rem);
  font-weight: 300;
}

:where(h1, h2, h3, h4, h5, h6) {
  text-transform: uppercase;
  font-weight: 400;
}

:where(h1 a, h2 a, h3 a, h4 a, h5 a, h6 a) {
  text-underline-offset: 0.05em;
}

h1, h2, h3 {
  --text-line-height: 1;
}

h1:where(.main-content h1),
h2:where(.main-content h2),
h3:where(.main-content h3),
h4:where(.main-content h4),
h5:where(.main-content h5),
h6:where(.main-content h6) {
  color: var(--base-heading-color);
}

h1 {
  --text-font-size: var(--fs-h1-mobile);
  --top-margin-scaling-factor: 0.6;
}

h2,
h3,
h4 {
  margin-bottom: 1.25rem;
}

h2 {
  --text-font-size: var(--fs-h2-mobile);
}

h3 {
  --text-font-size: var(--fs-h3-mobile);
}

h4 {
  --text-font-size: var(--fs-h4-mobile);
  --text-line-height: 1.1;
}

h5 {
  --text-font-size: var(--fs-h5-mobile);
  --text-line-height: 1.2;
}

h6 {
  --top-margin-scaling-factor: 1.25;
  --text-line-height: 1.3;
  --text-font-size: var(--fs-h6-mobile);
}

p {
  --top-margin-scaling-factor: 1;
}

h5 + p,
h6 + p {
  --top-margin-scaling-factor: 0.5;
}

li {
  --top-margin-scaling-factor: 0.5;
}

code {
  --text-line-height: 1;
  font-weight: bold;
}

pre {
  background: rgba(0, 0, 0, 0.1);
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
  white-space: pre;
}

:where(b),
:where(strong),
:where([style="font-weight: bold"]) {
  font-weight: 500;
}

address {
  font-style: normal;
}

a:where(.text-output a:not(.surface--contrast a)) {
  color: var(--base-font-color);
}

.main-content a:where(p:not(.intro):not(.snippet) a, li a) {
  font-weight: 400;
}

blockquote {
  position: relative;
  margin-block: var(--module-spacing);
  background: var(--color-primary);
  padding: var(--boxed-text-padding-block) var(--boxed-text-padding-inline);
}

p:where(blockquote p:not(:last-child)),
p:where(blockquote p:first-child:last-child) {
  --text-font-size: var(--fs-blockquote-mobile);
  --text-line-height: 1.4;
}

p:where(blockquote p:first-child) {
  margin-top: 0;
}

p:where(blockquote p:not(:last-child)),
p:where(blockquote p:first-child:last-child),
blockquote p:not(:last-child) a,
blockquote p:first-child:last-child a {
  font-weight: 500;
}

blockquote p:first-child {
  padding-top: 3.5rem;
}

blockquote::before {
  content: "";
  position: absolute;
  color: var(--base-font-color);
  left: var(--boxed-text-padding-inline);
  top: var(--boxed-text-padding-block);
  width: 34px;
  height: 28px;
  background-size: 34px 28px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 81.8'%3E%3Cpath d='M25.4 39.7L36.9 0H19L0 44v37.7h42.1V39.6H25.4zm57.9 0L94.8 0H76.9l-19 44v37.7H100V39.6H83.3z'/%3E%3C/svg%3E");
  mask-type: alpha;
  mask-repeat: no-repeat;
  background-color: currentColor;
  background-position: center center;
}

.intro,
.snippet {
  --text-font-size: var(--fs-intro-mobile);
  --text-line-height: 1.4;
  font-weight: 300;
}

.intro--large {
  --text-font-size: var(--fs-intro-large-mobile);
  --text-line-height: 1.3;
}

.snippet {
  --text-font-size: var(--fs-snippet-mobile);
  font-weight: 500;
  margin-block: var(--module-spacing);
  padding-left: 1.25rem;
  padding-left: var(--snippet-line-distance);
  position: relative;
}

.snippet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 0.25rem;
  background: currentcolor;
}

.snippet:where(.text-output .snippet:not(.surface--contrast .snippet))::before {
  background: var(--color-secondary);
}

:where(sup, sub) {
  font-size: 50%;
}

small,
.small {
  --text-font-size: 13;
}

.page__title {
  --text-font-size: var(--fs-h1-mobile);
  --bottom-margin-scaling-factor: 0.6;
  margin-top: 2rem;
}

.box-decoration-title {
  --box-padding-block: 0.12em;
  --box-padding-inline: 0.25em;
  color: var(--color-primary);
  padding-block: calc(var(--box-padding-block) + var(--box-padding-block) / 4);
  padding-inline-end: var(--box-padding-inline);
}

.box-decoration-title > span {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: var(--grey-1000);
  padding: var(--box-padding-block) var(--box-padding-inline);
}

.box-decoration-title > span > span {
  position: relative;
}

.box-decoration-title a {
  color: var(--color-primary);
}

.box-decoration-title strong {
  color: var(--white);
}

.image-caption {
  margin: 0;
  padding-top: 0.75rem;
  text-align: right;
}

.image-caption p {
  --text-font-size: 14;
  --text-line-height: 1.2;
  font-family: var(--font-stack-bebas);
  margin: 0;
  padding-inline-end: 0;
}

h1.intro,
h2.intro,
h3.intro,
h4.intro,
h1.intro--large,
h2.intro--large,
h3.intro--large,
h4.intro--large {
  font-family: var(--font-stack);
  text-transform: none;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  h1 {
    --text-font-size: var(--fs-h1-tablet);
    --top-margin-scaling-factor: 0.5;
  }
  h2,
  h3,
  h4 {
    margin-bottom: 1.5rem;
  }
  h2 {
    --text-font-size: var(--fs-h2-tablet);
  }
  h3 {
    --text-font-size: var(--fs-h3-tablet);
  }
  h4 {
    --text-font-size: var(--fs-h4-tablet);
  }
  h5 {
    --text-font-size: var(--fs-h5-tablet);
  }
  h6 {
    --text-font-size: var(--fs-h6-tablet);
  }
  body {
    --text-font-size: var(--fs-p-tablet);
  }
  small,
  .small {
    --text-font-size: 13;
  }
  .image-caption p {
    --text-font-size: 16;
  }
  p:where(blockquote p:not(:last-child)),
  p:where(blockquote p:first-child:last-child) {
    --text-font-size: var(--fs-blockquote-tablet);
  }
  blockquote p {
    width: 85%;
  }
  blockquote p:first-child {
    padding-top: 4.25rem;
  }
  blockquote::before {
    width: 48px;
    height: 40px;
    background-size: 48px 40px;
  }
  .main-content-centered blockquote {
    width: 100%;
  }
  .intro {
    --text-font-size: var(--fs-intro-tablet);
  }
  .intro--large {
    --text-font-size: var(--fs-intro-large-tablet);
    --text-line-height: 1.2;
  }
  .snippet {
    --text-font-size: var(--fs-snippet-tablet);
    --top-margin-scaling-factor: 2.1;
    --bottom-margin-scaling-factor: 2.1;
  }
  .page__title {
    --text-font-size: var(--fs-h1-tablet);
    margin-top: 2.25rem;
  }
}
@media (min-width: 960px) {
  h1 {
    --text-font-size: var(--fs-h1-desktop);
  }
  h2,
  h3,
  h4 {
    margin-bottom: 1.75rem;
  }
  h2 {
    --text-font-size: var(--fs-h2-desktop);
  }
  h3 {
    --text-font-size: var(--fs-h3-desktop);
  }
  h4 {
    --text-font-size: var(--fs-h4-desktop);
  }
  h5 {
    --text-font-size: var(--fs-h5-desktop);
  }
  h6 {
    --text-font-size: var(--fs-h6-desktop);
  }
  body {
    --text-font-size: var(--fs-p-desktop);
  }
  small,
  .small {
    --text-font-size: 13;
  }
  .image-caption {
    padding-top: 1.25rem;
  }
  .image-caption p {
    --text-font-size: 19;
  }
  p:where(blockquote p:not(:last-child)),
  p:where(blockquote p:first-child:last-child) {
    --text-font-size: var(--fs-blockquote-desktop);
  }
  .intro {
    --text-font-size: var(--fs-intro-desktop);
  }
  .intro--large {
    --text-font-size: var(--fs-intro-large-desktop);
  }
  .snippet {
    --text-font-size: var(--fs-snippet-desktop);
  }
  .page__title {
    --text-font-size: var(--fs-h1-desktop);
    margin-top: 2.5rem;
  }
}
@media (min-width: 1080px) {
  h1 {
    --top-margin-scaling-factor: 0.6;
  }
}

/*# sourceMappingURL=/assets/application/base/typescale-4b291c93.css.map */
