/* legalsciencelab.com — one page, no build step, no web fonts, no third-party
   requests. Minimal typesetting: one measure, one scale, hairline rules. */

:root {
  --ink: #16181a;
  --muted: #55595e;
  --line: #d9d7d2;
  --paper: #fcfbf9;
  --block: #f4f2ee;
  --measure: 34rem;
  --serif: Georgia, "Iowan Old Style", "Liberation Serif", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Liberation Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--serif);
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.5rem;
}

p { margin: 0 0 1.1em; }

em { font-style: italic; }

/* ── masthead ───────────────────────────────────────────────────── */

.masthead {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  margin-bottom: 4rem;
}

.wordmark {
  margin: 0;
  font: 600 0.8125rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── lead ───────────────────────────────────────────────────────── */

.lead {
  margin-bottom: 4.5rem;
  padding-top: 0;
  border-top: 0;
}

/* The category line, above the H1: the page's one self-description in the
   buyer's own vocabulary. D4a §6 positioning statement, line 3. */
.kicker {
  margin: 0 0 0.9rem;
  font: 600 0.8125rem/1.3 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0 0 1.5rem;
  font: 600 2rem/1.22 var(--serif);
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.standfirst { font-size: 1.1875rem; line-height: 1.5; }

.attribution {
  margin-top: -0.3em;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--muted);
}

/* ── sections ───────────────────────────────────────────────────── */

main section + section { margin-top: 4rem; }

main section {
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.section-label {
  margin: 0 0 0.5rem;
  font: 600 0.75rem/1 var(--sans);
  letter-spacing: 0.18em;
  color: var(--muted);
}

h2 {
  margin: 0 0 1.25rem;
  font: 600 1.4375rem/1.3 var(--serif);
  letter-spacing: -0.008em;
}

h3 {
  margin: 0 0 0.7rem;
  font: 600 1rem/1.35 var(--sans);
}

/* ── the three DOJ questions ────────────────────────────────────── */

.questions {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  counter-reset: q;
}

.questions li {
  counter-increment: q;
  position: relative;
  padding: 0.55rem 0 0.55rem 2.2rem;
  border-top: 1px solid var(--line);
}

.questions li:last-child { border-bottom: 1px solid var(--line); }

.questions li::before {
  content: counter(q);
  position: absolute;
  left: 0;
  top: 0.65rem;
  font: 600 0.8125rem/1.3 var(--sans);
  color: var(--muted);
}

/* ── ICP facts ──────────────────────────────────────────────────── */

.facts { margin: 0 0 1.4rem; }

.facts > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}

.facts > div:last-child { border-bottom: 1px solid var(--line); }

.facts dt {
  font: 600 0.8125rem/1.5 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd { margin: 0; font-size: 0.9375rem; }

/* ── claim blocks: a claim and its companion, inside one border ──── */

.block {
  margin: 1.75rem 0;
  padding: 1.4rem 1.4rem 0.3rem;
  background: var(--block);
  border: 1px solid var(--line);
}

.block > p:last-child { margin-bottom: 1.1rem; }

/* A companion sentence is not fine print: same size, same colour as the claim
   it travels with. The hairline marks the pairing, it does not demote it. */
.companion {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.companion + .companion { margin-top: -0.2rem; }

/* ── portfolios ─────────────────────────────────────────────────────
   One repeating block. A third portfolio is one more `.portfolio` and no
   layout change at any width. Nothing is rendered for a portfolio that does
   not exist — there is no empty slot waiting to be filled. */

.portfolio {
  margin: 1.75rem 0;
  padding-top: 1.4rem;
  border-top: 2px solid var(--ink);
}

.portfolio h3 {
  margin-bottom: 0.35rem;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
}

.portfolio-role {
  margin-bottom: 1.1em;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* The product list. A name and its stage word stay on one line and never
   separate across a breakpoint; the description wraps beneath. */

.products { margin: 0; }

.products > div {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.products > div:last-child { border-bottom: 1px solid var(--line); }

.products dt {
  margin-bottom: 0.3rem;
  font: 600 1rem/1.3 var(--sans);
}

.products dd { margin: 0; font-size: 0.9375rem; }

.status {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.55rem;
  border: 1px solid var(--muted);
  border-radius: 1rem;
  font: 600 0.6875rem/1.5 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  vertical-align: 0.1em;
}

/* A token standing where a product name stands. One row carries one, pending
   the owner's confirmation of the name; it is dashed and inline so it reads as
   a slot rather than as a word anyone chose. Description tokens and the
   `.placeholder` box they sat in are gone in revision 7 — the CSS went with
   them rather than waiting unused for a use nobody has planned. */
.products dt .token {
  display: inline-block;
  padding: 0 0.3rem;
  border: 1px dashed var(--muted);
  color: var(--muted);
}

/* ── the deliberately empty state ───────────────────────────────── */

.empty-state {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.4rem;
  border: 1px dashed var(--muted);
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ── next step: the printed address ─────────────────────────────── */

.address {
  margin: 1.5rem 0 0.6rem;
  font: 600 1.1875rem/1.3 var(--sans);
  word-break: break-word;
}

.address a { color: inherit; text-underline-offset: 0.18em; }

/* There is no consent banner and no button anywhere on this page. Linh Duong
   chose cookieless measurement, so there is no choice to put to a visitor.
   The footer states only what is verifiable from this source: no form, no
   sign-up, no backend. The measurement sentence returns in the same change
   that enables Web Analytics, widens the CSP and records the observation. */

/* ── footer ─────────────────────────────────────────────────────── */

footer {
  margin: 5rem 0 0;
  padding: 2rem 1.5rem 4rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

footer .sources { font-size: 0.8125rem; }

cite { font-style: italic; }

/* ── wider screens: a little more air, same measure ─────────────── */

@media (min-width: 46rem) {
  body { font-size: 1.125rem; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.5625rem; }
  .masthead { padding: 1.75rem 0; }
  .wrap { padding: 0 2rem; }
  footer { padding-left: 2rem; padding-right: 2rem; }
}

/* ── phones: nothing moves out of its block, only the type scale ── */

@media (max-width: 26rem) {
  h1 { font-size: 1.625rem; }
  h2 { font-size: 1.3125rem; }
  .block { padding: 1.1rem 1.1rem 0.2rem; }
  .facts > div { grid-template-columns: 1fr; gap: 0.15rem; }
}
