/* socialtested v2: consumer test lab. White pages, mint bands that match the artwork, one green for "tested", amber for "best value", red only for real problems. */
:root {
  --ink: #10201b;
  --ink2: #45534e;
  --ink3: #76827d;
  --line: #e1e8e4;
  --line2: #edf2ef;
  --bg: #ffffff;
  --soft: #f5f8f6;
  --mint: #eaf5ef;
  --green: #0f7b5f;
  --green-dark: #0a5a45;
  --amber: #f4b740;
  --amber-soft: #fff4d6;
  --red: #c8442f;
  --red-soft: #fcebe7;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-color: rgba(15,123,95,.45); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--green); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(36px, 5.4vw, 62px); letter-spacing: -0.035em; }
h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 12px; }
h3 { font-size: 22px; letter-spacing: -0.015em; }
p { margin: 0 0 14px; }
.copy > :last-child { margin-bottom: 0; }
.prose { font: 400 19px/1.62 var(--serif); color: #1c2b26; }
.prose p { margin-bottom: 16px; }
.lede { color: var(--ink2); max-width: 680px; margin: 0 0 26px; font-size: 18px; }
.muted { color: var(--ink3); }

/* unwritten copy (dev builds only): visible but quiet */
.is-lorem { color: #9aa6a1 !important; }
.is-lorem::before { content: "to write"; font: 700 10px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: #fff; background: #b9c4bf; border-radius: 3px; padding: 3px 5px; margin-right: 8px; vertical-align: 2px; }
span.is-lorem::before { display: none; }
.devbar { background: var(--ink); color: #cfe3da; font: 500 13px/1.4 var(--sans); padding: 8px 0; }
.devbar b { color: #fff; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font: 600 21px/1 var(--sans); letter-spacing: -0.02em; }
.logo .mark { height: 29px; width: auto; margin-top: -3px; flex: none; color: var(--green); }
.foot .logo .mark { color: #7fd1b2; }
.nav { display: flex; gap: 4px 24px; margin-left: auto; flex-wrap: wrap; font: 600 15px/1 var(--sans); }
.nav a { text-decoration: none; color: var(--ink2); padding: 8px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--green); }
@media (max-width: 720px) { .top { position: static; } .top .wrap { flex-wrap: wrap; gap: 6px 20px; padding-top: 12px; padding-bottom: 8px; } .nav { margin-left: 0; width: 100%; gap: 4px 18px; font-size: 14px; } }

/* hero band */
.hero { background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(28px, 5vw, 64px); }
.hero.slim .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.hero-art { width: 100%; border-radius: 18px; }
.crumbs { font: 600 14px/1 var(--sans); color: var(--ink3); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--green-dark); text-decoration: none; }
.answer { margin: 20px 0 0; font: 400 21px/1.5 var(--serif); color: #1b2a25; max-width: 640px; }
.owned { margin: 18px 0 0; max-width: 62ch; font: 500 14px/1.5 var(--sans); color: var(--ink2); }
.owned a { color: var(--ink); white-space: nowrap; }
.owned + .byline { margin-top: 10px; }
.sameteam { display: inline-block; height: 22px; width: auto; margin-left: 8px; vertical-align: middle; }
.sameteam-link { display: inline-flex; }
.foot-note { display: block; margin-top: 14px; max-width: 100%; height: auto; }
.byline { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; font: 500 14px/1.3 var(--sans); color: var(--ink2); align-items: center; }
.byline .who { display: inline-flex; align-items: center; gap: 9px; }
.byline .av { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.byline a { color: var(--ink); }
.facts-strip { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #cfe5d9; }
.facts-strip div { font: 500 14px/1.3 var(--sans); color: var(--ink2); }
.facts-strip b { display: block; font-size: 28px; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 2px; }
@media (max-width: 860px) { .hero .wrap, .hero.slim .wrap { grid-template-columns: minmax(0, 1fr); } .hero-art { max-width: 520px; } }

/* sections */
.sec { padding: clamp(44px, 6vw, 80px) 0; }
.sec.soft { background: var(--soft); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head h2 { margin: 0; }
.link { font: 650 15px/1 var(--sans); color: var(--green-dark); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link svg { width: 15px; height: 15px; }

/* picks (Wirecutter-style) */
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .picks { grid-template-columns: minmax(0, 1fr); } }
.pick { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.pick:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(16,32,27,.35); }
.pick .shot { border-bottom: 1px solid var(--line); }
.pick .body { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.pick .label { font: 700 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--green-dark); }
.pick .label.best_price { color: #9a6a00; }
.pick .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pick h3 { font-size: 24px; }
.pick .why { color: var(--ink2); font-size: 15px; line-height: 1.45; margin: 0; }

/* browser-framed screenshot */
.shot { background: #f1f4f2; }
.shot .bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #f1f4f2; border-bottom: 1px solid var(--line); }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3dbd7; flex: none; }
.shot .bar span { margin-left: 8px; flex: 1; min-width: 0; background: #fff; border-radius: 6px; padding: 3px 10px; font: 500 12px/1.3 var(--sans); color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* score */
.score { font: 800 30px/1 var(--sans); letter-spacing: -0.02em; white-space: nowrap; }
.score small { font-size: 14px; color: var(--ink3); font-weight: 600; letter-spacing: 0; }
.score.big { font-size: 46px; }
.meter { height: 6px; background: var(--line2); border-radius: 3px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--green); border-radius: 3px; }

/* labels (square, not pills) */
.tag { font: 700 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .07em; padding: 5px 7px 4px; border-radius: 4px; white-space: nowrap; display: inline-block; }
.tag.best_overall { background: var(--green); color: #fff; }
.tag.best_price { background: var(--amber); color: var(--ink); }
.tag.dont_use { background: var(--red); color: #fff; }
.ev { font: 700 10px/1 var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--ink3); white-space: nowrap; }
.ev.measured { color: var(--green); }
.ev.checked { color: var(--green-dark); }

/* tables */
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table { width: 100%; border-collapse: collapse; font: 400 15px/1.35 var(--sans); }
th, td { padding: 12px 12px; text-align: left; border-bottom: 1px solid var(--line2); white-space: nowrap; vertical-align: middle; }
thead th { font: 700 12px/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink3); background: #fbfcfb; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: #fbfdfc; }
td.r, th.r { text-align: right; font-variant-numeric: tabular-nums; }
td.c, th.c { text-align: center; }
td.wrap, th.wrap { white-space: normal; min-width: 200px; }
tbody th { font-weight: 700; }
tbody th a { text-decoration: none; }
caption { caption-side: bottom; text-align: left; padding: 12px 14px; font: 500 13px/1.45 var(--sans); color: var(--ink3); }
.rk { font-weight: 800; color: var(--ink3); width: 1%; }
.scell { display: flex; align-items: center; gap: 8px; min-width: 96px; }
.scell b { font-size: 17px; min-width: 2.2em; }
.scell .meter { flex: 1; min-width: 50px; }
.yes { color: var(--green); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.no { color: #a8b3ae; display: inline-flex; align-items: center; gap: 4px; }
.yes svg, .no svg { width: 16px; height: 16px; }
.dash { color: #a8b3ae; }
td.low { background: var(--amber-soft); font-weight: 800; }
th[data-sort] { cursor: pointer; user-select: none; }
th[data-sort]::after { content: " ↕"; color: #c9d2ce; }
th[aria-sort="ascending"]::after { content: " ↑"; color: var(--ink); }
th[aria-sort="descending"]::after { content: " ↓"; color: var(--ink); }

/* finding (conclusion) */
.finding { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(24px, 5vw, 64px); align-items: start; }
.finding .art { border-radius: 18px; overflow: hidden; background: var(--mint); position: sticky; top: 90px; }

@media (max-width: 900px) { .finding { grid-template-columns: minmax(0, 1fr); } .finding .art { position: static; order: -1; max-width: 520px; } }
.notes { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.notes li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; color: var(--ink2); }
.notes svg { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }

/* seller review */
.reviews { display: grid; gap: 28px; }
.review { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; scroll-margin-top: 84px; }
.review.is-dont_use { border-color: #efc9c1; }
.review-top { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
.review-top .shot { border-right: 1px solid var(--line); }
.review-main { padding: 24px 28px; display: grid; gap: 14px; align-content: start; }
.review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.review-head .name { display: flex; align-items: baseline; gap: 8px 12px; flex-wrap: wrap; min-width: 0; }
.review-head .rkn { font: 800 18px/1 var(--sans); color: var(--ink3); }
.review-head h3 { font-size: 30px; letter-spacing: -0.03em; }
.review-head .dom { font: 500 14px/1 var(--sans); color: var(--ink3); }
.review .prose { font-size: 18px; }
.review-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--line); background: #fbfcfb; font: 500 13px/1.4 var(--sans); color: var(--ink3); }
.review-cta .btn { margin-left: auto; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); border-top: 1px solid var(--line); }
.cats { padding: 22px 28px; display: grid; gap: 12px; border-right: 1px solid var(--line); align-content: start; }
.cats h4, .facts h4 { font: 700 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--ink3); margin-bottom: 4px; }
.cat { display: grid; grid-template-columns: minmax(0, 1fr) 70px; gap: 5px 12px; align-items: center; font: 500 14px/1.2 var(--sans); }
.cat b { text-align: right; font-variant-numeric: tabular-nums; }
.cat .meter { grid-column: 1 / -1; }
.cat.na { color: var(--ink3); }
.cat.na b { font-weight: 500; font-size: 12px; }
.facts { padding: 22px 28px; }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.facts dt { font: 500 13px/1.3 var(--sans); color: var(--ink3); display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 4px; }
.facts dd { margin: 0; font: 650 15px/1.35 var(--sans); }
.facts dd.big { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.facts dd small { display: block; font-weight: 400; color: var(--ink3); font-size: 13px; margin-top: 2px; }
.flag { color: var(--red); }
@media (max-width: 960px) { .review-top, .review-grid { grid-template-columns: minmax(0, 1fr); } .review-top .shot { border-right: 0; border-bottom: 1px solid var(--line); } .cats { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .facts dl { grid-template-columns: minmax(0, 1fr); } .review-main, .cats, .facts { padding: 20px; } .review-head h3 { font-size: 26px; } .score.big { font-size: 38px; } }

/* buttons: outbound = button element, never a link */
.btn { font: 700 15px/1 var(--sans); background: var(--ink); color: #fff; border: 0; border-radius: 10px; padding: 13px 18px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: background .15s ease; }
.btn:hover { background: var(--green-dark); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn svg { width: 15px; height: 15px; }
.btnrow { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* charts */
.chart { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 14px 10px; background: #fff; }
.bars, .dotplot { width: 100%; height: auto; font-family: var(--sans); }
.bars .grid, .dotplot .grid { stroke: var(--line2); }
.bars .tick, .dotplot .tick { font-size: 12px; fill: var(--ink3); }
.bars .lab, .dotplot .lab { font-size: 14px; fill: var(--ink2); font-weight: 600; }
.bars .bar { fill: var(--green); }
.bars g:hover .bar, .bars g:focus .bar { fill: var(--green-dark); }
.bars .val { font-size: 13px; fill: var(--ink); font-weight: 700; }
.dotplot .val { font-size: 12px; fill: var(--ink2); opacity: 0; }
.dotplot .stem { stroke: var(--line); stroke-width: 2; }
.dotplot circle { fill: #fff; stroke: var(--green); stroke-width: 2; }
.dotplot .hi circle { fill: var(--green); }
.dotplot .hi .lab { fill: var(--ink); font-weight: 800; }
.dotplot .hit { fill: transparent; }
.dotplot .dot:hover .hit, .dotplot .dot:focus .hit { fill: var(--mint); }
.dotplot .dot:hover .val, .dotplot .dot:focus .val { opacity: 1; }
.bars g:focus, .dotplot .dot:focus { outline: none; }
.legend { font: 500 13px/1.4 var(--sans); color: var(--ink3); display: flex; gap: 16px; flex-wrap: wrap; padding: 6px 4px 2px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--green); margin-right: 6px; vertical-align: -1px; }
.legend i.f { background: var(--green); }
.chart-note { font: 500 13px/1.45 var(--sans); color: var(--ink3); margin: 10px 4px 0; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; margin: 0; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.tile dt { font: 500 14px/1.3 var(--sans); color: var(--ink2); }
.tile dd { margin: 8px 0 0; font: 800 34px/1 var(--sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tile dd small { display: block; font: 500 13px/1.3 var(--sans); color: var(--ink3); margin-top: 7px; letter-spacing: 0; }

/* guide cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-decoration: none; overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(16,32,27,.35); }
.card .art { background: var(--mint); aspect-ratio: 3 / 2; overflow: hidden; }
.card .art img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 16px 18px 18px; }
.card h3 { font-size: 19px; display: flex; justify-content: space-between; gap: 8px; }
.card h3 svg { width: 18px; height: 18px; flex: none; color: var(--green); }
.card .copy { display: block; margin-top: 6px; font-size: 15px; color: var(--ink2); }

/* how-we-test box */
.method-box { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 28px; align-items: center; background: var(--mint); border-radius: 18px; padding: clamp(20px, 3vw, 32px); }
.method-box img { border-radius: 12px; }
.method-box h2 { font-size: 28px; }
.method-box ul { margin: 14px 0 18px; padding: 0; list-style: none; display: grid; gap: 9px; }
.method-box li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; color: var(--ink2); }
.method-box li svg { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
@media (max-width: 760px) { .method-box { grid-template-columns: minmax(0, 1fr); } .method-box img { width: 100%; max-width: 280px; } }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font: 700 19px/1.35 var(--sans); padding: 18px 44px 18px 0; cursor: pointer; list-style: none; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 18px; width: 26px; height: 26px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v8M4 8h8' stroke='%230f7b5f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .copy { padding: 0 0 18px; color: var(--ink2); }

/* lists */
.sources { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.sources li { display: grid; grid-template-columns: 26px minmax(0, 1fr); }
.sources .n, .sources .pub { color: var(--ink3); }
.log { margin: 0; padding: 0; list-style: none; max-width: 820px; }
.log li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line2); font-size: 15px; }
.log time { color: var(--ink3); font-variant-numeric: tabular-nums; }
.empty { color: var(--ink3); font-size: 15px; }
.plain { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.verdict { background: #fff; border: 1px solid #cfe5d9; border-radius: var(--r); padding: 20px 22px; margin-top: 24px; max-width: 640px; }
.verdict h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 8px; }
.verdict .copy { font: 400 19px/1.55 var(--serif); }
.devnote { background: var(--red-soft); color: var(--red); font: 500 14px/1.45 var(--sans); padding: 10px 12px; border-radius: 8px; }

/* footer */
.foot { background: var(--ink); color: #b9cbc3; padding: 46px 0 52px; font: 500 14px/1.6 var(--sans); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
.foot .logo { color: #fff; }
.foot nav { display: flex; gap: 6px 20px; flex-wrap: wrap; align-content: start; }
.foot a { color: #d7e5df; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot p { max-width: 520px; margin-top: 12px; }
@media (max-width: 640px) { .foot .wrap { grid-template-columns: minmax(0, 1fr); } }

/* motion: one gentle reveal; nothing moves for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pick, .card { transition: none; } }
@media print { .top, .devbar, .btn { display: none; } }
#ownership { padding: clamp(56px, 9vw, 120px) 0 clamp(72px, 12vw, 160px); }
#ownership h1 { margin: 14px 0 26px; }
#ownership .prose { font-size: 20px; line-height: 1.6; max-width: 34em; }
