:root {
  --bg: #FFF8E1;
  /* Softer, creamy yellow */
  --text: #7C3A00;
  /* Deep, readable brown-orange */
  --link: #C62828;
  /* Strong, modern red */
  --link-hover: #FF7043;
  /* Warm, noticeable hover */
  --highlight-bg: #B2FF59;
  /* Soft lime for highlights */
  --highlight-text: #263238;
  /* Deep blue-grey for contrast */
}

html {
  height: 100%;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  box-sizing: border-box;

  font-family: Roboto Slab, sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
}

body {
  padding: 1rem 1rem 3rem 1rem;
  margin: auto;
  max-width: 60rem;
  box-sizing: border-box;
  font-size: 1.3rem;
}

ul {
  padding-inline-start: 1rem;
}

ul,
li {
  list-style-type: disclosure-closed;
  margin-bottom: 1.6rem;
}

a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
  padding: 0.1rem 0.25rem;
}

a:hover {
  color: #fefafa;
  background-color: #c62828;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--link);
  font-weight: 500;
}

em {
  font-style: normal;
  text-decoration: underline;
}

h1 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

h5 {
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}

h6 {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

p {
  line-height: 1.55;
  margin-top: 0;
  margin-bottom: 1rem;
}

header {
  h1 {
    font-weight: bold;
  }
}

.go-back {
  font-size: 1.1rem;
}

.highlight {
  position: relative;
  display: inline-block;
  color: var(--highlight-text);
  font-weight: 700;
  font-style: italic;
  padding: 0rem 0.2rem;
  z-index: 1;
}

.highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--highlight-bg);
  border-radius: 0.2rem;
  transform: skewX(-20deg);
  z-index: -1;
}

article {

  margin-top: 1rem;

  h1 {
    margin-bottom: 0;
    margin-top: 0;
  }

  .metrics {
      display: block;
      margin-top: 0rem;
      margin-bottom: 1.5rem;
  }
}
