/* HumanEndpoint information pages (about, faq, privacy, accessibility, notfound).
   Calm reading pages. Each section is a row: the heading in a narrow column,
   the text beside it in a comfortable measure. Below 900px the row stacks.
   Tokens only; classes prefixed .info-. No animation or transition is used. */

.section.info-page {
  padding-top: var(--space-4);
}

.info-prose {
  min-width: 0;
  max-width: 66rem;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.info-prose p,
.info-prose ul,
.info-prose ol,
.info-prose dl {
  max-width: none;
  margin-top: 0;
  margin-bottom: var(--space-4);
}

.info-prose code,
.info-prose a {
  overflow-wrap: anywhere;
}

/* ---------- section rows ---------- */

.info-sec {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-6);
  border-top: 1px solid var(--rule);
}

.info-sec__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.75rem);
  line-height: 1.2;
}

.info-sec__body {
  min-width: 0;
  max-width: 41rem;
}

.info-sec__body > :last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .info-sec {
    grid-template-columns: minmax(0, 17rem) minmax(0, 41rem);
    column-gap: var(--space-8);
    padding-block: var(--space-7);
  }

  .info-sec__title {
    /* sits on the first text line of the body */
    padding-top: 0.1em;
  }
}

/* ---------- lists ---------- */

.info-prose .info-list {
  padding-left: 1.2em;
  list-style: disc;
}

.info-list li {
  margin-bottom: var(--space-3);
  padding-left: var(--space-1);
}

.info-list li:last-child {
  margin-bottom: 0;
}

.info-list li::marker {
  color: var(--stamp);
}

/* a link on its own line under a paragraph: a full-size target */

.info-prose .info-more {
  margin-top: calc(var(--space-2) * -1);
}

.info-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* ---------- about: the example and the two audiences ---------- */

.info-example {
  margin: var(--space-6) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.info-example figcaption {
  line-height: 1;
}

.info-example blockquote {
  margin: 0;
  box-shadow: none;
}

.info-example blockquote p {
  margin: 0;
}

.info-doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: var(--space-5);
}

.info-door {
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-raised);
}

.info-door h3 {
  margin: 0 0 var(--space-2);
}

.info-prose .info-door__action {
  margin: auto 0 0;
  padding-top: var(--space-2);
}

.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin: 0;
}

/* ---------- privacy: the cookie table ---------- */

.info-prose .info-dl {
  margin-top: var(--space-5);
  border-top: 1px solid var(--rule);
}

.info-dl__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-1);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--rule);
}

.info-dl dt {
  margin: 0;
  font-weight: 700;
}

.info-dl dd {
  margin: 0;
}

@media (min-width: 560px) {
  .info-dl__row {
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: var(--space-5);
  }
}

/* ---------- faq (native details/summary) ---------- */

.info-faq__item {
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: var(--space-5);
}

.info-faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 60px;
  padding: var(--space-3) 0;
  cursor: pointer;
  list-style: none;
}

.info-faq__summary::-webkit-details-marker {
  display: none;
}

.info-faq__summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.info-faq__item[open] > .info-faq__summary::after {
  content: "\2212";
  background: var(--ink);
  color: var(--paper);
}

.info-faq__summary:hover .info-faq__q {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.info-faq__summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.info-faq__q {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

.info-faq__a {
  max-width: 36rem;
  padding: 0 0 var(--space-5);
}

.info-faq__a > :last-child {
  margin-bottom: 0;
}

/* ---------- not found ---------- */

.section.info-notfound {
  padding-top: 0;
}

/* ---------- forced colours and print ---------- */

@media (forced-colors: active) {
  .info-faq__summary::after {
    border: 1px solid CanvasText;
  }
}

@media print {
  .info-actions,
  .info-door__action {
    display: none;
  }
}
