@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/inter-regular.ttf") format("truetype");
}

:root {
  --brand-gradient: linear-gradient(90deg, #75bd20 0%, #ffc727 19.712%, #ff661b 40%, #cf0e2a 60%, #b01bab 80%, #00a1de 99.99%);
  color: #080808;
  background: #fff;
  font-family: Inter, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 8px;
  min-width: 280px;
  background: #fff;
  font-size: clamp(18px, 1.43vw, 26px);
  line-height: 1.08;
  text-transform: uppercase;
}

a {
  color: #0000ee;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.07em;
}

a:hover,
a:focus-visible {
  color: #d50000;
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 12px auto auto 12px;
  padding: 8px 10px;
  background: #fff;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.brand-hero {
  display: block;
  background: #fff;
}

.brand {
  display: inline-block;
  width: fit-content;
  font-size: 2em;
  /* Match the visible top and left edge of the inner-page rainbow headings. */
  margin: calc(0.67em - 2px) 0 0.67em 2px;
}

.brand-image {
  display: block;
  width: 5.27em;
  height: auto;
}

main {
  min-height: 0;
  padding-bottom: 0;
  scroll-margin-top: 12px;
}

.primary-nav { margin-top: 0; }

.primary-nav ul,
.detail-list { margin-block: 0; }

.primary-nav li,
.detail-list li { margin-block: 0.16em; }

.page-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.16em;
  margin-top: 1em;
}

.simple-page h1 {
  width: fit-content;
  max-width: 100%;
  background-image: var(--brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.simple-page address { font-style: normal; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  body { min-width: 0; font-size: 20px; }
  .brand { margin-top: calc(0.67em - 0.8px); }
  .primary-nav { margin-top: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (forced-colors: active) {
  .simple-page h1 {
    background: none;
    color: CanvasText;
  }
  .brand-image { forced-color-adjust: none; }
}
