/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul, ol { margin: 0; padding: 0; 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;
}

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;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-family: var(--font-family);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

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

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

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

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

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

.logo-img {
  height: 40px;
  width: auto;
}

.header-cta {
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin-top: 40px;
}

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

.logo-img-footer {
  height: 36px;
  width: auto;
}

.footer-legal {
  color: var(--color-font);
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
}

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

/* Desktop */
@media (min-width: 1024px) {
  .header-inner {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

/* 404 page */
.not-found {
  padding-top: 72px;
  padding-bottom: 72px;
}

.not-found-inner {
  text-align: center;
  max-width: 560px;
}

.not-found-code {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 8px;
  line-height: 1;
}

.not-found-inner h1 {
  font-size: 1.75rem;
  margin: 0 0 12px;
}

.not-found-text {
  color: var(--color-font);
  opacity: 0.85;
  margin: 0 0 24px;
}

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

.page-title-section h1 {
  font-size: 2rem;
  margin: 0 0 16px;
}

.page-title-section > .container > p {
  margin: 0 0 20px;
  opacity: 0.9;
}

.toc-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}

.toc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.toc-list li a {
  display: block;
  position: relative;
  padding-left: 18px;
}

.toc-list li a::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.article-section {
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

.article-section:last-of-type {
  border-bottom: none;
}

.article-section h2 {
  font-size: 1.5rem;
  margin: 0 0 16px;
}

.article-section h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.article-section p {
  margin: 0 0 16px;
  opacity: 0.95;
}

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

.image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 16px;
}

.step-list {
  list-style: decimal;
  padding-left: 20px;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-list li {
  padding-left: 8px;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
}

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

.data-table th,
.data-table td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  vertical-align: top;
}

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

.key-value-table td:first-child {
  font-weight: 700;
}

.cta-centered {
  display: block;
  width: fit-content;
  margin: 8px auto 0;
}

.trust-section .btn,
.key-facts-section .btn {
  margin-top: 8px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}

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

.faq-item dt h3 {
  margin: 0 0 8px;
}

.faq-item dd {
  margin: 0;
  opacity: 0.95;
}

/* Tablet */
@media (min-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .article-page {
    padding-top: 48px;
  }

  .page-title-section h1 {
    font-size: 2.5rem;
  }
}