/* ==========================================================================
   sn-home-v2.css — front page, version 2 (front-page-v2.php).

   Built on sn-tokens.css and sn-ui.css and scoped under .snh, so nothing here
   can reach another template.

   The page is a directory front door: a centred panel with the search, then
   cards. Every surface is either paper, a soft tint of it, or the indigo
   field; corners are round; one blue is the action colour throughout.
   ========================================================================== */

.snh {
  --snh-pad: clamp(56px, 7vw, 104px);
  --snh-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --snh-r-card: 18px;
  --snh-r-panel: 28px;
  --snh-field: radial-gradient(120% 150% at 88% -20%, #4257e6 0%, #2c2c96 36%, #1b1a55 70%, #151440 100%);
  --snh-field-blue: linear-gradient(140deg, #2455d8 0%, #3f7cfb 100%);
  --snh-on-rule: rgba(255, 255, 255, 0.2);
  overflow-x: clip;
}

.snh-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.snh-arrow { flex: none; transition: transform 220ms var(--snh-ease); }
a:hover > .snh-arrow,
a:hover .snh-cat__meta > .snh-arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Sections and headings
   -------------------------------------------------------------------------- */

.snh-sec { padding-block: var(--snh-pad); background: var(--sn-paper); }
.snh-sec--soft { background: var(--sn-paper-2); }
.snh-sec--cta { padding-top: 0; }
.snh-sec--soft + .snh-sec--cta { background: var(--sn-paper-2); }

.snh-h2 {
  margin: 0;
  font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.5rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.026em;
  text-wrap: balance;
}
.snh-h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

/* The small label over a heading: a quiet pill. */
.snh-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 var(--sn-4);
  padding: 6px 12px;
  border-radius: var(--sn-r-pill);
  background: var(--sn-signal-wash);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sn-signal-ink);
}

.snh-head { margin-bottom: clamp(28px, 3.6vw, 48px); }
.snh-head--center { max-width: 760px; margin-inline: auto; text-align: center; }
.snh-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sn-4) var(--sn-8); }
.snh-head__text { margin: var(--sn-4) 0 0; font-size: var(--sn-fs-lead); line-height: 1.55; color: var(--sn-ink-soft); }

.snh-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sn-2);
  min-height: 24px;
  font-weight: 600;
  color: var(--sn-signal);
  text-decoration: none;
}
.snh-link:hover { color: var(--sn-signal-ink); }
.snh p > a.snh-link { text-decoration: none; }

.snh-more { margin: clamp(24px, 3vw, 40px) 0 0; text-align: center; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

/* Edge to edge. The field is the section itself; .sn-shell inside it keeps the
   copy, the cards and the figures on the same measure as the rest of the page. */
.snh-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}
.snh .snh-hero { background: var(--snh-field); }
.snh-hero__inner { position: relative; }

/* Three soft lights in the logo's lilac, cyan and blue. Paint only, no blur. */
.snh-hero__glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(40% 70% at 6% 104%, rgba(215, 189, 254, 0.34), transparent 70%),
    radial-gradient(34% 60% at 96% 100%, rgba(38, 204, 255, 0.24), transparent 70%),
    radial-gradient(52% 56% at 50% -12%, rgba(108, 130, 255, 0.42), transparent 72%);
  pointer-events: none;
}
/* A faint sheet of ruled squares that fades out toward the edges: the page is
   about tables, and this is the one place it says so without words. */
.snh-hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(70% 78% at 50% 36%, #000 18%, transparent 76%);
  mask-image: radial-gradient(70% 78% at 50% 36%, #000 18%, transparent 76%);
  pointer-events: none;
}

.snh-hero__body {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(48px, 6.4vw, 96px) clamp(8px, 3vw, 40px) clamp(40px, 5vw, 68px);
}

.snh-hero .snh-kicker {
  gap: var(--sn-2);
  padding: 7px 14px 7px 10px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px var(--snh-on-rule);
  color: #fff;
}
.snh-kicker__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sn-brand-cyan);
  box-shadow: 0 0 0 4px rgba(38, 204, 255, 0.22);
}

.snh-title {
  margin: 0 auto;
  max-width: 16ch;
  font-size: clamp(2.375rem, 1.2rem + 4.2vw, 4.25rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
/* The second half of the headline in the logo's own lilac-to-cyan. The solid
   colour underneath is what shows wherever background-clip is unsupported. */
.snh-title em {
  font-style: italic;
  font-weight: 600;
  padding-right: 0.06em;
  color: var(--sn-brand-lilac);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .snh-title em {
    background: linear-gradient(95deg, #e4d3ff 0%, #b9c8ff 48%, #7fe3ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.snh .snh-hero__lede {
  margin: var(--sn-5) auto 0;
  max-width: 58ch;
  font-size: var(--sn-fs-lead);
  line-height: 1.55;
  color: var(--sn-on-ink-soft);
}
.snh-hero__lede strong { font-weight: 600; color: #fff; }

/* --- What the index stands on, in three ticks. --------------------------- */
.snh-hero__proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sn-2) var(--sn-6);
  margin: var(--sn-6) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--sn-fs-sm);
  color: var(--sn-on-ink-soft);
}
.snh-hero__proof > li { display: inline-flex; align-items: center; gap: var(--sn-2); }
.snh-hero__proof > li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22%3E%3Cpath d=%22M4.4 8.3l2.4 2.4 4.8-5.4%22 fill=%22none%22 stroke=%22%2317163f%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") center / 16px 16px no-repeat,
    var(--sn-brand-cyan);
}

/* --- Four listings, floating either side of the copy on wide screens. ----- */
.snh-float { display: none; }
@media (min-width: 1240px) {
  .snh-float { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
  .snh-fcard {
    position: absolute;
    width: 214px;
    padding: 14px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(6, 6, 34, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.5);
    text-align: left;
    color: var(--sn-ink);
  }
  .snh-fcard--1 { left: 2.6%; top: 13%; rotate: -6deg; }
  .snh-fcard--2 { left: 5.2%; top: 47%; rotate: 4deg; }
  .snh-fcard--3 { right: 2.6%; top: 17%; rotate: 5deg; }
  .snh-fcard--4 { right: 5.4%; top: 51%; rotate: -4deg; }
}
/* Between 1240 and 1400 the gap beside the copy is ~260px, so the cards
   narrow and move outward to stay clear of the search field. */
@media (min-width: 1240px) and (max-width: 1399.98px) {
  .snh-fcard { width: 188px; padding: 12px; }
  .snh-fcard--1 { left: 1.4%; }
  .snh-fcard--2 { left: 3.2%; }
  .snh-fcard--3 { right: 1.4%; }
  .snh-fcard--4 { right: 3.2%; }
}
.snh-fcard__top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.snh-fcard__logo { flex: none; display: inline-flex; --sn-mark-w: 40px; --sn-mark-h: 40px; }
.snh-fcard__logo img { border: 1px solid var(--sn-rule-soft); border-radius: 10px; }
.snh-fcard__id { display: grid; min-width: 0; }
.snh-fcard__name { font-size: 0.9375rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snh-fcard__cat { font-size: 0.75rem; color: var(--sn-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snh-fcard__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--sn-rule-soft);
  font-size: 0.75rem;
  color: var(--sn-muted);
}
.snh-fcard__row + .snh-fcard__row { margin-top: 8px; }
.snh-fcard__row > span:last-child { min-width: 0; font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--sn-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snh-fcard__row > span.is-yes { color: var(--sn-yes); }
.snh-fcard__row > span.is-no { color: var(--sn-muted); }

/* --- Search. Its own block, so theme.css's .service-searchbar rules do not
   apply. The ids are the ones script.js listens on. ----------------------- */
.snh-search { position: relative; max-width: 680px; margin: var(--sn-8) auto 0; text-align: left; }
.snh-search__box {
  display: flex;
  align-items: center;
  gap: var(--sn-3);
  margin: 0;
  padding: 7px 7px 7px var(--sn-6);
  background: var(--sn-paper);
  border-radius: var(--sn-r-pill);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12), 0 18px 48px rgba(8, 8, 40, 0.4);
  transition: box-shadow var(--sn-t) var(--sn-ease);
}
.snh-search__box:focus-within { box-shadow: 0 0 0 5px rgba(38, 204, 255, 0.6), 0 18px 48px rgba(8, 8, 40, 0.4); }
.snh-search__icon { flex: none; color: var(--sn-muted); }
.snh-search__box input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--sn-font);
  font-size: 1.0625rem;
  color: var(--sn-ink);
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.snh-search__box input[type="search"]::placeholder { color: var(--sn-muted); opacity: 1; }
.snh-search__box input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.snh-search__go {
  flex: none;
  height: 54px;
  padding-inline: var(--sn-8);
  border: 0;
  border-radius: var(--sn-r-pill);
  background: var(--sn-signal);
  font-family: var(--sn-font);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background-color var(--sn-t) var(--sn-ease);
}
.snh-search__go:hover { background: var(--sn-signal-ink); }

.snh-search .search-results-wrapper:not(:empty) {
  position: absolute;
  z-index: 40;
  inset-inline: 0;
  top: calc(100% + 8px);
  max-height: 340px;
  overflow-y: auto;
  padding: var(--sn-2);
  background: var(--sn-paper);
  border: 1px solid var(--sn-rule);
  border-radius: var(--snh-r-card);
  box-shadow: var(--sn-shadow-lift);
}
/* The dropdown is a light object inside the indigo field. */
.sn-on-ink .snh-search .search-results-wrapper a { color: var(--sn-ink); }
.sn-on-ink .snh-search .search-results-wrapper a:hover { color: var(--sn-signal); }
.sn-on-ink .snh-search .search-results-wrapper p { color: var(--sn-ink-soft); }
.snh .sn-search-status { margin: 0; padding: var(--sn-3) var(--sn-4); font-size: var(--sn-fs-sm); color: var(--sn-muted); }
.snh .sn-search-status--error { color: var(--sn-no); }

.snh .snh-hero__popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sn-2);
  margin: var(--sn-6) 0 0;
  font-size: var(--sn-fs-sm);
}
.snh-hero__popular > span {
  margin-right: var(--sn-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sn-on-ink-muted);
}
.snh .sn-on-ink .snh-hero__popular a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--sn-r-pill);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--snh-on-rule);
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: background-color var(--sn-t) var(--sn-ease);
}
.snh .sn-on-ink .snh-hero__popular a:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* --- Search suggestions under the hero field -------------------------------
   theme.css centres this dropdown at 480px with a translate, and nothing in
   this sheet styled its rows, so on the front page it opened narrow, off to
   one side, with each product's name and category run together. */
.snh-search .search-results-wrapper:not(:empty) {
  left: 0;
  right: 0;
  width: auto;
  max-width: none;
  transform: none;
  z-index: 60;
}
.snh-search .search-results-wrapper .search_item { margin: 0; }
.sn-on-ink .snh-search .search-results-wrapper .search_item a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--sn-ink);
}
.sn-on-ink .snh-search .search-results-wrapper .search_item a:hover { background: var(--sn-paper-2); color: var(--sn-signal); }
.snh-search .search_item__name { font-weight: 600; }
.snh-search .search_item__cat { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sn-muted); }
.snh-search .search_no_found { margin: 0; padding: 10px 12px; font-size: 0.9375rem; color: var(--sn-muted); }
/* The suggestions have to sit above the cards floating beside the copy, and
   they run past the foot of the hero: it clips sideways only, and stacks above
   the section that follows. */
.snh-hero__body { z-index: 2; }
.snh .snh-hero { overflow: visible; overflow-x: clip; z-index: 2; }

/* --- The index in four figures, on a glass bar across the foot of the
   field. ------------------------------------------------------------------ */
.snh-statsbar {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.07);
  border-top: 1px solid var(--snh-on-rule);
}
.snh-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: var(--sn-5) 0;
  list-style: none;
}
.snh-stats > li { display: flex; align-items: baseline; justify-content: center; gap: var(--sn-2); padding-inline: var(--sn-3); text-align: center; }
.snh-stats > li + li { border-left: 1px solid var(--snh-on-rule); }
.snh-stats__value { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff; }
.snh-stats__label { font-size: 0.9375rem; color: var(--sn-on-ink-soft); }

/* --------------------------------------------------------------------------
   Categories
   -------------------------------------------------------------------------- */

.snh-tabs__list {
  display: flex;
  gap: var(--sn-2);
  margin: 0 auto clamp(20px, 2.6vw, 32px);
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: safe center;
}
.snh-tabs__list::-webkit-scrollbar { display: none; }
.snh-tabs__tab {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--sn-r-pill);
  background: var(--sn-paper-2);
  font-family: var(--sn-font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sn-ink-soft);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--sn-t) var(--sn-ease), color var(--sn-t) var(--sn-ease);
}
.snh-tabs__tab:hover { background: var(--sn-paper-3); color: var(--sn-ink); }
.snh-tabs__tab.is-active { background: var(--sn-ink); color: #fff; }

.snh-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sn-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.snh-cat {
  display: grid;
  gap: var(--sn-3);
  height: 100%;
  padding: var(--sn-5);
  background: var(--sn-paper);
  border: 1px solid var(--sn-rule);
  border-radius: var(--snh-r-card);
  color: var(--sn-ink);
  transition: border-color var(--sn-t) var(--sn-ease), box-shadow var(--sn-t) var(--sn-ease), transform var(--sn-t) var(--sn-ease);
}
.snh-cat:hover { border-color: var(--sn-signal-line); box-shadow: var(--sn-shadow-lift); color: var(--sn-ink); transform: translateY(-2px); }
.snh-cat__logos { display: flex; --sn-mark-w: 36px; --sn-mark-h: 36px; min-height: 36px; }
.snh-cat__logos > span { display: inline-flex; border-radius: 10px; background: var(--sn-paper); box-shadow: 0 0 0 2px var(--sn-paper), 0 0 0 3px var(--sn-rule); }
.snh-cat__logos > span + span { margin-left: -6px; }
.snh-cat__logos img { border-radius: 10px; }
.snh-cat__name { align-self: end; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.012em; }
.snh-cat__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--sn-3); font-size: var(--sn-fs-sm); font-variant-numeric: tabular-nums; color: var(--sn-muted); }
.snh-cat__meta .snh-arrow { color: var(--sn-signal); }

/* --------------------------------------------------------------------------
   Side-by-side comparison
   -------------------------------------------------------------------------- */

.snh-sbs {
  background: var(--sn-paper);
  border: 1px solid var(--sn-rule);
  border-radius: var(--snh-r-panel);
  box-shadow: var(--sn-shadow);
  overflow: hidden;
}
.snh-sbs__table { width: 100%; min-width: 720px; border-collapse: collapse; table-layout: fixed; }
.snh-sbs__table th,
.snh-sbs__table td { padding: var(--sn-4) var(--sn-5); border-bottom: 1px solid var(--sn-rule-soft); vertical-align: middle; text-align: left; }
.snh-sbs__table thead th,
.snh-sbs__table thead td { padding-block: var(--sn-6); border-bottom-color: var(--sn-rule); }
.snh-sbs__table th + th,
.snh-sbs__table td + td,
.snh-sbs__table thead td + th,
.snh-sbs__table tbody th + td { border-left: 1px solid var(--sn-rule-soft); }
.snh-sbs__table thead > tr > :first-child,
.snh-sbs__table tbody th { width: 19%; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sn-muted); }
.snh-sbs__table .snh-sbs__corner { color: var(--sn-signal-ink); }
.snh-sbs__product { display: flex; align-items: center; gap: var(--sn-3); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.012em; color: var(--sn-ink); }
.snh-sbs__product:hover { color: var(--sn-signal); }
.snh-sbs__logo { flex: none; display: inline-flex; --sn-mark-w: 44px; --sn-mark-h: 44px; }
.snh-sbs__logo img { border: 1px solid var(--sn-rule-soft); border-radius: 12px; }
.snh-sbs__table tbody td { font-size: 0.9375rem; font-variant-numeric: tabular-nums; line-height: 1.45; color: var(--sn-ink); overflow-wrap: anywhere; }
.snh-sbs__table tbody td.is-yes { font-weight: 600; color: var(--sn-yes); }
.snh-sbs__table tbody td.is-no,
.snh-sbs__table tbody td.is-none { color: var(--sn-muted); }
.snh-sbs__table tbody tr:last-child > * { border-bottom: 0; }

.snh-sbs__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sn-4) var(--sn-6);
  padding: var(--sn-5) var(--sn-6);
  background: var(--sn-signal-wash);
  border-top: 1px solid var(--sn-signal-line);
}
.snh-sbs__foot p { margin: 0; font-weight: 600; color: var(--sn-ink); }
.snh-sbs__actions { display: flex; flex-wrap: wrap; gap: var(--sn-3); }
.snh-sbs__actions .sn-btn--outline { background: var(--sn-paper); }

.snh-pairs__title { margin: clamp(32px, 4vw, 56px) 0 var(--sn-5); font-size: 1.25rem; }
.snh-pairs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sn-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.snh-pair {
  display: grid;
  gap: var(--sn-1);
  height: 100%;
  padding: var(--sn-5);
  background: var(--sn-paper);
  border: 1px solid var(--sn-rule);
  border-radius: var(--snh-r-card);
  color: var(--sn-ink);
  transition: border-color var(--sn-t) var(--sn-ease), box-shadow var(--sn-t) var(--sn-ease), transform var(--sn-t) var(--sn-ease);
}
.snh-pair:hover { border-color: var(--sn-signal-line); box-shadow: var(--sn-shadow-lift); color: var(--sn-ink); transform: translateY(-2px); }
.snh-pair__marks { display: flex; align-items: center; gap: var(--sn-2); margin-bottom: var(--sn-3); --sn-mark-w: 40px; --sn-mark-h: 40px; }
.snh-pair__marks > span:not(.snh-pair__vsdot) { display: inline-flex; }
.snh-pair__marks img { border: 1px solid var(--sn-rule-soft); border-radius: 12px; }
.snh-pair__vsdot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sn-paper-2);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sn-muted);
}
.snh-pair__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.012em; }
.snh-pair__cat { font-size: var(--sn-fs-sm); color: var(--sn-muted); }
.snh-pair__prices { display: flex; flex-wrap: wrap; gap: var(--sn-2); margin-top: var(--sn-3); }
.snh-pair__prices > span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  max-width: 100%;
  padding: 2px 10px;
  border-radius: var(--sn-r-pill);
  background: var(--sn-paper-2);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--sn-ink-soft);
}

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */

.snh-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sn-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.snh-tool {
  display: flex;
  flex-direction: column;
  gap: var(--sn-5);
  height: 100%;
  padding: var(--sn-5);
  background: var(--sn-paper);
  border: 1px solid var(--sn-rule);
  border-radius: var(--snh-r-card);
  color: var(--sn-ink);
  transition: border-color var(--sn-t) var(--sn-ease), box-shadow var(--sn-t) var(--sn-ease), transform var(--sn-t) var(--sn-ease);
}
.snh-tool:hover { border-color: var(--sn-signal-line); box-shadow: var(--sn-shadow-lift); color: var(--sn-ink); transform: translateY(-2px); }
.snh-tool__top { display: flex; align-items: center; gap: var(--sn-4); min-width: 0; }
.snh-tool__logo { flex: none; display: inline-flex; --sn-mark-w: 52px; --sn-mark-h: 52px; }
.snh-tool__logo img { border: 1px solid var(--sn-rule-soft); border-radius: 14px; }
.snh-tool__id { display: grid; gap: 2px; min-width: 0; }
.snh-tool__name { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.012em; }
.snh-tool:hover .snh-tool__name { color: var(--sn-signal); }
.snh-tool__cat { font-size: var(--sn-fs-sm); color: var(--sn-muted); }
.snh-tool__facts { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sn-4); margin-top: auto; padding-top: var(--sn-4); border-top: 1px solid var(--sn-rule-soft); }
.snh-tool__fact { display: grid; gap: 2px; min-width: 0; }
.snh-tool__label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sn-muted); }
.snh-tool__value { font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.35; overflow-wrap: anywhere; }
.snh-tool__value.is-none { color: var(--sn-faint); }

/* --------------------------------------------------------------------------
   What is SocialAtoZ
   -------------------------------------------------------------------------- */

.snh-what {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.snh-what__lead .snh-h2 { margin-bottom: var(--sn-5); }
.snh-what__def { margin: 0 0 var(--sn-4); max-width: 56ch; font-size: var(--sn-fs-lead); line-height: 1.6; color: var(--sn-ink-soft); }
.snh-what__def strong { font-weight: 700; color: var(--sn-ink); }
.snh-what__lead .snh-link { margin-top: var(--sn-3); }

.snh-what__card {
  padding: clamp(20px, 2.6vw, 32px);
  background: var(--sn-paper);
  border: 1px solid var(--sn-rule);
  border-radius: var(--snh-r-panel);
  box-shadow: var(--sn-shadow);
}
.snh-what__card-head { margin: 0 0 var(--sn-3); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sn-signal-ink); }
.snh-fields { margin: 0; }
.snh-fields > div {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--sn-1) var(--sn-5);
  align-items: baseline;
  padding-block: var(--sn-3);
  border-top: 1px solid var(--sn-rule-soft);
}
.snh-fields dt { font-weight: 700; color: var(--sn-ink); }
.snh-fields dd { margin: 0; font-size: 0.9375rem; color: var(--sn-ink-soft); }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.snh-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
/* The line the three numbers sit on. */
.snh-steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: var(--sn-signal-line);
}
.snh-step { position: relative; display: grid; justify-items: center; align-content: start; gap: var(--sn-3); text-align: center; }
.snh-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: var(--sn-2);
  border-radius: 50%;
  background: var(--sn-signal);
  box-shadow: 0 0 0 8px var(--sn-paper);
  font-size: 1.0625rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.snh-step .snh-h3 { font-size: 1.25rem; }
.snh-step p { margin: 0; max-width: 34ch; color: var(--sn-ink-soft); }

/* --------------------------------------------------------------------------
   Why trust
   -------------------------------------------------------------------------- */

.snh-why {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.snh-why__text { margin: var(--sn-5) 0 var(--sn-5); max-width: 44ch; font-size: var(--sn-fs-lead); line-height: 1.55; color: var(--sn-ink-soft); }
.snh-why__links { display: grid; gap: var(--sn-3); justify-items: start; margin: 0; }

.snh-rules { display: grid; gap: var(--sn-3); margin: 0; padding: 0; list-style: none; }
.snh-rules > li {
  display: flex;
  gap: var(--sn-4);
  padding: var(--sn-5);
  background: var(--sn-paper);
  border: 1px solid var(--sn-rule);
  border-radius: var(--snh-r-card);
}
.snh-rules__tick {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sn-yes-wash);
  color: var(--sn-yes);
}
.snh-rules p { margin: var(--sn-1) 0 0; font-size: 0.9375rem; color: var(--sn-ink-soft); }

/* --------------------------------------------------------------------------
   Guides
   -------------------------------------------------------------------------- */

.snh-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.snh-post {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--sn-paper);
  border: 1px solid var(--sn-rule);
  border-radius: var(--snh-r-card);
  overflow: hidden;
  transition: border-color var(--sn-t) var(--sn-ease), box-shadow var(--sn-t) var(--sn-ease), transform var(--sn-t) var(--sn-ease);
}
.snh-post:hover { border-color: var(--sn-signal-line); box-shadow: var(--sn-shadow-lift); transform: translateY(-2px); }
.snh-post__media { display: block; overflow: hidden; background: var(--sn-paper-3); aspect-ratio: 16 / 9; }
.snh-post__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--snh-ease); }
.snh-post:hover .snh-post__media img { transform: scale(1.035); }
.snh-post__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: var(--sn-5); }
.snh-post__cat { margin: 0 0 var(--sn-2); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sn-signal-ink); }
.snh-post__title { margin: 0 0 var(--sn-2); font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.014em; }
.snh-post__title a { color: var(--sn-ink); }
.snh-post__title a:hover { color: var(--sn-signal); }
.snh-post__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin: 0 0 var(--sn-4);
  font-size: 0.9375rem;
  color: var(--sn-ink-soft);
}
.snh-post__meta { display: flex; gap: var(--sn-2); margin: auto 0 0; font-size: var(--sn-fs-sm); font-variant-numeric: tabular-nums; color: var(--sn-muted); }

/* --------------------------------------------------------------------------
   Questions
   -------------------------------------------------------------------------- */

.snh-faq { display: grid; gap: var(--sn-3); max-width: 860px; margin-inline: auto; }
.snh-faq__item { background: var(--sn-paper); border: 1px solid var(--sn-rule); border-radius: var(--snh-r-card); transition: border-color var(--sn-t) var(--sn-ease); }
.snh-faq__item[open] { border-color: var(--sn-signal-line); }
.snh-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sn-5);
  min-height: 64px;
  padding: var(--sn-3) var(--sn-6);
  list-style: none;
  cursor: pointer;
}
.snh-faq__item summary::-webkit-details-marker { display: none; }
.snh-faq__q { margin: 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.snh-faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sn-signal-wash); }
.snh-faq__icon::before,
.snh-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--sn-signal);
  transition: transform 260ms var(--snh-ease);
}
.snh-faq__icon::after { transform: rotate(90deg); }
.snh-faq__item[open] .snh-faq__icon::after { transform: rotate(0deg); }
.snh-faq__a { margin: 0; padding: 0 var(--sn-6) var(--sn-6); max-width: 70ch; color: var(--sn-ink-soft); }

/* --------------------------------------------------------------------------
   Closing pair
   -------------------------------------------------------------------------- */

.snh-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.snh-duo__card {
  display: grid;
  gap: var(--sn-4);
  justify-items: start;
  align-content: start;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--snh-r-panel);
}
.snh .snh-duo__card--review { background: var(--snh-field); }
.snh .snh-duo__card--vendor { background: var(--snh-field-blue); }
.snh-duo__title { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.125rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.026em; }
.snh .snh-duo__card p { margin: 0; max-width: 44ch; color: rgba(255, 255, 255, 0.86); }
.sn-on-ink .sn-btn.snh-btn-light { margin-top: var(--sn-2); background: #fff; border-color: #fff; color: var(--sn-ink); }
.sn-on-ink .sn-btn.snh-btn-light:hover { background: var(--sn-brand-lilac); border-color: var(--sn-brand-lilac); color: var(--sn-ink); }

/* --------------------------------------------------------------------------
   Motion
   Blocks rise a little as they scroll in. It is a scroll-driven CSS animation,
   not a script adding a class: a block is only ever transparent while it is
   partly outside the viewport, so nothing can be left hidden by a script that
   failed or a renderer that does not scroll. Browsers without view timelines
   simply show the page.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) and (animation-range: entry 0% entry min(100%, 220px)) {
    .snh [data-snh-reveal] {
      animation: snh-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry min(100%, 220px);
    }
    @keyframes snh-reveal {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: none; }
    }
  }
}

/* The four cards drift a few pixels, each on its own clock. */
@media (prefers-reduced-motion: no-preference) and (min-width: 1240px) {
  .snh-fcard { animation: snh-drift 7s ease-in-out infinite alternate; }
  .snh-fcard--2 { animation-duration: 8.5s; animation-delay: -2s; }
  .snh-fcard--3 { animation-duration: 9s; animation-delay: -4s; }
  .snh-fcard--4 { animation-duration: 7.5s; animation-delay: -1s; }
  @keyframes snh-drift {
    from { translate: 0 -5px; }
    to { translate: 0 7px; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .snh-cat,
  .snh-pair,
  .snh-tool,
  .snh-post,
  .snh-post__media img,
  .snh-arrow { transition: none; }
  .snh-cat:hover,
  .snh-pair:hover,
  .snh-tool:hover,
  .snh-post:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Narrower screens
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
  .snh-cats,
  .snh-pairs,
  .snh-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snh-what,
  .snh-why { grid-template-columns: minmax(0, 1fr); }
  .snh-posts { grid-template-columns: minmax(0, 1fr); }
  .snh-post { flex-direction: row; }
  .snh-post__media { flex: none; width: 38%; aspect-ratio: auto; }
  .snh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--sn-4); }
  .snh-stats > li:nth-child(odd) { border-left: 0; }
  .snh-tabs__list { justify-content: flex-start; }
}

@media (max-width: 767.98px) {
  /* The side-by-side table does not fit four products across a phone, and a
     table that scrolls sideways hides the comparison it exists to show. Here
     it turns ninety degrees: the products become a row of chips, and each
     field lists its four values under it, product name on the left. */
  .snh-sbs .sn-scroller { overflow: visible; }
  .snh-sbs__table,
  .snh-sbs__table thead,
  .snh-sbs__table tbody,
  .snh-sbs__table tbody tr,
  .snh-sbs__table tbody th { display: block; }
  .snh-sbs__table { min-width: 0; }
  .snh-sbs__table thead tr { display: flex; flex-wrap: wrap; gap: var(--sn-2); padding: var(--sn-4); border-bottom: 1px solid var(--sn-rule); }
  .snh-sbs__table thead th,
  .snh-sbs__table thead td { width: auto; padding: 0; border: 0; }
  .snh-sbs__table thead td.snh-sbs__corner { flex: 1 0 100%; margin-bottom: var(--sn-1); }
  .snh-sbs__table thead th + th,
  .snh-sbs__table thead td + th { border-left: 0; }
  .snh-sbs__product { gap: var(--sn-2); padding: 4px 12px 4px 4px; border: 1px solid var(--sn-rule); border-radius: var(--sn-r-pill); font-size: var(--sn-fs-sm); }
  .snh-sbs__logo { --sn-mark-w: 28px; --sn-mark-h: 28px; }
  .snh-sbs__logo img { border-radius: 50%; }
  .snh-sbs__table tbody tr { padding: var(--sn-4); border-bottom: 1px solid var(--sn-rule-soft); }
  .snh-sbs__table tbody tr:last-child { border-bottom: 0; }
  .snh-sbs__table tbody th { width: auto; padding: 0 0 var(--sn-2); border: 0; }
  .snh-sbs__table tbody td {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--sn-3);
    padding: 5px 0;
    border: 0;
  }
  .snh-sbs__table tbody th + td,
  .snh-sbs__table tbody td + td { border-left: 0; }
  .snh-sbs__table tbody td::before { content: attr(data-label); font-weight: 600; color: var(--sn-ink-soft); }

  .snh-steps { grid-template-columns: minmax(0, 1fr); gap: var(--sn-8); }
  .snh-steps::before { display: none; }
  .snh-duo { grid-template-columns: minmax(0, 1fr); }
  .snh-sbs__foot { padding-inline: var(--sn-4); }
  .snh-search__box { padding-left: var(--sn-4); }
  .snh-search__go { padding-inline: var(--sn-5); }
}

@media (max-width: 575.98px) {
  .snh-hero .snh-kicker { font-size: 0.6875rem; letter-spacing: 0.04em; }
  .snh-cats,
  .snh-pairs,
  .snh-tools { grid-template-columns: minmax(0, 1fr); }
  .snh-cat { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--sn-4); }
  .snh-cat__logos { grid-row: 1 / 3; }
  .snh-cat__name { align-self: end; }
  .snh-stats > li { flex-direction: column; align-items: center; gap: 0; }
  .snh-fields > div { grid-template-columns: minmax(0, 1fr); }
  .snh-post { flex-direction: column; }
  .snh-post__media { width: auto; aspect-ratio: 16 / 9; }
  .snh-faq__item summary { padding-inline: var(--sn-4); }
  .snh-faq__a { padding-inline: var(--sn-4); }
  .snh-sbs__actions,
  .snh-sbs__actions .sn-btn { width: 100%; }
}
