/* Black Mettle Governance — site styles. Colours from brand.md section 3. */
:root {
  --bg: #15171A;
  --bg-raised: #1C1F23;
  --text: #F2F3F4;
  --muted: #A9AFB6;
  --rule: #2C3036;
  --accent: #39FF14;
  --max: 46rem;
}

* { box-sizing: border-box; }

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

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

a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.brand img { height: 40px; width: auto; display: block; }
.brand:hover { color: var(--text); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
nav a[aria-current="page"] { color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* Content */
main { padding: 3.5rem 0 4rem; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.2; margin: 0 0 1.25rem; font-weight: 650; letter-spacing: -.01em; }
h2 { font-size: 1.3rem; margin: 2.75rem 0 .75rem; font-weight: 600; }
h2::before { content: ""; display: block; width: 2.25rem; height: 2px; background: var(--accent); margin-bottom: .9rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--muted); margin-bottom: .75rem; }

ul.points { padding-left: 1.2rem; }
ul.points li { margin-bottom: .5rem; }
ul.points li::marker { color: var(--accent); }

blockquote {
  margin: 1.5rem 0; padding: 1.25rem 1.5rem; background: var(--bg-raised);
  border-left: 3px solid var(--accent); border-radius: 2px;
}
blockquote p:last-child { margin-bottom: 0; }

.note { background: var(--bg-raised); padding: 1rem 1.25rem; border-radius: 2px; color: var(--muted); }

/* Call to action */
.cta { margin: 2.5rem 0 0; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.button {
  display: inline-block; background: var(--accent); color: #0B0C0D; font-weight: 650;
  text-decoration: none; padding: .8rem 1.4rem; border-radius: 3px;
}
.button:hover, .button:focus-visible { background: #fff; color: #0B0C0D; }
.cta .small { color: var(--muted); font-size: .92rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); color: var(--muted); font-size: .9rem; }
.site-footer .wrap { padding-top: 1.75rem; padding-bottom: 2.25rem; }
.site-footer p { margin: 0 0 .35rem; }
.site-footer a { color: var(--muted); }

@media (max-width: 520px) {
  main { padding-top: 2.25rem; }
  nav ul { gap: 1rem; }
}
