@font-face {
  font-family: "F37 Bolton";
  src: url("../agent/visual/fonts/F37Bolton-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "F37 Bolton";
  src: url("../agent/visual/fonts/F37Bolton-Medium.otf") format("opentype");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --legal-paper: #f8f8f6;
  --legal-surface: #fff;
  --legal-ink: #050505;
  --legal-muted: rgba(0, 0, 0, .56);
  --legal-faint: rgba(0, 0, 0, .38);
  --legal-line: rgba(0, 0, 0, .1);
  --legal-green: #00c80a;
  --legal-green-dark: #008f07;
  --legal-measure: 760px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--legal-paper);
  color: var(--legal-ink);
  font-family: "F37 Bolton", Helvetica, Arial, sans-serif;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 11px 14px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  text-decoration: none;
  transform: translateY(-180%);
  transition-property: transform;
  transition-duration: 160ms;
  transition-timing-function: ease-out;
}

.skip-link:focus { transform: translateY(0); }

.site-nav {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding: 0 clamp(20px, 3.2vw, 62px);
  background: rgba(248, 248, 246, .56);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  transition-property: background-color, box-shadow, backdrop-filter;
  transition-duration: 240ms;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}

.site-nav.is-scrolled {
  background: rgba(248, 248, 246, .88);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, .07),
    0 10px 36px rgba(0, 0, 0, .035);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.site-nav-inner {
  display: grid;
  width: min(100%, 1520px);
  min-height: 68px;
  margin: 0 auto;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(22px, 4vw, 72px);
}

.site-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}

.site-brand img {
  display: block;
  width: clamp(116px, 9vw, 148px);
  height: auto;
}

.site-nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.site-nav-link.uic-nav-item {
  display: inline-flex;
  min-height: 42px;
  height: 42px;
  align-items: center;
  padding: 0 clamp(13px, 1.25vw, 20px);
  background: rgba(248, 248, 246, .7);
  color: rgba(0, 0, 0, .68);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.012em;
  text-decoration: none;
  scale: 1;
  transition-property: scale, color, background-color;
  transition-duration: 160ms;
  transition-timing-function: ease-out;
}

.site-nav-link.uic-nav-item:hover,
.site-nav-link.uic-nav-item:focus-visible {
  background: #ececea;
  color: #000;
}

.site-nav-cta.uic-glass-green {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 15px 0 17px;
  color: #001802;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.014em;
  text-decoration: none;
  scale: 1;
  transition-property: scale, background-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.site-nav-cta svg { width: 15px; height: 15px; transform: translateX(1px); }
.site-nav-link.uic-nav-item:active,
.site-nav-cta.uic-glass-green:active { scale: .96; }

.legal-hero {
  padding: clamp(146px, 16vw, 238px) clamp(24px, 6vw, 110px) clamp(72px, 8vw, 124px);
  background: var(--legal-paper);
}

.legal-hero__inner {
  display: grid;
  width: min(100%, 1440px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .52fr);
  align-items: end;
  gap: clamp(48px, 9vw, 150px);
}

.legal-hero h1 {
  max-width: 9.5ch;
  margin: 0;
  font-size: clamp(70px, 9vw, 146px);
  font-weight: 400;
  line-height: .89;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.legal-hero__summary {
  max-width: 33ch;
  margin: 0;
  color: var(--legal-muted);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.38;
  letter-spacing: -.02em;
  text-wrap: pretty;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: clamp(34px, 4vw, 58px);
  color: var(--legal-faint);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.legal-meta a {
  color: rgba(0, 0, 0, .56);
  text-decoration-color: rgba(0, 0, 0, .24);
  text-underline-offset: 3px;
}

.legal-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: 18px;
}

.legal-switcher a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(0, 0, 0, .5);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: inset 0 -1px transparent;
  transition-property: color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.legal-switcher a:hover,
.legal-switcher a:focus-visible { color: #000; }
.legal-switcher a[aria-current="page"] {
  color: #000;
  box-shadow: inset 0 -1px #000;
}

.legal-layout {
  display: grid;
  width: min(calc(100% - 44px), 1320px);
  margin: 0 auto;
  grid-template-columns: 260px minmax(0, var(--legal-measure));
  justify-content: space-between;
  gap: clamp(60px, 9vw, 150px);
  padding: clamp(74px, 9vw, 128px) 0 clamp(110px, 12vw, 190px);
  border-top: 1px solid var(--legal-line);
}

.legal-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100svh - 122px);
  overflow-y: auto;
  padding: 6px 10px 6px 0;
  scrollbar-width: thin;
}

.legal-toc__title {
  margin: 0 0 14px;
  color: var(--legal-faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.legal-toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc a {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 11px;
  border-radius: 0 9px 9px 0;
  color: var(--legal-muted);
  font-size: 12px;
  line-height: 1.25;
  text-decoration: none;
  transition-property: background-color, color;
  transition-duration: 140ms;
}

.legal-toc a:hover,
.legal-toc a:focus-visible { background: #ececea; color: #000; }

.legal-toc a[aria-current="location"] {
  background: #ececea;
  color: #000;
  box-shadow: inset 2px 0 #000;
}

.legal-document { min-width: 0; }

.legal-intro {
  padding: 0 0 clamp(42px, 6vw, 72px);
  color: rgba(0, 0, 0, .72);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  letter-spacing: -.012em;
}

.legal-intro p { margin: 0 0 18px; text-wrap: pretty; }
.legal-intro p:last-child { margin-bottom: 0; }

.legal-section {
  padding: clamp(46px, 6vw, 72px) 0;
  border-top: 1px solid var(--legal-line);
  scroll-margin-top: 96px;
}

.legal-section:first-of-type { border-top: 0; }

.legal-section h2 {
  max-width: 17ch;
  margin: 0 0 28px;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.legal-section h3 {
  max-width: 28ch;
  margin: 38px 0 14px;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.027em;
  text-wrap: balance;
}

.legal-section h4 {
  margin: 30px 0 12px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.015em;
}

.legal-section p,
.legal-section li,
.legal-address {
  color: rgba(0, 0, 0, .68);
  font-size: 16px;
  line-height: 1.65;
}

.legal-section p { margin: 0 0 17px; text-wrap: pretty; }
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul,
.legal-section ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding-left: 22px;
}

.legal-section li { padding-left: 5px; }
.legal-section li::marker { color: rgba(0, 0, 0, .34); font-size: .72em; }
.legal-section strong { color: #000; font-weight: 500; }

.legal-section a,
.legal-intro a,
.legal-address a {
  color: var(--legal-green-dark);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--legal-green-dark) 35%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-callout {
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: 20px;
  background: #ececea;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.legal-callout p { color: rgba(0, 0, 0, .72); }

.legal-caps {
  padding: 20px 22px;
  border-radius: 18px;
  background: #111;
  color: rgba(255, 255, 255, .82) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  letter-spacing: .012em;
}

.legal-address {
  width: fit-content;
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .065),
    0 1px 2px -1px rgba(0, 0, 0, .06),
    0 12px 32px rgba(0, 0, 0, .045);
  font-style: normal;
}

.site-footer {
  padding: 0 clamp(24px, 6vw, 110px) clamp(36px, 4vw, 68px);
  background: var(--legal-paper);
  color: #000;
}

.site-footer-inner {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding-top: clamp(54px, 6vw, 88px);
  border-top: 1px solid rgba(0, 0, 0, .12);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, .6fr));
  gap: clamp(34px, 6vw, 92px);
}

.site-footer-lockup { display: inline-flex; width: clamp(152px, 13vw, 210px); }
.site-footer-lockup .uic-footer-wm,
.site-footer-lockup .uic-footer-logo { display: block; width: 100%; height: auto; }

.site-footer-brand p {
  max-width: 30ch;
  margin: 22px 0 0;
  color: rgba(0, 0, 0, .48);
  font-size: 14px;
  line-height: 1.45;
  text-wrap: pretty;
}

.site-footer-brand a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: rgba(0, 0, 0, .72);
  text-decoration-color: rgba(0, 0, 0, .24);
  text-underline-offset: 3px;
}

.site-footer-column strong {
  display: block;
  margin-bottom: 12px;
  color: rgba(0, 0, 0, .38);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.site-footer-column a {
  display: flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  color: rgba(0, 0, 0, .72);
  font-size: 14px;
  text-decoration: none;
  transition-property: color, opacity;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.site-footer-column a:hover,
.site-footer-brand a:hover { color: #000; }

.site-footer-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: end;
  margin-top: clamp(58px, 7vw, 104px);
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.site-footer-legal {
  max-width: 78ch;
  margin: 0;
  color: rgba(0, 0, 0, .38);
  font-size: 11px;
  line-height: 1.5;
  text-wrap: pretty;
}

.site-footer-copyright {
  margin: 0;
  color: rgba(0, 0, 0, .38);
  font-size: 11px;
  white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--legal-green); outline-offset: 3px; }

@media (max-width: 900px) {
  .site-nav-inner { gap: 22px; }
  .site-nav-link.uic-nav-item { padding: 0 12px; font-size: 13px; }
  .legal-hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .legal-hero__summary { max-width: 38ch; }
  .legal-layout { grid-template-columns: 1fr; gap: 42px; }
  .legal-toc {
    position: static;
    max-height: none;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0 0 8px;
    scrollbar-width: none;
  }
  .legal-toc::-webkit-scrollbar { display: none; }
  .legal-toc ol { display: flex; width: max-content; gap: 0; }
  .legal-toc a { min-height: 44px; padding: 0 14px; border-radius: 0; white-space: nowrap; }
  .legal-toc a[aria-current="location"] { background: transparent; box-shadow: inset 0 -2px #000; }
  .site-footer-grid { grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(150px, .55fr)); }
  .site-footer-column:last-child { grid-column: 2; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 78px; }
  .site-nav { padding: 0 16px; }
  .site-nav-inner { min-height: 62px; grid-template-columns: auto 1fr; }
  .site-nav-links { display: none; }
  .site-nav-cta.uic-glass-green { justify-self: end; min-height: 42px; padding: 0 13px 0 15px; font-size: 13px; }
  .site-brand img { width: 128px; }
  .legal-hero { padding: 124px 20px 64px; }
  .legal-hero h1 { font-size: clamp(62px, 18vw, 84px); }
  .legal-hero__summary { font-size: 17px; }
  .legal-switcher { width: auto; }
  .legal-switcher a { flex: 0 0 auto; justify-content: flex-start; }
  .legal-layout { width: calc(100% - 36px); padding: 56px 0 100px; }
  .legal-intro { font-size: 17px; }
  .legal-section { padding: 46px 0; scroll-margin-top: 76px; }
  .legal-section h2 { font-size: 37px; }
  .legal-section h3 { margin-top: 32px; font-size: 22px; }
  .legal-section p,
  .legal-section li,
  .legal-address { font-size: 15px; }
  .legal-callout,
  .legal-caps,
  .legal-address { padding: 19px; border-radius: 17px; }
  .site-footer { padding: 0 20px 34px; }
  .site-footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .site-footer-column:last-child { grid-column: auto; }
  .site-footer-meta { grid-template-columns: 1fr; gap: 18px; }
  .site-footer-copyright { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-nav,
  .site-nav-link,
  .site-nav-cta,
  .legal-switcher a,
  .legal-toc a { transition: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-nav {
    background: var(--legal-paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media print {
  @page { margin: 18mm 17mm 20mm; }

  html,
  body { background: #fff; }

  .site-nav,
  .legal-toc,
  .site-footer,
  .skip-link,
  .legal-switcher { display: none !important; }

  .legal-hero {
    padding: 0 0 18mm;
    background: #fff;
  }

  .legal-hero__inner,
  .legal-layout {
    display: block;
    width: 100%;
    max-width: none;
  }

  .legal-hero h1 { max-width: none; font-size: 36pt; letter-spacing: -.04em; }
  .legal-hero__summary { max-width: 75ch; margin-top: 12mm; font-size: 12pt; }
  .legal-layout { padding: 0; border: 0; }
  .legal-document { max-width: none; }
  .legal-intro { padding-bottom: 10mm; font-size: 11pt; }
  .legal-section { padding: 9mm 0; break-inside: auto; }
  .legal-section h2,
  .legal-section h3 { break-after: avoid; }
  .legal-section h2 { max-width: none; font-size: 22pt; }
  .legal-section h3 { max-width: none; font-size: 15pt; }
  .legal-section p,
  .legal-section li,
  .legal-address { color: #222; font-size: 9.5pt; line-height: 1.5; }
  .legal-address { box-shadow: none; border: 1px solid #ccc; }
  a { color: #000 !important; text-decoration-color: #777 !important; }
}
