:root {
  --bg: #ffffff;
  --text: #111827; /* near-black */
  --muted: #4b5563; /* gray-600 */
  --accent: #1d4ed8; /* blue-700 */
  --border: #e5e7eb; /* gray-200 */
  --card: #ffffff;
  --maxw: 1100px;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);a
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    "Helvetica Neue", Arial, sans-serif;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.sn-container {
  max-width: var(--maxw);
  margin: auto;
  padding: 28px 20px;
}
.sn-hero {
  background: var(--card);
  /* border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow); */
  padding: 40px 28px;
}
.sn-kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.8rem;
}
h1 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
}
.sn-h3 {
  margin: 1.2rem 0 0.5rem;
  font-size: 1.05rem;
  color: var(--text);
}

.sn-grid {
  display: grid;
  gap: 24px;
  width: 100%;
}
.sn-grid h1 {
  color: var(--text);
}
@media (min-width: 880px) {
  .sn-grid-2 {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.sn-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.sn-section {
  margin-top: 26px;
}
.sn-section h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 0.2rem 0 1rem;
}

.sn-list {
  padding-left: 1.2rem;
  margin: 0.4rem 0;
}
.sn-list li {
  margin: 0.35rem 0;
}

.sn-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.6rem;
}
.sn-badge {
  color: #111;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 55%, #f4f4f4 100%);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.sn-footer {
  color: #6b7280;
  font-size: 0.9rem;
  text-align: center;
  padding: 28px 0;
}

.sn-anchor {
  scroll-margin-top: 90px;
}
/* FAQ (details/summary) */
.sn-faq {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  margin: 10px 0;
  overflow: hidden;
}
.sn-faq + .sn-faq {
  margin-top: 12px;
}

.sn-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  position: relative;
  display: flex;
  align-items: center;
}
.sn-faq-q::-webkit-details-marker {
  display: none;
}

/* plus/minus indicator */
.sn-faq-q::after {
  content: "+";
  margin-left: auto;
  font-weight: 900;
  line-height: 1;
}
.sn-faq[open] .sn-faq-q::after {
  content: "−";
}

.sn-faq-a {
  padding: 0 18px 16px 18px;
}
.sn-faq-a p {
  margin: 0;
}
/* Certificate block */
.sn-cert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.sn-cert-img {
  max-width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.sn-cert-meta {
  line-height: 1.2;
}
.sn-cert-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.sn-cert-value {
  font-weight: 800;
  font-size: 1.05rem;
  color: #111;
}

/* Optional: center the whole block on small screens */
@media (max-width: 520px) {
  .sn-cert {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}
/* Fancy comparison table */
.sn-compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.sn-compare thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}

.sn-compare th,
.sn-compare td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.sn-compare tbody tr:nth-child(odd) {
  background: #fcfcfc;
}
.sn-compare tbody tr:hover {
  background: #f7f7f7;
  transition: background 0.2s ease;
}

.sn-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: #fff;
}
.sn-chip-ok {
  background: #f6fdf7;
  border-color: #d1f6d8;
}
.sn-chip-no {
  background: #fff7f7;
  border-color: #ffdada;
}

/* Check / Cross icons (SVG via data URI) */
.ico {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
}
.ico.ok {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='9' r='8'/><path d='M5 9l3 3 5-6'/></svg>");
  background-repeat: no-repeat;
  background-size: 18px 18px;
}
.ico.no {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='9' r='8'/><path d='M6 6l6 6M12 6l-6 6'/></svg>");
  background-repeat: no-repeat;
  background-size: 18px 18px;
}

/* Mobile: stack rows for readability */
@media (max-width: 720px) {
  .sn-compare thead {
    display: none;
  }
  .sn-compare,
  .sn-compare tbody,
  .sn-compare tr,
  .sn-compare td {
    display: block;
    width: 100%;
  }
  .sn-compare tr {
    border-bottom: 1px solid var(--border);
  }
  .sn-compare td {
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 12px 14px;
  }
  .sn-compare td:first-child {
    background: #f9f9f9;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
  }
}

.sn-compare-note {
  margin: 14px 4px 0;
  color: var(--muted);
}
/* Dark coverage card using brand colors */
#coverage {
  background: linear-gradient(135deg, #2d3091 0%, #2d3091 55%, #fd0000 100%);
}
#coverage .sn-card--dark {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.sn-card--dark {
  color: #fff;
  background: transparent;
  border: none;
  border-radius: 16px;
  /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); */
}

/* Make body text a touch softer, keep headings bright */
.sn-card--dark h2,
.sn-card--dark h3 {
  color: #fff;
}
.sn-card--dark p {
  color: rgba(255, 255, 255, 0.92);
}

/* Carded list layout */
.sn-list-cards {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  .sn-list-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .sn-list-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sn-list-cards li {
  position: relative;
  background: rgba(0, 0, 0, 0.18); /* subtle contrast on the dark gradient */
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 14px 14px 14px 48px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Gradient bullet using brand colors */
.sn-list-cards li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fd0000 0%, #2d3091 100%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12),
    0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Emphasise the key term */
.sn-card--dark strong {
  color: #fff;
}

/* Optional: hover lift */
.sn-list-cards li:hover {
  transform: translateY(-2px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.25);
}

/* Dark card wrapper (same vibe as coverage) */
.sn-card--dark {
  color: #fff;
  background: linear-gradient(135deg, #2d3091 0%, #2d3091 55%, #fd0000 100%);
  border: none;
  border-radius: 0px;
  /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); */
}
.sn-card--dark h2,
.sn-card--dark h3 {
  color: #fff;
}
.sn-card--dark p {
  color: rgba(255, 255, 255, 0.92);
}

/* Dark compare table */
.sn-compare--dark {
  background: transparent; /* let the card gradient show */
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.sn-compare--dark th,
.sn-compare--dark td {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.sn-compare--dark thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  font-weight: 700;
}
.sn-compare--dark tbody tr:nth-child(odd) {
  background: rgba(0, 0, 0, 0.18);
}
.sn-compare--dark tbody tr:hover {
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

/* Chips (pill headers) tuned for dark */
.sn-compare--dark .sn-chip {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.sn-compare--dark .sn-chip-ok {
  background: rgba(45, 48, 145, 0.35);
} /* #2d3091 tint */
.sn-compare--dark .sn-chip-no {
  background: rgba(253, 0, 0, 0.25);
} /* #fd0000 tint */

/* Icons in white for contrast */
.sn-compare--dark .ico.ok {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='9' r='8'/><path d='M5 9l3 3 5-6'/></svg>");
  background-repeat: no-repeat;
  background-size: 18px 18px;
}
.sn-compare--dark .ico.no {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='9' r='8'/><path d='M6 6l6 6M12 6l-6 6'/></svg>");
  background-repeat: no-repeat;
  background-size: 18px 18px;
}

/* Mobile stacking stays readable on dark */
@media (max-width: 720px) {
  .sn-compare--dark thead {
    display: none;
  }
  .sn-compare--dark,
  .sn-compare--dark tbody,
  .sn-compare--dark tr,
  .sn-compare--dark td {
    display: block;
    width: 100%;
  }
  .sn-compare--dark tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .sn-compare--dark td {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 12px 14px;
  }
  .sn-compare--dark td:first-child {
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
  .sn-compare--dark td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4px;
  }
}

/* Note under table */
.sn-card--dark .sn-compare-note {
  margin: 14px 4px 0;
  color: rgba(255, 255, 255, 0.85);
}
#faq .sn-card,
#why-es .sn-card {
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
}
/* Grid layout for FAQ cards */
.sn-faq-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 12px;
}
@media (min-width: 900px) {
  .sn-faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Card-style details */
#faq .sn-faq {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
#faq .sn-faq::before {
  /* subtle brand accent bar (blue → red) */
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #2d3091 0%, #fd0000 100%);
  opacity: 0.85;
}
#faq .sn-faq[open] {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Summary (question) */
#faq .sn-faq-q {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 56px 16px 18px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
#faq .sn-faq-q::-webkit-details-marker {
  display: none;
}

/* Decorative dot before the question */
#faq .sn-faq-q::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d3091, #fd0000);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
  flex: none;
}

/* Plus / minus on the right */
#faq .sn-faq-q::after {
  content: "+";
  position: absolute;
  right: 16px;
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  color: #111;
}
#faq .sn-faq[open] .sn-faq-q::after {
  content: "−";
}

/* Focus-visible ring for keyboard users */
#faq .sn-faq-q:focus {
  outline: none;
}
#faq .sn-faq-q:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(45, 48, 145, 0.15);
  border-radius: 12px;
}

/* Answer body */
#faq .sn-faq-a {
  padding: 0 18px 16px 18px;
  color: #4b5563;
}
#faq .sn-faq-a p {
  margin: 0;
}
