/* polish.css: site-wide polish layer (Nov 2026).
   Loaded last on every page. Remove the <link> to undo.
   1 Headings: lighter weight, normal letter spacing
   2 Calmer buttons: no pulsing rings
   3 Phones: more breathing room
*/

/* 1. Headings: one step lighter, letters no longer squeezed together */
html:root body :is(h1,h2,h3,.sh,.mt,.h2,.h1a,.x-rt):not(.tn .band *):not(.tn .hero h1){
  letter-spacing:-.022em!important;
  font-weight:700!important;
}
html:root body :is(h1,h2,h3,h4,.sh,.mt,.h2,.h1a,.x-rt) :is(span,em,strong,b,.grad,.x-l):not(.tn .band *){
  letter-spacing:-.022em!important;
  font-weight:700!important;
}
/* Town name in the town-page hero stays a big display word, just less squeezed */
html:root body .tn .hero h1{letter-spacing:-.04em!important;font-weight:800!important}
/* Small headings (card titles) a touch lighter still */
html:root body :is(h3,h4){letter-spacing:-.01em!important}

/* 2. Calmer buttons: stop the pulsing rings and glows */
.hp .btn:not(.d):not(.o):not(.g),
.hp .btn.o,
.hp .market .tp a.mx-go,
.hp .tp .tl a.tgo,
.tn .btn,
.cp .cta .btn:not(.g),
.cp .total:not(.neg){animation:none!important}

/* 3. Phones: more breathing room */
@media (max-width:750px){
  /* Body copy: comfortable line spacing */
  html:root body main :is(p,li){line-height:1.6}

  /* Oversized headings on phones */
  html:root body .x-ch h2.sh{font-size:44px!important;line-height:1.06!important}
  html:root body h2.sel{font-size:38px!important;line-height:1.08!important}

  /* Town-page hero text off the screen edge */
  html:root body .tn .hero .txt{padding-left:22px!important;padding-right:22px!important}

  /* More space between stacked cards */
  html:root body .ns .ns-g{gap:16px!important}
  html:root body .gl{gap:18px!important;row-gap:18px!important}
  html:root body :is(.pp-fin,.pp-gl,.pp-fees,.pp-src,.pp-boxes,.pp-idsteps,.pp-opts,.pp-lad,.pp-dont,.pp-vs){gap:16px!important}

  /* More padding inside cards */
  html:root body :is(.pp-card,.pp-glass,.pp-law,.pp-dia,.pp-idbox,.pp-warn){padding-left:20px!important;padding-right:20px!important}
  html:root body .tn .sc2{padding:20px!important}
  html:root body .tn .dstats{gap:14px!important}
}
