:root {
  --ink: #111827;
  --muted: #4f5f55;
  --line: #e7ece5;
  --green: #1f6b46;
  color: var(--ink);
  background: #fbfcfa;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, ui-sans-serif, system-ui,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

main {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 40px;
}

nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 720;
  color: var(--ink);
}

nav .brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  max-width: 18ch;
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 5.4vw, 3.1rem);
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.standfirst {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.byline {
  margin: 18px 0 0;
  color: #6b746e;
  font-size: 0.86rem;
}

article {
  margin-top: 40px;
}

article h2 {
  max-width: 24ch;
  margin: 42px 0 14px;
  font-size: 1.45rem;
  font-weight: 740;
  line-height: 1.25;
  letter-spacing: -0.014em;
  text-wrap: balance;
}

article p {
  max-width: 68ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
  text-wrap: pretty;
}

article ul {
  max-width: 66ch;
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

article li {
  margin-bottom: 8px;
}

article strong {
  color: var(--ink);
}

figure {
  margin: 32px 0;
}

figure img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(31, 41, 55, 0.12);
}

figcaption {
  margin-top: 14px;
  color: #6b746e;
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--green);
  border-radius: 0 10px 10px 0;
  background: #f2f7f2;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.6;
}

blockquote p {
  margin: 0;
  color: inherit;
}

.sources {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.sources h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.sources ol {
  margin: 0;
  padding-left: 20px;
  color: #6b746e;
  font-size: 0.88rem;
  line-height: 1.6;
}

.sources a {
  overflow-wrap: anywhere;
}

.guide-cta {
  margin-top: 48px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
}

.guide-cta h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.guide-cta p {
  margin: 0 0 18px;
  color: var(--muted);
}

.guide-cta a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-weight: 740;
}

.disclaimer {
  margin-top: 28px;
  color: #6b746e;
  font-size: 0.84rem;
  line-height: 1.5;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

/* Full-bleed data visualisations, wider than the 720px prose column. */
figure.wide {
  width: min(100vw - 32px, 940px);
  margin: 40px 0;
  margin-left: 50%;
  transform: translateX(-50%);
}

figure.wide img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(31, 41, 55, 0.09);
}

figure.wide figcaption {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.nav-right .nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #dbe5dc;
  border-radius: 999px;
  color: #1d3b2a;
  background: #ffffff;
}

.nav-right .nav-cta:hover,
.nav-right .nav-cta:focus-visible {
  border-color: #b8d7bf;
  text-decoration: none;
}
