/* Guides and comparisons (/family-command-center, /vs/*), on top of
   legal.css: the store badges, the closing call to action, the comparison
   table's own column, and the dated sources note under a comparison. */

.cta-card {
  margin-top: 42px;
  padding: 26px 26px 24px;
  border: 1px solid #DAD7FF;
  border-radius: 18px;
  background: linear-gradient(145deg, #FBFAFF 0%, #F2F0FF 100%);
}

.cta-card h2 { margin-bottom: 6px; }
.cta-card p { margin: 0 0 18px; }

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-row a { display: inline-flex; border-radius: 10px; }
.store-row a:focus-visible { outline: 3px solid #ACA6FF; outline-offset: 3px; }
.store-row img { display: block; width: auto; height: 46px; }

.compare thead td { background: var(--canvas); }
.compare th[scope="row"] {
  color: var(--ink);
  background: none;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.compare th + td { border-left: 1px solid var(--line); }
.compare th:nth-child(2),
.compare td:nth-child(2) { background: #F7F6FF; }

.facts-note {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.facts-note p,
.facts-note li { color: var(--muted); font-size: 13.5px; }

/* On a phone each row is a card: what's compared, then each app's answer
   under its own name (data-label). The header row stays for screen readers. */
@media (max-width: 620px) {
  .compare { display: block; overflow: visible; border: 0; border-radius: 0; }
  .compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .compare tbody { display: grid; gap: 10px; }
  .compare tr {
    display: block;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
  }
  .compare th[scope="row"],
  .compare td,
  .compare th + td,
  .compare td + td { display: block; padding: 0; border: 0; background: none; }
  .compare th[scope="row"] { margin-bottom: 8px; font-size: 15px; }
  .compare td + td { margin-top: 8px; }
  .compare td::before {
    content: attr(data-label);
    display: block;
    color: var(--indigo-ink);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .compare td:nth-child(2) { margin: 0 -8px; padding: 7px 8px; border-radius: 10px; }
  .compare td:nth-child(3)::before { color: var(--muted); }
  .cta-card { padding: 22px 18px 20px; }
  .store-row img { height: 42px; }
}
