@font-face {
  font-family: Inter;
  font-weight: 100 900;
  src: url(/inter.woff2);
  font-display: swap;
}
.reading {
  background: #faf9f5;
  color: #201e18;
  font:
    16px/1.58 Inter,
    Arial,
    sans-serif;
  letter-spacing: -0.022em;
  margin: 0;
}
.reading * {
  box-sizing: border-box;
}
.reading :is(header, main, .note, .library) {
  max-width: 1120px;
  margin: auto;
  width: 89%;
}
.reading header,
.reading nav,
.downloads,
.lab .top,
.legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.reading header {
  border-bottom: 1px solid #cfccc1;
  padding: 20px 0;
}
.reading a,
.library a,
.front .cards a {
  color: inherit;
  text-decoration: none;
}
.reading a:hover,
.library a:hover,
.front .cards a:hover h2 {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.reading .mark {
  font-weight: 840;
  font-size: 32px;
  letter-spacing: -0.08em;
  line-height: 1;
}
.reading .mark span,
.reading h1 span,
.cards small span {
  color: #c63c10;
}
.reading nav,
.reading .cta,
.reading button,
.downloads a,
.library,
.related a {
  font:
    600 14px/1.4 Inter,
    sans-serif;
}
.reading .cta,
.reading button {
  border: none;
  border-radius: 6px;
  padding: 14px 19px;
  background: #211f1b;
  color: #fff;
  cursor: pointer;
}
.reading .cta:hover,
.reading button:hover {
  background: #a6310e;
  text-decoration: none;
}
.reading .skip {
  position: absolute;
  left: -9999px;
}
.reading .skip:focus {
  left: 1rem;
  background: white;
  padding: 1rem;
}
.reading .crumb,
.reading .author,
.reading .source,
.reading .note,
.reading .compare > p {
  font-size: 14px;
  color: #625d52;
}
.reading .crumb {
  margin: 46px 0 26px;
}
.reading .author a,
.reading .source a {
  text-decoration: underline;
}
.reading h1 {
  font:
    400 clamp(44px, 6.1vw, 86px)/1.02 Georgia,
    serif;
  letter-spacing: -0.058em;
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
}
.reading .intro {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  max-width: 65ch;
  margin: 24px 0;
  color: #514e45;
  text-wrap: pretty;
}
.reading .columns {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(200px, 1fr);
  gap: 9%;
  margin: 56px 0 85px;
  align-items: start;
}
.reading section {
  max-width: 68ch;
}
.reading section h2,
.reading .sheet h2 {
  letter-spacing: -0.045em;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.18;
  margin: 42px 0 13px;
  text-wrap: balance;
}
.reading section h2:first-child {
  margin-top: 0;
}
.reading section p {
  margin: 0 0 23px;
  font-size: 18px;
  line-height: 1.7;
  color: #403e37;
}
.reading section .formula {
  font:
    italic 23px/1.4 Georgia,
    serif;
  padding: 14px 20px;
  border-left: 3px solid #bd3a10;
  background: #efeee6;
}
.reading .related {
  display: grid;
  border-top: 2px solid;
  padding-top: 18px;
}
.reading .related a {
  padding: 18px 0;
  border-bottom: 1px solid #d5d1c6;
}
.reading small,
.front .cards small {
  font:
    650 11px/1.5 Inter,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.reading .downloads {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 32px 0;
}
.reading .lab {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: #efede5;
  border-radius: 12px;
  overflow: hidden;
  margin: 40px 0;
}
.reading .lab > div,
.reading .sheet,
.reading .compare {
  padding: clamp(18px, 3vw, 38px);
}
.reading .lab .top {
  margin-bottom: 20px;
}
.reading .top button {
  background: none;
  color: #963615;
  padding: 6px;
}
.reading .inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.reading label {
  font-size: 14px;
  font-weight: 550;
  min-width: 0;
}
.reading :is(input, select) {
  background: #fffefa;
  border: 1px solid #c6c2b6;
  border-radius: 6px;
  font:
    500 17px Inter,
    sans-serif;
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 10px;
  color: #201e19;
  min-width: 0;
}
.reading .results {
  background: #193b32;
  color: #fcf9ee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.reading dl,
.reading dd {
  margin: 0;
}
.reading dl div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #ffffff40;
  padding: 13px 0;
  flex-wrap: wrap;
}
.reading dl div:first-child {
  display: block;
  border: none;
  padding: 0 0 25px;
}
.reading dd {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.reading dl div:first-child dd {
  font:
    400 clamp(32px, 3.6vw, 52px)/1.13 Georgia,
    serif;
  letter-spacing: -0.045em;
  margin-top: 12px;
  color: #ffe1b9;
}
.reading .results small {
  margin-top: 26px;
  color: #c0d3c7;
}
.reading .cards,
.front .cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 28px;
  margin: 44px 0 80px;
}
.reading .cards a,
.front .cards a {
  padding: 20px 0;
  border-top: 1px solid #bfb9a9;
  display: block;
}
.cards small span {
  float: right;
  font-size: 20px;
  line-height: 1;
}
.front .cards h2,
.reading .cards h2 {
  font:
    600 clamp(22px, 2.1vw, 30px)/1.14 Inter,
    sans-serif;
  letter-spacing: -0.05em;
  margin: 24px 0 12px;
}
.front .cards p,
.reading .cards p {
  font:
    400 16px/1.55 Inter,
    sans-serif;
  margin: 0;
  color: #555146;
  letter-spacing: -0.02em;
}
.library,
.front .library {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 45px 0;
  border-top: 1px solid #ccc8bc;
}
.front .library {
  width: 89%;
  margin: auto;
  max-width: 1440px;
}
.library strong {
  display: block;
  font-weight: 700;
  margin: 0 0 14px;
}
.library a,
.front .library a {
  display: block;
  color: #514d45;
  font-weight: 450;
  margin: 10px 0;
}
.reading .note {
  border-top: 1px solid #d4d0c4;
  padding: 20px 0 50px;
}
.reading .compare,
.reading .sheet {
  border: 1px solid #cfccc1;
  border-radius: 10px;
  margin-top: 36px;
}
.compare .inputs {
  grid-template-columns: 2fr 2fr 1fr;
}
.compare svg {
  width: 100%;
  max-height: 330px;
}
.legend {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 22px;
  margin: 12px 0 20px;
}
.legend div:first-child {
  color: #13574b;
}
.legend div + div {
  color: #a33614;
}
.reading summary {
  cursor: pointer;
}
.reading table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.reading th,
.reading td {
  text-align: left;
  padding: 9px;
  border: 1px solid #bfb9a9;
}
@media (max-width: 780px) {
  .reading .columns,
  .reading .lab,
  .reading .compare .inputs {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .reading .compare .inputs {
    gap: 12px;
  }
  .reading .related {
    margin-top: 35px;
  }
  .reading .cards,
  .front .cards {
    grid-template-columns: 1fr;
    gap: 4px;
    margin: 25px 0;
  }
  .reading header {
    flex-wrap: wrap;
    gap: 20px;
  }
  .reading nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
  .front .library,
  .reading .library {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .reading .crumb {
    margin: 24px 0 20px;
  }
  .reading .inputs {
    gap: 12px;
    align-items: end;
  }
  .reading .inputs label {
    font-size: 13px;
  }
  .reading section p {
    font-size: 17px;
  }
  .reading th,
  .reading td {
    font-size: 12px;
    padding: 6px 3px;
  }
  .reading .sheet {
    overflow-wrap: anywhere;
    padding: 12px;
  }
}
@media print {
  .reading:has(.sheet)
    :is(header, .crumb, .columns, .library, .note, .skip, button) {
    display: none;
  }
  .reading .sheet td {
    height: 54px;
  }
  .reading h1 {
    font-size: 35px;
  }
}
.reading .unit {
  display: flex;
  gap: 12px;
  align-items: center;
}
.reading .unit select {
  margin: 0;
  width: auto;
  font-size: 14px;
  padding: 8px;
}
.reading .lab .top {
  gap: 6px;
}
.reading .results small {
  letter-spacing: 0.05em;
}
.reading .contact {
  display: grid;
  gap: 20px;
  margin: 32px 0 78px;
  max-width: 620px;
}
.reading .contact textarea {
  border: 1px solid #c6c2b6;
  border-radius: 6px;
  background: #fffefa;
  font:
    16px/1.5 Inter,
    sans-serif;
  color: inherit;
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 7px;
  resize: vertical;
}
.reading .contact p {
  font-size: 14px;
  color: #625d52;
  margin: 0;
}
.reading .contact button {
  justify-self: start;
  background: #ac350e;
}
.reading .contact [hidden] {
  display: none;
}
body .privacyChoice {
  box-sizing: border-box;
  position: fixed;
  z-index: 9999;
  bottom: 16px;
  right: 16px;
  left: auto;
  max-width: min(420px, calc(100vw - 32px));
  background: #fffdf7;
  color: #211f1b;
  padding: 20px;
  border: 1px solid #d6d1c4;
  border-radius: 12px;
  box-shadow: 0 6px 30px #211f1b1f;
  font:
    14px/1.5 Inter,
    sans-serif;
  text-align: left;
}
body .privacyChoice[hidden] {
  display: none;
}
body .privacyChoice p {
  color: #514b43;
  margin: 6px 0 16px;
  font:
    14px/1.5 Inter,
    sans-serif;
}
body .privacyChoice a {
  color: #933410;
  text-decoration: underline;
}
.privacyChoice div + div {
  display: flex;
  gap: 8px;
}
body .privacyChoice button,
body .privacyChoice button:hover {
  display: block;
  flex: 1;
  font:
    600 13px Inter,
    sans-serif;
  min-height: 42px;
  background: #21201d;
  color: #fff;
  padding: 10px 6px;
  border-radius: 5px;
  cursor: pointer;
  border: 0;
}
body .privacyChoice button:hover {
  background: #ac350e;
}
body .metricSettings,
body .metricSettings:hover {
  margin: 16px auto 42px;
  font:
    13px Inter,
    sans-serif;
  display: block;
  color: inherit;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}
@media (max-width: 760px) {
  body.personal .metricSettings {
    margin-bottom: 100px;
  }
}
@media print {
  .privacyChoice,
  .metricSettings {
    display: none !important;
  }
}
