/* comparison article only; shared rules are in base.css and stores.css */
:root {
  --good: #0f7b4f; --bad: #b3261e; --mid: #8a6d00;
  --tick: #9aa0ad; --pts: #d27b52; --time: #5b8fd9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --good: #5fd39a; --bad: #ff8a80; --mid: #e3c35a;
  }
}
html { scroll-behavior: smooth; }
body { line-height: 1.65; font-size: 1.0625rem; }
header.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--border); }
header.top .wrap { display: flex; align-items: center; gap: 10px; height: 60px; font-weight: 700; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.getapp { margin-left: auto; padding: 8px 16px; border-radius: 999px; background: var(--primary); color: var(--on-primary); text-decoration: none; font-size: .92rem; }

article { max-width: 780px; margin: 0 auto; padding: 24px 20px 48px; }
.crumbs { font-size: .88rem; color: var(--muted); margin: 8px 0 20px; }
.crumbs a { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--primary); margin: 0 0 8px; }
h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 3.4vw, 1.85rem); line-height: 1.25; margin: 56px 0 12px; letter-spacing: -.01em; scroll-margin-top: 76px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin: 40px 0 8px; scroll-margin-top: 76px; }
.lead { font-size: 1.2rem; color: var(--fg); margin: 0 0 28px; }
.byline { font-size: .9rem; color: var(--muted); margin: 12px 0; }
.note { font-size: .9rem; color: var(--muted); }

.answer { background: var(--soft); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 12px; padding: 18px 22px; margin: 0 0 28px; }
.answer h2 { margin: 0 0 14px; text-align: center; color: var(--primary); font-size: 1.6rem; font-weight: 800; }
.answer p { margin: 0 0 10px; }
.answer ul { margin: 0; padding-left: 20px; }
.answer li { margin: 4px 0; }

.toc { border: 1px solid var(--border); border-radius: 12px; background: var(--card); padding: 14px 22px; }
.toc b { display: block; margin-bottom: 4px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: .95rem; }
.toc li { break-inside: avoid; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

.disclose { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 12px 0; margin: 24px 0 0; }

/* three ways to measure: same two vacuuming entries as ticks, points and time */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.way { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.way.win { border: 2px solid var(--time); }
.way h3 { margin: 0 0 4px; font-size: 1.05rem; }
.way p { margin: 0 0 10px; font-size: .92rem; color: var(--muted); }
.way .row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 8px; font-size: .85rem; margin: 6px 0; }
.way .bar { height: 10px; border-radius: 5px; background: var(--border); overflow: hidden; }
.way .bar i { display: block; height: 100%; border-radius: 5px; }
.way .res { font-weight: 700; font-size: .9rem; margin-top: 10px; }
@media (max-width: 700px) { .ways { grid-template-columns: 1fr; } }

/* wider than the text column on big screens, so all columns fit without scrolling; scrolls inside itself on phones */
.tablewrap { width: min(1000px, calc(100vw - 40px)); margin: 20px 0 8px 50%; transform: translateX(-50%); overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--card); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .9rem; line-height: 1.4; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
thead th { background: var(--soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
tbody th { position: sticky; left: 0; background: var(--card); white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tr.ours th, tr.ours td { background: color-mix(in srgb, var(--time) 12%, var(--card)); }
.y { color: var(--good); font-weight: 700; }
.n { color: var(--bad); font-weight: 700; }
.p { color: var(--mid); font-weight: 700; }
.chip { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: #fff; white-space: nowrap; }
.chip.time { background: var(--time); } .chip.pts { background: var(--pts); } .chip.tick { background: var(--tick); color: #1b1b21; } .chip.val { background: #8e6fc7; }

.app { border: 1px solid var(--border); border-radius: 16px; background: var(--card); padding: 4px 22px 20px; margin: 20px 0; }
.app.ours { border: 2px solid var(--time); }
.app h3 { margin-top: 18px; }
.badge { display: inline-block; margin: 14px 0 0; padding: 2px 10px; border-radius: 999px; background: var(--time); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 12px 0; font-size: .93rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
/* too narrow for the labels and their values side by side (German ones, folded phones): each label above its value */
@media (max-width: 340px) {
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .facts dd { margin-bottom: 8px; }
}
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: .95rem; }
.pc ul { margin: 0; padding-left: 0; list-style: none; }
.pc li { position: relative; padding-left: 22px; margin: 4px 0; }
.pc .pro li::before { content: "+"; position: absolute; left: 4px; color: var(--good); font-weight: 800; }
.pc .con li::before { content: "\2212"; position: absolute; left: 4px; color: var(--bad); font-weight: 800; }
@media (max-width: 600px) { .pc { grid-template-columns: 1fr; } }
.vs { margin: 12px 0 0; font-size: .95rem; }

details { border-bottom: 1px solid var(--border); padding: 12px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; }

.cta { text-align: center; background: var(--soft); border: 1px solid var(--border); border-radius: 16px; padding: 28px 20px; margin: 48px 0 0; }
.cta h2 { margin: 0 0 8px; }
.stores { justify-content: center; margin: 20px 0 6px; }
.store { text-align: left; }
.sources { font-size: .88rem; color: var(--muted); }
.sources li { margin: 3px 0; overflow-wrap: anywhere; }

