.site-footer-links {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem 1.25rem;
  font-size: .875rem;
  line-height: 1.55;
  letter-spacing: normal;
  text-transform: none;
}

.site-footer-links a {
  color: #b9cbd4;
  padding: .45rem 0;
  text-underline-offset: .24em;
}

.site-footer-links a:hover,
.site-footer-links a[aria-current="page"] {
  color: #6ee7b7;
}

footer:has(> .site-footer-links) {
  flex-wrap: wrap;
}

.info-page {
  color-scheme: dark;
  margin: 0;
  background: radial-gradient(ellipse at 55% 0, #1b343b, #101923 40rem);
  color: #eef5f5;
  font: 1rem/1.75 system-ui, -apple-system, sans-serif;
}

.info-shell {
  width: min(64rem, calc(100% - 2rem));
  margin-inline: auto;
}

.info-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #354b59;
}

.info-brand {
  display: inline-flex;
  gap: .4em;
  align-items: center;
  font-weight: 750;
  letter-spacing: .08em;
  text-decoration: none;
}

.info-brand span {
  width: 2rem;
  height: 2rem;
  background: #6ee7b7;
  mask: url("/benzene-kekule.svg") center / contain no-repeat;
}

.info-brand b,
.info-play,
.info-page main a {
  color: #6ee7b7;
}

.info-brand {
  color: #eef5f5;
}

.info-page a:focus-visible,
.site-footer-links a:focus-visible {
  outline: 2px solid #6ee7b7;
  outline-offset: 4px;
}

.info-intro {
  padding: clamp(2rem, 6vw, 4.25rem) 0 1.5rem;
}

.info-intro h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.2;
}

.info-intro p {
  max-width: 46rem;
  color: #b9cbd4;
}

.info-panel {
  border: 1px solid #354b59;
  border-radius: 1rem;
  background: #172630;
  padding: clamp(1rem, 3vw, 1.75rem);
  margin: 0 0 1rem;
}

.info-panel h2 {
  font-size: 1.25rem;
  margin: 0 0 .5rem;
}

.info-panel p:last-child,
.info-panel ul:last-child,
.info-panel ol:last-child,
.info-panel dl:last-child {
  margin-bottom: 0;
}

.info-panel li + li {
  margin-top: .4rem;
}

.info-panel a {
  overflow-wrap: anywhere;
  text-underline-offset: .2em;
}

.info-panel dt {
  font-weight: 700;
}

.info-panel dd {
  margin: .15rem 0 .75rem;
}

.info-controls {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  font-size: .9375rem;
}

.info-controls th,
.info-controls td {
  padding: .55rem .4rem;
  border-bottom: 1px solid #354b59;
  text-align: start;
}

.info-controls kbd {
  color: #b9f6dc;
  white-space: nowrap;
}

.molecule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
}

.molecule-grid .info-panel {
  margin: 0;
}

.molecule-grid img {
  display: block;
  width: 100%;
  height: 7.5rem;
  padding: .5rem;
  object-fit: contain;
  background: #101923;
  border-radius: .6rem;
  margin-bottom: 1rem;
}

.molecule-meta {
  margin: 0;
  color: #b9cbd4;
}

.info-footer {
  border-top: 1px solid #354b59;
  margin-top: 2.5rem;
  padding: 1rem 0 1.5rem;
}
