/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }

/* Base */
html { font-size: 16px; }
body {
  font-family: "Roboto", sans-serif;
  background-color: #0d1016;
  color: #b0a4a4;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto", sans-serif;
  color: #ffffff;
  line-height: 1.2;
  font-weight: 700;
}

a {
  color: #184b9a;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #184b9a;
}

/* 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.7rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-cta {
  background-color: #184b9a;
  color: #ffffff;
}
.btn-cta:hover, .btn-cta:focus {
  background-color: #ffc800;
  color: #ffffff;
}

.btn-secondary {
  background-color: #00000000;
  color: #ffffff;
  border-color: #ffffff33;
}
.btn-secondary:hover, .btn-secondary:focus {
  background-color: #184b9a;
  color: #ffffff;
}

/* Header */
.site-header {
  background-color: #13171f;
  border-bottom: 1px solid #ffffff33;
  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: 40px;
  width: auto;
  border-radius: 4px;
}

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

/* Footer */
.site-footer {
  background-color: #13171f;
  border-top: 1px solid #ffffff33;
  margin-top: 2rem;
}

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

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

.footer-legal {
  color: #b0a4a4;
  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) {
  .container {
    padding: 0 2rem;
  }
  .header-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

/* 404 page */
.error-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 3rem 0;
}
.error-404__inner {
  text-align: center;
}
.error-404__code {
  font-size: 4rem;
  color: #ffc800;
}
.error-404__text {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  color: #b0a4a4;
  font-size: 1.1rem;
}

/* ===== Home page body ===== */

.main { display: block; }

/* Hero carousel */
.hero-carousel {
  padding: 1.5rem 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.promo-tile {
  position: relative;
  min-height: 220px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid #ffffff33;
}
.promo-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, #0d1016cc 100%);
}
.promo-tile__overlay {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
.promo-tile__title {
  color: #ffffff;
  font-size: 1.15rem;
}

/* Page title + TOC */
.page-title {
  padding: 2rem 0 1rem;
}
.page-title h1 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}
.toc {
  border: 1px solid #ffffff33;
  background-color: #13171f;
  border-radius: 10px;
  padding: 1.25rem;
}
.toc__heading {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.toc__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
.toc__list a {
  color: #184b9a;
  font-size: 0.95rem;
}
.toc__list a:hover {
  color: #ffc800;
}

/* Intro + banner */
.intro {
  padding: 1rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.banner-link {
  display: block;
  margin-top: 0.5rem;
}
.banner-img {
  border-radius: 10px;
  width: 100%;
}

/* Generic content sections */
.data-table-section,
.long-section,
.trust-section,
.support-section,
.faq-section {
  padding: 1.75rem 0;
  border-top: 1px solid #ffffff33;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.data-table-section h2,
.long-section h2,
.trust-section h2,
.support-section h2,
.faq-section h2 {
  font-size: 1.4rem;
}

.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #13171f;
  border: 1px solid #ffffff33;
  border-radius: 8px;
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #ffffff33;
  font-size: 0.92rem;
}
th {
  color: #ffffff;
  background-color: #0d1016;
}
tr:last-child td {
  border-bottom: none;
}

.centered-btn {
  align-self: center;
}

.inline-img {
  border-radius: 8px;
  width: 100%;
}

/* Step list */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.step-number {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #184b9a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.step-text {
  padding-top: 0.25rem;
}

/* FAQ accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid #ffffff33;
  border-radius: 8px;
  background-color: #13171f;
  padding: 0.85rem 1rem;
}
.faq-item summary {
  cursor: pointer;
  color: #ffffff;
  font-weight: 700;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: #ffc800;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin-top: 0.75rem;
}

/* Sticky bottom promo bar */
.sticky-bar {
  position: sticky;
  bottom: 0;
  background-color: #13171f;
  border-top: 1px solid #ffffff33;
  z-index: 50;
  margin-top: 2rem;
}
.sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  flex-wrap: wrap;
}
.sticky-bar__text {
  color: #ffffff;
  font-size: 0.9rem;
}

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

/* Desktop */
@media (min-width: 1024px) {
  .page-title h1 {
    font-size: 2.25rem;
  }
  .toc__list {
    grid-template-columns: repeat(3, 1fr);
  }
  .data-table-section, .long-section, .trust-section, .support-section, .faq-section {
    max-width: 880px;
    margin: 0 auto;
  }
  .intro {
    max-width: 880px;
    margin: 0 auto;
  }
  .page-title h1 {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
  }
  .toc {
    max-width: 880px;
    margin: 0 auto;
  }
}