:root {
  --legal-ink: #11191d;
  --legal-slate: #142126;
  --legal-slate-soft: #213137;
  --legal-paper: #f3f1ea;
  --legal-paper-deep: #e6e1d6;
  --legal-gold: #d3a060;
  --legal-gold-pale: #ead2ad;
  --legal-moss: #314b40;
  --legal-line: rgba(17, 25, 29, 0.17);
  --legal-display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --legal-body: "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
  --legal-utility: "Arial Narrow", "Avenir Next Condensed", sans-serif;
  --legal-page: min(1180px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--legal-paper);
  color: var(--legal-ink);
  font-family: var(--legal-body);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: rgba(17, 25, 29, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  background: #fff;
  color: var(--legal-ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.legal-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 32px max(32px, calc((100vw - 1180px) / 2)) 72px;
  background:
    linear-gradient(125deg, rgba(20, 33, 38, 0.99), rgba(20, 33, 38, 0.88)),
    radial-gradient(circle at 82% 18%, rgba(211, 160, 96, 0.32), transparent 30%);
  color: #fff;
}

.legal-hero::after {
  position: absolute;
  right: -4vw;
  bottom: -110px;
  width: min(620px, 62vw);
  height: 270px;
  border: 1px solid rgba(234, 210, 173, 0.38);
  border-radius: 50%;
  content: "";
  transform: rotate(-11deg);
}

.legal-nav,
.legal-hero__content,
.legal-layout,
.legal-footer {
  width: var(--legal-page);
  margin-inline: auto;
}

.legal-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.project-mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.project-mark::before,
.project-mark::after {
  position: absolute;
  background: currentColor;
  content: "";
}

.project-mark::before {
  top: 21px;
  left: 8px;
  width: 28px;
  height: 1px;
  transform: rotate(-12deg);
}

.project-mark::after {
  top: 10px;
  left: 21px;
  width: 1px;
  height: 24px;
}

.legal-brand__copy strong,
.legal-brand__copy small {
  display: block;
}

.legal-brand__copy strong {
  font-family: var(--legal-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.05;
}

.legal-brand__copy small {
  margin-top: 5px;
  color: var(--legal-gold-pale);
  font-family: var(--legal-utility);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.legal-back {
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--legal-utility);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-back::before {
  margin-right: 9px;
  content: "\2190";
}

.legal-hero__content {
  position: relative;
  z-index: 1;
  margin-top: 105px;
}

.legal-kicker,
.legal-section__kicker {
  margin: 0 0 18px;
  color: var(--legal-gold-pale);
  font-family: var(--legal-utility);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--legal-display);
  font-size: clamp(3.4rem, 7.5vw, 7.3rem);
  font-weight: 400;
  letter-spacing: -0.048em;
  line-height: 0.9;
  text-wrap: balance;
}

.legal-hero__lede {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.legal-main {
  padding: clamp(72px, 9vw, 132px) 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 28px;
  padding-top: 8px;
}

.legal-toc p {
  margin: 0 0 18px;
  color: var(--legal-moss);
  font-family: var(--legal-utility);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--legal-line);
  color: rgba(17, 25, 29, 0.7);
  font-size: 0.88rem;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--legal-ink);
}

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

.legal-section {
  padding: 0 0 clamp(52px, 6vw, 82px);
  scroll-margin-top: 24px;
}

.legal-section + .legal-section {
  padding-top: clamp(52px, 6vw, 82px);
  border-top: 1px solid var(--legal-line);
}

.legal-section__kicker {
  color: var(--legal-moss);
}

.legal-section h2 {
  max-width: 760px;
  margin: 0 0 30px;
  font-family: var(--legal-display);
  font-size: clamp(2.35rem, 4.2vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.043em;
  line-height: 0.98;
  text-wrap: balance;
}

.legal-section h3 {
  margin: 34px 0 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.legal-section p,
.legal-section li {
  max-width: 780px;
  color: #394549;
}

.legal-section ul {
  margin: 18px 0 0;
  padding-left: 1.2em;
}

.legal-section li + li {
  margin-top: 9px;
}

.legal-lead {
  color: var(--legal-ink) !important;
  font-family: var(--legal-display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.35;
}

.legal-facts {
  display: grid;
  grid-template-columns: minmax(130px, 0.34fr) minmax(0, 0.66fr);
  margin: 26px 0 0;
  border-top: 1px solid var(--legal-line);
}

.legal-facts dt,
.legal-facts dd {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--legal-line);
}

.legal-facts dt {
  padding-right: 20px;
  color: #687276;
  font-family: var(--legal-utility);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.legal-facts dd {
  color: var(--legal-ink);
}

.legal-callout {
  margin: 30px 0;
  padding: 24px 26px;
  border-left: 3px solid var(--legal-gold);
  background: var(--legal-paper-deep);
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

[data-live-blocker] {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid #9f613e;
  background: #fff1e7;
  color: #743817;
  font-family: var(--legal-utility);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.live-blocker-note {
  margin: 0 0 42px;
  padding: 18px 20px;
  border: 1px solid rgba(159, 97, 62, 0.45);
  background: #fff7ef;
  color: #743817;
  font-size: 0.9rem;
}

.legal-sources {
  font-size: 0.87rem;
}

.legal-sources a {
  overflow-wrap: anywhere;
}

.legal-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding-block: 42px;
  border-top: 1px solid var(--legal-line);
  color: #657074;
  font-size: 0.82rem;
}

.legal-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.legal-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  :root {
    --legal-page: min(calc(100vw - 40px), 1180px);
  }

  .legal-hero {
    min-height: 390px;
    padding: 22px 20px 56px;
  }

  .legal-hero__content {
    margin-top: 92px;
  }

  .legal-brand__copy small {
    display: none;
  }

  .legal-back {
    letter-spacing: 0.08em;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .legal-toc {
    position: static;
  }

  .legal-facts {
    grid-template-columns: 1fr;
  }

  .legal-facts dt {
    padding-bottom: 3px;
    border-bottom: 0;
  }

  .legal-facts dd {
    padding-top: 0;
  }

  .legal-footer {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .skip-link,
  .legal-back,
  .legal-toc {
    display: none;
  }

  .legal-hero {
    min-height: auto;
    padding: 24px 0 42px;
    background: #fff;
    color: #000;
  }

  .legal-brand {
    color: #000;
  }

  .legal-brand__copy small,
  .legal-kicker,
  .legal-hero__lede {
    color: #333;
  }

  .legal-hero__content {
    margin-top: 46px;
  }

  .legal-main {
    padding: 42px 0;
  }

  .legal-layout {
    display: block;
  }
}
