/* Reset */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }

:root {
  --color-bg: #e9eef2;
  --color-surface: #ffffff;
  --color-button: #92c738;
  --color-button-text: #ffffff;
  --color-secondary-button: #276aa5;
  --color-secondary-button-text: #ffffff;
  --color-font: #4f4f4f;
  --color-headers: #4f4f4f;
  --color-link: #276aa5;
  --color-border: #333333;
  --color-accent: #da0606;
  --font-family: Roboto, sans-serif;
}

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

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

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

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

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

.btn {
  display: inline-block;
  font-family: var(--font-family);
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

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

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

/* Header */
.site-header {
  background-color: var(--color-surface);
  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; }

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

.header-cta {
  font-size: 0.9rem;
  padding: 0.6rem 1.1rem;
}

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

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

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

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

/* Responsive breakpoints: phone (default), tablet (>=768px), desktop (>=1024px) */
@media (min-width: 768px) {
  .container { padding: 0 1.5rem; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
  .logo-img { height: 52px; }
}

/* 404 page */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  min-height: 40vh;
}

.not-found-code {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.not-found p {
  max-width: 32rem;
}

/* Page content styles (home review page) */
.page-article { padding-bottom: 5rem; }

.page-title-section { padding-top: 2rem; }
.page-title-section h1 {
  font-size: 1.9rem;
  margin-bottom: 1.25rem;
}

.toc-box {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background-color: var(--color-surface);
  padding: 1rem 1.25rem;
}
.toc-heading { margin-bottom: 0.5rem; }
.toc-list { display: grid; gap: 0.4rem; }
.toc-list a { font-size: 0.95rem; }
.toc-list a:hover { text-decoration: underline; }

.intro-section { padding-top: 1.75rem; }
.intro-section p { margin-bottom: 1rem; }
.promo-banner {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 0.5rem;
}

.article-section,
.trust-section,
.support-section,
.faq-section {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.article-section h2,
.trust-section h2,
.support-section h2,
.faq-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.article-section p,
.trust-section p,
.support-section p {
  margin-bottom: 1rem;
}

.article-list,
.article-steps {
  margin: 0 0 1rem 1.5rem;
  display: grid;
  gap: 0.5rem;
}
.article-list { list-style: disc; }
.article-steps { list-style: decimal; }

.table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-surface);
}
table th,
table td {
  border: 1px solid var(--color-border);
  padding: 0.6rem 0.8rem;
  text-align: left;
  font-size: 0.95rem;
  vertical-align: top;
}
table th {
  background-color: var(--color-bg);
  color: var(--color-headers);
}

.cta-row {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0.5rem;
}

.faq-accordion { display: grid; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background-color: var(--color-surface);
  padding: 0.85rem 1rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-headers);
}
.faq-item p { margin-top: 0.6rem; }

.sticky-promo-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
}
.sticky-promo-text {
  font-size: 0.85rem;
  color: var(--color-font);
}
.sticky-promo-btn {
  flex-shrink: 0;
  font-size: 0.85rem;
  padding: 0.6rem 1.1rem;
}

@media (max-width: 480px) {
  .sticky-promo-text { display: none; }
}

@media (min-width: 768px) {
  .page-title-section h1 { font-size: 2.2rem; }
  .toc-list { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
}

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