/* London Bridge Ventures — shared stylesheet. No JS, no external requests. */

:root {
  --bg: #faf9f6;
  --ink: #1a1c1e;
  --muted: #5b6066;
  --accent: #1f3d5c;      /* single restrained accent: deep navy */
  --rule: #e4e1da;
  --pass-bg: #e9f1e9;
  --pass-ink: #2b5e33;
  --fail-bg: #f8e9e6;
  --fail-ink: #99321f;
  --na-bg: #eeedea;
  --na-ink: #6b6f75;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a { color: var(--accent); }
a:hover { text-decoration: none; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 0.9em;
  background: #f1efe9;
  padding: 0.05em 0.3em;
  border-radius: 3px;
  word-break: break-word;
}

/* ---------- Holding page (/) ---------- */

body.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

body.home h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  letter-spacing: 0.01em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

body.home p {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--muted);
  margin: 0;
}

/* ---------- Content pages ---------- */

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

body.report main { max-width: 58rem; }

h1 {
  font-size: 1.65rem;
  line-height: 1.3;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.15rem;
  color: var(--accent);
  margin: 2.25rem 0 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.subline {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

ul.bullets {
  padding-left: 1.2rem;
  margin: 1.25rem 0;
}

ul.bullets li { margin-bottom: 0.9rem; }

.disclaimer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
}

.intro-note {
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 0.9rem;
  margin: 0 0 2rem;
}

/* ---------- Tables (report) ---------- */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.75rem 0 1.5rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.88rem;
  line-height: 1.5;
}

.table-scroll table { min-width: 40rem; }

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--rule);
}

th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 2px solid var(--rule);
}

td.num { white-space: nowrap; }

/* Report header block */
table.meta { font-size: 0.92rem; }
table.meta th {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 1px solid var(--rule);
}

/* ---------- Badges ---------- */

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.15em 0.55em;
  border-radius: 3px;
  white-space: nowrap;
}

.badge.pass { background: var(--pass-bg); color: var(--pass-ink); }
.badge.fail { background: var(--fail-bg); color: var(--fail-ink); }
.badge.na   { background: var(--na-bg);   color: var(--na-ink); }

/* ---------- Verdict box ---------- */

.verdict {
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  background: #f3f1ec;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
}

.verdict p { margin: 0 0 0.6rem; }
.verdict p:last-child { margin-bottom: 0; }

/* ---------- Next steps ---------- */

ol.next-steps { padding-left: 1.3rem; }
ol.next-steps li { margin-bottom: 0.75rem; }

@media (max-width: 480px) {
  main { padding: 1.75rem 1rem 3rem; }
  h1 { font-size: 1.4rem; }
}
