/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, picture, video, canvas { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: #2d3748;
  color: #ffffff;
  line-height: 1.5;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #ffffff;
  line-height: 1.2;
}
p { color: #ffffff; }

/* Links */
a.link, .content a {
  color: #b2ff00;
}
a.link:hover, .content a:hover {
  color: #ffffff;
}

/* Layout container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background-color: #b2ff00;
  color: #1a202c;
}
.btn-primary:hover {
  background-color: #b2ff00;
  color: #1a202c;
  opacity: 0.85;
}
.btn-secondary {
  background-color: #020203;
  color: #ffffff;
}
.btn-secondary:hover {
  background-color: #020203;
  color: #ffffff;
  opacity: 0.85;
}

/* Header */
.site-header {
  background-color: #1a202c;
  border-bottom: 1px solid #d4af7a26;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}
.logo-link {
  display: inline-flex;
  align-items: center;
}
.logo-img {
  height: 40px;
  width: auto;
}
.header-cta {
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background-color: #1a202c;
  border-top: 1px solid #d4af7a26;
  margin-top: 48px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
  text-align: center;
}
.footer-logo .logo-img {
  height: 32px;
}
.footer-legal {
  color: #ffffff;
  font-size: 13px;
  opacity: 0.8;
}

/* Tablet */
@media (min-width: 768px) {
  .header-inner { padding-top: 16px; padding-bottom: 16px; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* Desktop */
@media (min-width: 1024px) {
  .container { padding: 0 32px; }
  .logo-img { height: 44px; }
}

/* 404 page */
.not-found {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.not-found-code {
  font-size: 72px;
  font-weight: 700;
  color: #b2ff00;
  line-height: 1;
}
.not-found p {
  opacity: 0.85;
  max-width: 40ch;
}

/* Page-specific additions for / */
section.container {
  padding-top: 32px;
  padding-bottom: 32px;
}
.page-title h1 {
  font-size: 28px;
  margin-bottom: 20px;
}
.toc-box {
  background-color: #1a202c;
  border: 1px solid #d4af7a26;
  border-radius: 8px;
  padding: 20px 24px;
}
.toc-title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
.toc-box ul {
  display: grid;
  gap: 8px;
}
.toc-box a {
  color: #b2ff00;
}
.toc-box a:hover {
  color: #ffffff;
}
.content h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
.content h3 {
  font-size: 18px;
  margin: 0;
  display: inline;
}
.content p {
  margin-bottom: 16px;
}
.intro-banner,
.section-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
}
.banner-link {
  display: block;
}
.table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1a202c;
  border: 1px solid #d4af7a26;
  border-radius: 8px;
}
th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #d4af7a26;
  vertical-align: top;
}
th {
  color: #ffffff;
  background-color: #2d3748;
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}
.numbered-list {
  margin: 0 0 16px 0;
  padding-left: 1.25em;
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.numbered-list li {
  padding-left: 4px;
}
.cta-row {
  text-align: center;
  margin-top: 8px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background-color: #1a202c;
  border: 1px solid #d4af7a26;
  border-radius: 8px;
  padding: 16px 20px;
}
.faq-item summary {
  cursor: pointer;
  color: #ffffff;
}
.faq-item summary h3 {
  display: inline;
}
.faq-item p {
  margin-top: 12px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .toc-box ul {
    grid-template-columns: 1fr 1fr;
  }
}