/* Didge legal pages (privacy and terms). Loaded after landing.css, which holds the fonts,
   colours, skip link, focus ring and footer. Nothing here needs script. */
.l-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.l-header-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.l-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.l-brand img {
  width: 124px;
  height: auto;
}

.l-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-weight: 700;
}

.l-main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.l-main:focus {
  outline: none;
}

.l-main h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.l-updated {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.l-lead {
  margin-top: 24px;
  font-size: 1.1875rem;
  color: var(--ink-2);
}

.l-contents {
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: 14px;
  background: var(--surface-2);
}

.l-contents h2 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.l-contents ol {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
}

.l-contents a {
  display: inline-block;
  padding: 6px 0;
  overflow-wrap: anywhere;
}

@media (max-width: 860px), (pointer: coarse) {
  .l-contents a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
  }
}

.l-main section {
  margin-top: 40px;
}

.l-main h2 {
  font-size: 1.375rem;
  line-height: 1.3;
  scroll-margin-top: 16px;
  overflow-wrap: break-word;
}

.l-main h3 {
  margin-top: 20px;
  font-size: 1.0625rem;
}

.l-main p,
.l-main ul {
  margin-top: 12px;
  overflow-wrap: break-word;
}

.l-main ul {
  padding-left: 1.25rem;
}

.l-main li + li {
  margin-top: 6px;
}

.l-pledge {
  margin-top: 16px;
  padding: 16px 20px;
  border-left: 4px solid var(--give-ui);
  border-radius: 0 10px 10px 0;
  background: var(--surface-2);
  font-weight: 700;
}

@media (max-width: 560px) {
  .l-header-in {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .l-main {
    padding: 32px max(16px, env(safe-area-inset-right)) 56px max(16px, env(safe-area-inset-left));
  }

  .l-main h1 {
    font-size: 1.75rem;
  }
}
