/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, header, footer, nav, ul, li, a, img, p, h1, h2, h3, h4, h5, h6, button {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
button { cursor: pointer; background: none; }
ul { list-style: none; }

/* ---- Typography & base ---- */
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;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: #b2ff00;
}
a:hover,
a:focus {
  color: #ffffff;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background-color: #b2ff00;
  color: #1a202c;
}
.btn--primary:hover,
.btn--primary:focus {
  background-color: #b2ff00;
  color: #1a202c;
}

.btn--secondary {
  background-color: #020203;
  color: #ffffff;
}
.btn--secondary:hover,
.btn--secondary:focus {
  background-color: #020203;
  color: #ffffff;
}

/* ---- Header ---- */
.site-header {
  background-color: #1a202c;
  border-bottom: 1px solid #d4af7a26;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-header__home {
  display: inline-flex;
  align-items: center;
}

.site-header__logo {
  height: 40px;
  width: auto;
}

.site-header__cta {
  flex-shrink: 0;
}

/* ---- Footer ---- */
.site-footer {
  background-color: #1a202c;
  border-top: 1px solid #d4af7a26;
  margin-top: auto;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
  text-align: center;
}

.site-footer__logo {
  height: 36px;
  width: auto;
  margin: 0 auto;
}

.site-footer__legal {
  color: #ffffff;
  font-size: 13px;
  opacity: 0.8;
  max-width: 640px;
}

/* ---- Responsive ---- */
/* Phone first by default above. Tablet and up: */
@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .site-footer__legal {
    text-align: right;
  }
}

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

  .site-header__logo {
    height: 48px;
  }
}

/* ---- 404 page ---- */
.not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.not-found__inner {
  text-align: center;
  max-width: 480px;
}

.not-found__code {
  font-size: 64px;
  font-weight: 700;
  color: #b2ff00;
  line-height: 1;
  margin-bottom: 8px;
}

.not-found__text {
  margin: 16px 0 24px;
  opacity: 0.85;
}

/* ---- Article page (home) ---- */
.article-page {
  padding-top: 32px;
  padding-bottom: 48px;
}

.page-title-block h1 {
  font-size: 28px;
  margin-bottom: 16px;
}

.page-title-block p {
  margin-bottom: 20px;
}

.toc {
  border: 1px solid #d4af7a26;
  border-radius: 8px;
  background-color: #1a202c;
  padding: 16px 20px;
  margin-bottom: 8px;
}

.toc ul {
  display: grid;
  gap: 8px;
}

.toc li {
  position: relative;
  padding-left: 18px;
}

.toc li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #b2ff00;
  font-weight: 700;
}

.toc a {
  color: #ffffff;
}

.toc a:hover,
.toc a:focus {
  color: #b2ff00;
}

.intro-banner {
  margin-top: 32px;
}

.intro-banner p {
  margin-bottom: 16px;
}

.promo-banner {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}

.promo-banner img {
  width: 100%;
  height: auto;
}

.article-section {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid #d4af7a26;
}

.article-section h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.article-section p {
  margin-bottom: 16px;
}

.article-section .btn {
  margin-top: 8px;
}

.promo-image {
  margin: 20px 0;
}

.promo-image img {
  border-radius: 10px;
}

.promo-image--row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
  border: 1px solid #d4af7a26;
  border-radius: 8px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #d4af7a26;
  vertical-align: top;
}

.data-table th {
  background-color: #1a202c;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.step-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-number {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #b2ff00;
  color: #1a202c;
  font-weight: 700;
}

.faq-item {
  border: 1px solid #d4af7a26;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 12px;
  background-color: #1a202c;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #ffffff;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+ ";
  color: #b2ff00;
  font-weight: 700;
}

.faq-item[open] summary::before {
  content: "– ";
}

.faq-item p {
  margin-top: 12px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .page-title-block h1 {
    font-size: 36px;
  }

  .promo-image--row {
    grid-template-columns: repeat(3, 1fr);
  }
}