/* Trust, compliance, contact and legal summary boxes. Loaded only by those pages. Logical properties so Arabic mirrors. */
.ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--green-soft); color: var(--green); flex: none; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-block-start: 8px; }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-1); min-width: 0; }
.tcard .ico { margin-block-end: 14px; }
.tcard h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.3; color: var(--ink); }
.tcard p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.tcard .when { display: inline-block; margin-block-end: 8px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--green); background: var(--green-soft); border-radius: 4px; padding: 3px 10px; }
.tnote { margin: 18px 0 0; padding: 14px 18px; border-radius: var(--r); background: var(--bg-alt); border-inline-start: 4px solid var(--green); color: var(--muted); font-size: 15px; line-height: 1.55; }

.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; }
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; color: var(--ink); }
.badges li::before { content: none; }
.badges li svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.flow-band { padding-block: 40px; }
.flow-title { margin: 0 0 18px; font-size: 20px; color: var(--ink); }
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0; padding: 0; counter-reset: step; }
.flow li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 14px; min-width: 0; counter-increment: step; }
.flow li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 4px; background: var(--forest); color: var(--forest-ink); font-size: 13px; font-weight: 600; margin-block-end: 10px; }
.flow li:not(:last-child)::after { content: ""; position: absolute; inset-block-start: 28px; inset-inline-end: -12px; width: 12px; height: 2px; background: var(--green); }
.flow b { display: block; font-size: 15px; color: var(--ink); line-height: 1.3; margin-block-end: 4px; }
.flow span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

.who { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); margin-block-end: 20px; }
.who th, .who td { text-align: start; vertical-align: top; padding: 14px 16px; font-size: 15px; line-height: 1.5; border-block-end: 1px solid var(--line); }
.who thead th { background: var(--forest); color: var(--forest-ink); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; border: 0; }
.who tbody tr:last-child > * { border-block-end: 0; }
.who tbody th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.who td:nth-child(2) { color: var(--ink); }
.who td:nth-child(3) { color: var(--muted); }

.legal .legal-sec .ico { margin-block-end: 10px; }
.sec-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin: 14px 0 0; padding: 0; }
.sec-cards li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.sec-cards li::before { content: none; }
.legal #not-claimed { border: 2px solid var(--line-strong); border-radius: var(--r-lg); padding: 22px; background: var(--bg-alt); }

/* contact */
.contact-lines { display: grid; gap: 12px; margin: 22px 0; }
.contact-lines p, .reply-card { display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.contact-lines p[hidden] { display: none; }
.contact-lines p a { font-size: 19px; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-lines p a:hover { color: var(--green); }
.contact-lines .ico, .reply-card .ico { width: 48px; height: 48px; }
.contact-lines p > span:not(.ico) { display: block; }
.reply-card strong { display: block; font-size: 17px; color: var(--ink); }
.reply-card small { display: block; font-size: 13px; color: var(--muted); }

/* plain-language summary on policy pages */
.plain-summary { margin: 0 0 28px; padding: 22px; border-radius: var(--r-lg); background: var(--bg-alt); border: 1px solid var(--line-strong); }
.plain-summary .ps-title { margin: 0; font-size: 18px; font-weight: 600; color: var(--ink); }
.plain-summary .ps-note { margin: 2px 0 14px; font-size: 14px; color: var(--muted); }
.plain-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plain-summary li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink); }
.plain-summary li::before { content: none; }
.plain-summary .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--surface); }
.plain-summary .ico svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
  .flow li:not(:last-child)::after { display: none; }
  .flow li { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; }
  .flow li::before { grid-row: span 2; margin: 0; }
}
@media (max-width: 640px) {
  .who, .who tbody, .who tr, .who th, .who td { display: block; }
  .who thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .who tbody tr { padding: 14px 16px; border-block-end: 1px solid var(--line); }
  .who tbody tr:last-child { border: 0; }
  .who th, .who td { padding: 0; border: 0; }
  .who tbody th { margin-block-end: 6px; white-space: normal; }
  .who td { margin-block-end: 4px; }
  .who td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--green); }
  .tgrid, .sec-cards { grid-template-columns: 1fr; }
}
