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

/* Typography */
body {
  font-family: 'Open Sans', sans-serif;
  color: #404040;
  background-color: #ffffff;
  line-height: 1.5;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  color: #000000;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.2;
  margin-bottom: 0.5em;
}
p { margin-bottom: 1em; }
a.link, .content a {
  color: #00aff2;
}
a.link:hover, .content a:hover {
  color: #000000;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn--primary {
  background-color: #76ff03;
  color: #000000;
}
.btn--primary:hover {
  background-color: #8bd24f;
}
.btn--secondary {
  background-color: #313131;
  color: #ffffff;
}
.btn--secondary:hover {
  background-color: #1e1e1e;
}

/* Header */
.site-header {
  background-color: #eeeeee;
  border-bottom: 1px solid #dddddd;
}
.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;
}
.site-header__cta {
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background-color: #eeeeee;
  border-top: 1px solid #dddddd;
  margin-top: 32px;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
  text-align: center;
}
.site-footer__copy {
  color: #404040;
  font-size: 0.875rem;
  margin-bottom: 0;
}

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

/* Desktop */
@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

/* 404 page */
.error-404 {
  text-align: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.error-404__code {
  font-size: 4rem;
  font-weight: 700;
  color: #76ff03;
  line-height: 1;
  margin-bottom: 0.25em;
}
.error-404 p {
  color: #404040;
}
.error-404 .btn {
  margin-top: 8px;
}

/* ---- Article page additions ---- */

.article-page h2 { margin-top: 0; }

/* Hero carousel */
.carousel { background-color: #eeeeee; }
.carousel__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.carousel__slide {
  position: relative;
  min-height: 220px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.carousel__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
}
.carousel__overlay {
  position: relative;
  padding: 16px;
  color: #ffffff;
}
.carousel__heading {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.4em;
}
.carousel__text {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 0.8em;
}

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

/* Page title + TOC */
.page-title { padding-top: 32px; }
.page-title h1 { font-size: 1.75rem; margin-bottom: 16px; }
.toc {
  border: 1px solid #dddddd;
  border-radius: 8px;
  background-color: #eeeeee;
  padding: 16px 20px;
}
.toc__intro { margin-bottom: 0.75em; }
.toc__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 24px;
}
.toc__list li::before {
  content: "\2713\0020";
  color: #76ff03;
  font-weight: 700;
}
.toc__list a { color: #00aff2; }
.toc__list a:hover { color: #000000; }

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

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

/* Generic article sections */
.article-section,
.key-facts,
.trust-section,
.support-section,
.faq-section {
  padding-top: 32px;
  padding-bottom: 8px;
  border-top: 1px solid #dddddd;
}
.article-page h2 { font-size: 1.4rem; }
.section-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}
.note { color: #404040; font-size: 0.9rem; }
.section-cta { margin: 16px 0 24px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 16px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
}
table th, table td {
  border: 1px solid #dddddd;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
table th {
  background-color: #eeeeee;
  color: #000000;
}

/* Steps and bullet lists */
.steps, .bullet-list { margin: 16px 0 16px 1.25em; }
.steps { list-style: decimal; }
.bullet-list { list-style: disc; }
.steps li, .bullet-list li { margin-bottom: 0.5em; }

/* FAQ accordion */
.faq-accordion { margin-top: 16px; }
.faq-item {
  border: 1px solid #dddddd;
  border-radius: 6px;
  margin-bottom: 8px;
  padding: 12px 16px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #000000;
}
.faq-answer { margin-top: 8px; }
.faq-answer p { margin-bottom: 0; }