/* =========================================================================
   Micro Jobs Africa — standalone public pages
   Contact, Terms, Privacy. One quiet layout shared by all three, so a legal
   page and a support form do not each invent their own typography.
   ====================================================================== */

.pg {
  padding: 40px 0 72px;
  background: var(--c-surface);
}

.pg__inner { display: grid; gap: 28px; }

/* ================================================================== head */

.pg__head { max-width: 62ch; }

.pg__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--c-chip);
  font-size: .74rem;
  font-weight: 700;
  color: var(--c-green-deep);
}
.pg__eyebrow svg { width: 15px; height: 15px; }

.pg__title {
  margin-top: 14px;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-heading);
}

.pg__lede {
  margin-top: 10px;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--c-muted);
}

.pg__updated {
  margin-top: 10px;
  font-size: .78rem;
  color: var(--c-muted-soft);
}

/* ================================================================ layout */

.pg__split { display: grid; gap: 18px; }

.pg__card,
.pg__aside {
  padding: 24px 22px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
}

.pg__aside { background: var(--c-surface-soft); }

.pg__card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-heading);
}

/* ================================================================== form */

.pg__form { display: grid; gap: 14px; margin-top: 18px; }

.pg__field { display: grid; gap: 6px; }

.pg__label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-heading);
}

.pg__textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.6px solid var(--c-line);
  border-radius: 12px;
  background: var(--c-surface);
  font-family: inherit;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--c-heading);
  resize: vertical;
}
.pg__textarea:focus-visible { outline: none; border-color: var(--c-green); }
.pg__textarea.is-error { border-color: #E5271B; }

/* ------------------------------------------------------------ sent state */

.pg__done { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 18px 0 6px; }

.pg__done-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--c-chip);
  color: var(--c-green);
}
.pg__done-mark svg { width: 27px; height: 27px; }

.pg__done-title { font-size: 1.15rem; font-weight: 800; color: var(--c-heading); }
.pg__done p { font-size: .88rem; line-height: 1.6; color: var(--c-muted); }

/* =============================================================== contacts */

.pg__contacts { display: grid; gap: 16px; margin-top: 18px; }

.pg__contacts li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  gap: 12px;
}

.pg__contact-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  color: var(--c-green);
}
.pg__contact-icon svg { width: 18px; height: 18px; }

.pg__contacts strong {
  display: block;
  font-size: .8rem;
  color: var(--c-heading);
}
.pg__contacts a,
.pg__contacts span span { font-size: .84rem; color: var(--c-muted); }
.pg__contacts a:hover { color: var(--c-green); }

.pg__tip {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
  font-size: .8rem;
  line-height: 1.6;
  color: var(--c-muted-soft);
}
.pg__tip svg { width: 18px; height: 18px; margin-top: 2px; }

/* ============================================================ legal prose */

.pg__prose { max-width: 68ch; }

.pg__prose h2 {
  margin-top: 30px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-heading);
}
.pg__prose h2:first-child { margin-top: 0; }

.pg__prose h3 {
  margin-top: 20px;
  font-size: .94rem;
  font-weight: 700;
  color: var(--c-heading);
}

.pg__prose p,
.pg__prose li {
  margin-top: 10px;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--c-muted);
}

.pg__prose ul { margin-top: 6px; padding-left: 20px; list-style: disc; }
.pg__prose li { margin-top: 6px; }
.pg__prose strong { color: var(--c-heading); }
.pg__prose a { color: var(--c-green); text-decoration: underline; }

/* A standing caveat, not decoration — it says the document needs review. */
.pg__notice {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  margin-bottom: 26px;
  padding: 15px 17px;
  border-radius: 12px;
  background: #FFF6E5;
  border: 1px solid #F0D9A8;
}
.pg__notice svg { width: 20px; height: 20px; margin-top: 2px; color: var(--c-gold-deep); }
.pg__notice p { margin: 0; font-size: .84rem; line-height: 1.6; color: #7A5A17; }

/* --------------------------------------------------------- jump-to links */

.pg__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pg__toc a {
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: var(--c-surface-soft);
  border: 1px solid var(--c-line);
  font-size: .76rem;
  font-weight: 600;
  color: var(--c-muted);
}
.pg__toc a:hover { border-color: var(--c-green-bright); color: var(--c-green); }

/* =========================================================================
   ≥ 900px
   ====================================================================== */

@media (min-width: 900px) {
  .pg { padding: 56px 0 88px; }

  .pg__title { font-size: 2.3rem; }

  /* Form beside the details, rather than stacked. */
  .pg__split--contact {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
    gap: 22px;
  }

  .pg__card,
  .pg__aside { padding: 28px 26px; }
}

/* --------------------------------------------------------------- telegram
   The channel for someone who cannot use email, so it sits above the plain
   contact list and is styled as an action rather than a line of text.
   -------------------------------------------------------------------- */

.pg__telegram {
  display: grid;
  grid-template-columns: 42px 1fr 16px;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 14px 15px;
  border-radius: 14px;
  background: var(--c-surface);
  border: 1.6px solid #BEE3F8;
  transition: border-color .18s ease, transform .18s ease;
}
.pg__telegram:hover { border-color: #2AABEE; transform: translateY(-1px); }

.pg__telegram-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
}
.pg__telegram-icon svg { width: 34px; height: 34px; }

.pg__telegram-body { display: grid; gap: 2px; min-width: 0; }

.pg__telegram-body strong {
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-heading);
}

.pg__telegram-body em {
  font-style: normal;
  font-size: .74rem;
  line-height: 1.45;
  color: var(--c-muted-soft);
  overflow-wrap: anywhere;
}

.pg__telegram-go { width: 16px; height: 16px; color: var(--c-muted-soft); }

/* =========================================================================
   FAQs, signed in

   The admin's questions, on the member side of the site (owner, 2026-09-27).
   Uses <details>, so it opens and closes with no JavaScript at all — which
   also means the policy on inline script never comes into it.
   ====================================================================== */

.faq {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px clamp(14px, 4vw, 28px) 32px;
  display: grid;
  gap: 14px;
}

.faq__list { display: grid; gap: 10px; }

.faq__item {
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: var(--c-surface);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--c-green); }

.faq__q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  font-size: .94rem;
  font-weight: 700;
  color: var(--c-heading);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q span { flex: 1 1 auto; min-width: 0; }
.faq__q svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--c-muted);
  transition: transform .18s ease;
}
.faq__item[open] .faq__q svg { transform: rotate(180deg); color: var(--c-green); }

.faq__a {
  padding: 0 17px 16px;
  font-size: .89rem;
  line-height: 1.65;
  color: var(--c-muted);
}

/* Nothing to show yet. */
.faq__none {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 40px 20px;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  background: var(--c-surface);
  text-align: center;
}
.faq__none-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--c-chip);
  color: var(--c-chip-ink);
}
.faq__none-mark svg { width: 24px; height: 24px; }
.faq__none-line { margin: 0; font-size: .92rem; color: var(--c-muted); }

.faq__none-go,
.faq__more-go {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--c-green);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.faq__none-go:hover,
.faq__more-go:hover { background: var(--c-green-deep); }
.faq__none-go svg,
.faq__more-go svg { width: 16px; height: 16px; }

.faq__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: var(--c-surface-soft);
}
.faq__more-line { margin: 0; font-size: .9rem; font-weight: 700; color: var(--c-heading); }
