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

:root {
  --color-background: #2d3748;
  --color-surface: #1a202c;
  --color-button: #b2ff00;
  --color-button-hover: #b2ff00;
  --color-button-text: #1a202c;
  --color-secondary-button: #020203;
  --color-secondary-button-hover: #020203;
  --color-secondary-button-text: #ffffff;
  --color-font: #ffffff;
  --color-headers: #ffffff;
  --color-link: #b2ff00;
  --color-link-hover: #ffffff;
  --color-border: #d4af7a26;
  --color-accent: #b2ff00;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

html, body {
  background-color: var(--color-background);
  color: var(--color-font);
  font-family: var(--font-family);
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-headers);
  font-family: var(--font-family);
  line-height: 1.2;
}

a {
  color: var(--color-link);
}
a:hover, a:focus {
  color: var(--color-link-hover);
}

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

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-family);
  font-weight: 700;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--cta,
.btn--primary {
  background-color: var(--color-button);
  color: var(--color-button-text);
}
.btn--cta:hover,
.btn--primary:hover {
  background-color: var(--color-button-hover);
}

.btn--secondary {
  background-color: var(--color-secondary-button);
  color: var(--color-secondary-button-text);
}
.btn--secondary:hover {
  background-color: var(--color-secondary-button-hover);
}

/* Header */
.site-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 10;
}

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

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

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

/* Footer */
.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  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 .site-logo__img {
  height: 32px;
}

.site-footer__legal {
  color: var(--color-font);
  font-size: 0.875rem;
  opacity: 0.8;
}

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

@media (min-width: 900px) {
  .site-logo__img {
    height: 48px;
  }
}

/* 404 page */
.error-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 64px 0;
}

.error-404__inner {
  text-align: center;
  max-width: 480px;
}

.error-404__code {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.error-404__inner h1 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.error-404__text {
  color: var(--color-font);
  opacity: 0.85;
  margin-bottom: 24px;
}

/* Review page */
.review-page {
  padding-top: 32px;
  padding-bottom: 48px;
}

.review {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}

.review h1 {
  font-size: 1.9rem;
  margin-bottom: 20px;
}

.review h2 {
  font-size: 1.4rem;
  margin-top: 36px;
  margin-bottom: 14px;
}

.review p {
  margin-bottom: 14px;
  opacity: 0.95;
}

.body-section {
  margin-bottom: 8px;
}

/* Table of contents box */
.toc-box {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background-color: var(--color-surface);
  padding: 20px;
  margin-bottom: 28px;
}

.toc-box__label {
  font-weight: 700;
  color: var(--color-headers);
  margin-bottom: 10px;
}

.toc-box__list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
}

.toc-box__list li:last-child {
  border-bottom: none;
}

.toc-box__icon {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Intro + promotional banner */
.intro-banner {
  margin-bottom: 28px;
}

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

.promo-banner img {
  width: 100%;
  border-radius: 10px;
}

/* Step list */
.step-list {
  list-style: none;
  margin: 0 0 14px 0;
  padding: 0;
  counter-reset: step-counter;
}

.step-list li {
  position: relative;
  padding: 10px 0 10px 44px;
  margin-bottom: 4px;
  counter-increment: step-counter;
}

.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-button);
  color: var(--color-button-text);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin-bottom: 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

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

th, td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

thead th {
  background-color: var(--color-surface);
  color: var(--color-headers);
  font-weight: 700;
}

tbody tr:last-child td {
  border-bottom: none;
}

.data-table-section {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 28px;
}

.data-table-section .table-wrap {
  border-color: var(--color-border);
}

/* Trust / credibility section */
.trust-section {
  text-align: center;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 28px;
}

.trust-section p {
  text-align: left;
}

/* Methodology */
.methodology-meta {
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  margin-top: 14px;
}

.methodology-meta dt {
  font-weight: 700;
  color: var(--color-headers);
  margin-top: 12px;
}

.methodology-meta dd {
  opacity: 0.9;
  margin-bottom: 4px;
}

/* FAQ accordion */
.faq-section {
  margin-top: 32px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background-color: var(--color-surface);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-headers);
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--color-accent);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "\2212";
}

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

/* CTA buttons inside body */
.body-section > .btn,
.data-table-section > .btn,
.trust-section > .btn {
  margin-top: 6px;
  margin-bottom: 20px;
}

@media (min-width: 600px) {
  .review h1 {
    font-size: 2.25rem;
  }
}

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