* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: #10191e;
  color: #edeae1;
  font:
    1rem/1.7 "DM Sans",
    sans-serif;
}
a {
  color: #d6b777;
  text-underline-offset: 4px;
}
a:hover {
  color: #fff;
}
a:focus-visible,
summary:focus-visible,
.table-wrap:focus-visible {
  outline: 2px solid #d6b777;
  outline-offset: 5px;
}
h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.2;
  font-weight: 500;
}
h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin: 12px 0;
}
h2 {
  font-size: 2rem;
  margin: 0 0 24px;
}
h3 {
  font-size: 1.3rem;
}
p {
  margin: 0 0 18px;
}
main {
  max-width: 1400px;
  margin: auto;
  padding: 64px 32px;
}
.wiki-intro {
  max-width: 850px;
  margin-bottom: 64px;
}
.eyebrow {
  color: #d6b777;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
}
.lede {
  font-size: 1.4rem;
}
.updated {
  font-size: 0.875rem;
}
.wiki-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 56px;
}
.wiki-index {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 24px;
  background: #1a272d;
  border: 1px solid #405158;
  border-radius: 12px;
}
.wiki-index h2 {
  font-size: 1.2rem;
}
.wiki-index a {
  display: block;
  margin: 12px 0;
  font-size: 0.95rem;
}
.wiki-articles {
  min-width: 0;
}
section {
  margin-bottom: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid #405158;
}
.wiki-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.wiki-cards article {
  padding: 20px;
  background: #1a272d;
  border: 1px solid #405158;
  border-radius: 12px;
}
.wiki-cards h3 {
  color: #d6b777;
  margin-top: 0;
}
.wiki-cards p {
  margin-bottom: 0;
}
.wiki-note {
  padding: 20px 24px;
  border-left: 3px solid #d6b777;
  background: #1a272d;
  border-radius: 0 8px 8px 0;
}
li {
  padding-left: 5px;
  margin-bottom: 10px;
}
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid #405158;
  border-radius: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
caption {
  text-align: left;
  padding: 16px;
  font-weight: bold;
  color: #d6b777;
}
th,
td {
  padding: 14px 16px;
  border-top: 1px solid #405158;
  vertical-align: top;
}
thead,
tbody tr:nth-child(even) {
  background: #1a272d;
}
tbody th {
  min-width: 125px;
  font-weight: 500;
}
details {
  padding: 18px 0;
  border-bottom: 1px solid #405158;
}
summary {
  cursor: pointer;
  color: #d6b777;
  font-size: 1.1rem;
}
details p {
  margin: 16px 0 0;
}
footer {
  padding: 32px;
  border-top: 1px solid #405158;
  text-align: center;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 12px;
  background: #10191e;
}
.skip-link:focus {
  top: 10px;
}
@media (max-width: 1050px) {
  .wiki-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
  }
  .wiki-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 740px) {
  main {
    padding: 36px 20px;
  }
  .wiki-layout {
    display: block;
  }
  .wiki-index {
    position: static;
    margin-bottom: 36px;
  }
  .wiki-intro {
    margin-bottom: 32px;
  }
  .site-header {
    flex-wrap: wrap;
  }
  .site-header nav {
    flex-wrap: wrap;
  }
  h2 {
    font-size: 1.65rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
