/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: #111213;
  color: #ffffff;
  font-family: Poppins, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: #5aef9f; text-decoration: none; }
a:hover, a:focus { color: #5dffc9; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  line-height: 1.25;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
p { color: #ffffff; }

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 0.5rem;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: #51fe9e;
  color: #1f2028;
  border-color: #51fe9e;
}
.btn-primary:hover, .btn-primary:focus {
  background: #9affd5;
  border-color: #9affd5;
  color: #1f2028;
}
.btn-secondary {
  background: #00000000;
  color: #ffffff;
  border-color: #343641;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #00000000;
  color: #5dffc9;
  border-color: #5aef9f;
}

/* ---- Header ---- */
.site-header {
  background: #1a1b21;
  border-bottom: 1px solid #343641;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.logo-link {
  display: inline-flex;
  align-items: center;
}
.logo-img {
  height: 36px;
  width: auto;
}
.header-cta {
  flex-shrink: 0;
}

/* ---- Footer ---- */
.site-footer {
  background: #1a1b21;
  border-top: 1px solid #343641;
  margin-top: 3rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
}
.footer-logo {
  height: 32px;
  width: auto;
}
.footer-copy {
  color: #ffffff;
  font-size: 0.85rem;
  opacity: 0.8;
}

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

@media (min-width: 900px) {
  .container { padding: 0 2rem; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
}

/* ---- 404 page ---- */
.error-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.error-404-code {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 4rem;
  line-height: 1;
  color: #22d6e4;
}
.error-404 p {
  color: #ffffff;
  opacity: 0.85;
  max-width: 32rem;
}

/* ---- Article page additions ---- */
.article-page {
  padding-bottom: 5rem;
}
.page-title-section {
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}
.page-title-section h1 {
  margin-bottom: 1.25rem;
}
.toc-box {
  background: #1a1b21;
  border: 1px solid #343641;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}
.toc-title {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toc-icon { color: #22d6e4; }
.toc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1.5rem;
}
.toc-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.toc-bullet { color: #51fe9e; flex-shrink: 0; }
.toc-list a { color: #5aef9f; }
.toc-list a:hover, .toc-list a:focus { color: #5dffc9; }

.intro-section, .article-section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.intro-section p, .article-section p {
  margin-bottom: 1rem;
}
.article-section h2 {
  margin-bottom: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #343641;
}
.intro-section + .article-section h2,
.article-section:first-of-type h2 {
  border-top: none;
}

.promo-banner-link {
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #343641;
}
.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
}
.section-img {
  width: 100%;
  max-width: 520px;
  border-radius: 0.75rem;
  margin: 0.5rem 0 1rem;
  border: 1px solid #343641;
}

.step-list, .bullet-list {
  margin: 0 0 1rem 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.step-list { list-style: decimal; }
.bullet-list { list-style: disc; }
.step-list li, .bullet-list li { padding-left: 0.25rem; }

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1rem 0;
  border: 1px solid #343641;
  border-radius: 0.75rem;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #343641;
  font-size: 0.95rem;
}
.data-table th {
  background: #1a1b21;
  color: #ffffff;
  font-weight: 600;
}
.data-table tbody tr:last-child td {
  border-bottom: none;
}
.data-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.cta-row {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.trust-section .byline-box {
  background: #1a1b21;
  border: 1px solid #343641;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.page-dates {
  font-size: 0.85rem;
  opacity: 0.75;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.accordion-item {
  background: #1a1b21;
  border: 1px solid #343641;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}
.accordion-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #ffffff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: "+";
  color: #22d6e4;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.accordion-item[open] summary::after {
  content: "\2212";
}
.accordion-item p {
  margin-top: 0.75rem;
  opacity: 0.9;
}

.sticky-promo-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1a1b21;
  border-top: 1px solid #343641;
  z-index: 90;
  padding: 0.75rem 0;
}
.sticky-promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.sticky-promo-text {
  color: #ffffff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 700px) {
  .toc-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .sticky-promo-text { display: none; }
  .sticky-promo-inner { justify-content: center; }
}