:root{
  --ink:#1b1b19; --muted:#63625c; --faint:#73726a;
  --accent:#185FA5; --amber:#BA7517;
  --rule:#e3e2db; --wash:#f8f7f4;
  /* Measured on the live site: at .wrap 62rem the prose stopped a full 350px
     short of the section rules, so the right third of every page read as
     empty. 52rem / 40rem closes that to ~110px, which reads as a margin
     rather than as a missing column. Side effect, and a good one: the assay
     grid falls to two columns and each description gets room to breathe. */
  --measure:40rem;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:#fff; color:var(--ink);
  font:400 17px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Helvetica,Arial,sans-serif;
  font-feature-settings:"kern" 1;
}
.wrap{max-width:52rem;margin:0 auto;padding:0 1.5rem}
.measure{max-width:var(--measure)}

/* header */
header{border-bottom:1px solid var(--rule)}
.bar{display:flex;align-items:baseline;gap:1.5rem;flex-wrap:wrap;padding:1.4rem 0}
.mark{font-weight:600;letter-spacing:-.01em;text-decoration:none;color:var(--ink);font-size:1.05rem}
.mark span{color:var(--faint);font-weight:400}
nav{margin-left:auto;display:flex;gap:1.4rem}
nav a{color:var(--muted);text-decoration:none;font-size:.94rem}
nav a:hover,nav a[aria-current]{color:var(--accent)}

/* type */
h1{font-size:2.3rem;line-height:1.15;letter-spacing:-.022em;margin:0 0 .9rem;font-weight:600}
h2{font-size:1.18rem;letter-spacing:-.008em;margin:0 0 .7rem;font-weight:600}
h3{font-size:1rem;margin:0 0 .35rem;font-weight:600}
p{margin:0 0 1.1rem}
a{color:var(--accent)}
.lede{font-size:1.16rem;line-height:1.55;color:var(--muted);margin-bottom:0}
.sub{color:var(--muted)}
small,.small{font-size:.88rem}

section{padding:3.2rem 0;border-top:1px solid var(--rule)}
section:first-of-type{border-top:0}
.hero{padding:4.5rem 0 3.4rem}
.eyebrow{font-size:.78rem;letter-spacing:.09em;text-transform:uppercase;color:var(--faint);margin:0 0 1rem}

/* grid */
.cols{display:grid;gap:2rem 3rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));margin-top:1.6rem}
.cols p{margin:0;color:var(--muted);font-size:.97rem}

/* card */
.card{
  display:block;border:1px solid var(--rule);border-radius:10px;
  padding:1.5rem 1.6rem;text-decoration:none;color:inherit;background:var(--wash);
  max-width:var(--measure);transition:border-color .15s ease;
}
.card:hover{border-color:var(--accent)}
.card h3{font-size:1.15rem;margin-bottom:.3rem}
.card p{color:var(--muted);font-size:.97rem;margin:0 0 .8rem}
.card .go{color:var(--accent);font-size:.92rem}

/* status pill */
.status{
  display:inline-flex;align-items:center;gap:.5rem;
  border:1px solid #e6d3ac;background:#fdf7ea;color:#7a5410;
  border-radius:999px;padding:.32rem .8rem;font-size:.84rem;margin-bottom:1.4rem;
}
.dot{width:.45rem;height:.45rem;border-radius:50%;background:var(--amber)}

/* table */
table{border-collapse:collapse;width:100%;max-width:var(--measure);margin:0 0 1.4rem;font-size:.96rem}
th,td{text-align:left;padding:.55rem .8rem .55rem 0;border-bottom:1px solid var(--rule);vertical-align:top}
th{font-weight:600;font-size:.8rem;letter-spacing:.05em;text-transform:uppercase;color:var(--faint)}
td code{font-size:.92em}
code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--wash);padding:.1em .35em;border-radius:4px;font-size:.9em}
pre{background:var(--wash);border:1px solid var(--rule);border-radius:8px;padding:1rem 1.1rem;overflow-x:auto;max-width:var(--measure)}
pre code{background:none;padding:0;font-size:.86rem;line-height:1.55}

/* list */
ul.plain{list-style:none;padding:0;margin:0 0 1.2rem;max-width:var(--measure)}
ul.plain li{padding:.75rem 0;border-bottom:1px solid var(--rule);color:var(--muted);font-size:.97rem}
ul.plain li:last-child{border-bottom:0}
ul.plain b{color:var(--ink);font-weight:600}

footer{border-top:1px solid var(--rule);padding:2.2rem 0 3rem;color:var(--faint);font-size:.88rem}
footer a{color:var(--muted)}
a[href^="mailto:"]{overflow-wrap:anywhere}
.todo{border-left:3px solid var(--amber);background:#fdf9f0;padding:.8rem 1rem;margin:0 0 1.4rem;font-size:.9rem;color:#6d5622;max-width:var(--measure)}
.todo b{color:#4a3a14}

@media (max-width:640px){
  body{font-size:16px}
  h1{font-size:1.85rem}
  .hero{padding:3rem 0 2.4rem}
  section{padding:2.4rem 0}
  nav{margin-left:0;width:100%;gap:1.1rem;padding-top:.2rem}
  table{font-size:.9rem}
}
