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

/* Typography */
html, 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 {
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.2;
  font-weight: 700;
}
a {
  color: #b2ff00;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #ffffff;
}

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

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

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

/* Footer */
.site-footer {
  background-color: #1a202c;
  border-top: 1px solid #d4af7a26;
  padding: 32px 0;
  margin-top: auto;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer__logo-img {
  height: 32px;
  width: auto;
}
.footer__legal {
  color: #ffffff;
  font-size: 13px;
  opacity: 0.8;
}

/* Tablet */
@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

/* 404 page */
.not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 64px 0;
  text-align: center;
}
.not-found__inner {
  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__text {
  color: #ffffff;
  opacity: 0.85;
  max-width: 480px;
}

/* Article page additions */
.page-article {
  padding: 32px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.article-title h1 {
  font-size: 28px;
  margin-bottom: 16px;
}
.toc-box {
  background-color: #1a202c;
  border: 1px solid #d4af7a26;
  border-radius: 8px;
  padding: 20px 24px;
}
.toc-box__title {
  font-weight: 700;
  margin-bottom: 12px;
}
.toc-box__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toc-box__list a {
  color: #b2ff00;
}
.article-intro p {
  margin-bottom: 16px;
}
.article-banner {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
}
.article-banner__img {
  width: 100%;
  border-radius: 8px;
}
.article-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.article-section h2 {
  font-size: 22px;
}
.article-section h3 {
  font-size: 18px;
}
.article-section p {
  line-height: 1.6;
}
.article-image {
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
  margin: 0 auto;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1a202c;
  border-radius: 8px;
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #d4af7a26;
  font-size: 14px;
}
th {
  color: #ffffff;
  font-weight: 700;
  background-color: #2d3748;
}
.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: step;
  padding-left: 0;
}
.step-list li {
  position: relative;
  padding-left: 40px;
  counter-increment: step;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #b2ff00;
  color: #1a202c;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  border: 1px solid #d4af7a26;
  border-radius: 8px;
  padding: 16px 20px;
  background-color: #1a202c;
}
.faq-item dt h3 {
  margin-bottom: 8px;
}

/* Responsive */
@media (min-width: 768px) {
  .article-title h1 {
    font-size: 34px;
  }
}