/* familyphotoapps.com — no third-party requests: system fonts only. */
:root {
  --paper: #fbfbf9;
  --paper-2: #f0f1ed;
  --ink: #1a1d24;
  --ink-2: #555a66;
  --rule: #d8dbd5;
  --accent: #1f3a5f;
  --accent-ink: #17304e;
  --good-bg: #e3f1e6; --good-ink: #1d5c2e;
  --bad-bg: #f7e3df;  --bad-ink: #8a2f22;
  --partly-bg: #f7efd9; --partly-ink: #7a5a10;
  --note-bg: #f6f1e3; --note-rule: #d9c489;
  --max: 1080px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #131720; --paper-2: #1b2130; --ink: #e6e8ee; --ink-2: #aeb4c2; --rule: #333a4a;
    --accent: #8fb3e6; --accent-ink: #a9c4ee;
    --good-bg: #1d3a26; --good-ink: #b8e6c3; --bad-bg: #43231f; --bad-ink: #f3b8ad;
    --partly-bg: #3d3316; --partly-ink: #f0d58a; --note-bg: #2b2716; --note-rule: #7a6a2a;
  }
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.55; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: .5rem 1rem; }
.skip:focus { left: .5rem; z-index: 10; }

.site-header { max-width: var(--max); margin: 0 auto; padding: 1.1rem 1.25rem .6rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem 1.5rem; border-bottom: 1px solid var(--rule); }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.brand-mark { width: 14px; height: 14px; border-radius: 3px; background: var(--accent); display: inline-block; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin-left: auto; font-size: .95rem; }
.site-header nav a { text-decoration: none; color: var(--ink-2); }
.site-header nav a:hover { color: var(--accent); text-decoration: underline; }
/* "Dedicated apps only": a filter beside every table, card grid and ranking that includes
   one of the services most families already have. It hides; it never re-scores (dedicated.js). */
.dedicated-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; margin: 1rem 0 .6rem; font-size: .88rem; color: var(--ink-2); max-width: none; }
.dedicated-filter button { font: inherit; font-size: .85rem; padding: .25em .85em; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink-2); cursor: pointer; }
.dedicated-filter button:hover { border-color: var(--accent); color: var(--accent); }
.dedicated-filter button[aria-pressed="true"] { border-color: var(--accent); background: var(--paper-2); color: var(--accent-ink); font-weight: 600; }
.df-note { display: none; flex-basis: 100%; font-size: .85rem; }
html.dedicated .df-note { display: block; }
html.dedicated .col-have, html.dedicated .card-have, html.dedicated .rank-have, html.dedicated .rank-item.rank-have, html.dedicated .rank-sep.sep-hide { display: none; }
/* The Apps item opens a list of every app page. <details> works with no script, on touch and keyboard. */
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; color: var(--ink-2); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: " ▾"; font-size: .8em; }
.menu summary:hover, .menu[open] summary { color: var(--accent); }
.menu ul { position: absolute; left: 0; top: 1.7rem; z-index: 20; margin: 0; padding: .4rem 0; list-style: none; min-width: 15rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, .08); }
.menu li { max-width: none; }
.menu li a { display: block; padding: .4rem .9rem; color: var(--ink); font-size: .95rem; }
.menu li a:hover { background: var(--paper-2); text-decoration: none; }
.menu li:first-child a { font-weight: 600; border-bottom: 1px solid var(--rule); margin-bottom: .3rem; }
@media (max-width: 640px) { .menu ul { position: static; box-shadow: none; border: 0; padding: .2rem 0 0 .4rem; min-width: 0; } }

main { max-width: var(--max); margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
/* Prose stays at reading width; tables, cards and fact lists use the full container. */
.page { max-width: none; }
.page-head, h1, h2, h3 { max-width: 46rem; }
.crumbs { font-size: .85rem; color: var(--ink-2); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-2); }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--accent-ink); margin: 0 0 .4rem; font-weight: 600; }
h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.12; margin: 0 0 .6rem; letter-spacing: -.01em; }
h2 { font-family: var(--serif); font-size: 1.5rem; margin: 2.2rem 0 .7rem; line-height: 1.2; }
h3 { font-size: 1.1rem; margin: 1.6rem 0 .4rem; }
h4 { font-size: 1rem; margin: 1.1rem 0 .2rem; max-width: 46rem; }
.lede { font-size: 1.15rem; color: var(--ink-2); margin: 0 0 .8rem; }
.verdict { font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; color: var(--ink); margin: -.4rem 0 .7rem; }
.apps .lede { font-size: 1.05rem; }
.meta { font-size: .85rem; color: var(--ink-2); margin: 0; }
.page-head { margin-bottom: 1.4rem; }
p, li { max-width: 46rem; }
.body img { max-width: 100%; }
code { font-family: var(--mono); font-size: .9em; background: var(--paper-2); padding: .05em .3em; border-radius: 3px; }
blockquote { margin: .8rem 0; padding: .1rem 0 .1rem 1rem; border-left: 3px solid var(--rule); color: var(--ink-2); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }

.owned-mark { font-size: .8em; margin-left: .05em; color: var(--accent-ink); }
.table-note { font-size: .88rem; margin: -.9rem 0 1.8rem; max-width: 46rem; }
.jump { display: inline-block; margin: .2rem 0 .6rem; padding: .4em 1em; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent-ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.jump:hover { background: var(--paper-2); }
/* The answer first: the ranking as one line before the working, on every ranked page. */
.in-short { margin: 0 0 1rem; padding: .7rem 1rem; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--paper-2); font-size: 1.02rem; max-width: 46rem; }
.see-also { margin: 0 0 1rem; font-size: .95rem; }

/* Comparison tables */
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); max-width: none; }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .9rem; }
table.compare caption { caption-side: top; text-align: left; padding: .5rem .7rem; font-size: .85rem; color: var(--ink-2); background: var(--paper-2); border-bottom: 1px solid var(--rule); }
table.compare th, table.compare td { padding: .55rem .7rem; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; }
table.compare thead th { background: var(--paper-2); font-family: var(--serif); font-size: .95rem; position: sticky; top: 0; }
table.compare tbody th { font-weight: 600; width: 13rem; background: var(--paper-2); position: sticky; left: 0; }
table.compare td { min-width: 12rem; }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: 0; }
.mark { display: inline-block; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: .05em .45em; border-radius: 4px; margin-right: .15rem; }
.m-good .mark { background: var(--good-bg); color: var(--good-ink); }
.m-bad .mark { background: var(--bad-bg); color: var(--bad-ink); }
.m-partly .mark { background: var(--partly-bg); color: var(--partly-ink); }
.m-neutral .mark { background: var(--paper-2); color: var(--ink-2); }
.ref { font-size: .72rem; text-decoration: none; margin-left: .15rem; color: var(--accent-ink); }
.cell-text { }

/* Markdown tables (guides) */
.body table:not(.compare) { border-collapse: collapse; margin: 1rem 0; font-size: .92rem; }
.body table:not(.compare) th, .body table:not(.compare) td { border: 1px solid var(--rule); padding: .45rem .6rem; text-align: left; vertical-align: top; }
.body table:not(.compare) th { background: var(--paper-2); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin: 1.2rem 0; max-width: none; }
/* The whole card is the link: the title's anchor is stretched over the card. */
.card { position: relative; border: 1px solid var(--rule); border-radius: 10px; padding: 1rem 1.1rem; background: var(--paper); transition: border-color .15s; }
.card:hover { border-color: var(--accent); }
.card h3 { margin: 0 0 .3rem; font-family: var(--serif); font-size: 1.2rem; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.card:hover h3 a { color: var(--accent); }
.card-price { color: var(--ink-2); font-size: .9rem; margin: 0 0 .5rem; }
.card p { font-size: .95rem; margin: .3rem 0; }
.card-verdict { font-size: .9rem; }

/* Sources */
.sources { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: .88rem; }
.sources ol { padding-left: 1.4rem; }
.sources li { margin-bottom: .55rem; max-width: 46rem; }
.src-app { font-weight: 600; }
.src-date { color: var(--ink-2); }
.src-quote { font-size: .86rem; margin: .25rem 0 0; border-left-color: var(--accent); }

/* FAQ */
.faq h3 { font-family: var(--serif); font-size: 1.15rem; margin-top: 1.5rem; }

/* Home */
.hero { padding: 1.5rem 0 1rem; max-width: 46rem; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); }
.hero .lede { font-size: 1.2rem; }
.start-here-lead { margin: 1.4rem 0 .5rem; font-size: 1.05rem; }
.start-here { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 0 0 2rem; max-width: none; }
.start-here a { display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: 10px; padding: .8rem 1rem; text-decoration: none; color: var(--ink); background: var(--paper-2); transition: border-color .15s; }
.start-here a:hover { border-color: var(--accent); }
.start-here a strong { display: block; font-family: var(--serif); font-size: 1.05rem; margin-bottom: .2rem; color: var(--accent-ink); }
.start-here a span { font-size: .9rem; color: var(--ink-2); }
.start-here a em { display: block; margin-top: auto; padding-top: .5rem; font-style: normal; font-size: .85rem; font-weight: 600; color: var(--accent-ink); }
.start-here a:hover em { text-decoration: underline; }
.jumps { margin: -1.1rem 0 2rem; font-size: .95rem; color: var(--ink-2); max-width: none; }
.jumps .jump { margin: .2rem .3rem .2rem 0; }
.criteria-list { columns: 2; column-gap: 2rem; max-width: none; font-size: .95rem; }
@media (max-width: 640px) { .criteria-list { columns: 1; } .start-here { grid-template-columns: 1fr; } html { font-size: 16px; } }

.site-footer { max-width: var(--max); margin: 2rem auto 0; padding: 1.5rem 1.25rem 3rem; border-top: 1px solid var(--rule); font-size: .85rem; color: var(--ink-2); }
.site-footer p { max-width: 60rem; }
.foot-disclosure { color: var(--ink); }

/* Per-app fact list */
.facts { margin: 1rem 0 1.5rem; padding: 0; max-width: none; }
.facts .fact { display: grid; grid-template-columns: 15rem 1fr; gap: .3rem 1.2rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 600; margin: 0; }
.facts dd { margin: 0; max-width: 46rem; }
@media (max-width: 640px) { .facts .fact { grid-template-columns: 1fr; } }

/* Find-your-app tool (/find/) */
.matcher { max-width: none; margin: 1rem 0 1.5rem; padding: .6rem 1.1rem .9rem; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper-2); }
.matcher-key { font-size: .9rem; color: var(--ink-2); margin: .4rem 0 .6rem; max-width: none; }
.matcher .q { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); gap: .2rem 1.5rem; align-items: center; padding: .6rem 0; border-top: 1px solid var(--rule); }
.matcher label strong { display: block; font-size: 1rem; }
.matcher label span { display: block; font-size: .86rem; color: var(--ink-2); }
.q-ctl { display: flex; align-items: center; gap: .8rem; }
.q-ctl input[type=range] { flex: 1; min-width: 8rem; accent-color: var(--accent); margin: 0; }
.q-ctl output { width: 7rem; font-size: .85rem; font-weight: 600; color: var(--ink); }
.q-ctl output.l0 { color: var(--ink-2); font-weight: 400; }
.q-ctl output.l3 { color: var(--accent-ink); text-transform: uppercase; letter-spacing: .04em; font-size: .78rem; }
.q-actions { margin: .8rem 0 0; }
.start-here.best-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .start-here.best-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .start-here.best-grid { grid-template-columns: 1fr; } }
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .55rem; padding: .2rem 0 .7rem; }
.presets-label { font-size: .86rem; color: var(--ink-2); margin-right: .2rem; }
.presets button { font: inherit; font-size: .88rem; padding: .3em .85em; border: 1px solid var(--accent); border-radius: 999px; background: var(--paper); color: var(--accent-ink); cursor: pointer; }
.presets button:hover { background: var(--paper-2); }
.presets button[aria-pressed="true"] { background: var(--accent); color: var(--paper); }
.presets-note { flex-basis: 100%; font-size: .82rem; color: var(--ink-2); }
.matcher fieldset.q { border: 0; padding: .6rem 0 .3rem; margin: 0; min-width: 0; border-top: 1px solid var(--rule); }
.matcher legend { padding: 0; float: left; width: 100%; }
.matcher legend strong { display: block; font-size: 1rem; }
.matcher legend span { display: block; font-size: .86rem; color: var(--ink-2); }
.phone-toggle { clear: both; gap: 1.2rem; }
.phone-toggle label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; cursor: pointer; }
.phone-toggle input { accent-color: var(--accent); margin: 0; }
.q-actions button { font: inherit; font-size: .88rem; padding: .3em .9em; margin-right: .5rem; border: 1px solid var(--accent); border-radius: 999px; background: var(--paper); color: var(--accent-ink); cursor: pointer; }
.q-actions button:hover { background: var(--paper-2); }
@media (max-width: 640px) { .matcher .q { grid-template-columns: 1fr; gap: .3rem; } }
.results { max-width: none; }
.results .top { font-weight: 600; margin: 0 0 .5rem; }
.results .table-note { margin-top: .6rem; }
.ranked { list-style: none; padding: 0; margin: .6rem 0 1.4rem; max-width: none; counter-reset: rank; }
.ranked .app { counter-increment: rank; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .25rem 1rem; padding: .9rem 0; border-top: 1px solid var(--rule); max-width: none; }
.ranked .app::before { content: counter(rank); grid-row: 1 / span 5; font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; color: var(--ink-2); }
.app-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .9rem; max-width: none; }
.app-head h3 { margin: 0; font-family: var(--serif); font-size: 1.2rem; }
.app-head h3 a { text-decoration: none; color: var(--ink); }
.app-head h3 a:hover { color: var(--accent); }
.pct { font-weight: 700; color: var(--accent-ink); }
.pct i { font-weight: 400; font-style: normal; color: var(--ink-2); }
.bar { height: 6px; max-width: 22rem; border-radius: 3px; background: var(--rule); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s; }
.misses { font-size: .9rem; margin: 0; max-width: none; }
.chip { display: inline-block; padding: .05em .5em; border-radius: 4px; background: var(--bad-bg); color: var(--bad-ink); font-size: .85rem; }
.misses.partly .chip { background: var(--partly-bg); color: var(--partly-ink); }
.chip-must { outline: 1.5px solid currentColor; }
.ranked details { font-size: .9rem; max-width: 46rem; }
.ranked summary { cursor: pointer; color: var(--accent-ink); }
.ranked details ul { list-style: none; padding: 0; margin: .4rem 0 0; }
.ranked details li { margin: .25rem 0; max-width: none; }
#missed h3 { margin-top: 1.6rem; }
/* Where this app ranks (end of each app page): one tile per best-for page, the app's position
   in that page's own order. No boxes — a coloured rule, a label, and the number large. */
.ranks { margin: .2rem 0 1.6rem; padding-top: .9rem; border-top: 1px solid var(--rule); }
.ranks h2 { font-size: 1.15rem; margin: 0 0 .15rem; }
.ranks .ranks-lead { color: var(--ink-2); font-size: .9rem; margin: 0 0 .8rem; }
.ranks-next { margin-top: 2.5rem; }
.tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: .7rem; margin: 0 0 1.1rem; max-width: none; }
.tile { display: flex; flex-direction: column; min-width: 0; padding: .55rem .15rem .35rem; border-top: 3px solid var(--ink-2); color: var(--ink); text-decoration: none; }
.tile-label { font-size: .98rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.tile-rank { display: block; font-family: var(--serif); font-size: 3.1rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; margin: .3rem 0 .15rem; color: var(--ink); }
.tile-rank small { display: block; font-family: var(--sans); font-size: .82rem; font-weight: 400; letter-spacing: 0; margin-top: .2rem; color: var(--ink-2); }
.tile-good { border-top-color: var(--good-ink); } .tile-good .tile-rank { color: var(--good-ink); }
.tile-bad { border-top-color: var(--bad-ink); } .tile-bad .tile-rank { color: var(--bad-ink); }
.tile-none { border-top-color: var(--rule); } .tile-none .tile-rank { font-size: 1.15rem; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin: .55rem 0 .2rem; }
.tile-why { font-size: .76rem; line-height: 1.3; color: var(--ink-2); }
.tile em { margin-top: auto; padding-top: .5rem; font-style: normal; font-size: .8rem; font-weight: 600; color: var(--accent-ink); }
.tile:hover .tile-label { color: var(--accent); } .tile:hover em { text-decoration: underline; }
.ranks-more { margin: -.2rem 0 .4rem; }
.ranks-top { margin: 0 0 1.5rem; }
.facts .fact-short { display: block; font-weight: 600; }
.facts .fact-text { display: block; margin-top: .2rem; font-size: .92rem; color: var(--ink-2); }
.app-jumps { margin: .1rem 0 1.4rem; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* "Read next" at the end of guides, head-to-heads and best-for pages; the home page's index of them */
.related { margin: 2.6rem 0 .4rem; padding-top: 1rem; border-top: 1px solid var(--rule); max-width: none; }
.related h2 { font-size: 1.15rem; margin: 0 0 .8rem; }
.related-row { margin: 0 0 1rem; max-width: none; }
.related-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 .3rem; }
.related-jumps { margin: 0; }
.related-list { margin: 0; font-size: .95rem; line-height: 1.8; max-width: none; }
.explore { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem 2rem; margin: .6rem 0 2rem; max-width: none; }
.faq-all { margin: 1.2rem 0 0; font-size: .92rem; }
@media (max-width: 960px) { .explore { grid-template-columns: 1fr 1fr; } }
.explore h3 { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 .4rem; }
.explore ul { margin: 0; padding-left: 1.1rem; font-size: .95rem; }
.explore li { margin: .15rem 0; }
@media (max-width: 640px) { .explore { grid-template-columns: 1fr; } }
