/* ANBCC brand tokens: see ANBCC Brand Guide v1 (Oct 2026). */
:root {
  --green: #125d30;
  --red: #ed1c24;
  --red-text: #c8161d;
  --whites: #f7f4ec;
  --ink: #1f2a22;
  --muted: #5b665e;
  --line: #e4dfd2;
  --white: #ffffff;
  --gutter: clamp(16px, 5vw, 48px);
  --max: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Type */
.display {
  margin: 0;
  color: var(--green);
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-size: clamp(2rem, 6vw, 3rem);
}

.label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Signature accent: a short red rule under a headline, once per page. */
.rule {
  width: 96px;
  height: 6px;
  margin: 20px 0 24px;
  border: 0;
  background: var(--red);
}

/* Buttons: crisp corners, white on green for any size. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid var(--green);
  border-radius: 2px;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #0d4a26;
  border-color: #0d4a26;
}

.button.secondary {
  background: var(--white);
  color: var(--green);
}

.button.secondary:hover {
  background: var(--whites);
}

/* Diamond band from the mitre, used as a divider. */
.diamonds {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.diamonds li {
  width: 10px;
  height: 10px;
  background: var(--red);
  transform: rotate(45deg);
}

/* Footer: green band with a red top stripe, as on the guide's cover. */
.site-footer {
  margin-top: auto;
  border-top: 8px solid var(--red);
  background: var(--green);
  color: var(--white);
  padding: 40px 0 48px;
  font-size: 0.9375rem;
}

.site-footer a {
  color: var(--white);
}

.site-footer .diamonds {
  margin-top: 24px;
}

.site-footer p {
  margin: 8px 0 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
