/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }

/* Typography */
body {
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background-color: #080a11;
  color: #e9eef6;
  line-height: 1.5;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #e9eef6;
  line-height: 1.2;
  font-weight: 700;
}
p { color: #e9eef6; }
a {
  color: #e9eef6;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #00e0ff;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background-color: #00e0ff;
  color: #04121a;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #00e0ff;
  opacity: 0.85;
  color: #04121a;
}
.btn-secondary {
  background-color: #0b0b0c;
  color: #e9eef6;
  border: 1px solid #8cbeeb42;
}
.btn-secondary:hover, .btn-secondary:focus {
  background-color: #f4f4f5;
  color: #04121a;
}

/* Header */
.site-header {
  background-color: #0b0e17;
  border-bottom: 1px solid #8cbeeb42;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.logo-link {
  display: inline-flex;
  align-items: center;
}
.logo-img {
  height: 36px;
  width: auto;
}
.header-cta {
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background-color: #0b0e17;
  border-top: 1px solid #8cbeeb42;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
}
.footer-logo-img {
  height: 32px;
  width: auto;
}
.footer-copy {
  color: #e9eef6;
  font-size: 0.85rem;
  opacity: 0.75;
}

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

/* Desktop */
@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
  .logo-img { height: 42px; }
}

/* Page body additions (home article page) */
.page-main { display: block; }

/* Hero promo carousel */
.hero-carousel { background-color: #0b0e17; border-bottom: 1px solid #8cbeeb42; padding: 1.5rem 0; }
.carousel-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.hero-slide {
  position: relative;
  min-height: 280px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid #8cbeeb42;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,17,0.1) 0%, rgba(8,10,17,0.92) 100%);
}
.hero-slide-overlay {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hero-slide-overlay h2 { font-size: 1.3rem; }
.hero-slide-overlay p { font-size: 0.92rem; opacity: 0.92; }
.hero-slide-overlay .btn { align-self: flex-start; }

@media (min-width: 768px) {
  .carousel-track { grid-template-columns: repeat(3, 1fr); }
}

/* Page title + table of contents */
.page-title { padding-top: 2.5rem; padding-bottom: 1.5rem; }
.page-title h1 { font-size: 2rem; margin-bottom: 1.25rem; }
.toc-box {
  border: 1px solid #8cbeeb42;
  background-color: #0b0e17;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}
.toc-heading { font-weight: 700; margin-bottom: 0.75rem; color: #e9eef6; }
.toc-list { display: flex; flex-direction: column; gap: 0.5rem; }
.toc-list a {
  display: block;
  padding: 0.35rem 0;
  border-bottom: 1px dashed #8cbeeb42;
}
.toc-list a:before { content: "\2192\00a0"; color: #00e0ff; }

@media (min-width: 768px) {
  .toc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 1.5rem; }
}

/* Intro + promo banner */
.intro { padding-top: 1rem; padding-bottom: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.intro p { opacity: 0.95; }
.promo-banner { border-radius: 10px; border: 1px solid #8cbeeb42; width: 100%; }

/* Article sections */
.article-section { padding-top: 2rem; padding-bottom: 2rem; border-top: 1px solid #8cbeeb42; }
.article-section h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.article-section p { margin-bottom: 1rem; opacity: 0.95; }
.article-section .promo-banner { margin-bottom: 1rem; }
.article-section .btn { margin-top: 0.5rem; }

.bullet-list, .step-list { margin: 0 0 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.bullet-list { list-style: disc; }
.step-list { list-style: decimal; }
.bullet-list li, .step-list li { padding-left: 0.25rem; opacity: 0.95; }

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
  background-color: #0b0e17;
  border: 1px solid #8cbeeb42;
  border-radius: 8px;
  overflow: hidden;
}
thead th {
  text-align: left;
  background-color: #080a11;
  color: #00e0ff;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #8cbeeb42;
}
tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #8cbeeb42;
  font-size: 0.95rem;
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }

@media (max-width: 767px) {
  table, thead, tbody, th, td, tr { display: block; }
  thead { display: none; }
  tbody tr { border-bottom: 1px solid #8cbeeb42; padding: 0.5rem 0; }
  tbody td { border-bottom: none; padding: 0.35rem 1rem; }
}

/* Trust / credibility section accent */
.trust-section { background-color: #0b0e17; border-radius: 10px; border: 1px solid #8cbeeb42; padding: 2rem 1.5rem; }

/* FAQ accordion */
.faq-section .accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.accordion-item {
  border: 1px solid #8cbeeb42;
  border-radius: 8px;
  background-color: #0b0e17;
  padding: 0.25rem 1.25rem;
}
.accordion-item summary {
  cursor: pointer;
  padding: 0.9rem 0;
  font-weight: 700;
  color: #e9eef6;
  list-style: none;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary:after { content: "+"; float: right; color: #00e0ff; font-weight: 700; }
.accordion-item[open] summary:after { content: "\2212"; }
.accordion-item p { padding-bottom: 1rem; opacity: 0.95; }

/* Editorial info block */
.editorial-info {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid #8cbeeb42;
  font-size: 0.85rem;
  opacity: 0.8;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}