/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; border: none; background: none; 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;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
a { color: #d9b36b; }
a:hover, a:focus { color: #31ffe5; }

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn--primary {
  background-color: #31ffe5;
  color: #090a0b;
}
.btn--primary:hover, .btn--primary:focus {
  background-color: #31ffe5;
  opacity: 0.85;
}
.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;
  padding: 12px 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.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: #18191b;
  border-top: 1px solid #d9b36b;
  padding: 32px 0;
  margin-top: 32px;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.site-footer__logo {
  height: 36px;
  width: auto;
  margin: 0 auto;
}
.site-footer__legal {
  color: #f8f5ef;
  font-size: 0.875rem;
  margin: 0;
}

/* Responsive */
@media (min-width: 480px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
@media (min-width: 768px) {
  .container { padding: 0 24px; }
  .site-header__logo { height: 48px; }
}
@media (min-width: 1024px) {
  .container { padding: 0 32px; }
}

/* 404 page */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50vh;
  padding-top: 64px;
  padding-bottom: 64px;
}
.not-found__code {
  font-size: 4rem;
  font-weight: 700;
  color: #d9b36b;
  margin: 0;
}
.not-found__title {
  margin-top: 0.25em;
}
.not-found__text {
  color: #f8f5ef;
  max-width: 32em;
}
.not-found__link {
  margin-top: 8px;
}

/* Page body additions (Spartaza review) */
.page { overflow-x: hidden; }

.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 56px 0 40px;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero__title {
  font-size: 1.75rem;
  max-width: 40em;
}
.hero__cta {
  align-self: flex-start;
}

.toc {
  background-color: #18191b;
  border: 1px solid #d9b36b;
  border-radius: 8px;
  padding: 16px 20px;
  max-width: 36em;
}
.toc__label {
  margin: 0 0 8px;
  font-weight: 700;
  color: #ffffff;
}
.toc__list {
  display: grid;
  gap: 6px;
}
.toc__list li::before {
  content: "\2713\0020";
  color: #31ffe5;
}
.toc__list a {
  color: #d9b36b;
}
.toc__list a:hover, .toc__list a:focus {
  color: #31ffe5;
}

.section {
  padding: 40px 0;
  border-top: 1px solid #18191b;
}
.section:first-of-type { border-top: none; }
.section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75em;
}
.intro { padding-top: 32px; }

.banner-link {
  display: block;
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d9b36b;
}
.banner-link img { width: 100%; }

.section__image {
  margin: 20px 0;
}
.section__image img {
  border-radius: 8px;
  border: 1px solid #18191b;
  max-width: 420px;
  margin: 0 auto;
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background-color: #18191b;
  border-radius: 8px;
  overflow: hidden;
}
.data-table th, .data-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #090a0b;
  font-size: 0.95rem;
}
.data-table th {
  background-color: #090a0b;
  color: #ffffff;
  font-weight: 700;
}
.data-table tr:last-child td { border-bottom: none; }

.numbered-steps {
  counter-reset: steps;
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
.numbered-steps li {
  counter-increment: steps;
  position: relative;
  padding-left: 2.25em;
}
.numbered-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background-color: #31ffe5;
  color: #090a0b;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bullet-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
.bullet-list li {
  position: relative;
  padding-left: 1.3em;
}
.bullet-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: #d9b36b;
}

.section__cta {
  margin-top: 16px;
}

.accordion {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.accordion__item {
  background-color: #18191b;
  border: 1px solid #d9b36b;
  border-radius: 8px;
  padding: 4px 16px;
}
.accordion__question {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 700;
  color: #ffffff;
  list-style: none;
}
.accordion__question::-webkit-details-marker { display: none; }
.accordion__question::after {
  content: "+";
  float: right;
  color: #31ffe5;
}
.accordion__item[open] .accordion__question::after {
  content: "\2212";
}
.accordion__answer p {
  padding-bottom: 12px;
  margin: 0;
}

@media (min-width: 768px) {
  .hero { padding: 72px 0 56px; }
  .hero__title { font-size: 2.25rem; }
  .section__image img { max-width: 480px; }
}