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

/* ---- Base ---- */
body {
  background-color: #2d3748;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a.link, .content a:not(.btn) {
  color: #b2ff00;
}
a.link:hover, .content a:not(.btn):hover {
  color: #ffffff;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-cta,
.content a.btn-cta {
  background-color: #b2ff00;
  color: #1a202c;
}
.btn-cta:hover,
.content a.btn-cta:hover {
  background-color: #b2ff00;
  color: #1a202c;
  opacity: 0.9;
}

.btn-secondary,
.content a.btn-secondary {
  background-color: #020203;
  color: #ffffff;
}
.btn-secondary:hover,
.content a.btn-secondary:hover {
  background-color: #020203;
  color: #ffffff;
  opacity: 0.9;
}

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

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

.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: 40px;
}

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

.footer-logo-link .logo-img {
  height: 32px;
}

.footer-legal {
  color: #ffffff;
  opacity: 0.7;
  font-size: 0.85rem;
  margin: 0;
}

/* ---- Responsive ---- */
@media (min-width: 600px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 900px) {
  .container {
    padding: 0 32px;
  }
}

/* ---- 404 page ---- */
.error-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding-top: 80px;
  padding-bottom: 80px;
  min-height: 50vh;
}

.error-404-code {
  font-size: 4rem;
  font-weight: 700;
  color: #b2ff00;
  margin: 0;
  line-height: 1;
}

.error-404 p {
  color: #ffffff;
  opacity: 0.85;
  margin: 0 0 8px;
}

.error-404 .btn {
  margin-top: 8px;
}

/* ---- Page body content (added for / page) ---- */

.content { display: block; }

/* Hero carousel */
.hero-carousel {
  background-color: #1a202c;
  padding: 24px 0;
  overflow-x: auto;
}
.hero-carousel-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.hero-slide {
  position: relative;
  min-height: 220px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26,32,44,0.9) 0%, rgba(26,32,44,0.25) 70%);
}
.hero-slide-overlay {
  position: relative;
  z-index: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.hero-slide-title {
  margin: 0;
  font-size: 1.15rem;
  color: #ffffff;
}
.hero-slide-overlay .btn {
  align-self: flex-start;
}

@media (min-width: 900px) {
  .hero-carousel-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Page title + TOC */
.page-title {
  padding-top: 32px;
}
.page-title h1 {
  font-size: 1.9rem;
  margin-bottom: 0.6em;
}
.toc-box {
  border: 1px solid #d4af7a26;
  border-radius: 8px;
  background-color: #1a202c;
  padding: 16px 20px;
  margin: 24px 0;
}
.toc-title {
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-title .icon {
  display: inline-block;
}
.toc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 24px;
}
.toc-list a {
  color: #b2ff00;
}
.toc-list a:hover {
  color: #ffffff;
}
@media (min-width: 700px) {
  .toc-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* Intro + banner */
.intro-banner {
  padding: 8px 0 32px;
}
.promo-banner {
  display: block;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}
.promo-banner img {
  width: 100%;
  border-radius: 10px;
}

/* Key facts + long-form sections */
.key-facts,
.trust-section,
.support-table,
.faq-section {
  padding: 24px 0;
  border-top: 1px solid #d4af7a26;
}
.article-body {
  padding-top: 8px;
}
.long-section {
  padding: 24px 0;
  border-top: 1px solid #d4af7a26;
}
.long-section:first-child {
  border-top: none;
}

.section-image {
  width: 100%;
  max-width: 480px;
  border-radius: 10px;
  margin: 16px 0;
}

.cta-wrap {
  text-align: center;
  margin-top: 20px;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1a202c;
  border: 1px solid #d4af7a26;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #d4af7a26;
  vertical-align: top;
}
.data-table th {
  color: #ffffff;
  background-color: #2d3748;
  font-weight: 600;
}
.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* Step list */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0;
}
.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: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #b2ff00;
  color: #1a202c;
  font-weight: 700;
  font-size: 0.85rem;
}
.step-text {
  padding-top: 3px;
}

/* Bullet list */
.bullet-list {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bullet-list li {
  position: relative;
  padding-left: 20px;
}
.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #b2ff00;
}

/* FAQ accordion */
.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: 600;
  color: #ffffff;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 1.1em;
  color: #b2ff00;
  font-weight: 700;
}
.faq-item[open] summary::before {
  content: "\2212";
}
.faq-item p {
  margin-top: 10px;
  margin-bottom: 0;
}

.source-note {
  margin-top: 20px;
  font-size: 0.85rem;
  opacity: 0.8;
}