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

:root {
  --color-background: #090f1e;
  --color-surface: #172032;
  --color-button: #ff2400;
  --color-button-hover: #e0330a;
  --color-button-text: #ffffff;
  --color-secondary-button: #e7ecf50f;
  --color-secondary-button-hover: #e7ecf517;
  --color-secondary-button-text: #ffffff;
  --color-font: #c2c4c9;
  --color-headers: #ffffff;
  --color-link: #ff2400;
  --color-link-hover: #e0330a;
  --color-border: #ff2400;
  --color-accent: #f9b242;
  --font-family: Roboto, sans-serif;
}

html {
  font-size: 16px;
}

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

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

p { color: var(--color-font); }

a {
  color: var(--color-link);
  transition: color 0.15s ease-in-out;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-family: var(--font-family);
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.btn--cta {
  background-color: var(--color-button);
  color: var(--color-button-text);
  border: 1px solid var(--color-border);
}

.btn--cta:hover, .btn--cta: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: 100;
}

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

.site-header__home {
  display: inline-flex;
  align-items: center;
}

.site-header__logo {
  height: 2.25rem;
  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 {
  height: 2rem;
  width: auto;
  margin: 0 auto;
}

.site-footer__legal {
  color: var(--color-font);
  font-size: 0.85rem;
}

@media (min-width: 600px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .site-footer__inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; }
}

@media (min-width: 900px) {
  .container { padding: 0 2rem; }
  .site-footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* Hero carousel */
.hero-carousel {
  background-color: var(--color-surface);
  overflow: hidden;
  padding: 1.5rem 0;
}

.hero-carousel__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.hero-slide {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  min-height: 220px;
  display: flex;
  align-items: flex-end;
}

.hero-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-slide__content {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-slide__title {
  font-size: 1.15rem;
}

.hero-slide__text {
  font-size: 0.95rem;
}

.hero-slide__cta {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* Page title + TOC */
.page-title {
  padding-top: 2rem;
}

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

.toc {
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  background-color: var(--color-surface);
}

.toc__title {
  font-weight: 700;
  color: var(--color-headers);
  margin-bottom: 0.75rem;
}

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

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

/* General content sections */
.intro, .data-section, .article-body, .trust-section, .contact-section, .faq-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intro p, .data-section p, .article-body p, .trust-section p, .contact-section p, .faq-section p {
  max-width: 70ch;
}

.promo-banner {
  border-radius: 0.75rem;
  margin-top: 0.5rem;
}

.article-body h3 {
  font-size: 1.25rem;
  margin-top: 1rem;
}

.article-body ol, .article-body ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.25rem;
}

.article-body ol {
  list-style: decimal;
}

.article-body ul {
  list-style: disc;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-surface);
  border-radius: 0.5rem;
  overflow: hidden;
}

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

table th {
  color: var(--color-headers);
  background-color: var(--color-background);
}

.data-section .btn, .article-body .btn, .trust-section .btn {
  align-self: flex-start;
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: var(--color-surface);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-headers);
}

.faq-item p {
  margin-top: 0.75rem;
}

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