/**
 * ZAS brand design tokens.
 * Use the official palette for brand surfaces and text; use the derived
 * turquoise tokens for interactive states, accessible text, and soft fills.
 * For arbitrary translucent effects, derive a color with
 * color-mix(in srgb, var(--zas-turquesa) <percentage>, transparent).
 */
:root {
  --zas-navy: #010516; /* Principal dark brand color. */
  --zas-navy-2: color-mix(in srgb, var(--zas-navy) 82%, white); /* Raised dark surfaces and secondary navy gradients. */
  --zas-navy-3: color-mix(in srgb, var(--zas-navy) 68%, white); /* Lighter navy accents within dark illustrations and gradients. */
  --zas-navy-acento: color-mix(in srgb, var(--zas-navy) 84%, var(--zas-turquesa)); /* Blue-tinted end stop for navy brand gradients. */
  --zas-navy-sombra: rgb(1 5 22 / 12%); /* Soft shadows cast by navy surfaces. */
  --zas-turquesa: #01d5e1; /* Primary ZAS accent, CTAs, and highlights. */
  --zas-turquesa-oscuro: #0099a1; /* Official dark turquoise for contrast. */
  --zas-blanco-hueso: #efebee; /* Official warm off-white background. */

  --zas-turquesa-hover: #00b5be; /* Darker primary accent for hover states. */
  --zas-turquesa-texto: #007c83; /* Accessible turquoise for text on light backgrounds. */
  --zas-turquesa-suave: #e6fbfc; /* Subtle tinted background. */
  --zas-turquesa-transparente: rgb(1 213 225 / 0%);
  --zas-turquesa-2: rgb(1 213 225 / 2%);
  --zas-turquesa-3: rgb(1 213 225 / 3%);
  --zas-turquesa-4: rgb(1 213 225 / 4%);
  --zas-turquesa-7: rgb(1 213 225 / 7%);
  --zas-turquesa-9: rgb(1 213 225 / 9%);
  --zas-turquesa-11: rgb(1 213 225 / 11%);
  --zas-turquesa-12: rgb(1 213 225 / 12%);
  --zas-turquesa-15: rgb(1 213 225 / 15%);
  --zas-turquesa-16: rgb(1 213 225 / 16%);
  --zas-turquesa-17: rgb(1 213 225 / 17%);
  --zas-turquesa-20: rgb(1 213 225 / 20%);
  --zas-turquesa-23: rgb(1 213 225 / 23%);
  --zas-turquesa-24: rgb(1 213 225 / 24%);
  --zas-turquesa-25: rgb(1 213 225 / 25%);
  --zas-turquesa-30: rgb(1 213 225 / 30%);
  --zas-turquesa-54: rgb(1 213 225 / 54%);

  /* Typography (Brand Manual V2): Baloo 2 for headings, Archivo for body. */
  --font-heading: "Baloo 2", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* No brand monospace: small technical labels use the system monospace stack. */
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* Official artwork must keep its supplied aspect ratio in every local header. */
img.official-wordmark {
  width: 124px !important;
  height: 54px !important;
  margin-block: 0 !important;
  max-width: none;
  object-fit: contain !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

/* Reserve the required clear space in each header that carries the wordmark. */
:is(header, nav, .nav, .header, .zas-nav, .rd-topbar):has(img.official-wordmark) {
  height: 72px !important;
  min-height: 72px !important;
}

.zas-nav__inner:has(img.official-wordmark) {
  height: 72px !important;
  min-height: 72px !important;
}

img.official-isotype {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
