/* PairXO content pages (2026-10-13): how it works, FAQ, about, contact, privacy,
   terms and the staff contact inbox. Loaded only by core/site/*.html, after
   keepus.css, and built on its tokens, so the pink (girl) and blue (boy) versions
   recolour these pages too. No fonts or images of its own. */

.px-site { padding: 28px 0 64px; }
@media (min-width: 1000px) { .px-site { padding: 52px 0 96px; } }

/* Page head: eyebrow, h1, lead */
.px-site__head { max-width: 68ch; margin-bottom: 32px; }
.px-site__eyebrow {
  margin: 0 0 12px; color: var(--ku-green-ink);
  font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}
.px-site__head h1 { margin: 0 0 16px; font-size: clamp(32px, 5.2vw, 52px); line-height: 1.08; }
.px-site__lead { margin: 0; max-width: 62ch; color: var(--ku-body); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; }
.px-site__aside { max-width: 68ch; margin: 0 0 8px; color: var(--ku-muted); font-size: 15px; }

/* Running text: a readable measure and a calm rhythm */
.px-prose { max-width: 68ch; }
.px-prose h2 { margin: 1.9em 0 .5em; font-size: clamp(21px, 2vw, 24px); line-height: 1.25; }
.px-prose > h2:first-child { margin-top: 0; }
.px-prose p, .px-prose li { color: var(--ku-ink-2); font-size: 16.5px; line-height: 1.7; }
.px-prose p { margin: 0 0 1em; }
.px-prose ul { margin: 0 0 1em; padding-left: 1.25em; }
.px-prose li + li { margin-top: .5em; }
.px-prose li::marker { color: var(--ku-green-ink); }
.px-doc__date {
  display: inline-block; margin: 0 0 16px; padding: 4px 13px;
  border: 1px solid var(--ku-line); border-radius: var(--ku-radius-pill); background: var(--ku-surface);
  color: var(--ku-muted); font-size: 13.5px; font-weight: 600;
}

/* How it works: his side (blue) and her side (pink), whatever the site version */
.px-split { display: grid; gap: 20px; margin: 28px 0 40px; }
@media (min-width: 880px) { .px-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; } }
.px-side {
  --side: #b3121f; --side-tint: #fde9ef; --side-head: #a3111c; --side-text: #4e2a2d;
  padding: 24px 20px 26px; border: 1px solid var(--ku-line); border-top: 6px solid var(--side);
  border-radius: 22px; background: var(--ku-surface); box-shadow: var(--ku-shadow-card);
}
.px-side--him { --side: #1f4fd1; --side-tint: #e9f0fd; --side-head: #0f131a; --side-text: #262c38; }
@media (min-width: 720px) { .px-side { padding: 30px 30px 32px; } }
.px-side__tag {
  display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: var(--ku-radius-pill);
  background: var(--side-tint); color: var(--side);
  font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.px-side h2 { margin: 0; color: var(--side-head); font-size: clamp(22px, 2.2vw, 26px); }
.px-steps { display: grid; gap: 20px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: step; }
.px-steps li { position: relative; min-height: 36px; padding-left: 52px; counter-increment: step; }
.px-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--side); color: #fff;
  font-size: 15px; font-weight: 800; line-height: 1;
}
.px-steps h3 { margin: 5px 0 4px; color: var(--side-head); font-size: 17px; }
.px-steps p { margin: 0; color: var(--side-text); font-size: 15.5px; line-height: 1.6; }

/* A tinted band for a short list */
.px-band { margin: 0 0 8px; padding: 24px 22px; border-radius: 20px; background: var(--ku-mint); }
@media (min-width: 720px) { .px-band { padding: 30px 34px; } }
.px-band h2 { margin-top: 0; }
.px-band p:last-child { margin-bottom: 0; }

/* Closing call to action */
.px-cta { margin: 48px 0 0; padding: 26px 22px; border: 1px solid var(--ku-line); border-radius: 24px; background: var(--ku-blush); }
.px-cta h2 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 28px); }
.px-cta p { margin: 0 0 18px; max-width: 60ch; color: var(--ku-ink-2); }
.px-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 820px) {
  .px-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 32px; padding: 34px 40px; }
  .px-cta h2, .px-cta p { grid-column: 1; }
  .px-cta p { margin-bottom: 0; }
  .px-cta__actions { grid-column: 2; grid-row: 1 / span 2; }
}

/* FAQ: native disclosures, so every answer is in the page without JavaScript */
.px-faq { max-width: 76ch; margin-bottom: 28px; }
.px-faq__group + .px-faq__group { margin-top: 40px; }
.px-faq__group h2 {
  margin: 0 0 6px; color: var(--ku-green-ink);
  font-size: 13.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}
.px-faq__item { border-bottom: 1px solid var(--ku-line); }
.px-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 2px; cursor: pointer; list-style: none;
  color: var(--ku-navy); font-size: 17.5px; font-weight: 700; line-height: 1.4;
}
.px-faq__item summary::-webkit-details-marker { display: none; }
.px-faq__item summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2.5px solid var(--ku-green-ink); border-bottom: 2.5px solid var(--ku-green-ink);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s ease;
}
.px-faq__item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.px-faq__item summary:hover { color: var(--ku-green-ink); }
.px-faq__item summary:focus-visible { border-radius: 8px; }
.px-faq__item p { max-width: 68ch; margin: 0 0 20px; color: var(--ku-ink-2); font-size: 16.5px; line-height: 1.7; }

/* Contact */
.px-contact { display: grid; gap: 28px; }
@media (min-width: 900px) { .px-contact { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 44px; align-items: start; } }
.px-contact__form { max-width: 660px; }
.px-contact__form h2, .px-contact__notes h2 { font-size: 20px; }
.px-contact__form .ku-btn { width: 100%; }
@media (min-width: 600px) { .px-contact__form .ku-btn { width: auto; } }
.px-contact__notes { max-width: 52ch; }
.px-contact__notes ul { margin: 0 0 16px; padding-left: 1.2em; }
.px-contact__notes li { margin-bottom: 10px; color: var(--ku-ink-2); }
/* honeypot: off-screen for people, still a plain text input for scripts */
.px-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Staff inbox */
.px-inbox { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.px-inbox__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.px-inbox__head h2 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.px-inbox__meta { margin: 6px 0 12px; overflow-wrap: anywhere; }
.px-inbox__body p { margin: 0 0 .8em; overflow-wrap: anywhere; }
.px-inbox__body p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) { .px-faq__item summary::after { transition: none; } }
