/* Benchlight's free website check (check.benchlight.dev). Loaded after the checker's own
   preview.css, which still lays out the check and its report: this file gives the pages
   Benchlight's look (benchlight.dev: navy bench, copper and lamp-light amber on warm paper,
   Bricolage Grotesque for display) and its header, footer and offer. No inline styles (strict CSP).
   Text runs the full width of its box, with side padding for breathing room; wide screens split
   sections into a heading column and a text column. */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:200 800;font-display:swap;src:url(/bricolage-grotesque.woff2) format('woff2')}
:root{
  --paper:#FBF8F2; --paper-2:#F2ECE1; --card:#FFFDF8; --ink:#0B2D4B; --night:#071F35; --text:#13263A; --muted:#55667A;
  --rule:#DDD5C8; --rule-strong:#BFB5A4; --line:#DDD5C8;
  --blue:#0B2D4B; --blue-dark:#071F35; --copper:#AC5B2E; --copper-dark:#87421F; --glow:#F2B57E; --beam:#D39567;
  --serif:'Bricolage Grotesque',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --sans:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --gutter:clamp(16px,4vw,64px);
}
body{color:var(--text);font-size:1.0625rem}
a{color:var(--ink);text-underline-offset:.22em}
a:hover{color:var(--copper-dark)}
:focus-visible{outline-color:var(--copper)}

/* The checker's own reading measures are lifted: text takes the width of its box. */
html[data-brand=benchlight] :is(main,h1,.lead,.error,.checking,.check-heading h1,.analytics-choice,.rp,.result,.rp-summary,.rp-card-text>p,.rp-item p,.rp-blurb,.rp-scope,.row-body,.row-body>p){max-width:none}

h1,h2,h3{font-family:var(--serif);font-weight:700;color:var(--ink);text-wrap:balance;hyphens:manual}
h1{font-size:clamp(2.35rem,5.2vw,4.5rem);line-height:1.04;letter-spacing:-.04em}
h2{font-size:clamp(1.6rem,2.8vw,2.4rem);line-height:1.1;letter-spacing:-.03em}
h3{font-family:var(--sans);font-weight:650;letter-spacing:-.01em}
.eyebrow{font:700 .78rem/1.5 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.lead{color:var(--muted);font-size:clamp(1.125rem,1.6vw,1.3rem);line-height:1.55}
.btn{border-radius:999px;font-family:var(--sans)}
.nb{white-space:nowrap}

/* Header */
.bl-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;padding:14px var(--gutter);border-bottom:1px solid var(--line);background:var(--paper)}
.bl-brand{display:inline-flex;align-items:center;gap:8px;min-height:44px;text-decoration:none;flex-shrink:0}
/* line-break-ok: icon and wordmark images */
.bl-icon{width:32px;height:32px;flex:none}
/* line-break-ok: wordmark image */
.bl-wordmark{width:148px;height:auto;flex:none}
.bl-nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px 22px}
.bl-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:.9688rem;font-weight:600;text-decoration:none;color:var(--ink)}
.bl-nav a[aria-current=page]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.4em}
.bl-nav a:hover{color:var(--copper-dark)}
.bl-nav .bl-nav-offer{padding:8px 18px;border-radius:999px;background:var(--ink);color:#fff;min-height:44px}
.bl-nav .bl-nav-offer:hover{background:var(--night);color:#fff}

/* Page */
main.bl-main{flex:1;width:100%;margin:0;padding:0 var(--gutter) clamp(32px,5vw,64px);container:bl-text/inline-size}
/* A paragraph's last two words (tieLastWords) stay on one line while the column has room for them;
   in a column under 22em (large text, zoom, the narrowest phones) they wrap like any words. */
.tie{white-space:nowrap}
/* A word or address longer than a very narrow column (200% zoom on a small phone) breaks instead of
   widening the page; at ordinary sizes every word fits and nothing changes. */
.bl-main :is(p,li,dd),.bl-offer :is(p,li,span),.bl-foot :is(p,a){overflow-wrap:break-word}
.bl-main code{overflow-wrap:anywhere}
@container bl-text (max-width:22em){.tie{white-space:normal}}
.bl-hero{padding:clamp(28px,5vw,72px) 0 clamp(24px,4vw,48px)}
.bl-hero h1{margin:14px 0 18px}
.bl-hero .lead{margin:0 0 26px}
@media(min-width:1100px){
  .bl-hero--check{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:24px clamp(48px,5vw,104px);align-items:end}
  .bl-hero--check h1{margin-bottom:0}
}
.bl-form{margin:0}
.bl-form label{display:block;font-weight:650;margin-bottom:8px;color:var(--ink)}
/* line-break-ok: form control row (address field and button) */
.bl-form .url-row{max-width:46rem;border-color:#8E9AA8;border-radius:999px;padding:5px 5px 5px 10px;background:#fff}
.bl-form .url-row:focus-within{border-color:var(--ink);box-shadow:0 0 0 3px rgba(172,91,46,.25)}
.bl-form .url-row .btn{background:var(--copper);border-color:var(--copper)}
.bl-form .url-row .btn:hover{background:var(--copper-dark);border-color:var(--copper-dark)}
.bl-hero .hint{margin-top:12px}
.bl-hero .steps{margin:8px 0 22px}

/* Sections: a heading, then its text; side by side on wide screens. */
.bl-part{display:grid;grid-template-columns:minmax(0,1fr);gap:8px 48px;padding:clamp(28px,4vw,48px) 0;border-top:1px solid var(--line)}
.bl-part>h2{margin:0}
.bl-part-body{min-width:0}
.bl-part-body>p:first-child{margin-top:0}
.bl-part-body>ul{padding-left:1.25em}
.bl-part-body>ul li{margin:0 0 8px}
.bl-limits{color:var(--muted);margin-top:20px}
.causes .cause h3::before{color:var(--copper-dark)}
/* Builder help links: plain text boxes (their words wrap as one line of text) at the same 44px height. */
.cause-help a{display:block;min-height:0;padding:11px 0;line-height:22px}
/* What the check reads, as a quiet full-width line rather than a pill (a block, so its words wrap
   as one paragraph). */
.seen{display:block;position:relative;margin:2px 0 14px;padding:0 0 0 17px;border-radius:0;background:none;color:var(--muted)}
/* line-break-ok: dot marker */
.seen::before{content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--copper)}
.bl-builder-list{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:0 32px}
.bl-builder-list a{display:flex;align-items:center;min-height:52px;padding:10px 0;border-top:1px solid var(--line);font-weight:600;text-wrap:balance}
@media(min-width:1100px){
  .bl-part{grid-template-columns:minmax(0,1fr) minmax(0,2.2fr)}
  .bl-part>h2{position:sticky;top:24px;align-self:start}
}

/* The offer: one dark panel, Benchlight's lamp light on the button. */
.bl-offer{display:grid;grid-template-columns:minmax(0,1fr);gap:20px 56px;margin:clamp(24px,4vw,48px) 0 0;padding:clamp(24px,4vw,52px);border-radius:24px;background:var(--night);color:#E9EEF3}
.bl-offer .eyebrow{color:var(--glow)}
.bl-offer h2{color:#fff;margin:10px 0 14px;font-size:clamp(1.75rem,3.4vw,3rem)}
.bl-offer p{margin:0}
.bl-offer-copy>p:last-child{color:#C9D3DD;font-size:1.0625rem;line-height:1.6}
.bl-offer-points{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:12px}
.bl-offer-points li{display:flex;gap:10px;align-items:flex-start;line-height:1.5}
.bl-offer-points li span{min-width:0;overflow-wrap:break-word}
.bl-tick{color:var(--glow);flex:none;margin-top:3px}
.bl-offer-btn{width:100%;min-height:54px;font-size:1.0938rem;background:var(--copper);border-color:var(--copper);color:#fff}
.bl-offer-btn:hover{background:var(--glow);border-color:var(--glow);color:var(--night)}
.bl-offer-btn:focus-visible{outline-color:var(--glow)}
.bl-offer a:not(.btn){color:#fff}
.bl-fine{margin-top:12px!important;font-size:.875rem;color:#AFBCC8;text-align:center;text-wrap:balance}
@media(min-width:900px){.bl-offer{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:center}}

/* The check in motion and its report keep preview.css's layout, in these colours. */
.checking,.bl-report{padding-top:clamp(20px,3vw,40px)}
.check-workbench{background:var(--card)}
.check-dial-arc{stroke:var(--copper)}
.rp-summary{font-weight:700;letter-spacing:-.035em}
.rp-head .rp-host{color:var(--muted)}
.rp-sec h2,.rp-verdict--blocked h2{font-weight:700}
.rp-stats b{font-weight:700}
.bl-offer--result{margin-top:clamp(28px,4vw,48px)}
.rp-more{margin-top:32px}

/* Plain pages (how it works, privacy) */
.bl-doc .steps li{margin-bottom:14px}
.bl-privacy .analytics-choice{margin-top:0}
.bl-part code{overflow-wrap:anywhere}

/* Footer, as on benchlight.dev */
.bl-foot{margin-top:auto;padding:clamp(32px,4vw,48px) var(--gutter) 22px;border-top:1px solid var(--line);color:var(--text);container:bl-foot/inline-size}
.bl-foot-top{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(2,minmax(0,1fr));gap:28px 40px}
.bl-foot-brand p{font-size:1.0625rem;color:var(--muted);margin:10px 0 4px;text-wrap:balance}
.bl-foot-brand>a:not(.bl-brand){display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.bl-foot nav{display:flex;flex-direction:column;align-items:flex-start}
.bl-foot nav h2{font:700 .8125rem/1.5 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:10px 0 4px}
.bl-foot nav a{display:inline-flex;align-items:center;min-height:44px;font-size:.9688rem;text-decoration:none;text-wrap:balance}
.bl-foot nav a:hover{color:var(--copper-dark)}
.bl-foot-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 24px;margin-top:22px;padding-top:16px;border-top:1px solid var(--line);font-size:.875rem;color:var(--muted)}
.bl-foot-bottom nav{flex-direction:row;flex-wrap:wrap;gap:0 24px}
.bl-foot-bottom nav a{font-size:.875rem}
/* With very large text the legal line's last pair may wrap like any other words. */
@container bl-foot (max-width:12em){.bl-foot-bottom .nb{white-space:normal}}
@media(max-width:900px){.bl-foot-top{grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr))}.bl-foot-brand{grid-column:1/-1}}

@media(max-width:620px){
  body{font-size:1rem}
  .bl-top{padding-top:10px;padding-bottom:10px}
  .bl-brand .bl-icon{display:none}
  /* line-break-ok: wordmark image, shrinks with the window */
  .bl-wordmark{width:124px;max-width:100%}
  .bl-nav{gap:0 16px}
  .bl-form .url-row{border-radius:18px;padding:5px}
  .bl-form .url-row .btn{width:100%}
  .bl-offer{border-radius:18px}
}
/* A phone at 200% zoom (about 195 CSS px): headings keep their phone size at 390px and shrink only
   as far as a builder's name ("WordPress", "Squarespace") needs to fit on one line. */
@media(max-width:420px){
  h1{font-size:clamp(1.6rem,9.6vw,2.35rem)}
  .bl-offer{padding:22px 16px}
  .bl-offer h2{font-size:clamp(1.4rem,7.4vw,1.75rem)}
  .rp-summary{font-size:clamp(1.5rem,8.2vw,2rem)}
}
