.legal-page {
  margin: 0;
  color: #232a25;
  background: #f7f7f2;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

.legal-page :focus-visible {
  outline: 3px solid #bb7419;
  outline-offset: 4px;
}

.legal-skip {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 9;
  padding: 10px 14px;
  color: #202622;
  background: #ffbb65;
  transform: translateY(calc(-100% - 16px));
}

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

.legal-header { background: #202622; color: #f7f7f2; }
.legal-shell {
  box-sizing: border-box;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.legal-header .legal-shell { min-height: 76px; }
.legal-header .wordmark,
.legal-header .legal-home {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}
.legal-header .wordmark { font-size: 21px; font-weight: 700; letter-spacing: -.06em; }
.legal-header .wordmark img { display: block; width: 32px; height: 32px; }
.legal-header .legal-home { font-size: 15px; font-weight: 600; }
.legal-header .legal-home:hover { color: #ffbb65; }

.legal-main {
  box-sizing: content-box;
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 104px) 22px clamp(56px, 7vw, 108px);
}
.legal-main h1 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.06em;
  font-weight: 650;
}
.legal-main .legal-meta {
  margin: 14px 0 0;
  padding-bottom: 29px;
  border-bottom: 1px solid #d7dcd3;
  color: #546259;
  font-size: .9rem;
}
.legal-meta span { padding-inline: 3px; }
.legal-main h2 {
  margin: 36px 0 9px;
  color: #232a25;
  font-family: inherit;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -.035em;
}
.legal-main p {
  margin: 0 0 14px;
  color: #37443c;
  font-size: 1.02rem;
  line-height: 1.65;
}
.profile-paths { margin: 12px 0 22px; }
.profile-paths div { display: flex; gap: 17px; margin: 7px 0; align-items: baseline; }
.profile-paths dt { flex: 0 0 2.5rem; font-weight: 600; }
.profile-paths dd { margin: 0; min-width: 0; }
.profile-paths code { font-size: .93rem; overflow-wrap: anywhere; }

.legal-footer { border-top: 1px solid #d7dcd3; }
.legal-footer .legal-shell { min-height: 76px; padding-block: 16px; flex-wrap: wrap; }
.legal-footer .legal-shell div { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.legal-footer a { font-size: .9rem; color: #37443c; text-underline-offset: .2em; }
.legal-footer a:hover { color: #965018; }

@media (max-width: 480px) {
  .legal-header .legal-shell { min-height: 62px; }
  .legal-main .legal-meta span { display: none; }
  .legal-meta time { display: block; }
  .legal-footer .legal-shell { align-items: flex-start; flex-direction: column; gap: 12px; }
}
