/* Biomefolio Bench: the shared identity for the overview, methodology and Consortium pages.

   Two voices. The benchmark speaks in a geometric sans whose round bowls echo the wells of a plate;
   people (the company's letter, notes written beside a figure) speak in an old-style serif.
   Colour does three jobs only: navy ink for reading, cobalt for signal, yellow marker for "look here".
   The page ships under a strict Content-Security-Policy with no font-src, so every face is a system face. */

:root{
  color-scheme:light;
  --paper:#fafaf7;
  --sheet:#fff;
  --ink:#14234a;
  --ink-2:#3d4a6b;
  --ink-3:#59658a;
  --rule:#e0e3eb;
  --rule-2:#c3c9d8;
  --blue:#2443cf;
  --blue-ink:#1d37ad;
  --wash:#eef0f7;
  --mark:#ffe26a;
  --navy:#101c3f;
  --sans:"Avenir Next",Avenir,"Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;
  --display:var(--sans);
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
  --t-s:.875rem;
  --t-m:.9375rem;
  --t-lede:clamp(1.0625rem,1.32vw,1.1875rem);
  --gutter:clamp(20px,5vw,64px);
  --frame:1200px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font:400 1rem/1.55 var(--sans);font-variant-numeric:lining-nums;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
[hidden]{display:none!important}
::selection{background:var(--mark);color:var(--ink)}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
img,svg{display:block;max-width:100%}
h1,h2,h3,h4{font-family:var(--display);color:var(--ink);text-wrap:balance}
p{text-wrap:pretty}

.frame{width:min(var(--frame),100% - 2*var(--gutter));margin-inline:auto}

a{color:var(--blue-ink);text-decoration-thickness:1px;text-underline-offset:.22em}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:3px}

.skip{position:absolute;z-index:10;top:10px;left:10px;padding:12px 16px;border-radius:999px;background:var(--ink);color:#fff;font-weight:600;text-decoration:none;transform:translateY(-200%)}
.skip:focus{transform:none}

/* Masthead: company / product, then the three Bench pages. The current page carries one filled well. */
.mast{border-bottom:1px solid var(--rule)}
.mast-in{display:flex;align-items:center;justify-content:space-between;gap:0 28px;min-height:68px}
.brand{display:flex;align-items:center;gap:.6rem;margin:0;font:600 1.08rem/1 var(--display);letter-spacing:-.012em;white-space:nowrap}
.brand a{display:inline-flex;align-items:center;gap:.6rem;min-height:44px;color:var(--ink);text-decoration:none}
.brand a:hover{color:var(--blue-ink)}
.brand img{flex:none}
/* Bench stands on its own: one wordmark that leads to the Bench overview. The company is credited in the footer. */
a.brand{min-height:44px;color:var(--ink);text-decoration:none}
a.brand:hover{color:var(--blue-ink)}
.brand-slash{color:var(--ink-3);font-weight:300}
.brand .brand-product{font-weight:500;color:var(--ink-2)}
.mast-nav{display:flex;align-items:center;gap:clamp(0px,1.2vw,14px);margin-right:-12px}
.mast-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:999px;color:var(--ink-2);font:500 .95rem/1.2 var(--sans);text-decoration:none;white-space:nowrap}
.mast-nav a:hover{background:var(--wash);color:var(--ink)}
.mast-nav a[aria-current="page"]{color:var(--ink)}
.mast-nav a[aria-current="page"]::before{content:"";flex:none;width:.5em;height:.5em;margin-right:.55em;border-radius:50%;background:var(--blue)}

/* Actions are pills, the one rounded shape besides the wells. */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border:0;border-radius:999px;font:600 1rem/1.2 var(--sans);letter-spacing:-.005em;text-decoration:none;white-space:nowrap;cursor:pointer}
.btn-solid{background:var(--blue);color:#fff}
.btn-solid:hover{background:var(--blue-ink)}
.btn-line{color:var(--ink);box-shadow:inset 0 0 0 1px var(--rule-2)}
.btn-line:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.btn-paper{background:#fff;color:var(--navy)}
.btn-paper:hover{background:#e6eaf6}

.foot{border-top:1px solid var(--rule);color:var(--ink-3);font-size:.9rem}
.foot-in{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 28px;min-height:76px;padding-block:14px}
.foot-brand{display:flex;align-items:center;gap:.5rem;margin:0 0 0 -10px}
.foot-brand a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;color:var(--ink-2);text-decoration:none}
.foot-brand a:first-child{color:var(--ink);font-weight:600}
.foot-brand a:hover{text-decoration:underline}
.foot-brand span{margin:0 -8px;font-weight:300}
.foot-credit{margin:0}
.foot-credit strong{color:var(--ink);font-weight:600}
.foot-credit a{color:var(--ink-2)}
.foot nav a[aria-current="page"]{color:var(--ink)}
.foot nav{display:flex;flex-wrap:wrap;gap:0 6px;margin-inline:-10px}
.foot nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;color:var(--ink-2);text-decoration:none}
.foot nav a:hover{color:var(--ink);text-decoration:underline}

@media(max-width:640px){
  .mast-in{flex-wrap:wrap;padding-top:8px}
  .mast-nav{width:100%;margin:0 -12px 2px;gap:0}
  .mast-nav a{font-size:.92rem}
}
@media(max-width:340px){
  :root{--gutter:16px}
  .mast-nav a{padding:0 9px;font-size:.86rem}
  .btn{padding:0 18px}
}

/* The narrowest phones: a page name never breaks in two. The links sit closer together. */
@media(max-width:360px){
  .mast-nav{gap:0}
  .mast-nav a{padding:0 8px;font-size:.875rem}
}
