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

:root {
  --color-background: #124c51;
  --color-surface: #ffffff;
  --color-button: #28c156;
  --color-button-hover: #3fd76d;
  --color-button-text: #ffffff;
  --color-secondary-button: #1b565f;
  --color-secondary-button-hover: #207983;
  --color-secondary-button-text: #ffffff;
  --color-font: #ffffff;
  --color-headers: #ffffff;
  --color-link: #18bdbb;
  --color-link-hover: #0ceeeb;
  --color-border: #1b565f;
  --color-accent: #0ceeeb;
  --font-family: Roboto, Arial, sans-serif;
}

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

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

a { color: var(--color-link); transition: color 0.15s ease; }
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.375rem;
  font-weight: 700;
  font-family: var(--font-family);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn--cta,
.btn--primary {
  background-color: var(--color-button);
  color: var(--color-button-text);
}
.btn--cta:hover,
.btn--primary:hover {
  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);
  border-color: var(--color-border);
}
.btn--secondary:hover {
  background-color: var(--color-secondary-button-hover);
  color: var(--color-secondary-button-text);
}

/* Header */
.site-header {
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-header__logo img {
  height: 2.25rem;
  width: auto;
}
.site-header__cta {
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background-color: var(--color-background);
  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: 2rem;
  width: auto;
}
.site-footer__legal {
  color: var(--color-font);
  font-size: 0.85rem;
  opacity: 0.85;
}

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

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

/* 404 page */
.not-found {
  display: flex;
  align-items: center;
  min-height: 50vh;
  padding: 4rem 0;
}
.not-found__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.not-found__code {
  font-size: 4rem;
  color: var(--color-accent);
}
.not-found__text {
  color: var(--color-font);
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Page body additions (home article page) */
.page-title { padding-top: 2rem; }
.page-title h1 { font-size: 1.9rem; margin-bottom: 1.25rem; }

.toc {
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background-color: var(--color-secondary-button);
  padding: 1rem 1.25rem;
}
.toc__label {
  font-weight: 700;
  color: var(--color-headers);
  margin-bottom: 0.5rem;
}
.toc__list { display: flex; flex-direction: column; gap: 0.4rem; }
.toc__list a { color: var(--color-link); }
.toc__list a:hover { color: var(--color-link-hover); }

.intro { padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.intro p { opacity: 0.95; }

.promo-banner { border-radius: 0.5rem; overflow: hidden; margin-top: 0.5rem; }
.promo-banner img { width: 100%; height: auto; }

.key-facts,
.article-body,
.trust,
.support,
.faq,
.article-meta {
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.key-facts h2,
.article-body h2,
.trust h2,
.support h2,
.faq h2 {
  font-size: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
}

.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-surface);
  border-radius: 0.5rem;
  overflow: hidden;
  min-width: 480px;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--color-border);
  color: #1b2b2c;
  font-size: 0.92rem;
}
.data-table th {
  background-color: var(--color-secondary-button);
  color: var(--color-secondary-button-text);
  font-weight: 700;
}
.data-table tbody tr:last-child td { border-bottom: none; }

.bullet-list,
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-left: 1.4rem;
}
.bullet-list li { list-style: disc; }
.step-list { counter-reset: step; }
.step-list li { list-style: decimal; }

.faq__list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq__item {
  background-color: var(--color-secondary-button);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 0.85rem 1.1rem;
}
.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-headers);
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  float: right;
  color: var(--color-accent);
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { margin-top: 0.6rem; opacity: 0.95; }

.article-meta {
  border-top: 1px solid var(--color-border);
  margin-top: 1rem;
  padding-bottom: 3rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

@media (min-width: 700px) {
  .toc__list { flex-direction: row; flex-wrap: wrap; column-gap: 1.5rem; }
  .toc__list li { width: calc(50% - 0.75rem); }
}

@media (min-width: 900px) {
  .page-title h1 { font-size: 2.25rem; }
}