/* Shared base for the standalone pages (document pages, product pages):
   fonts, colour tokens, body offset under the fixed site header, links,
   focus ring, page width and the skip link. Each page type adds its own
   stylesheet after this one. */

@font-face {
  font-family: 'Funnel Display';
  src: url('/fonts/FunnelDisplay-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('/fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf')
    format('truetype');
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --forest: #002e10;
  --lime: #e1ff00;
  --paper: #f3f4f1;
  --ink: #253b2d;
  --muted: #536458;
  --line: #d8e0d8;
  font-family: 'Nunito Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  /* The shared site header (site-header.css) is fixed. */
  padding-top: calc(var(--site-header-h, 72px) + 24px);
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #48733b;
  outline-offset: 6px;
  border-radius: 3px;
}
.wrap {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: 12px;
  left: 20px;
  z-index: 1000; /* above the fixed site header */
  padding: 12px 20px;
  color: var(--forest);
  background: var(--lime);
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
}
