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

/* Base */
body {
  background-color: #171822;
  color: #c2c2c2;
  font-family: 'Roboto Condensed', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; }

a {
  color: #ffa500;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #ffa500;
  opacity: 0.85;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.65em 1.4em;
  border-radius: 4px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  background-color: #ff0000;
  color: #ffffff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover, .btn:focus {
  background-color: #ff0000;
  opacity: 0.9;
  color: #ffffff;
}

.btn-secondary {
  background-color: #33344f;
  color: #ffffff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background-color: #4e4f7a;
  color: #ffffff;
}

.btn-cta {
  background-color: #ff0000;
  color: #ffffff;
}

/* Header */
.site-header {
  background-color: #262739;
  border-bottom: 1px solid #4e4f7a;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

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

.header-cta {
  font-size: 0.9rem;
  padding: 0.5em 1.1em;
}

/* Footer */
.site-footer {
  background-color: #262739;
  border-top: 1px solid #4e4f7a;
  margin-top: 2rem;
}

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

.footer-copy {
  margin: 0;
  color: #c2c2c2;
  font-size: 0.85rem;
}

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

/* Desktop */
@media (min-width: 1024px) {
  .header-inner {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .logo-img {
    height: 48px;
  }
}

/* 404 page */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
  min-height: 50vh;
}

.not-found-code {
  font-size: 4rem;
  font-weight: 700;
  color: #ffa500;
  margin: 0 0 0.25em;
  line-height: 1;
}

/* Hero */
.hero { padding: 24px 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.hero-tile {
  position: relative;
  background-color: #262739;
  border: 1px solid #4e4f7a;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 16px;
}
.hero-img { width: 100%; height: auto; }
.hero-heading {
  font-size: 1.1rem;
  margin: 12px 16px;
}
.hero .btn { margin: 0 16px; }

/* Page title + TOC */
.page-title-toc { padding-top: 24px; }
.toc-box {
  background-color: #262739;
  border: 1px solid #4e4f7a;
  border-radius: 6px;
  padding: 16px 20px;
  margin-top: 16px;
}
.toc-label {
  margin: 0 0 0.5em;
  font-weight: 700;
  color: #ffffff;
}
.toc-list { display: flex; flex-direction: column; gap: 0.4em; counter-reset: toc; }
.toc-list li { counter-increment: toc; }
.toc-list li::before {
  content: counter(toc) ". ";
  color: #ffa500;
  font-weight: 700;
}
.toc-list a { color: #ffa500; }
.toc-list a:hover { opacity: 0.85; }

/* Intro + banner */
.intro-banner { padding-top: 24px; }
.promo-banner {
  width: 100%;
  border-radius: 6px;
  margin: 16px 0;
}

/* Tables */
.table-wrap { overflow-x: auto; margin: 16px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #262739;
  border: 1px solid #4e4f7a;
}
th, td {
  border: 1px solid #4e4f7a;
  padding: 0.6em 0.8em;
  text-align: left;
  vertical-align: top;
}
th {
  background-color: #33344f;
  color: #ffffff;
  font-weight: 700;
}
td { color: #c2c2c2; }

/* Sections */
.data-section, .trust-section, .support-section, .faq-section { padding-top: 32px; }
.article-body { padding-top: 32px; display: flex; flex-direction: column; gap: 32px; }
.article-block h2, .data-section h2, .trust-section h2, .support-section h2, .faq-section h2 {
  border-bottom: 1px solid #4e4f7a;
  padding-bottom: 0.4em;
  margin-bottom: 0.6em;
}

.step-list { counter-reset: step; margin: 1em 0; }
.step-list li {
  counter-increment: step;
  position: relative;
  padding: 0.5em 0 0.5em 2.4em;
  border-bottom: 1px solid #4e4f7a;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 1.6em;
  height: 1.6em;
  line-height: 1.6em;
  text-align: center;
  background-color: #ff0000;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
}

.bullet-list { margin: 1em 0; }
.bullet-list li {
  position: relative;
  padding: 0.3em 0 0.3em 1.3em;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ffa500;
}

.cta-wrap { text-align: center; margin-top: 1.2em; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 1em; }
.faq-item {
  background-color: #262739;
  border: 1px solid #4e4f7a;
  border-radius: 6px;
  padding: 0.8em 1em;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #ffffff;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: #ffa500;
  font-weight: 700;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 0.6em; margin-bottom: 0; }

/* Tablet */
@media (min-width: 600px) {
  .hero-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: repeat(3, 1fr); }
}