/* The long pages (src/article.js: the comparison, the alternatives, press,
   About), on top of privacy.css: tables, questions, facts, quotes and
   downloads. */

.policy section:first-child { margin-top: 0; }

/* The table scrolls sideways inside itself on a phone, never the page. */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.compare { width: 100%; min-width: 1100px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; }
/* Wide enough that no cell wraps to more than a few lines; the wrapper
   scrolls instead. */
.compare td { min-width: 9em; }
.compare td:nth-child(2), .compare td:last-child { min-width: 15em; }
.compare thead th { font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.compare tbody tr + tr > * { border-top: 1px solid var(--line); }
.compare tbody th { font: 500 18px/1.3 Playfair, Georgia, serif; color: var(--title); white-space: nowrap; }
.compare tr.ours > * { background: var(--chip-bg); }
.note { margin-top: 12px; font-size: 14px; color: var(--muted); }

.rated { margin-top: 8px; font-size: 14px; color: var(--muted); }

.faq { display: grid; gap: 24px; }
.faq dt { font: 500 21px/1.3 Playfair, Georgia, serif; color: var(--title); margin-bottom: 6px; }
.faq dd { margin: 0; }
.faq a, .policy .points a { color: var(--strong); }

/* Two apps side by side (alternatives.js): narrower, Yumnesia's column tinted. */
.compare.pair { min-width: 620px; }
.compare.pair td { min-width: 12em; }
.compare .ours { background: var(--chip-bg); }
.compare thead td { border-bottom: 1px solid var(--line); }

/* The press kit's facts: label beside value, one line each. */
.facts { border: 1px solid var(--line); border-radius: 24px; background: var(--card); overflow: hidden; }
.facts > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 4px 24px; padding: 14px 24px; }
.facts > div + div { border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--title); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts a, .story a, .downloads a { color: var(--strong); }

/* Text a journalist can copy as is. */
.copy { padding: 20px 24px; border-left: 3px solid var(--strong); background: var(--card); border-radius: 0 16px 16px 0; }

/* The maker's own words. */
.story { margin: 0; padding: 28px 28px 24px; border-radius: 24px; background: var(--header); font: 500 clamp(19px, 1.8vw, 22px)/1.5 Playfair, Georgia, serif; color: var(--title); }
.story p + p { margin-top: 14px; }
.story footer { display: block; margin-top: 16px; padding: 0; font: 600 15px/1.4 Comme, system-ui, sans-serif; color: var(--muted); }

.downloads { margin-top: 18px; }
.downloads li { padding: 16px 24px; }
.downloads a { font-weight: 600; }
.policy h3 { margin: 32px 0 16px; font-size: 22px; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.shots img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }

footer .foot-links { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; }
footer .foot-links a { font-weight: 600; text-decoration: none; }
footer .foot-links a:hover { color: var(--strong); }

@media (max-width: 560px) {
  .facts > div { grid-template-columns: minmax(0, 1fr); padding: 12px 18px; }
}

@media print {
  .table-wrap { overflow: visible; border-radius: 0; }
  .compare { min-width: 0; }
}
