@import url("https://rsms.me/inter/inter.css");
@import url("./reset.css");

* {
  box-sizing: border-box;
}

body {
  color: black;
  display: flex;
  flex-direction: column;
  font-family: "Inter var", sans-serif;
  font-feature-settings: "calt" 1;
  /* font-size: calc(1pt * (9 + 3 / 8)); */
  font-weight: 400;
  line-height: 1.6em;
  margin: 0 auto;
  padding: 0;
  /* width: calc(8 * 72pt); */
  -webkit-text-size-adjust: 100%;

  width: 768px;
  font-size: calc(1px * (12 + 4 / 8));
}

@media screen {
  body {
    margin: 3em auto 3em;
  }
}

/* Generic typography */

strong {
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

.nowrap {
  white-space: nowrap;
}

.blue {
  color: #6dc7b6;
}

/* Top level layout */

.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
}

.row-left {
  width: 66%;
}

.row-right {
  width: 31%;
}

/* Header */

.header {
  margin-bottom: 2em;
}

.subheader {
  margin-top: 0.80em;
}

.header h1 {
  font-size: 2.5em;
  font-weight: 900;
  line-height: 1em;
}

/* Content layout */

section {
  margin-bottom: 1.2em;
}

section:last-of-type {
  margin-bottom: 0;
}

section header {
  margin-bottom: 0.40em;
}

ul + p,
p + p {
  margin-top: 0.70em;
}

p + ul {
  margin-top: 0.10em;
}

/* Content looks */

small {
  font-weight: 300;
}

small::before {
  content: "/ ";
  margin: 0 0.25em;
}

h2 {
  font-weight: 700;
}

h3 {
  opacity: 0.5;
}

.list-dashed li {
  padding-left: 1em;
}

.list-dashed li::before {
  content: "–";
  margin-left: -0.925em;
  position: absolute;
}

/* Print styles */

@media print {
  .safari {
    margin-top: 0.8em;
    margin-left: 0.85em;
  }
}

/* Desktop web styles */

@media only screen and (min-device-width:: 480px) {
  .safari .row-left {
    width: 68%;
  }

  .safari {
    font-size: calc(1px * (12 + 3 / 16));
  }
}

/* Mobile web styles */

@media only screen and (max-device-width: 480px) {
  body {
    width: auto;
    padding: 2em;
    margin: 0;
  }

  .header {
    margin-top: 2em;
  }

  .row {
    flex-direction: column;
  }

  .safari .row-left,
  .row-left {
    width: auto;
  }

  .safari .row-right,
  .row-right {
    margin-top: 2em;
    width: auto;
  }
}
