/* Current sales-page typefaces, shared by text, headings and builder fields. */
:root{--display:'Playfair Display',serif;--body:Inter,sans-serif;--sans:Inter,sans-serif}
body{font-family:Inter,sans-serif}
h1,h2,h3,h4,h5,h6,h1 em,h2 em,h3 em,h4 em,h5 em,h6 em{font-family:'Playfair Display',serif!important;font-weight:700!important}
body :is(button,input,select,textarea){font-family:Inter,sans-serif!important}
.remedy-landing-preview figure[hidden]{display:none}
.remedy-landing-preview h3{font-size:clamp(23px,2.2vw,30px);line-height:1.3;overflow-wrap:break-word}
.remedy-landing-preview>p:not(.eyebrow){font-size:19px;line-height:1.7}
.remedy-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.remedy-photo-grid article{min-width:0}
.remedy-photo-grid img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.remedy-image-preview{display:table;margin-top:12px}
.remedy-match-workbench,.remedy-result-row,.email-builder-layout,.facebook-builder{min-width:0}
@media(max-width:900px){.remedy-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.remedy-photo-grid{grid-template-columns:minmax(0,1fr)}}

/* Give the main link form breathing room on both sides. */
#link-form{box-sizing:border-box;border:1px solid var(--desk-line);padding:32px 40px}
@media(max-width:639px){#link-form{padding:26px 22px}}

/* Real guide sample pages retain their proportions in the affiliate image grid. */
.remedy-photo-grid article[data-guide="true"] img{object-fit:contain;background:#fff;padding:10px}
#remedy-landing-image{object-fit:contain}
