/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, span, header, footer, nav, ul, ol, 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; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* Typography */
body {
  background: #090a0b;
  color: #f8f5ef;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
a {
  color: #d9b36b;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #31ffe5;
}

/* 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: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--primary {
  background-color: #31ffe5;
  color: #090a0b;
  border: 1px solid #31ffe5;
}
.btn--primary:hover, .btn--primary:focus {
  background-color: #31ffe5;
  color: #090a0b;
  opacity: 0.85;
}
.btn--secondary {
  background-color: #7a2e34;
  color: #ffffff;
  border: 1px solid #7a2e34;
}
.btn--secondary:hover, .btn--secondary:focus {
  background-color: #4a171d;
  color: #ffffff;
}

/* Site header */
.site-header {
  background-color: #18191b;
  border-bottom: 1px solid #d9b36b;
  position: sticky;
  top: 0;
  z-index: 100;
}
.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;
}

/* Site footer */
.site-footer {
  background-color: #18191b;
  border-top: 1px solid #d9b36b;
  margin-top: 40px;
}
.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;
}
.site-footer__legal {
  color: #f8f5ef;
  font-size: 13px;
  opacity: 0.8;
}

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

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

/* 404 page */
.notfound {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 0;
}
.notfound__inner {
  text-align: center;
  max-width: 480px;
}
.notfound__code {
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  font-size: 64px;
  color: #d9b36b;
  line-height: 1;
  margin-bottom: 8px;
}
.notfound__title {
  font-size: 28px;
  margin-bottom: 12px;
}
.notfound__text {
  color: #f8f5ef;
  opacity: 0.85;
  margin-bottom: 24px;
}
.notfound__link {
  display: inline-block;
}

/* Article page */
.main-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}
.article-section {
  margin-bottom: 40px;
}
.main-article h1 {
  font-size: 32px;
  margin-bottom: 20px;
}
.article-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
  padding-top: 8px;
}
.article-section p {
  margin-bottom: 16px;
  color: #f8f5ef;
}
.article-section p:last-child {
  margin-bottom: 0;
}

/* Table of contents box */
.toc-box {
  border: 1px solid #d9b36b;
  border-radius: 8px;
  background-color: #18191b;
  padding: 20px;
}
.toc-box__label {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
.toc-box__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 24px;
}
.toc-box__list a {
  display: block;
}

/* Intro banner image */
.intro-banner {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
}
.intro-banner img {
  border-radius: 8px;
  width: 100%;
}

/* Data tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 15px;
}
.data-table th,
.data-table td {
  border: 1px solid #d9b36b;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.data-table th {
  background-color: #18191b;
  color: #ffffff;
}
.data-table td {
  background-color: #090a0b;
}

/* Step list */
.step-list {
  list-style: decimal;
  padding-left: 22px;
  margin-bottom: 16px;
}
.step-list li {
  margin-bottom: 10px;
  padding-left: 6px;
}

/* CTA buttons inside article */
.cta-button {
  margin-top: 8px;
}

/* Trust / credibility section */
.trust-section {
  background-color: #18191b;
  border: 1px solid #d9b36b;
  border-radius: 8px;
  padding: 24px;
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid #d9b36b;
}
.faq-item details {
  padding: 14px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: #31ffe5;
  font-weight: 700;
}
.faq-item details[open] summary::before {
  content: "\2212";
}
.faq-item p {
  margin-top: 12px;
  padding-left: 18px;
}

/* Trailing sources / legal text */
.article-sources {
  margin-top: 32px;
  font-size: 13px;
  opacity: 0.8;
}
.article-sources p {
  margin-bottom: 12px;
}

/* Tablet / desktop */
@media (min-width: 768px) {
  .toc-box__list {
    grid-template-columns: 1fr 1fr;
  }
  .main-article h1 {
    font-size: 40px;
  }
}