/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal-900: #0d4f4f;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --teal-50: #f0fdfa;
  --green-700: #15803d;
  --green-100: #dcfce7;
  --amber-700: #b45309;
  --amber-100: #fef3c7;
  --red-700: #b91c1c;
  --red-100: #fee2e2;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --max-w: 820px;
  --radius: 8px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Layout === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

/* === Header === */
.site-header {
  background: var(--teal-900);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.site-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.site-logo .shield { font-size: 1.4rem; }
.header-badge {
  font-size: .7rem;
  background: var(--teal-500);
  padding: .2rem .55rem;
  border-radius: 999px;
  font-weight: 600;
}

/* === Hero === */
.hero {
  background: linear-gradient(165deg, var(--teal-900) 0%, var(--teal-700) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.hero h1 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  max-width: 680px;
  margin: 0 auto .75rem;
}
.hero .subtitle {
  font-size: 1.05rem;
  opacity: .88;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: .85rem;
  opacity: .8;
}
.hero-trust span { display: flex; align-items: center; gap: .3rem; }

/* === TOC === */
.toc {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.toc h2 { font-size: 1rem; margin-bottom: .6rem; color: var(--teal-900); }
.toc ol { padding-left: 1.25rem; }
.toc li { margin-bottom: .35rem; font-size: .92rem; }
.toc a { color: var(--teal-700); font-weight: 500; }

/* === Sections === */
section { padding: 2.5rem 0; }
section + section { border-top: 1px solid var(--gray-100); }

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-900);
  margin-bottom: 1rem;
  line-height: 1.3;
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 1.5rem 0 .5rem;
}
p { margin-bottom: 1rem; color: var(--gray-700); }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; color: var(--gray-700); }
li { margin-bottom: .35rem; }

/* === Callout Boxes === */
.callout {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: .93rem;
  line-height: 1.6;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.callout-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.callout-info { background: var(--teal-50); border-left: 4px solid var(--teal-600); }
.callout-warning { background: var(--amber-100); border-left: 4px solid var(--amber-700); }
.callout-danger { background: var(--red-100); border-left: 4px solid var(--red-700); }
.callout-success { background: var(--green-100); border-left: 4px solid var(--green-700); }

/* === Checklist === */
.checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}
.checklist li {
  position: relative;
  padding: .85rem 1rem .85rem 3rem;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  margin-bottom: .5rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  user-select: none;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  background: var(--white);
  transition: all .15s;
}
.checklist input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checklist input[type="checkbox"]:checked + span {
  color: var(--green-700);
}
.checklist li:has(input:checked) {
  background: var(--green-100);
  border-color: var(--green-700);
}
.checklist li:has(input:checked)::before {
  background: var(--green-700);
  border-color: var(--green-700);
}
.checklist li:has(input:checked)::after {
  content: "";
  position: absolute;
  left: 1.22rem;
  top: 50%;
  transform: translateY(-60%) rotate(45deg);
  width: 6px;
  height: 11px;
  border: solid var(--white);
  border-width: 0 2.5px 2.5px 0;
}
.check-label { font-weight: 600; }
.check-desc { display: block; font-size: .87rem; color: var(--gray-500); margin-top: .15rem; }

/* === Comparison Table === */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  min-width: 640px;
}
.compare-table thead { background: var(--teal-900); color: var(--white); }
.compare-table th {
  padding: .75rem .65rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.compare-table td {
  padding: .7rem .65rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}
.compare-table tbody tr:hover { background: var(--teal-50); }
.compare-table .provider-name { font-weight: 700; white-space: nowrap; }
.compare-table .highlight-row { background: var(--green-100); }
.compare-table .highlight-row:hover { background: #bbf7d0; }

.rating { display: inline-flex; align-items: center; gap: .25rem; font-weight: 600; font-size: .82rem; padding: .15rem .5rem; border-radius: 999px; }
.rating-high { background: var(--green-100); color: var(--green-700); }
.rating-med { background: var(--amber-100); color: var(--amber-700); }
.rating-low { background: var(--red-100); color: var(--red-700); }

/* === Steps === */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  margin-bottom: .75rem;
  background: var(--gray-100);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 28px;
  height: 28px;
  background: var(--teal-700);
  color: var(--white);
  border-radius: 50%;
  font-size: .82rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps li strong { display: block; margin-bottom: .2rem; }

/* === FAQ === */
.faq-item {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  margin-bottom: .5rem;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 1rem 2.5rem 1rem 1rem;
  font-size: .95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
  color: var(--gray-900);
  position: relative;
  transition: background .15s;
}
.faq-q:hover { background: var(--teal-50); }
.faq-q::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--teal-600);
  font-weight: 300;
  transition: transform .2s;
}
.faq-item.open .faq-q::after { content: "\2212"; }
.faq-a {
  display: none;
  padding: 0 1rem 1rem;
  font-size: .92rem;
  color: var(--gray-700);
  line-height: 1.65;
}
.faq-item.open .faq-a { display: block; }

/* === CTA === */
.cta-box {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 2rem 0;
}
.cta-box h3 { color: var(--white); font-size: 1.25rem; margin-bottom: .5rem; }
.cta-box p { color: rgba(255,255,255,.85); margin-bottom: 1.25rem; }
.cta-btn {
  display: inline-block;
  background: var(--white);
  color: var(--teal-900);
  padding: .8rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.2); text-decoration: none; }

/* === Disclosure === */
.disclosure {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: .82rem;
  color: var(--gray-500);
  margin: 2rem 0;
  line-height: 1.6;
}

/* === Footer === */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 2.5rem 0 1.5rem;
  font-size: .85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-col h4 { color: var(--white); margin-bottom: .6rem; font-size: .95rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: .35rem; }
.footer-col a { color: var(--gray-300); }
.footer-col a:hover { color: var(--teal-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
  text-align: center;
  color: var(--gray-500);
  font-size: .78rem;
}

/* === Responsive === */
@media (min-width: 640px) {
  .hero h1 { font-size: 2.25rem; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  h2 { font-size: 1.65rem; }
}

@media (min-width: 768px) {
  .hero { padding: 4.5rem 0 3.5rem; }
  .hero h1 { font-size: 2.5rem; }
  section { padding: 3rem 0; }
}
