/* Compare on a phone (2026-11-20). Loaded only while the window is 759 px wide or less (head.html).
   The question first: three short rows to pick what you want, and the answer under them. Then the proof as a
   scoreboard, one row per kind of tool, its score counting up and its eight dots (compare-phone.js); a tap opens a
   row to the eight things. Every tool, one card each, stays folded behind one button. */

.cmp-hero { padding-top: 92px; }
.cmp-hero .h1 { font-size: 2.6rem; line-height: 1; }

/* The three wishes: rows, not tall cards */
.wishes { margin-top: 24px; gap: 8px; }
.wish { min-height: 64px; padding: 12px 16px; border-radius: 16px; }
.wish q { font-size: 1.12rem; line-height: 1.25; }
.wish > span { margin-top: 3px; font-size: 14px; }

/* The answer */
.answers { margin-top: 18px; }
.answer { padding: 18px 16px; gap: 16px; }
.answer .who { font-size: 14px; }
.answer .h2 { font-size: 2rem; }
.ans-what { font-size: 16px; }
.answer .hand { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 16px; }
.answer .hand li { padding: 10px 11px; font-size: 14.5px; line-height: 1.25; gap: 9px; }
.hand-k { margin-top: 14px; font-size: 15.5px; }
.ans-clip .clip video { aspect-ratio: 1; object-fit: cover; }
.hand-key { margin-top: 12px; gap: 6px 16px; font-size: 14px; }

/* The proof: a scoreboard */
.cmp-proof .h2, .cmp-details .h2 { font-size: 2.3rem; }
.sb { display: none; }
.ph-score { display: grid; gap: 10px; margin-top: 24px; }
.ps { border-radius: 18px; background: var(--panel); box-shadow: var(--panel-edge); overflow: hidden; }
.ps.me { box-shadow: inset 0 0 0 1px rgba(48, 209, 88, 0.45), 0 0 40px -14px rgba(48, 209, 88, 0.45); background: linear-gradient(180deg, rgba(48, 209, 88, 0.07), rgba(48, 209, 88, 0.02)), var(--ink-1); }
.ps-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: center; width: 100%; padding: 16px; text-align: left; }
.ps-name b { display: block; font-size: 18px; font-weight: 640; letter-spacing: -0.015em; color: var(--text-1); }
.ps-name small { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.ps-n { text-align: right; }
.ps-n b { display: block; font-size: 36px; line-height: 1; font-weight: 660; font-stretch: 110%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--text-1); }
.ps.me .ps-n b { color: var(--ok); }
.ps-n small { display: block; margin-top: 3px; font-size: 13px; font-weight: 540; color: var(--text-2); white-space: nowrap; }
.ps-dots { display: flex; gap: 6px; }
.ps-price { justify-self: end; font-size: 14.5px; font-weight: 600; color: var(--body); white-space: nowrap; }
.ps.me .ps-price { color: #fff; }
.pd { flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3); }
.pd.yes { background: var(--ok); box-shadow: 0 0 9px rgba(48, 209, 88, 0.55); }
.pd.partly { background: linear-gradient(90deg, #c3c9d4 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px #c3c9d4; }
/* The dots come in one by one when the board arrives (40 ms apart, 360 ms out-expo). */
.ph-score .ps-dots .pd { opacity: 0; transform: scale(0.4); transition: opacity 360ms var(--ph-ease), transform 360ms var(--ph-ease); }
.ph-score.in .ps-dots .pd { opacity: 1; transform: none; }
.ph-score.in .ps-dots .pd:nth-child(2) { transition-delay: 40ms; } .ph-score.in .ps-dots .pd:nth-child(3) { transition-delay: 80ms; }
.ph-score.in .ps-dots .pd:nth-child(4) { transition-delay: 120ms; } .ph-score.in .ps-dots .pd:nth-child(5) { transition-delay: 160ms; }
.ph-score.in .ps-dots .pd:nth-child(6) { transition-delay: 200ms; } .ph-score.in .ps-dots .pd:nth-child(7) { transition-delay: 240ms; }
.ph-score.in .ps-dots .pd:nth-child(8) { transition-delay: 280ms; }
.ps-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease-in); }
.ps.open .ps-body { grid-template-rows: 1fr; transition: grid-template-rows 460ms var(--ph-ease); }
.ps-body > div { min-height: 0; overflow: hidden; }
.ps-body ul { margin: 0 16px 14px; border-top: 1px solid var(--line-1); }
.ps-body li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-1); font-size: 15.5px; line-height: 1.3; color: var(--text-1); }
.ps-body li:last-child { border-bottom: 0; }
.ps-body li small { font-size: 14px; font-weight: 560; color: var(--text-2); }
.ps-body li .pd.yes + span + small { color: var(--ok); }
.cmp-fair { font-size: 15px; }

/* Every tool, one card each (the desktop's table, folded) */
.details-head { gap: 16px; }
.facts-table td { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 7px 0; font-size: 15.5px; }
.facts-table td::before { font-size: 13px; }
.facts-table tbody th { font-size: 18px; }
.facts-table tbody th a { padding-block: 10px; background-origin: content-box; background-clip: content-box; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

@media (prefers-reduced-motion: reduce) { .ph-score .ps-dots .pd { opacity: 1; transform: none; transition: none; } .ps-body { transition: none; } }
