/* Memfind site: one column, system font, the app's colors (docs/brand/README.md). */
:root {
  --text: #111111; --muted: #5E5A52; --accent: #111111; --thread: #D93A26; --bg: #F4F1EA; --card: #FFFFFF;
  --line: rgba(17, 17, 17, 0.10);
}
@media (prefers-color-scheme: dark) {
  :root { --text: #F4F1EA; --muted: #A9A49A; --accent: #F4F1EA; --bg: #111111; --card: #1B1B1B; --line: rgba(244, 241, 234, 0.12); }
  .mark-light { display: none; }
}
@media (prefers-color-scheme: light) { .mark-dark { display: none; } }
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 680px; margin: 0 auto; padding: 48px 20px 64px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
header a { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
header img { width: 40px; height: 40px; }
header span { font-family: "New York", ui-serif, Georgia, serif; font-size: 24px; font-weight: 600; }
h1 { font-family: "New York", ui-serif, Georgia, serif; font-weight: 500; font-size: 42px; line-height: 1.12; margin: 0 0 16px; }
h2 { font-family: "New York", ui-serif, Georgia, serif; font-weight: 600; font-size: 22px; margin: 36px 0 8px; }
p, li { color: var(--muted); }
strong { color: var(--text); }
a { color: var(--accent); text-decoration-color: var(--thread); text-underline-offset: 3px; }
.lead { font-size: 20px; margin: 0 0 28px; }
.cards { display: grid; gap: 12px; margin: 32px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.card h3 { margin: 0 0 4px; font-size: 17px; }
.card p { margin: 0; }
.button {
  display: inline-block; background: var(--accent); color: var(--bg); font-weight: 600; text-decoration: none;
  padding: 14px 22px; border-radius: 14px;
}
.button.secondary { background: transparent; color: var(--text); border: 1px solid var(--line); }
footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer a { margin-right: 16px; }
.store-badge { display: inline-block; }
.store-badge img { display: block; height: 50px; width: auto; }

/* Comparison table: Memfind's column sits on a card; checks are ink, crosses muted, no red. */
.compare { margin: 48px 0 32px; }
.table-wrap { margin: 20px -4px 0; overflow-x: auto; }
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.35; }
.compare th, .compare td { padding: 12px 8px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 0; padding-bottom: 14px; vertical-align: bottom; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--text); width: 40%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .us { background: var(--card); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.compare thead .us { color: var(--text); border-top: 1px solid var(--line); border-radius: 16px 16px 0 0; padding-top: 16px; }
.compare thead .us img:not([hidden]) { display: block; width: 36px; height: 36px; margin: 0 auto 6px; }
.compare tbody tr:last-child .us { border-bottom: 1px solid var(--line); border-radius: 0 0 16px 16px; }
.compare small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.compare b { font-weight: 600; color: var(--text); }
.compare i { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; position: relative; }
.compare i.y { background: var(--text); }
.compare i.y::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.compare i.n { border: 1.5px solid var(--line); }
.compare i.n::before, .compare i.n::after { content: ""; position: absolute; left: 5px; top: 9.5px; width: 9px; height: 1.5px; background: var(--muted); transform: rotate(45deg); }
.compare i.n::after { transform: rotate(-45deg); }
.compare i.p { border: 1.5px solid var(--text); background: linear-gradient(90deg, var(--text) 50%, transparent 50%); }
.compare .note { font-size: 13px; margin-top: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 480px) {
  .compare table { font-size: 13px; }
  .compare th, .compare td { padding: 10px 4px; }
  .compare thead th { font-size: 12px; }
  .compare thead .us img { width: 28px; height: 28px; }
}
@media (prefers-color-scheme: dark) { .compare thead .us img.mark-light { display: none; } }
@media (prefers-color-scheme: light) { .compare thead .us img.mark-dark { display: none; } }

footer .badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; }
footer .badges > div { margin-top: 0 !important; }
footer .badges img { height: 48px !important; width: auto !important; }
