:root {
  color-scheme: light;
  background: #fff;
  color: #202124;
  font-family: ui-monospace, Consolas, "Liberation Mono", monospace;
}

body {
  max-width: 67ch;
  margin: clamp(1.75rem, 7vw, 4rem) 0;
  padding-inline: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1 {
  margin: 0;
  color: #17181a;
  font-size: clamp(1.55rem, 5vw, 1.9rem);
  line-height: 1.2;
}

a {
  color: #0645ad;
  text-underline-offset: .15em;
}

a:visited { color: #3b518c; }
a:hover { color: #00327e; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.home-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .55rem 1.25rem;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .9rem;
  font-size: .95rem;
}

.essays {
  padding-left: 1.3em;
  list-style-type: "-  ";
}

.essays li { margin-block: .4em; }
.essays time { display: inline-block; margin-inline-start: .5ch; }

time { color: #595e65; font-size: .9rem; }
.date { margin-block: .35rem 1.5rem; }
footer { margin-top: 2rem; font-size: .95rem; }

article { overflow-wrap: anywhere; }
article img { max-width: 100%; }
article pre, article table { overflow: auto; }
article pre { padding: .6rem; background: #f4f5f7; }
article table { display: block; border-collapse: collapse; }
article th, article td { border: 1px solid #c8cbd0; padding: .2rem .45rem; }

.skip {
  position: absolute;
  top: .5rem;
  left: .5rem;
  padding: .5rem;
  background: #fff;
  transform: translateY(-180%);
}

.skip:focus { transform: none; }
