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

/* Typography */
body {
  font-family: var(--font-family);
  color: var(--color-font);
  background-color: var(--color-background);
  line-height: 1.5;
}

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

p { margin: 0 0 1em; }

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

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

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-family);
  font-weight: 600;
  text-align: center;
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  background-color: var(--color-button);
  color: var(--color-button-text);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover, .btn: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);
}

.btn--cta {
  background-color: var(--color-accent);
  color: var(--color-button-text);
}

/* Header */
.site-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.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;
}

/* Footer */
.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.site-footer__home {
  display: inline-flex;
  align-items: center;
}
.site-footer__logo {
  height: 32px;
  width: auto;
}

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

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

/* 404 page */
.not-found {
  text-align: center;
  padding: 96px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.not-found__code {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0;
  line-height: 1;
}
.not-found .btn {
  margin-top: 16px;
}

/* ---- Page body additions (home article page) ---- */

.page { overflow-x: hidden; }

/* Hero carousel */
.hero-carousel { padding: 16px 0; }
.hero-carousel__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.hero-slide {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
}
.hero-slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(0deg, rgba(26, 32, 44, 0.85) 0%, rgba(26, 32, 44, 0) 70%);
}
.hero-slide__overlay h2 { margin: 0; font-size: 1.25rem; }

/* Page title + TOC */
.page-title { padding-top: 24px; }
.page-title h1 { font-size: 1.75rem; }
.toc-box {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px 20px;
  background-color: var(--color-surface);
  margin-top: 16px;
}
.toc-box__label { font-weight: 600; margin: 0 0 8px; }
.toc-box ul { list-style: none; display: grid; gap: 8px; }
.toc-box li::before { content: "\2713\0020"; color: var(--color-accent); }
.toc-box a { color: var(--color-link); }
.toc-box a:hover { color: var(--color-link-hover); }

/* Intro + banner */
.intro { padding-top: 24px; }
.promo-banner { display: block; margin-top: 16px; border-radius: 8px; overflow: hidden; }
.promo-banner img { width: 100%; height: auto; }

/* Key facts / data tables */
.key-facts, .trust-section, .contact-table, .faq { padding-top: 32px; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.data-table th {
  color: var(--color-headers);
  font-weight: 600;
  background-color: var(--color-background);
}
.data-table tr:last-child td { border-bottom: none; }

/* Article body */
.article-body { padding-top: 16px; }
.article-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}
.article-section:last-child { border-bottom: none; }
.article-section h2 { font-size: 1.4rem; margin-top: 0; }
.article-section h3 { font-size: 1.1rem; margin-top: 1.2em; }
.inline-image { border-radius: 8px; margin: 16px 0; max-width: 480px; }

.list-numbered, .list-bullet {
  margin: 0 0 1em;
  padding-left: 1.4em;
}
.list-numbered { list-style: decimal; }
.list-bullet { list-style: disc; }
.list-numbered li, .list-bullet li { margin-bottom: 8px; }

/* Trust section */
.trust-section .btn { margin-top: 8px; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question { font-size: 1.05rem; margin: 0 0 8px; }
.faq-answer { margin: 0; }

/* Sticky bottom promo bar — pinned to the viewport, visible at any scroll position */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
}
.sticky-bar__text { font-size: 0.85rem; flex: 1 1 auto; }
.sticky-bar__btn { flex: 0 0 auto; white-space: nowrap; }

/* Reserve room at the end of the document so the fixed bar never covers the footer */
body:has(.sticky-bar) { padding-bottom: 76px; }

/* Buttons used inline within sections */
.key-facts > .btn, .article-section > .btn, .trust-section > .btn {
  margin-top: 8px;
}

/* Responsive */
@media (min-width: 700px) {
  .hero-carousel__track { grid-template-columns: repeat(3, 1fr); }
  .page-title h1 { font-size: 2.25rem; }
}

@media (min-width: 900px) {
  .intro, .key-facts, .article-body, .trust-section, .contact-table, .faq { max-width: 860px; }
}

@media (max-width: 480px) {
  .sticky-bar { flex-direction: column; align-items: stretch; text-align: center; }
  body:has(.sticky-bar) { padding-bottom: 132px; }
}