/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────────
   compare-smooth.css — the feature matrix of compare.html, made smooth. Linked by that page only; everything is under
   .cmp-wrap / .cmp-table, so nothing else can be reached. The data of the table is not touched.
   - the table sits in one frosted glass card with soft corners and a soft shadow (no flat header band, no hard rules)
   - the Antares column is a raised glass strip, one piece from the header to the last row
   - the marks are DRAWN (a disc with a tick or a cross; a "partly" is a cross too) instead of font characters; the characters stay in the
     page, hidden, for screen readers; the notes that were written under them are not shown (kept for screen readers)
   - the rows light up under the pointer (there is no reveal effect: the table is simply there)
   - on a narrow screen the table scrolls sideways; the name of the capability and the Antares column are frozen on the left
   One easing curve for everything. No motion for a visitor who asks for less.
   ────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.cmp-wrap {
  --ease: cubic-bezier(.22, 1, .36, 1);
  position: relative;
  overflow-x: auto;
  overflow-y: hidden; /* no vertical scrollbar, whatever grows a pixel inside (a mark that scales under the pointer) */
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .26));
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: 0 26px 64px rgba(8, 80, 70, .12), inset 0 1px 0 rgba(255, 255, 255, .65);
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 80, 70, .25) transparent;
}
.cmp-wrap .cmp-table {
  width: 100%;
  min-width: 860px;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  font-size: 13px;
  /* css/mobile-fixes.css turns every table of <main> into a block that scrolls by itself (display:block; overflow-x:auto) on a phone. Here the wrapper
     is what scrolls, and a table that scrolls too leaves the frozen columns nothing to stick to: they would move with the rest. */
  display: table;
  max-width: none;
  overflow: visible;
}
.cmp-wrap .cmp-table thead,
.cmp-wrap .cmp-table tbody,
.cmp-wrap .cmp-table tr { width: auto; min-width: 0; }

/* the header: no flat band, just the names, with a soft line under them */
.cmp-wrap .cmp-table thead th {
  padding: 20px 14px 16px;
  background: transparent;
  border: 0;
  box-shadow: inset 0 -1px 0 rgba(14, 80, 70, .1);
  color: #3a665d;
  font-size: 13px;
  letter-spacing: .2em;
  vertical-align: middle;
}
.cmp-wrap .cmp-table thead th:first-child,
.cmp-wrap .cmp-table thead th:last-child,
.cmp-wrap .cmp-table tbody tr:last-child td:first-child,
.cmp-wrap .cmp-table tbody tr:last-child td:last-child { border-radius: 0; }
.cmp-wrap .cmp-table thead th.tool { min-width: 104px; }

/* the Antares column: one raised strip of glass, straight from the top edge of the card to its bottom edge (no rounded caps: it runs into the edges) */
.cmp-wrap .cmp-table thead th.tool.us,
.cmp-wrap .cmp-table td.cell.us {
  background: linear-gradient(180deg, rgba(255, 255, 255, .46), rgba(255, 255, 255, .3));
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .7), inset -1px 0 0 rgba(255, 255, 255, .7); /* its two edges only: no line between the rows of this column, it is one piece */
}
.cmp-wrap .cmp-table thead th.tool.us {
  color: #0a8c76;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .7), inset -1px 0 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(14, 80, 70, .1);
  text-shadow: 0 1px 1px rgba(255, 255, 255, .7), 0 0 26px rgba(11, 150, 128, .28);
}

/* the rows: a hairline between them, a light that follows the pointer */
.cmp-wrap .cmp-table tbody td {
  padding: 15px 14px;
  border: 0;
  box-shadow: inset 0 -1px 0 rgba(14, 80, 70, .07);
  transition: background-color .35s var(--ease);
}
.cmp-wrap .cmp-table tbody tr:last-child td { box-shadow: none; }
.cmp-wrap .cmp-table tbody tr:hover { background: transparent; }
.cmp-wrap .cmp-table tbody tr:hover td { background-color: rgba(255, 255, 255, .3); }
.cmp-wrap .cmp-table tbody tr:hover td.cell.us { background: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .46)); }

/* the capability: name in Bebas, the explanation in Oswald, in lower case */
.cmp-wrap .cmp-table .feature { width: 34%; min-width: 230px; color: #1d4a43; font-size: 17px; letter-spacing: .04em; }
.cmp-wrap .cmp-table .feature small {
  margin-top: 4px;
  color: #4f7d74;
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 300;
  letter-spacing: .01em;
  line-height: 1.4;
}
.cmp-wrap .cmp-table .cell { text-align: center; font-size: 19px; color: #35655d; }
.cmp-wrap .cmp-table td.cell.us { color: #0a8c76; }

/* the marks are drawn: a disc, and the sign in it. The character stays, hidden, for screen readers. */
.cmp-wrap .yes, .cmp-wrap .no, .cmp-wrap .partial {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.cmp-wrap .yes::before, .cmp-wrap .no::before, .cmp-wrap .partial::before {
  content: "";
  position: absolute; /* on its own, centred: the hidden character of the mark must not take part in the layout */
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.cmp-wrap .yes { color: #0a8c76; background: rgba(12, 168, 140, .17); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.8 8.3l2.7 2.7 5.7-6' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* a "partly" is shown as a cross too, the same as a "no" (the owner, 2026-10-21): the table still says which is which, for screen readers */
.cmp-wrap .no, .cmp-wrap .partial { color: rgba(79, 125, 116, .7); background: rgba(14, 80, 70, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 4.6l6.8 6.8M11.4 4.6l-6.8 6.8' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
/* every circle of the matrix is the same, the Antares column included: one disc, no ring around it */
.cmp-wrap tr:hover .yes { transform: scale(1.08); }

/* the notes under a mark ("via GoPlus", "single source"...) are not shown; they stay in the page, visually hidden, for screen readers */
.cmp-wrap .note {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* narrow screens: the table scrolls sideways; the capability AND the Antares column are frozen on the left and stay in place (they need an opaque ground,
   or the columns that scroll under them would show through) */
@media (max-width: 980px) {
  .cmp-wrap { --feat-w: 190px; --us-w: 104px; --frozen: rgb(214, 245, 233); border-radius: 18px; }
  .cmp-wrap .cmp-table { min-width: 780px; font-size: 13px; }
  .cmp-wrap .cmp-table thead th { padding: 16px 10px 12px; font-size: 12px; }
  .cmp-wrap .cmp-table tbody td { padding: 12px 10px; }
  .cmp-wrap .cmp-table .cell { font-size: 17px; }
  .cmp-wrap .cmp-table .feature { width: var(--feat-w); min-width: var(--feat-w); max-width: var(--feat-w); font-size: 16px; position: sticky; left: 0; z-index: 2; background: var(--frozen); box-shadow: inset 0 -1px 0 rgba(14, 80, 70, .07); }
  .cmp-wrap .cmp-table thead th.feature { z-index: 3; background: var(--frozen); } /* the header cell has its own transparent ground above: it needs the opaque one too */
  .cmp-wrap .cmp-table tbody tr:hover td.feature { background-color: var(--frozen); }
  .cmp-wrap .cmp-table thead th.tool.us,
  .cmp-wrap .cmp-table td.cell.us {
    position: sticky;
    left: var(--feat-w);
    z-index: 2;
    width: var(--us-w);
    min-width: var(--us-w);
    background: linear-gradient(180deg, rgba(255, 255, 255, .46), rgba(255, 255, 255, .3)), var(--frozen);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, .7), inset -1px 0 0 rgba(255, 255, 255, .7), 8px 0 14px -10px rgba(8, 80, 70, .25); /* the soft edge on the right of the frozen pair */
  }
  .cmp-wrap .cmp-table thead th.tool.us {
    z-index: 3;
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, .7), inset -1px 0 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(14, 80, 70, .1), 8px 0 14px -10px rgba(8, 80, 70, .25);
  }
  .cmp-wrap .cmp-table tbody tr:hover td.cell.us { background: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .46)), var(--frozen); }
}
/* a phone: the two frozen columns must leave room for the others, so they are narrower and their text is smaller */
@media (max-width: 760px) {
  .cmp-wrap { --feat-w: 124px; --us-w: 86px; }
  .cmp-wrap .cmp-table { min-width: 730px; }
  .cmp-wrap .cmp-table thead th { padding: 14px 6px 10px; font-size: 11px; letter-spacing: .12em; }
  .cmp-wrap .cmp-table tbody td { padding: 10px 6px; }
  .cmp-wrap .cmp-table .feature { font-size: 14px; letter-spacing: .02em; }
  .cmp-wrap .cmp-table .feature small { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .cmp-wrap .yes, .cmp-wrap .no, .cmp-wrap .partial, .cmp-wrap .cmp-table tbody td { transition: none; }
  .cmp-wrap tr:hover .yes { transform: none; }
}
