/* Canonical FieldReady site shell. Page-specific styles should not target fr-* classes. */
.fr-site-header,
.fr-site-header *,
.fr-site-footer,
.fr-site-footer * {
  box-sizing: border-box;
}

.fr-site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  min-height: 88px;
  margin: 0;
  padding: 18px clamp(18px, 4vw, 64px);
  color: #f3f1e9;
  background-color: #17231e;
  background-image:
    linear-gradient(rgba(243, 241, 233, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 241, 233, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  border-bottom: 1px solid rgba(243, 241, 233, 0.14);
}

.fr-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1440px);
  min-width: 0;
  margin: 0 auto;
  gap: clamp(24px, 4vw, 72px);
}

.fr-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: #f3f1e9;
  text-decoration: none;
}

.fr-brand__mark {
  display: block;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: #b8c98a;
}

.fr-brand__mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.fr-brand__mark .outer-edge,
.fr-brand__mark .inner-edge,
.fr-brand__mark .rear-edge {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fr-brand__mark .outer-edge { stroke-width: 1.8; }
.fr-brand__mark .inner-edge { stroke-width: 1.35; }
.fr-brand__mark .rear-edge { opacity: 0.42; stroke-width: 1; }
.fr-brand__mark .dodecahedron-face { fill: currentColor; fill-opacity: 0.07; stroke: none; }

.fr-brand__text {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.fr-brand__text strong {
  color: #f3f1e9;
  font: 700 18px/1.1 Arial, Helvetica, sans-serif;
  letter-spacing: -0.02em;
}

.fr-brand__text small {
  color: #aeb9b1;
  font: 400 10px/1.3 "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fr-site-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  flex: 1 1 680px;
  width: min(100%, 760px);
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 0;
  font: 500 10px/1.25 "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fr-site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 6px 4px;
  color: #d5dbd7;
  text-align: center;
  text-decoration: none;
  overflow-wrap: normal;
}

.fr-site-nav a:hover,
.fr-site-nav a:focus-visible,
.fr-site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(243, 241, 233, 0.055);
}

.fr-site-nav a:focus-visible,
.fr-brand:focus-visible {
  outline: 2px solid #d49a45;
  outline-offset: 3px;
}

.fr-site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 12%;
  bottom: 3px;
  left: 12%;
  height: 2px;
  background: #b8c98a;
  content: "";
}

.fr-site-footer {
  position: relative;
  z-index: 10;
  display: block;
  width: 100%;
  margin: 0;
  padding: 22px clamp(18px, 4vw, 64px) 26px;
  color: #aeb9b1;
  background: #101a16;
  border: 0;
  border-top: 1px solid rgba(243, 241, 233, 0.14);
  font: 400 11px/1.5 "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
}

.fr-site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1440px);
  margin: 0 auto;
  gap: 12px 32px;
}

.fr-site-footer p {
  max-width: none;
  margin: 0;
  color: inherit;
  font: inherit;
}

.fr-site-footer p:first-child { color: #f3f1e9; }

@media (max-width: 800px) {
  .fr-site-header {
    min-height: 132px;
    padding: 14px clamp(12px, 4vw, 20px) 16px;
  }

  .fr-site-header__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .fr-brand { align-self: flex-start; }

  .fr-site-nav {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .fr-site-nav a {
    min-height: 44px;
    font-size: 9px;
    letter-spacing: 0.035em;
  }
}

@media (max-width: 430px) {
  .fr-site-header { padding-inline: 10px; }

  .fr-brand__mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .fr-site-nav a {
    padding-inline: 2px;
    font-size: 8.5px;
    letter-spacing: 0.015em;
  }

  .fr-site-nav a[aria-current="page"]::after {
    right: 8%;
    left: 8%;
  }

  .fr-site-footer { padding-block: 20px 22px; }

  .fr-site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
