/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }

:root {
  --color-background: #2d3748;
  --color-surface: #1a202c;
  --color-button: #b2ff00;
  --color-button-hover: #b2ff00;
  --color-button-text: #1a202c;
  --color-secondary-button: #020203;
  --color-secondary-button-hover: #020203;
  --color-secondary-button-text: #ffffff;
  --color-font: #ffffff;
  --color-headers: #ffffff;
  --color-link: #b2ff00;
  --color-link-hover: #ffffff;
  --color-border: #d4af7a26;
  --color-accent: #b2ff00;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-background);
  color: var(--color-font);
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-headers);
  font-family: var(--font-family);
  line-height: 1.2;
}

a {
  color: var(--color-link);
  transition: color 0.2s ease;
}

a:hover, a:focus {
  color: var(--color-link-hover);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-align: center;
}

.btn--primary {
  background-color: var(--color-button);
  color: var(--color-button-text);
}

.btn--primary:hover, .btn--primary:focus {
  background-color: var(--color-button-hover);
  color: var(--color-button-text);
}

.btn--secondary {
  background-color: var(--color-secondary-button);
  color: var(--color-secondary-button-text);
}

.btn--secondary:hover, .btn--secondary:focus {
  background-color: var(--color-secondary-button-hover);
  color: var(--color-secondary-button-text);
}

/* Header */
.site-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-header__logo img {
  height: 40px;
  width: auto;
}

.site-header__cta {
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin-top: 2rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}

.site-footer__logo img {
  height: 36px;
  width: auto;
}

.site-footer__legal {
  color: var(--color-font);
  font-size: 0.875rem;
  opacity: 0.8;
}

/* 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 2rem;
  }
}

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

.main > .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.page-title-section h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.byline {
  font-size: 0.875rem;
  opacity: 0.85;
  margin-bottom: 0.25rem;
}

.main p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.main h2 {
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.main h3 {
  font-size: 1.125rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* Table of contents */
.toc {
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background-color: var(--color-surface);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}

.toc ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toc li::before {
  content: "\2713";
  color: var(--color-accent);
  margin-right: 0.5rem;
}

.toc a {
  color: var(--color-link);
}

.toc a:hover {
  color: var(--color-link-hover);
}

/* Promo banner / images */
.promo-banner {
  display: block;
  margin-top: 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.promo-banner img {
  width: 100%;
  height: auto;
}

.promo-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 0.5rem;
  margin: 1rem 0;
  border: 1px solid var(--color-border);
}

/* Data tables */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
}

.data-table th {
  color: var(--color-headers);
  font-weight: 600;
  background-color: var(--color-background);
}

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

/* Steps */
.steps {
  list-style: decimal;
  margin: 1rem 0 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.steps li {
  padding-left: 0.25rem;
}

/* Trust section */
.trust-section {
  text-align: left;
}

/* FAQ accordion */
.faq {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.faq-item h3 {
  color: var(--color-headers);
}

/* Sources */
.sources-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}

.sources-list li {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Sticky bottom promo bar */
.sticky-promo-bar {
  position: sticky;
  bottom: 0;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  z-index: 40;
}

.sticky-promo-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.sticky-promo-bar__text {
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Tablet */
@media (min-width: 768px) {
  .page-title-section h1 {
    font-size: 2.5rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .main > .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}