/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; display: block; }

/* ---- Base ---- */
body {
  font-family: Roboto, sans-serif;
  background-color: #090f1e;
  color: #c2c4c9;
  line-height: 1.5;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: Roboto, sans-serif;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 0.5em;
}
a {
  color: #ff2400;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #e0330a;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: Roboto, sans-serif;
  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;
  text-decoration: none;
}
.btn-primary {
  background-color: #ff2400;
  color: #ffffff;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #e0330a;
  color: #ffffff;
}
.btn-secondary {
  background-color: #e7ecf50f;
  color: #ffffff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background-color: #e7ecf517;
  color: #ffffff;
}

/* ---- Header ---- */
.site-header {
  background-color: #172032;
  border-bottom: 1px solid #ff2400;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo-link {
  display: inline-flex;
  align-items: center;
}
.logo {
  height: 36px;
  width: auto;
}
.header-cta {
  flex-shrink: 0;
}

/* ---- Footer ---- */
.site-footer {
  background-color: #172032;
  border-top: 1px solid #ff2400;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.logo-footer {
  height: 32px;
  width: auto;
}
.footer-legal {
  color: #c2c4c9;
  font-size: 0.85rem;
}

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

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

/* ---- 404 page ---- */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding-top: 96px;
  padding-bottom: 96px;
}
.not-found-code {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 4rem;
  color: #f9b242;
  line-height: 1;
}
.not-found .btn {
  margin-top: 12px;
}

/* ---- Article page additions ---- */
.article-page { display: block; }

.hero-carousel { padding-top: 16px; padding-bottom: 16px; overflow: hidden; }
.hero-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.promo-tile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: #172032;
  min-height: 180px;
}
.promo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}
.promo-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(0deg, rgba(9,15,30,0.85) 0%, rgba(9,15,30,0.1) 70%);
}
.promo-tile-overlay h2 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.title-toc-section { padding-top: 24px; }
.title-toc-section h1 { font-size: 1.75rem; margin-bottom: 0.6em; }

.disclosure-box {
  background-color: #172032;
  border: 1px solid #ff2400;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.disclosure-box p { margin-bottom: 0.5em; }
.disclosure-box p:last-child { margin-bottom: 0; }

.toc-box {
  background-color: #172032;
  border: 1px solid #ff240066;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}
.toc-box ul { list-style: none; }
.toc-box li {
  padding: 8px 0;
  border-bottom: 1px solid #ffffff14;
}
.toc-box li:last-child { border-bottom: none; }
.toc-box a { color: #c2c4c9; }
.toc-box a:hover, .toc-box a:focus { color: #ff2400; }

.intro-banner-section { padding-top: 8px; padding-bottom: 24px; }
.intro-banner-section p { margin-bottom: 1em; }
.banner-link { display: block; margin-top: 16px; }
.banner-img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ff240066;
}

.article-section, .data-section, .trust-section, .support-section, .faq-section {
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid #ffffff14;
}
.article-section h2, .data-section h2, .trust-section h2, .support-section h2, .faq-section h2 {
  font-size: 1.5rem;
}
.article-section h3, .trust-section h3, .support-section h3 {
  font-size: 1.15rem;
  margin-top: 1.2em;
}
.article-section p, .data-section p, .trust-section p, .support-section p {
  margin-bottom: 1em;
}

.bullet-list, .step-list {
  margin: 1em 0 1em 1.4em;
}
.bullet-list li, .step-list li {
  margin-bottom: 0.6em;
}

.section-img {
  width: 100%;
  max-width: 420px;
  border-radius: 8px;
  margin: 16px 0;
  border: 1px solid #ff240066;
}

.kv-table, .data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.95rem;
}
.kv-table th, .kv-table td,
.data-table th, .data-table td {
  border: 1px solid #ffffff1f;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.kv-table th {
  background-color: #172032;
  color: #ffffff;
  width: 32%;
  white-space: nowrap;
}
.data-table thead th {
  background-color: #172032;
  color: #ffffff;
}
.data-table tbody tr:nth-child(even) {
  background-color: #ffffff08;
}
.table-scroll {
  overflow-x: auto;
}

.cta-inline {
  text-align: center;
  margin: 24px 0 8px;
}

.faq-item {
  border-bottom: 1px solid #ffffff14;
  padding: 16px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4em;
  color: #f9b242;
}

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

/* ---- Desktop ---- */
@media (min-width: 1024px) {
  .hero-track { grid-template-columns: repeat(3, 1fr); }
  .title-toc-section h1 { font-size: 2.1rem; }
  .kv-table th { width: 26%; }
}