/* Section hubs, product type lists, dupe lists and trust pages on un-markup.com.
   Built by scripts/build-site-pages.mjs, on top of product.css (tokens, header,
   the Petal and navy top, the receipt, footer). Same rules: nothing under 15px,
   no tracked capitals, pink only when something is off. */

/* A top with no navy side: the Petal block runs the full width */
.top.solo .top-main{padding-right:max(20px,calc((100cqi - 1120px) / 2))}
.top.solo .opening{max-width:40ch}
.top-main .intro{margin-top:18px;max-width:52ch}

/* The receipt on lists: a short ranked list instead of one product */
.paper .ln .nm{min-width:0;font-size:16px;line-height:1.3;overflow-wrap:break-word}
.paper .ln .nm a{color:var(--ink);text-underline-offset:3px}
.paper .ln .v.mid{font-size:26px}
.paper .tot .l.count{padding-bottom:6px}
.paper .tot .big.count{font-size:64px}

/* Plain rows: rank, name, one or two sentences, the price for the same amount */
.block{max-width:1160px;margin:0 auto;padding:clamp(48px,6cqi,84px) 20px}
.block.after-top{padding-top:clamp(96px,11cqi,136px)}
.block h2{font-size:clamp(30px,3.2cqi,42px);line-height:1.1;letter-spacing:-.012em;max-width:24ch}
.block h2.fam{margin-top:64px}
.block h3.group{margin-top:44px;font-size:clamp(25px,2.4cqi,30px);line-height:1.15}
.block + .block{padding-top:0}
.lrow{display:flex;align-items:flex-start;gap:14px 26px;padding:22px 0;border-bottom:1px solid var(--hair)}
.lrow .rank{flex:0 0 46px;font:600 34px/1.05 var(--head)}
.lrow .row-text{flex:1 1 auto}
.lrow .row-name a{color:var(--ink);text-underline-offset:4px;text-decoration-thickness:1px}
.lrow .row-name a:hover{color:var(--grey)}
.lrow .row-note + .row-note{margin-top:6px}
.lrow .row-price{min-width:4.2em;margin-left:auto}
.row-price .per{display:block;margin-top:2px;font:400 15.5px/1.3 var(--text);color:var(--grey)}
.row-price s{display:block;font-size:24px;color:var(--deep);text-decoration-thickness:2px}
.lrow .more{display:flex;flex-wrap:wrap;gap:0 22px;margin-top:2px}
.lrow .more a{display:inline-block;padding:11px 0;font-weight:800;font-size:16px;text-underline-offset:4px}

/* How are these ranked? Reuses .working and .steps-list from product.css */
.working .sign a{color:var(--ink)}
.prose{max-width:66ch}
.prose p + p{margin-top:14px}
.prose h3{margin-top:28px;font-size:24px;line-height:1.2}
.prose ul{margin:12px 0 0;padding-left:1.2em}
.prose li{margin-top:6px}

/* Dupe finder: the search sits in the Petal block, results below it */
.find{display:flex;margin-top:28px;max-width:540px}
.find label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.find input{flex:1;min-width:0;min-height:54px;padding:0 16px;border:2px solid var(--navy);border-radius:0;background:var(--white);color:var(--ink);font:400 17px var(--text)}
.find input:focus-visible{outline:2px solid var(--navy);outline-offset:3px}
.find-note{margin-top:12px;max-width:52ch;font-size:16px}
.results-empty{padding:22px 0;border-bottom:1px solid var(--hair)}

@media (max-width:560px){
  .lrow{gap:6px 14px;flex-wrap:wrap}
  .lrow .rank{flex-basis:36px;font-size:28px}
  .lrow .row-text{flex:1 1 calc(100% - 50px)}
  .lrow .row-price{flex:1 1 100%;margin-left:50px;text-align:left;font-size:30px}
  .lrow.no-rank .row-price{margin-left:0}
  .row-price s{display:inline;margin-right:10px;font-size:22px}
  .row-price .per{display:inline;margin-left:6px}
  .paper .tot .big.count{font-size:54px}
}

/* How we work, about, the app: question headings over plain prose */
.prose-section + .prose-section{margin-top:clamp(48px,6cqi,72px)}
.prose-section .prose{margin-top:16px}
.prose a{color:var(--ink);text-underline-offset:3px}
.prose .steps-list{margin-top:4px}
.prose .sum{margin-top:22px}
.top-main .intro .button{margin-top:8px}

/* Contact, privacy, terms, affiliate disclosure */
.legal .prose h2{margin-top:44px;font-size:clamp(26px,2.6cqi,32px);line-height:1.15}
.legal .prose h2:first-child{margin-top:0}
.legal .prose h3{margin-top:26px;font-size:22px}
.legal .prose p,.legal .prose ul{margin-top:12px}
.legal .contact-line{margin-top:40px;padding-top:22px;border-top:1px solid var(--gold);font-size:16px}
.legal .contact-email{display:inline-block;margin:8px 0 28px;font:600 clamp(28px,5vw,46px)/1.15 var(--head);text-decoration:none;border-bottom:2px solid var(--navy);overflow-wrap:anywhere}
.legal .topics{list-style:none;padding:0;border-top:1px solid var(--navy)}
.legal .topics li{margin:0;padding:16px 0;border-bottom:1px solid var(--hair)}
.legal .topics b{display:block;margin-bottom:2px}
