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

:root {
  --color-background: #ffffff;
  --color-surface: #f3f3f4;
  --color-button: #1e7556;
  --color-button-hover: #0b0b0c;
  --color-button-text: #ffffff;
  --color-secondary-button: #ffffff;
  --color-secondary-button-hover: #0b0b0c;
  --color-secondary-button-text: #0b0b0c;
  --color-font: #0b0b0c;
  --color-headers: #0b0b0c;
  --color-link: #1e7556;
  --color-link-hover: #ffffff;
  --color-border: #e3e3e6;
  --color-accent: #1e7556;
  --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--color-font);
  background-color: var(--color-background);
  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;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

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

/* Links */
a.inline-link, .site-footer a:not(.btn), .site-header a:not(.btn) {
  color: var(--color-link);
  transition: color 0.2s ease, background-color 0.2s ease;
}
a.inline-link:hover {
  color: var(--color-link-hover);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  text-align: center;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-button);
  color: var(--color-button-text);
}
.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);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

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

.cta-header {
  flex-shrink: 0;
}

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

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-font);
  opacity: 0.75;
  margin: 0;
}

/* Tablet */
@media (min-width: 768px) {
  .header-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .logo-img {
    height: 44px;
  }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .logo-img {
    height: 48px;
  }
  .footer-logo {
    height: 36px;
  }
}

/* 404 page */
.notfound {
  display: flex;
  align-items: center;
  min-height: 60vh;
}
.notfound-inner {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.notfound-code {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
  line-height: 1;
}
.notfound-inner .btn {
  margin-top: 0.5rem;
}

/* Page: home review article */
.section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.section-title h1 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

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

.toc ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.toc li a {
  display: block;
  padding: 0.3rem 0;
}

.toc li a::before {
  content: "\2713";
  display: inline-block;
  margin-right: 0.6rem;
  color: var(--color-accent);
  font-weight: 700;
}

.promo-banner {
  display: block;
  margin-top: 1.25rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

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

.body-block {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.body-block:first-child {
  border-top: none;
  padding-top: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

table th,
table td {
  border: 1px solid var(--color-border);
  padding: 0.65rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

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

table tbody th[scope="row"] {
  background-color: var(--color-surface);
  width: 32%;
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

.steps li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  background-color: var(--color-surface);
  border-radius: 8px;
}

.step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-button-text);
  font-weight: 700;
  font-size: 0.85rem;
}

.source-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0 1.25rem;
}

.source-list li {
  padding-left: 1.1rem;
  border-left: 3px solid var(--color-accent);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.25rem 1rem;
}

.accordion-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0;
  list-style: none;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--color-accent);
}

.accordion-item[open] summary::after {
  content: "\2212";
}

.accordion-body {
  padding-bottom: 1rem;
}

.section-trust h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .section-title h1 {
    font-size: 2.4rem;
  }
  .toc ul {
    grid-template-columns: 1fr 1fr;
  }
}