body {
  background: #fff;
  color: #333;
  font-family: sans-serif;
  line-height: 1.5;
  font-size: 16px;
  max-width: 40em;
  margin: 0 auto;
  padding: 20px; }
  @media (min-width: 40em) {
    body {
      padding: 60px 30px; } }
a {
  color: rgba(0, 0, 0, 0.7); }
  a:focus, a:hover {
    color: rgba(0, 0, 0, 0.6); }

img {
  max-width: 100%;
  display: block;
  margin: 0 auto; }

li {
  margin: 0.5em 0; }

@keyframes slide {
  from {
    opacity: 0;
    transform: translateX(200px); }
  to {
    opacity: 1;
    transform: translateX(0); } }

.hero {
  position: relative;
  width: 24em;
  max-width: 100%;
  aspect-ratio: 1049 / 439;
  margin: 2em auto;
  shape-margin: 0.5em;
  z-index: -1; }
  @media (min-width: 40em) {
    .hero {
      float: right;
      margin: 0;
      shape-outside: polygon(38% 0, 100% 0, 100% 100%, 57% 100%, 13% 94%, 1% 86%, 9% 69%, 12% 29%, 27% 17%); } }
  .hero-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    visibility: hidden; }
    .hero-image.is-loaded {
      visibility: visible;
      animation-duration: 1s;
      animation-timing-function: ease-out;
      animation-name: slide; }

article {
  margin: 50px 0; }
  article:target h3 {
    background: #ffff9f; }

h1 {
  line-height: 1.2;
  font-size: 26px; }
  @media (min-width: 40em) {
    h1 {
      font-size: 32px; } }
h1 a {
  text-decoration: none; }
  h1 a, h1 a:hover, h1 a:focus {
    color: #c4bb00; }
  h1 a:hover {
    border-bottom: 2px solid #ccc; }

h3 .anchor-link {
  display: none;
  text-decoration: underline;
  margin-left: 0.5em; }

h3:hover .anchor-link {
  display: inline;
  opacity: 0.5; }

h3 img, li img {
  height: 1em;
  width: auto;
  display: inline;
  vertical-align: -0.15em; }

.toc {
  margin-top: 50px; }
  @media (min-width: 64em) {
    .toc {
      position: relative;
      left: 50%;
      width: 72em;
      max-width: calc(100vw - 60px);
      transform: translateX(-50%);
      columns: 2;
      column-gap: 60px; } }
  .toc-section {
    break-inside: avoid;
    margin-bottom: 1.5em; }
    .toc-section h3 {
      margin-top: 0; }

.page-name-link {
  text-decoration: none;
  border-bottom: 1px solid #ccc; }

p.go-home--top {
  margin-top: -1.2em; }
  p.go-home--top a {
    color: #aaa; }

p.go-home--bottom {
  margin-top: 2em;
  text-align: center; }

hr {
  margin-top: 30px;
  border: 0;
  height: 1px;
  background: #ddd;
  margin-bottom: 30px; }

footer {
  margin-top: 60px;
  opacity: 0.6;
  font-size: 14px; }

.orange-indicator {
  color: #d96a00;
  font-weight: bold; }

figcaption {
  text-align: center;
  font-style: italic; }

.images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin: 30px 0; }
  .images figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0; }
  .images figcaption {
    margin-top: 5px; }
