/* Shared colours, type and focus styles from the Front door prototype. */
@font-face {
  font-family: Figtree;
  src: url("/assets/figtree-latin-f7c28c58.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: Gabarito;
  src: url("/assets/gabarito-latin-cf2c8938.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: light-dark(#ffffff, #0f1c18);
  --ink: light-dark(#17322a, #e8f1ed);
  --muted: light-dark(#3d4f48, #b5c7bf);
  --mist: light-dark(#eef5f1, #16281f);
  --card: light-dark(#ffffff, #132420);
  --line: light-dark(#dbe5e0, #2b4239);
  --pine: light-dark(#1f6b52, #5cc19c);
  --pine-ink: light-dark(#ffffff, #0f1c18);
  --deep: light-dark(#17322a, #08130f);
  --gold: #f4b23e;
  --gold-ink: #17322a;
  --red: light-dark(#b3261e, #ff8a80);
  --red-bg: light-dark(#fbeceb, #3a1c1a);
  --amber-bg: light-dark(#fdf3df, #3a2f17);
  --focus: light-dark(#0b57d0, #8ab4f8);
  --radius: 20px;
  --brand: #1f6b52;
}

:root[data-theme=dark] {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 Figtree, system-ui, sans-serif;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: Gabarito, Figtree, sans-serif;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -.03em;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.02em;
}

h3 {
  font-size: 24px;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: var(--pine);
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.audit-evidence {
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  display: block;
}
