/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

img,
picture {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

/* ---------- Typography ---------- */
body {
  font-family: Inter, Arial, sans-serif;
  background-color: #090a0b;
  color: #f8f5ef;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Inter, Arial, sans-serif;
  color: #ffffff;
  line-height: 1.2;
}

p {
  color: #f8f5ef;
}

a.link,
.content a {
  color: #d9b36b;
  transition: color 0.2s ease;
}

a.link:hover,
.content a:hover {
  color: #31ffe5;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  border-radius: 6px;
  padding: 10px 20px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #31ffe5;
  color: #090a0b;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #31ffe5;
  color: #090a0b;
  opacity: 0.9;
}

.btn-secondary {
  background-color: #7a2e34;
  color: #ffffff;
}

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

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

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

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

.logo-image {
  height: 36px;
  width: auto;
}

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

/* ---------- Footer ---------- */
.site-footer {
  background-color: #18191b;
  border-top: 1px solid #d9b36b;
}

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

.footer-legal {
  color: #f8f5ef;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
  .logo-image {
    height: 42px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .header-inner {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .logo-image {
    height: 48px;
  }
}

/* ---------- 404 page ---------- */
.error-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.error-404-code {
  font-size: 4rem;
  font-weight: 800;
  color: #d9b36b;
  line-height: 1;
}

.error-404 h1 {
  font-size: 1.75rem;
}

.error-404 p {
  max-width: 40ch;
  opacity: 0.85;
}

/* ---------- Page content ---------- */
.content {
  display: block;
  padding-bottom: 48px;
}

.content section.section,
.content .title-toc-section,
.content .intro-banner-section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.content h1 {
  font-size: 1.9rem;
  margin-bottom: 20px;
}

.content h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  padding-top: 8px;
  border-top: 1px solid #d9b36b;
}

.title-toc-section h2 {
  border-top: none;
  padding-top: 0;
}

.content h3 {
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

.content p {
  margin-bottom: 14px;
}

.content .section:first-of-type h2 {
  border-top: none;
}

/* Table of contents box */
.toc-box {
  background-color: #18191b;
  border: 1px solid #d9b36b;
  border-radius: 8px;
  padding: 20px 24px;
}

.toc-label {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.toc-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.toc-list li::before {
  content: "\2713";
  color: #31ffe5;
  margin-right: 8px;
  font-weight: 700;
}

.toc-list a {
  color: #d9b36b;
  transition: color 0.2s ease;
}

.toc-list a:hover {
  color: #31ffe5;
}

@media (min-width: 700px) {
  .toc-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
}

/* Promo banner image */
.promo-banner {
  width: 100%;
  border-radius: 8px;
  margin-top: 16px;
  border: 1px solid #d9b36b;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin-bottom: 18px;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  background-color: #18191b;
  border: 1px solid #d9b36b;
  border-radius: 8px;
  overflow: hidden;
}

.content th,
.content td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #2a2b2d;
  font-size: 0.92rem;
}

.content th {
  background-color: #090a0b;
  color: #ffffff;
  font-weight: 700;
}

.content tr:last-child td {
  border-bottom: none;
}

/* Lists */
.step-list,
.bulleted-list {
  margin: 0 0 16px 20px;
}

.step-list li,
.bulleted-list li {
  margin-bottom: 10px;
}

/* CTA buttons */
.cta-center {
  text-align: center;
  margin: 24px 0 8px;
}

/* Trust section */
.trust-section {
  background-color: #18191b;
  border-radius: 8px;
}

/* FAQ accordion */
.accordion-item {
  border: 1px solid #d9b36b;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 14px 18px;
  background-color: #18191b;
}

.accordion-item summary {
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
}

.accordion-body {
  margin-top: 10px;
}

@media (min-width: 1024px) {
  .content h1 {
    font-size: 2.4rem;
  }

  .content h2 {
    font-size: 1.7rem;
  }
}