/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, span, header, footer, nav, ul, ol, li, p, h1, h2, h3, h4, h5, h6, a, img, button, figure {
  margin: 0;
  padding: 0;
}
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
ul { list-style: none; }

/* Typography */
body {
  font-family: Arial, Helvetica, Verdana, sans-serif;
  background-color: #111214;
  color: #ffffff;
  line-height: 1.5;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: Arial, Helvetica, Verdana, sans-serif;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.5em;
}
p { margin-bottom: 1em; }
a {
  color: #ffc400;
}
a:hover, a:focus {
  color: #ffc400;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  border: 1px solid transparent;
  transition: opacity 0.15s ease-in-out;
}
.btn-cta {
  background-color: #ffe600;
  color: #090909;
}
.btn-cta:hover, .btn-cta:focus {
  background-color: #ffe600;
  opacity: 0.85;
}
.btn-secondary {
  background-color: #333333;
  color: #ffffff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background-color: #333333;
  opacity: 0.85;
}

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

/* Footer */
.site-footer {
  background-color: #333333;
  border-top: 1px solid #404040;
  padding: 24px 0;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.logo-img--footer {
  height: 32px;
  width: auto;
}
.footer-copy {
  color: #ffffff;
  font-size: 0.875rem;
  margin-bottom: 0;
}

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

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

/* 404 page */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding-top: 64px;
  padding-bottom: 64px;
  min-height: 50vh;
}
.not-found-code {
  font-size: 4rem;
  color: #bc8e35;
  margin-bottom: 0;
}
.not-found p {
  color: #ffffff;
  margin-bottom: 1.5em;
}
.not-found .btn {
  margin-top: 8px;
}

/* Page-specific additions for home page */
.page-main {
  display: block;
  padding-bottom: 72px;
}
.article-section, .intro-section, .toc-section, .support-section, .faq-section {
  padding-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #404040;
}
.faq-section {
  border-bottom: none;
}
.toc-box {
  background-color: #333333;
  border: 1px solid #404040;
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 16px;
}
.toc-list li {
  padding: 6px 0;
  border-bottom: 1px solid #404040;
}
.toc-list li:last-child {
  border-bottom: none;
}
.toc-list a {
  color: #ffc400;
}
.toc-list a:hover, .toc-list a:focus {
  color: #ffc400;
  text-decoration: underline;
}
.promo-banner-link {
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #404040;
}
.promo-banner-link img {
  width: 100%;
  display: block;
}
.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
table caption {
  text-align: left;
  margin-bottom: 8px;
}
th, td {
  border: 1px solid #404040;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
th {
  background-color: #333333;
  color: #ffffff;
}
tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}
.step-list {
  list-style: decimal;
  margin: 16px 0 16px 1.25em;
}
.step-list li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}
.article-section ul:not(.toc-list):not(.step-list) {
  list-style: disc;
  margin: 16px 0 16px 1.25em;
}
.article-section ul:not(.toc-list):not(.step-list) li {
  margin-bottom: 0.5em;
}
.article-section .btn, .intro-section .btn {
  margin-top: 8px;
}
.faq-list {
  margin-top: 16px;
}
.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid #404040;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item dt {
  font-weight: bold;
  color: #ffffff;
  font-size: 1.05em;
  margin-bottom: 0.5em;
}
.faq-item dd {
  margin: 0;
  color: #ffffff;
}
.sticky-promo-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #333333;
  border-top: 1px solid #404040;
  padding: 12px 0;
  z-index: 50;
}
.sticky-promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sticky-promo-text {
  font-size: 0.8rem;
  color: #ffffff;
}
@media (min-width: 600px) {
  table {
    min-width: 0;
  }
}