/* Text pages (privacy, security), the contact page and the 404 page. */

.text-page .body {
  margin-top: 1rem;
}

/* Vulnerability disclosure section: a Group block with the class "report"
   and the anchor "report"; the footer and security.txt link to #report. */
.text-page .report {
  margin-top: 4rem;
  padding: 2rem;
  border: 1px solid var(--color-rule);
  border-radius: 0.75rem;
  background: var(--color-paper-raised);
  scroll-margin-top: 6rem;
}

.text-page .report > * + * {
  margin-top: 1rem;
}

.text-page .report h2:first-child {
  margin-top: 0;
}

/* Contact */
.contact {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  max-width: 52rem;
}

.contact h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}

.contact__text {
  max-width: var(--measure);
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--color-ink-muted);
}

.contact__book {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
  margin-top: 1rem;
}

.contact__note {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--color-ink-muted);
}

.contact__email {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact__email a,
.contact__network {
  color: var(--color-sage-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.contact__email a:hover {
  text-decoration-thickness: 2px;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
}

.contact__links a {
  display: inline-flex;
  gap: 0.5rem;
  align-items: baseline;
  text-decoration: none;
}

.contact__network {
  font-weight: 600;
  text-decoration: underline;
}

.contact__detail {
  color: var(--color-ink-muted);
}

/* 404: one page for every language */
.not-found {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.not-found h1 {
  font-family: var(--font-brand);
  font-size: clamp(5rem, 20vw, 13rem);
  font-weight: 700;
  line-height: 0.9;
}

.not-found ul {
  display: grid;
  gap: 1.5rem;
  max-width: var(--measure);
  margin: 0;
  padding: 0;
  list-style: none;
}

.not-found li {
  display: grid;
  gap: 0.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-rule);
  font-family: var(--font-sans);
}

.not-found p {
  font-size: var(--step-1);
  line-height: 1.4;
}

.not-found a {
  color: var(--color-sage-deep);
  font-weight: 500;
  text-underline-offset: 0.3em;
}
