* {
  font-family: "Departure Mono", monospace;
}

html,
body {
  font-family: "Departure Mono", monospace;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-smooth: always;
  text-rendering: optimizeLegibility;
}

:root {
  font-family: "Departure Mono", monospace;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-size: var(--m);
}

[capitalize] {
  text-transform: capitalize;
}

[uppercase] {
  text-transform: uppercase;
}

[lowercase] {
  text-transform: lowercase;
}

:root {
  --heading-margin: var(--xl) 0 var(--l);
  --font-weight: 200;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: var(--font-size);
  font-weight: var(--font-weight);
}

h1 {
  --font-size: var(--3xl);
  --font-weight: 400;
  margin: var(--heading-margin);
}

h2 {
  --font-size: var(--xxl);
  --font-weight: 300;
  margin: var(--heading-margin);
}

h3 {
  --font-size: var(--xl);
  --font-weight: 300;
  margin: var(--heading-margin);
}

h4 {
  --font-size: var(--l);
  --font-weight: 300;
  margin: var(--heading-margin);
}

h5 {
  --font-size: var(--m);
  --font-weight: 300;
  margin: var(--heading-margin);
}

h6 {
  --font-size: var(--s);
  --font-weight: 300;
  margin: var(--heading-margin);
}

p {
  --font-size: var(--l);
  --font-weight: 300;
  line-height: calc(var(--l) * 2);
}

[line-height] {
  line-height: var(--line-height);
}

[line-height="xxs"] {
  --line-height: var(--xxs);
}

[line-height="xs"] {
  --line-height: var(--xs);
}

[line-height="s"] {
  --line-height: var(--s);
}

[line-height="m"] {
  --line-height: var(--m);
}

[line-height="l"] {
  --line-height: var(--l);
}

[line-height="xl"] {
  --line-height: var(--xl);
}

[line-height="xxl"] {
  --line-height: var(--xxl);
}

[line-height="3xl"] {
  --line-height: var(--3xl);
}

[line-height="4xl"] {
  --line-height: var(--4xl);
}

[line-height="5xl"] {
  --line-height: var(--5xl);
}
