/* The text pages (privacy, terms, support): one narrow column in the landing page's colours. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #1d1a15;
  --muted: #6c655a;
  --line: #e6e0d4;
  --wash: #f6f3ed;
  --go: #1dab61;
  --sans: "Readex Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.page { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.name { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1.0625rem; text-decoration: none; }
.name img { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); }
.other {
  font: inherit; font-size: 0.9375rem; color: var(--muted); background: none; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.other:hover { color: var(--ink); border-color: var(--ink); }

.text { max-width: 42rem; padding: clamp(20px, 5vw, 56px) 0 clamp(40px, 7vw, 88px); }
.text h1 {
  margin: 0 0 10px; font-weight: 500; font-size: clamp(2rem, 4.4vw, 2.75rem);
  line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance;
}
.text .dated { margin: 0 0 30px; color: var(--muted); font-size: 0.9375rem; }
.text .lede { margin: 0 0 30px; color: var(--muted); font-size: 1.125rem; }
.text h2 { margin: 38px 0 8px; font-size: 1.1875rem; font-weight: 500; text-wrap: balance; }
.text p { margin: 0 0 14px; }
.text ul { margin: 0 0 14px; padding-inline-start: 1.25em; }
.text li { margin: 0 0 6px; }
.text strong { font-weight: 500; }

/* Support: how to reach us, set off from the questions. */
.contact {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px;
  margin: 0 0 8px; padding: 20px 22px; background: var(--wash); border-radius: 16px;
}
.contact dt { color: var(--muted); font-size: 0.875rem; }
.contact dd { margin: 2px 0 0; font-weight: 400; overflow-wrap: anywhere; }

/* Questions open in place. */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 15px 0; cursor: pointer; font-weight: 400; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 300; font-size: 1.25rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--muted); max-width: 38rem; }

.more { margin-top: 34px; display: grid; gap: 8px; }

.foot {
  border-top: 1px solid var(--line); padding: 22px 0 36px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px;
  color: var(--muted); font-size: 0.875rem;
}
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { text-decoration: none; }
.foot a:hover, .foot a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

html:lang(ar) body { line-height: 1.85; }
html:lang(ar) .text h1 { letter-spacing: 0; line-height: 1.35; }

@media (max-width: 560px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
}
