/* Separate money decisions from choosing a contractor. */
:root{--money-accent:#325b4c;--money-soft:#eff5f1}
.categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.categories>a{gap:10px;white-space:normal;font-size:16px}
.categories>a>span{margin-left:auto}
.intro .lead{display:block}
.connected-link{display:flex;align-items:center;gap:16px;text-decoration:none;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin-top:20px}
.connected-link img{width:72px;height:72px;object-fit:cover;border-radius:4px}
.connected-link>span{font-size:17px;font-weight:550;flex:1;min-width:0;overflow-wrap:anywhere}
.connected-link small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:5px}
.connected-link:hover>span{text-decoration:underline}
.connected-projects p{font-size:15px}
.connected-projects .reason-source{margin-top:12px}
.payment-modes{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;margin:20px 0 28px;max-width:680px}
.payment-modes a{position:relative;display:grid;grid-template-columns:24px 1fr;column-gap:12px;row-gap:3px;padding:18px;text-decoration:none;align-items:center;font-size:16px;font-weight:550;min-height:84px}
.payment-modes a+a{border-left:1px solid var(--line)}
.payment-modes small{grid-column:2;font-size:12px;font-weight:400;color:var(--muted)}
.payment-modes a[aria-current=page]{background:var(--ink);color:#fff}
.payment-modes a[aria-current=page] small{color:#dedfe1}
.payment-modes a:hover:not([aria-current]){background:var(--soft)}
.payment-heading{padding:8px 0 24px;max-width:780px}
.payment-heading h2{font-size:30px;line-height:1.25;font-weight:550;margin-bottom:12px}
.payment-heading p{font-size:16px;color:var(--muted);max-width:650px}
.payment-heading h2{display:none}
.money-explainer{font-size:14px;max-width:760px;margin:0 0 28px;color:var(--muted)}
.money-offer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:64px;border-top:1px solid var(--ink);padding:32px 0 40px}
.money-type{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--money-accent);margin-bottom:16px}
.money-type svg{width:19px;height:19px}
.money-offer h3{font-size:28px;line-height:1.2;font-weight:600;overflow-wrap:anywhere;margin-bottom:8px}
.money-offer-title>p{font-size:15px;color:var(--muted)}
.money-offer-title>p.money-benefit{font-size:17px;color:var(--ink);margin-top:20px;max-width:340px}
.money-metric{display:flex;justify-content:space-between;align-items:baseline;gap:20px;border-bottom:1px solid var(--line);padding-bottom:18px}
.money-metric>span{font-size:14px}
.money-metric strong{font-size:32px;font-weight:550;font-variant-numeric:tabular-nums;line-height:1.2}
.money-offer-terms>dl>div{display:flex;justify-content:space-between;gap:20px;font-size:14px;padding-top:16px}
.money-offer-terms dd{margin:0;text-align:right}
.money-offer-terms dt{color:var(--muted)}
.money-condition{font-size:14px;margin-top:22px;padding-left:14px;border-left:3px solid var(--money-accent);line-height:1.6}
.money-settlement{font-size:13px;color:var(--muted);margin-top:16px;line-height:1.6}
.money-details{border-top:1px solid var(--line);margin-top:24px}
.money-details summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:56px;cursor:pointer;list-style:none;font-size:14px}
.money-details summary::-webkit-details-marker{display:none}
.money-details summary svg{width:18px;height:18px}
.money-details[open] summary svg{transform:rotate(45deg)}
.money-details dl{font-size:14px;padding:4px 0 14px}
.money-details dl>div+div{margin-top:18px}
.money-details dt{color:var(--ink);font-weight:550;margin-bottom:5px}
.money-details dd{color:var(--muted);text-align:left}
.money-details .reason-source{margin:0 12px 18px 0}
.money-offer-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px}
.money-offer-footer>span{font-size:11px;color:var(--muted)}
.purchase-check{border-top:1px solid var(--line);padding:32px 0}
.purchase-check h2{font-size:25px;font-weight:550;margin-bottom:24px}
.purchase-check ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;counter-reset:steps;gap:32px;padding:0;margin:0}
.purchase-check li{counter-increment:steps;position:relative;padding-top:42px}
.purchase-check li:before{content:'0' counter(steps);position:absolute;top:0;font-size:23px;color:var(--money-accent);font-weight:550}
.purchase-check strong{display:block;font-size:16px;font-weight:550;margin-bottom:8px}
.purchase-check span{display:block;font-size:14px;color:var(--muted)}
@media(max-width:800px){
  .intro{grid-template-columns:1fr;gap:12px;padding:24px 0}
  .intro .lead{margin:0;font-size:15px;max-width:none}
  .intro .lead br{display:none}
  .categories{gap:20px}
  .categories>a{font-size:14px}
  .money-offer{gap:32px;grid-template-columns:1fr 1.2fr}
  .money-metric strong{font-size:28px}
}
@media(max-width:560px){
  .intro h1{font-size:30px}
  .intro .eyebrow{font-size:10px;margin-bottom:10px}
  .intro .lead{font-size:14px}
  .categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
  .categories>a{min-height:50px;font-size:14px}
  .categories>a>span{display:block;font-size:11px}
  .categories>a[aria-current=page]:after{height:2px}
  .results-meta{margin:20px 0 8px;gap:10px}
  .results-meta h2{font-size:19px}
  .results-meta>a{display:none}
  .card-image{aspect-ratio:16/10}
  .payment-modes{margin:18px 0 22px}
  .payment-modes a{grid-template-columns:1fr;font-size:14px;gap:6px;padding:14px 12px;align-content:start;min-height:110px}
  .payment-modes small{grid-column:1;font-size:11px}
  .payment-heading{padding:0 0 24px}
  .payment-heading h2{font-size:26px;text-wrap:pretty}
  .payment-heading p{font-size:14px}
  .money-offer{grid-template-columns:1fr;gap:24px;padding:24px 0 30px}
  .money-type{margin-bottom:12px}
  .money-offer h3{font-size:26px}
  .money-offer-title>p.money-benefit{font-size:16px;margin-top:12px}
  .money-metric{gap:12px}
  .money-metric strong{font-size:28px}
  .money-offer-footer{gap:12px;align-items:flex-start;flex-direction:column}
  .money-offer-footer .button{width:100%}
  .purchase-check ol{grid-template-columns:1fr;gap:22px}
  .purchase-check li{padding:0 0 0 40px}
  .purchase-check li:before{left:0;font-size:22px}
  .connected-link img{width:58px;height:58px}
  .connected-link>span{font-size:15px}
}
.company-card.text-only .card-body{grid-column:1/3;max-width:760px}
.company-disclosure{font-size:12px;line-height:1.5;color:var(--muted);margin-top:12px}
.company-card[data-company="naaw"] .card-image img{object-position:center bottom}
.company-card.text-only .card-side{grid-column:3}
@media(max-width:800px){
  .company-card.text-only .card-body,.company-card.text-only .card-side{grid-column:1/-1}
}
@media(max-width:560px){.company-card.text-only .card-body{padding-top:4px}}

/* Evidence stays separate from the offer and the external rating. */
.collection-modes{display:inline-grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--soft);padding:4px;border-radius:6px;margin:8px 0 12px;max-width:100%}
.collection-modes a{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:8px 16px;font-size:13px;text-decoration:none;border-radius:4px}
.collection-modes a[aria-current=page]{background:var(--ink);color:#fff}
.collection-modes a:not([aria-current]):hover{background:#e7e9e9}
.collection-modes span{font-size:11px;font-variant-numeric:tabular-nums}
.selection-intro{font-size:14px;color:var(--muted);margin:4px 0 12px;max-width:650px}
.check-link{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);text-decoration:none;min-height:36px;margin-top:8px}
.check-link svg{width:14px;height:14px}
.check-link:hover span{text-decoration:underline}
.check-link.is-featured{color:var(--ink);font-weight:550}
.evidence-section{padding:10px 0;margin-bottom:24px;border-block:1px solid var(--line);max-width:100%}
.evidence-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap}
.evidence-heading h2{font-size:16px;font-weight:550;line-height:1.4;margin:0}
.evidence-heading>span{font-size:11px;color:var(--muted);white-space:nowrap}
.evidence-note{font-size:14px;line-height:1.6;margin-top:16px;max-width:680px;border-left:3px solid #e6b644;padding-left:14px}
.evidence-details{margin-top:0}
.evidence-details>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;min-height:48px;cursor:pointer;list-style:none}
.evidence-label{display:flex;align-items:center;gap:10px;min-width:0}
.evidence-info{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:#fff0bc;color:#785500}
.evidence-credits{margin-top:24px;font-size:12px;line-height:1.6;color:var(--muted)}
.evidence-credits p+p{margin-top:10px}
.evidence-credits a svg{display:inline;width:12px;height:12px;vertical-align:middle}
.evidence-details>summary::-webkit-details-marker{display:none}
.evidence-details>summary svg{width:18px;height:18px}
.evidence-details>summary>svg{flex-shrink:0}
.evidence-details[open]>summary>svg{transform:rotate(45deg)}
.evidence-details dl{margin-top:18px;display:grid;gap:24px}
.evidence-details dl>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:24px}
.evidence-details dt{font-size:13px;font-weight:550}
.evidence-details dd{margin:0;min-width:0}
.evidence-details dd p{font-size:14px;line-height:1.65;overflow-wrap:break-word}
.evidence-source,.evidence-method{display:inline-flex;align-items:center;gap:6px;font-size:12px;min-height:36px;margin-top:6px;color:#565a60}
.evidence-source svg,.evidence-method svg{width:13px;height:13px}
.evidence-period{font-size:11px;color:var(--muted);margin-top:24px;line-height:1.6}
.arnau-profile>.check-link{margin:0 0 16px}
.comparison-row .external-rating{min-width:0}
.comparison-row .rating-value{flex-wrap:wrap}
.comparison-row .rating-value>span{white-space:normal;margin-left:0}
.about-content section p+p{margin-top:16px}
.profile-nav{flex-wrap:wrap;gap:8px 22px}
.company-card .editorial-reason{margin-top:16px}
.unrated-review-link{display:inline-flex;align-items:center;gap:8px;font-size:13px;min-height:44px}
.unrated-review-link svg{width:15px;height:15px}
.works-first-profile .profile-reason{padding:20px 0}
.works-first-profile .profile-intro-rating{padding:0 0 20px;scroll-margin-top:24px}
.works-first-profile .profile-intro-rating .external-rating{display:flex;align-items:center;justify-content:space-between;max-width:420px;gap:12px}
.works-first-profile .profile-intro-rating .rating-value{margin:0}
.works-first-profile .profile-intro-rating .source-note{margin:8px 0 0;font-size:11px}
.works-first-profile .profile-tools .compare-toggle[aria-pressed="true"]{background:var(--soft)}
.works-first-profile .profile-more-photos{margin-top:24px}
.works-first-profile .arnau-profile .profile-reason h2{font-size:15px;margin-bottom:8px}
.works-first-profile .arnau-cover{margin-top:16px}
.works-first-profile .arnau-cover figcaption a svg{display:inline;width:12px;height:12px}
.works-first-profile .arnau-nav{display:flex;flex-wrap:wrap;gap:24px}
@media(max-width:760px){
  .works-first-profile .contact-panel{order:0}
  .works-first-profile .arnau-nav{gap:0;justify-content:space-between}
  .works-first-profile .arnau-heading h1{font-size:28px;overflow-wrap:anywhere}
  .works-first-profile .arnau-heading p{font-size:14px}
  .works-first-profile .arnau-tools{flex-direction:row;gap:0}
  .works-first-profile .arnau-heading .icon-button{border:0}
  .works-first-profile .arnau-cover>button{height:auto;aspect-ratio:16/10}
  .works-first-profile .arnau-cover img{object-fit:contain}
  .works-first-profile .arnau-cover figcaption{font-size:12px}
}
@media(max-width:560px){
  .works-first-profile .profile-heading{display:flex;align-items:center;gap:8px;padding:8px 0 12px}
  .works-first-profile .profile-heading>div:first-child{min-width:0}
  .works-first-profile .profile-heading h1{padding:0;margin:0;font-size:28px}
  .works-first-profile .profile-heading .eyebrow{padding:0;margin-bottom:7px;font-size:10px}
  .works-first-profile .profile-tools{margin:0;gap:0;flex-shrink:0}
  .works-first-profile .profile-tools .bookmark{position:static}
  .works-first-profile .profile-nav{margin-bottom:16px;gap:0 12px}
  .works-first-profile .profile-nav a,.works-first-profile .arnau-nav a{font-size:12px}
  .works-first-profile .profile-gallery .project-photo>button{height:auto;aspect-ratio:16/10}
  .works-first-profile .project-photo figcaption a{display:inline;margin-left:6px}
  .works-first-profile .project-photo figcaption{font-size:12px}
  .works-first-profile .profile-reason{padding:16px 0}
  .works-first-profile .profile-reason p{font-size:16px;line-height:1.5}
  .works-first-profile .profile-reason h2{margin-bottom:8px}
  .works-first-profile .reason-source{margin-top:8px}
  .works-first-profile .profile-intro-rating{padding-bottom:16px}
  .collection-modes{width:100%;margin-bottom:6px}
  .collection-modes a{padding:8px;font-size:12px;gap:8px}
  .selection-intro{font-size:13px}
  .check-link{font-size:11px;min-height:40px}
  .evidence-section{padding:8px 0;margin-bottom:22px}
  .evidence-heading{gap:6px 14px}
  .evidence-heading h2{font-size:15px}
  .evidence-note{font-size:13px;line-height:1.6}
  .evidence-details dl>div{grid-template-columns:minmax(0,1fr);gap:6px}
  .evidence-details dd p{font-size:13px}
  .evidence-details dl{gap:22px}
  .profile-nav{gap:0 12px;justify-content:flex-start}
  .profile-nav a{font-size:11px}
  .arnau-nav{gap:12px;flex-wrap:wrap}
}
