html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  max-width: 42rem;
  margin: 0 auto;
  padding: 24px 20px 48px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
  overflow-wrap: break-word;
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
  margin: 0 0 16px;
}

h2 {
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.3;
  margin: 32px 0 8px;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 24px 0 8px;
}

p,
ul,
ol,
table {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 20px;
}

li + li {
  margin-top: 4px;
}

hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 24px 0;
}

header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

header img {
  width: 32px;
  height: auto;
  flex-shrink: 0;
}

header h1 {
  font-size: 1.125rem;
  margin: 0;
}

header p {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}

header a,
header a:visited {
  color: #1a1a1a;
  text-decoration: none;
}

header a:hover {
  color: #1a1a1a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a {
  color: #0b57d0;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:visited {
  color: #0b57d0;
}

a:hover {
  color: #083f99;
  text-decoration-thickness: 2px;
}

a:visited:hover {
  color: #083f99;
}

a:focus-visible {
  outline: 2px solid #0b57d0;
  outline-offset: 3px;
  border-radius: 2px;
}

.links a {
  display: inline-block;
  padding: 10px 0;
}

footer {
  font-size: 0.875rem;
  color: #595959;
}

footer p {
  margin: 0 0 8px;
}

footer .links a {
  padding: 8px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

tr {
  border-bottom: 1px solid #e5e5e5;
}

tr:first-child {
  border-top: 1px solid #e5e5e5;
}

td {
  padding: 12px 16px 12px 0;
  vertical-align: top;
}

td:first-child {
  width: 36%;
}

table + p {
  margin-top: 24px;
}

.meta {
  color: #595959;
  font-size: 0.875rem;
  margin-top: -8px;
}

.post-hero {
  margin: 0 0 24px;
}

.post-hero img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  body {
    padding: 40px 24px 48px;
  }
}

@media (max-width: 559px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 1.5rem;
  }

  td {
    display: block;
    width: auto;
    padding: 0;
  }

  td:first-child {
    width: auto;
    padding-top: 12px;
  }

  td:nth-child(2) {
    padding: 4px 0 12px;
    color: #1a1a1a;
  }

  tr {
    display: block;
  }
}
