/* Alfred: built on the Basha Investments site template. Generated by sites/_build/build.py; edit the template or the product layer, not this file. */
:root {
  --bg: #F7F4EE;
  --bg-2: #EFEAE0;
  --card: #FFFFFF;
  --line: #E1D9CB;
  --line-2: #CFC5B3;
  --ink: #17140F;
  --ink-2: #4D483F;
  --ink-3: #6B655A;
  --gold: #8F6A2C;
  --gold-fill: #D6AE68;
  --on-gold: #0A0D12;
  --green: #2D7A52;
  --blue: #2F5DB0;
  --amber: #9C5E14;
  --r: 16px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
:root[lang="ar"] {
  --serif: "Amiri", "Noto Naskh Arabic", Georgia, serif;
  --sans: "IBM Plex Sans Arabic", "Inter Tight", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
[lang="ar"] body { line-height: 1.85; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 760px) { .wrap { padding-inline: 32px; } }
.skip { position: absolute; inset-inline-start: 8px; top: -80px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(247,244,238,.96); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 68px; flex-wrap: wrap; padding-top: 10px; }
@media (min-width: 900px) { .top-in { padding-top: 0; } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.brand svg { width: 22px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 7; }
.brand em { font-style: normal; font-weight: 400; color: var(--ink-2); }
.top nav { display: flex; align-items: center; gap: 2px; order: 3; width: 100%; overflow-x: auto; padding-bottom: 8px; margin-top: -6px; }
.top nav a { text-decoration: none; color: var(--ink-2); font-size: .94rem; padding: 8px 12px; border-radius: 8px; white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center; }
.top nav a:hover { color: var(--ink); background: var(--bg-2); }
.top nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.lang { text-decoration: none; font-size: .9rem; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 8px; min-height: 40px; display: inline-flex; align-items: center; }
.lang:hover { border-color: var(--gold); color: var(--gold); }
@media (min-width: 900px) {
  .top nav { order: 0; width: auto; overflow: visible; padding: 0; margin: 0 0 0 auto; margin-inline: auto 8px; }
}

/* type */
.page-h { padding-block: 64px 40px; border-bottom: 1px solid var(--line); }
.page-h h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.12; max-width: 20em; }
[lang="ar"] .page-h h1 { font-weight: 400; line-height: 1.4; }
.lead { margin-top: 18px; color: var(--ink-2); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 40em; }
.sec { padding-block: 56px; border-bottom: 1px solid var(--line); }
.sec.alt { background: var(--bg-2); }
.sec h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
[lang="ar"] .sec h2 { font-weight: 400; line-height: 1.5; }
.sec h2 + .lead, .sec h2 + p { margin-top: 12px; }
.prose { max-width: 44em; display: grid; gap: 14px; color: var(--ink-2); margin-top: 18px; }
.prose strong { color: var(--ink); font-weight: 600; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600; }
.btn.primary { background: var(--gold-fill); color: var(--on-gold); }
.btn.primary:hover { background: #c99d55; }
.btn.ghost { border-color: var(--line-2); background: transparent; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.link { color: var(--gold); text-underline-offset: 3px; }

/* home */
.hero { padding-block: 72px 48px; }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.1; max-width: 17em; }
[lang="ar"] .hero h1 { font-weight: 400; line-height: 1.4; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 44px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { background: var(--card); padding: 20px; }
.facts dt { color: var(--ink-3); font-size: .86rem; }
.facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.cols { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 860px) { .cols { grid-template-columns: repeat(3, 1fr); } }
.col { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.col h3 { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 1rem; font-weight: 600; }
.mini { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.mini li { display: flex; align-items: center; gap: 12px; }
.mini img, .mini .mono-logo { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.news-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.news-list a { display: grid; gap: 4px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.news-list a:hover { border-color: var(--gold); }
.news-list time { color: var(--ink-3); font-size: .88rem; }

/* cards */
.grid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.card-head { display: flex; align-items: center; gap: 14px; }
.card-head h3 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.card-head .alt { display: block; font-family: var(--sans); font-size: .85rem; color: var(--ink-3); }
.logo { width: 52px; height: 52px; border-radius: 12px; flex: none; box-shadow: 0 0 0 1px var(--line); background: var(--card); object-fit: cover; }
.mono-logo { display: grid; place-items: center; background: var(--bg-2); color: var(--ink-2); font-family: var(--serif); font-size: 1.3rem; box-shadow: 0 0 0 1px var(--line); width: 52px; height: 52px; border-radius: 12px; flex: none; }
.card p { color: var(--ink-2); font-size: .96rem; }
.meta { color: var(--ink-3); font-size: .86rem; }
.card .foot-link { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; }
.card .foot-link a { text-decoration: none; color: var(--gold); }
.card .foot-link a:hover { text-decoration: underline; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; border: 1px solid currentColor; white-space: nowrap; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.t-funded { color: var(--green); }
.t-progress { color: var(--amber); }
.t-upcoming { color: var(--blue); }
.t-retired { color: var(--ink-3); }
.period { margin-top: 44px; }
.period:first-of-type { margin-top: 28px; }
.period h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 1.05rem; font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.period h3 .muted { font-weight: 400; }

/* about */
.table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
th, td { text-align: start; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-weight: 600; color: var(--ink-3); font-size: .86rem; background: var(--bg-2); }
td strong { font-weight: 600; }
.steps { margin: 20px 0 0; padding-inline-start: 22px; display: grid; gap: 12px; max-width: 44em; color: var(--ink-2); }
.steps strong { color: var(--ink); }
.letter { margin-top: 20px; max-width: 44em; padding-inline-start: 22px; border-inline-start: 2px solid var(--gold-fill); display: grid; gap: 14px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.6; }
.letter footer { font-family: var(--sans); font-size: .95rem; color: var(--ink-2); }

/* team */
.leaders { display: grid; gap: 16px; margin-top: 24px; max-width: 760px; }
@media (min-width: 640px) { .leaders { grid-template-columns: repeat(2, 1fr); } }
.leader { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.leader img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 10px; background: var(--bg-2); }
.leader strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; padding-inline: 4px; }
.leader span { color: var(--ink-2); font-size: .94rem; padding-inline: 4px; }
.leader .go { color: var(--gold); font-size: .88rem; }
a.leader:hover { border-color: var(--gold); }
.more { margin-top: 36px; }
.more > summary { list-style: none; display: inline-flex; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary .less { display: none; }
.more[open] > summary .open { display: none; }
.more[open] > summary .less { display: inline; }
.people { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 20px 14px; }
.people li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.people img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--bg-2); margin-bottom: 6px; }
.people b { font-weight: 500; font-size: .92rem; }
.people small { color: var(--ink-3); font-size: .8rem; line-height: 1.4; }

/* news */
.release { padding-block: 48px; border-bottom: 1px solid var(--line); }
.release time { color: var(--ink-3); font-size: .9rem; }
.release h2 { margin-top: 8px; max-width: 30em; }
.release dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; max-width: 820px; }
.release dl div { background: var(--card); padding: 14px 16px; }
.release dt { color: var(--ink-3); font-size: .84rem; }
.release dd { margin: 2px 0 0; font-weight: 600; }
.boiler { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .92rem; max-width: 44em; }

/* contact */
.routes { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .routes { grid-template-columns: repeat(2, 1fr); } }
.routes li { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 8px; align-content: start; }
.routes h3 { font-size: 1.1rem; font-weight: 600; }
.routes p { color: var(--ink-2); }

/* footer */
.foot { padding-block: 40px 0; }
.foot h2 { font-size: .95rem; font-weight: 600; }
.group-links { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; }
.group-links a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .93rem; }
.group-links a span { color: var(--ink-3); font-size: .84rem; }
.group-links a:hover { color: var(--gold); }
.trust { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; margin-top: 32px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .88rem; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust img { height: 44px; width: auto; }
.trust small { color: var(--ink-3); }
.trust a { text-decoration: none; }
.trust a:hover { color: var(--gold); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px 28px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .88rem; }

/* homepage sections lead to their pages */
.h-link { text-decoration: none; }
.h-link:hover { color: var(--gold); }
.usd { display: block; font-family: var(--sans); font-size: .85rem; color: var(--ink-3); margin-top: 4px; }
.leader.small { flex-direction: row; align-items: center; gap: 14px; padding: 12px; }
.leader.small img { width: 72px; height: 72px; margin: 0; flex: none; }
.leader.small strong { font-size: 1.15rem; padding: 0; }
.leader.small span { padding: 0; }
.leader.small > strong + span { display: block; }
.two { display: grid; gap: 32px; }
@media (min-width: 860px) { .two { grid-template-columns: 1fr 1fr; } }
.steps.plain { list-style: disc; }

/* funding progress */
.fbar { display: grid; gap: 7px; }
.fbar-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .8rem; line-height: 1.2; }
.fbar-top span { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.fbar-top svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fbar-top b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.fbar-track { position: relative; height: 8px; border-radius: 99px; overflow: hidden; background: color-mix(in srgb, currentColor 13%, var(--card)); }
.fbar-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, currentColor 62%, #fff), currentColor); }
[dir="rtl"] .fbar-track span { background: linear-gradient(270deg, color-mix(in srgb, currentColor 62%, #fff), currentColor); margin-inline-start: 0; }
.fbar.t-progress .fbar-track span { background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.22) 0 5px, transparent 5px 10px), linear-gradient(90deg, color-mix(in srgb, currentColor 62%, #fff), currentColor); }
[dir="rtl"] .fbar.t-progress .fbar-track span { background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.22) 0 5px, transparent 5px 10px), linear-gradient(270deg, color-mix(in srgb, currentColor 62%, #fff), currentColor); }
.fbar.t-progress .fbar-track::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 100%; border-radius: inherit; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 18%, transparent); }
.mini-b { flex: 1; min-width: 0; display: grid; gap: 5px; }
.mini-b > span { font-size: .95rem; }
.mini-b .fbar { gap: 4px; }
.mini-b .fbar-top { font-size: .72rem; }
.mini-b .fbar-track { height: 5px; }
.card .fbar { padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, currentColor 5%, var(--card)); }

/* leaders: LinkedIn under the name */
.leader .who { display: grid; gap: 2px; padding-inline: 4px; }
.leader .who strong { padding: 0; }
.leader .who span { padding: 0; }
.leader .go { text-decoration: none; }
.leader .go:hover { text-decoration: underline; }
.leader.small .who { padding: 0; }

/* ---------- phase 1: header action, chips, credentials, structure, cycle, filters ---------- */
.top .cta { padding: 9px 16px; min-height: 40px; font-size: .92rem; }
.top .cta[aria-current="page"] { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 899px) { .top .cta { margin-inline-start: auto; } }
.facts dd { white-space: nowrap; font-size: clamp(1.5rem, 3vw, 2rem); }

.one { color: var(--ink); font-weight: 500; font-size: .98rem; margin-top: -4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.c-live { background: #E3F1E8; color: #1F6B42; }
.c-launching { background: #E6EEFB; color: #2A4F9A; }
.c-beta { background: #F3EAFB; color: #6A3E98; }
.c-build { background: #F1EEE8; color: #5E574B; }
.c-sector { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 500; }
.mini-n { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mini-n .chip { font-size: .68rem; padding: 2px 8px; }
.mini-b > small { color: var(--ink-3); font-size: .8rem; line-height: 1.4; }
.mini li { align-items: flex-start; }

.cred { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .cred { grid-template-columns: repeat(4, 1fr); } }
.cred li > a, .cred li { display: grid; gap: 2px; text-decoration: none; }
.cred li { padding: 12px 14px; border-radius: 12px; background: var(--bg-2); }
.cred li:has(a) { padding: 0; }
.cred li > a { padding: 12px 14px; border-radius: 12px; }
.cred li > a:hover { background: #E7E0D2; }
.cred span { font-size: .78rem; color: var(--ink-3); }
.cred b { font-size: .9rem; font-weight: 600; }

.tree { margin-top: 28px; display: grid; gap: 0; }
.tier { position: relative; padding-block: 18px; }
.tier + .tier::before { content: ""; position: absolute; top: -2px; inset-inline-start: 50%; width: 2px; height: 20px; background: var(--line-2); }
.tier-l { text-align: center; font-size: .82rem; font-weight: 600; color: var(--ink-3); margin-bottom: 12px; }
.t1 { display: flex; justify-content: center; }
.node.root { display: grid; gap: 2px; text-align: center; padding: 16px 26px; border-radius: 14px; background: var(--ink); color: var(--bg); text-decoration: none; }
.node.root b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.node.root span { font-size: .82rem; opacity: .8; }
.plats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .plats { grid-template-columns: repeat(3, 1fr); } }
.plats a { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; height: 100%; }
.plats a:hover { border-color: var(--gold); }
.plats img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.plats b { font-weight: 600; }
.plats span { display: block; font-size: .82rem; color: var(--ink-3); }
.plats a > b + span { margin-inline-start: auto; text-align: end; }
.apps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.apps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .88rem; }
[dir="rtl"] .apps li { padding: 6px 6px 6px 12px; }
.apps img, .apps .mono-logo { width: 26px; height: 26px; border-radius: 7px; font-size: .8rem; }

.cycle { margin-top: 32px; padding: 22px; border-radius: var(--r); background: var(--bg-2); }
.cycle ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: c; }
@media (min-width: 860px) { .cycle ol { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.cycle li { position: relative; display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.cycle li .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-fill); color: var(--on-gold); font-size: .78rem; font-weight: 700; margin-bottom: 6px; }
.cycle li b { font-weight: 600; }
.cycle li span:last-child { color: var(--ink-2); font-size: .9rem; }
@media (min-width: 860px) {
  .cycle li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; inset-inline-end: -22px; transform: translateY(-50%); color: var(--gold); font-weight: 700; }
  [dir="rtl"] .cycle li:not(:last-child)::after { content: "←"; }
}
.cycle-back { margin-top: 14px; font-size: .9rem; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.cycle-back::before { content: "↺"; color: var(--gold); font-size: 1.2rem; }

.filters { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 20px; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filters legend { float: inline-start; font-size: .82rem; font-weight: 600; color: var(--ink-3); margin-inline-end: 6px; padding: 0; }
.filters input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filters label { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: .86rem; cursor: pointer; }
.filters input:checked + label { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.none { display: none; margin-top: 28px; color: var(--ink-3); }

table.kv { min-width: 0; }
table.kv th { width: 34%; background: var(--bg-2); color: var(--ink-2); font-weight: 600; font-size: .9rem; }

/* ---------- phase 2 ---------- */
@media (min-width: 900px) { .cred.three { grid-template-columns: repeat(3, 1fr); } }
.plats.rich a { flex-direction: column; align-items: stretch; gap: 6px; padding: 16px; }
.plats.rich .ph { display: flex; align-items: center; gap: 10px; }
.plats.rich .ph b { font-size: 1.05rem; }
.plats.rich .role { font-size: .78rem; font-weight: 600; color: var(--gold); margin: 0; text-align: start; }
.plats.rich .d { font-size: .9rem; color: var(--ink-2); margin: 0; text-align: start; }
.plats.rich .u { font-size: .85rem; color: var(--gold); margin-top: auto; text-align: start; }
@media (min-width: 900px) { .cycle.five ol { grid-template-columns: repeat(5, 1fr); gap: 26px; } }
.chip.c-offline { background: #EFE7DA; color: #6B5426; }

.leaders.two-up { max-width: none; }
@media (min-width: 900px) { .leaders.two-up { grid-template-columns: 1fr 1fr; } }
.leader.wide { flex-direction: row; align-items: flex-start; gap: 18px; padding: 16px; }
.leader.wide img { width: 120px; height: 120px; margin: 0; flex: none; }
.leader.wide .who { padding: 0; gap: 3px; }
.leader.wide .r { color: var(--ink-2); font-size: .92rem; }
.leader.wide .bio { margin-top: 8px; color: var(--ink-2); font-size: .92rem; line-height: 1.55; }
@media (max-width: 520px) { .leader.wide { flex-direction: column; } .leader.wide img { width: 96px; height: 96px; } }
.sub-h { margin-top: 32px; font-size: 1.05rem; font-weight: 600; }
.mgmt { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 760px) { .mgmt { grid-template-columns: repeat(4, 1fr); } }
.mgmt li { display: grid; gap: 2px; padding: 12px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.mgmt img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 8px; background: var(--bg-2); }
.mgmt b { font-weight: 600; }
.mgmt small { color: var(--ink-3); font-size: .84rem; }

.foundry-feature { background: var(--ink); color: var(--bg); border-bottom: 0; }
.foundry-feature .h-link, .foundry-feature h2 { color: var(--bg); }
.foundry-feature .lead { color: #D9D2C4; }
.ff { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .ff { grid-template-columns: 1.2fr 1fr; gap: 56px; } }
.kicker { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--gold-fill); color: var(--on-gold); font-size: .8rem; font-weight: 700; }
.ff-gets { padding: 22px; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.ff-gets h3 { font-size: 1rem; font-weight: 600; margin-bottom: 12px; }
.ff-gets ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ff-gets li { display: flex; gap: 10px; color: #E8E2D6; }
.ff-gets li::before { content: "✓"; color: var(--gold-fill); font-weight: 700; }

.sticky-cta { position: fixed; z-index: 60; inset-inline-end: 16px; bottom: 16px; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; box-shadow: 0 6px 20px rgba(23,20,15,.25); }
.sticky-cta:hover { background: #2C2720; }
.foot { padding-bottom: 64px; }


/* ---------- product layer: components the product sites add on top of the template ---------- */
/* Everything below uses the template's tokens (--gold, --gold-fill, --ink, --bg ...), which each site re-colours. */
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { font-size: 1.08rem; }
.top .cta { white-space: nowrap; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; } }
.hero .facts { margin-top: 36px; }
.hero-grid > * { min-width: 0; }
.hero-grid .facts { grid-template-columns: repeat(2, 1fr); }
.hero-grid .facts dd { white-space: normal; font-size: 1.35rem; }
.hero-grid .cred { grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero-grid .cred.three { grid-template-columns: 1fr; } }
.two > * { min-width: 0; }
.hero h1 em { font-style: italic; color: var(--gold); }
[lang="ar"] .hero h1 em { font-style: normal; }
.kicker.soft { background: var(--bg-2); color: var(--gold); box-shadow: inset 0 0 0 1px var(--line-2); }
.eyebrow { color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
[lang="ar"] .eyebrow { letter-spacing: 0; }
.sec h2 + .sub { margin-top: 12px; }
.sub { color: var(--ink-2); font-size: 1.05rem; max-width: 40em; }

/* card icons and plain headings */
.card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); color: var(--gold); flex: none; }
.card .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .card-head h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 600; }
.card .plain-h { font-size: 1.1rem; font-weight: 600; }
.tiles { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tiles li { padding: 20px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.tiles b { display: block; font-family: var(--serif); font-size: 1.25rem; margin-bottom: 4px; }
.tiles p { color: var(--ink-2); font-size: .93rem; }

/* status pills */
.states { display: flex; flex-wrap: wrap; gap: 8px 4px; align-items: center; margin-top: 18px; }
.state { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; font-weight: 600; background: var(--card); }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.state:not(:last-child)::after { content: "→"; color: var(--ink-3); margin-inline-start: 8px; margin-inline-end: -4px; }
[dir="rtl"] .state:not(:last-child)::after { content: "←"; }
.state.s-created::before { background: var(--ink-3); }
.state.s-parked::before { background: var(--green); }
.state.s-requested::before { background: #6A3E98; }
.state.s-otw::before { background: var(--blue); }
.state.s-arrived::before { background: var(--amber); }
.state.s-done::before { background: var(--ink-2); }
.state.s-waiter::before { background: var(--green); }
.state.s-bill::before { background: var(--amber); }
.state.s-coal::before { background: #A23B3B; }

/* phone mock-ups */
.phone { position: relative; width: min(320px, 100%); margin: 0 auto; background: #15110E; border-radius: 38px; padding: 13px; box-shadow: 0 30px 70px rgba(23,20,15,.28); }
.phone::before { content: ""; position: absolute; top: 13px; left: 50%; transform: translateX(-50%); width: 106px; height: 26px; border-radius: 999px; background: #050403; z-index: 1; }
.screen { background: var(--bg); border-radius: 26px; padding: 46px 14px 16px; min-height: 540px; display: flex; flex-direction: column; gap: 10px; }
.chat-h { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 2px; }
.chat-h img { width: 32px; height: 32px; border-radius: 50%; }
.chat-h b { display: block; font-size: .9rem; }
.chat-h small { color: var(--ink-3); font-size: .74rem; }
.msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: .84rem; line-height: 1.5; background: var(--card); border: 1px solid var(--line); }
.msg.in { align-self: flex-start; border-start-start-radius: 4px; }
.msg.out { align-self: flex-end; border-start-end-radius: 4px; background: var(--bg-2); }
.msg time { display: block; margin-top: 4px; font-size: .68rem; color: var(--ink-3); text-align: end; }
.msg .pill { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: var(--gold-fill); color: var(--on-gold); font-size: .72rem; font-weight: 600; }
.msg.sys { align-self: center; background: transparent; border: 0; color: var(--ink-3); font-size: .72rem; padding: 2px 8px; }
.app-h { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--ink-3); }
.app-h b { color: var(--ink); font-family: var(--serif); font-size: 1.1rem; }
.cats { display: flex; gap: 6px; overflow: hidden; }
.cats span { padding: 4px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .7rem; white-space: nowrap; }
.cats span.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dish { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.dish i { width: 44px; height: 44px; border-radius: 10px; flex: none; background: linear-gradient(135deg, #E9DCC7, #C9B79A); }
.dish i.g { background: linear-gradient(135deg, #D7E3C8, #A9BF93); }
.dish i.b { background: linear-gradient(135deg, #F0D9C1, #D1A880); }
.dish b { display: block; font-size: .8rem; }
.dish small { color: var(--ink-3); font-size: .68rem; }
.dish .add { margin-inline-start: auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 700; font-size: .9rem; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.svc span { padding: 8px 4px; border-radius: 10px; background: var(--bg-2); color: var(--gold); font-size: .66rem; font-weight: 600; text-align: center; line-height: 1.25; }
.cart { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: .8rem; }
.cart b { font-size: .9rem; }
.visual { display: grid; gap: 18px; justify-items: center; min-width: 0; }
@media (min-width: 560px) { .visual { grid-template-columns: auto minmax(0, 1fr); align-items: end; } }
.visual > * { min-width: 0; }
.visual .phone { width: min(280px, 100%); }
.tent { width: min(250px, 100%); background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 22px 20px 18px; text-align: center; box-shadow: 0 24px 60px rgba(23,20,15,.12); display: grid; gap: 10px; justify-items: center; }
.tent .tn { font-family: var(--serif); font-size: 1.5rem; }
.tent .tn small { display: block; font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
[lang="ar"] .tent .tn small { letter-spacing: 0; }
.tent img.qr { width: 112px; height: 112px; }
.tent .hint { font-size: .8rem; color: var(--ink-2); }
.tent .by { font-size: .72rem; color: var(--ink-3); margin-top: 4px; }

/* flow steps with illustrations */
.flow { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow li { position: relative; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 10px; align-content: start; }
.flow .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-fill); color: var(--on-gold); font-weight: 700; }
.flow .who { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
[lang="ar"] .flow .who { letter-spacing: 0; }
.flow .who.team { color: var(--amber); }
.flow .who.guest { color: var(--green); }
.flow h3 { font-size: 1.15rem; font-weight: 600; }
.flow p { color: var(--ink-2); font-size: .95rem; }
.flow svg.ill { width: 100%; height: 110px; margin-top: 4px; }
.flow .qrbox { height: 110px; margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.flow .qrbox img { width: 92px; height: 92px; padding: 6px; background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.flow .qrbox span { font-size: .8rem; color: var(--ink-3); max-width: 7em; line-height: 1.3; }
.return { margin-top: 28px; padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: grid; gap: 20px; }
@media (min-width: 900px) { .return { grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; } }
.return h3 { font-size: 1.25rem; font-weight: 600; }
.return p { color: var(--ink-2); margin-top: 8px; }
.return .states { margin-top: 0; }

/* four photos */
.four { display: grid; gap: 32px; margin-top: 28px; align-items: center; }
@media (min-width: 900px) { .four { grid-template-columns: 1fr 1fr; gap: 56px; } }
.car-ill { width: 100%; max-width: 520px; margin: 0 auto; display: block; }
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--ink-2); }
.checks li::before { content: "✓"; color: var(--gold); font-weight: 700; flex: none; }
.checks li b { color: var(--ink); font-weight: 600; }

/* live board */
.board { margin-top: 28px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--card); overflow: hidden; box-shadow: 0 24px 60px rgba(23,20,15,.1); }
.board-h { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.board-h .dots { display: flex; gap: 6px; }
.board-h .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.board-h b { font-size: .88rem; font-weight: 600; }
.board-h .tabs { margin-inline-start: auto; display: flex; gap: 4px; }
.board-h .tabs span { padding: 4px 10px; border-radius: 8px; font-size: .78rem; color: var(--ink-3); }
.board-h .tabs span.on { background: var(--ink); color: var(--bg); }
.board-wrap { overflow-x: auto; }
.board table { min-width: 720px; font-size: .9rem; }
.board th, .board td { white-space: nowrap; padding: 12px 16px; }
.board th { font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
[lang="ar"] .board th { letter-spacing: 0; }
.board tr.new td { background: #FFF8EA; }
.board tr.new td:first-child { box-shadow: inset 3px 0 0 var(--gold-fill); }
[dir="rtl"] .board tr.new td:first-child { box-shadow: inset -3px 0 0 var(--gold-fill); }
.board td.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; color: var(--ink-2); }
.board td.num { font-variant-numeric: tabular-nums; }
.board td b { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.key { display: inline-grid; place-items: center; min-width: 40px; padding: 2px 8px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line-2); font-weight: 600; }
.thumbs { display: inline-flex; gap: 4px; }
.thumbs i { width: 22px; height: 16px; border-radius: 3px; background: linear-gradient(135deg, var(--line-2), var(--bg-2)); display: block; border: 1px solid var(--line-2); }
.board-note { margin-top: 14px; color: var(--ink-3); font-size: .88rem; }
.chip.c-parked { background: #E3F1E8; color: #1F6B42; }
.chip.c-requested { background: #F3EAFB; color: #6A3E98; }
.chip.c-otw { background: #E6EEFB; color: #2A4F9A; }
.chip.c-arrived { background: #FBEBD3; color: #9A5B12; }
.chip.c-wash { background: #E0F2F9; color: #1F6F9A; }
.chip.c-waiter { background: #E3F1E8; color: #1F6B42; }
.chip.c-bill { background: #FBEBD3; color: #9A5B12; }
.chip.c-coal { background: #F8E3E0; color: #A23B3B; }
.chip.c-served { background: var(--bg-2); color: var(--ink-3); }

/* pricing */
.plans { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.plan.hot { border-color: var(--gold); }
.plan .lvl { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
[lang="ar"] .plan .lvl { letter-spacing: 0; }
.plan h3 { font-family: var(--serif); font-size: 1.6rem; }
.plan .price { display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font-family: var(--serif); font-size: 2.6rem; font-weight: 400; letter-spacing: -.01em; }
.plan .price span { color: var(--ink-3); font-weight: 500; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; color: var(--ink-2); font-size: .95rem; }
.plan li::before { content: "✓"; color: var(--gold); font-weight: 700; flex: none; }
.plan li b { color: var(--ink); font-weight: 600; }
.plan .users { padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .92rem; }
.plan .users small { display: block; color: var(--ink-3); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan .flag { position: absolute; top: -12px; inset-inline-start: 24px; padding: 3px 10px; border-radius: 999px; background: var(--gold-fill); color: var(--on-gold); font-size: .74rem; font-weight: 700; }
.fine { margin-top: 18px; color: var(--ink-3); font-size: .88rem; max-width: 50em; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: var(--line-2); }

/* faq */
.faq { margin-top: 24px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--ink-2); }

/* messages table */
.msgs td:last-child { color: var(--ink-2); }
.msgs bdi { display: block; }
.msgs .ar { font-family: "IBM Plex Sans Arabic", "Amiri", system-ui, sans-serif; direction: rtl; text-align: right; }
[lang="ar"] .msgs .en { font-family: "Inter Tight", system-ui, sans-serif; direction: ltr; text-align: left; }

/* roles */
.roles { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .roles { grid-template-columns: repeat(3, 1fr); } }
.roles li { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.roles h3 { font-size: 1.1rem; font-weight: 600; }
.roles p { color: var(--ink-2); margin-top: 6px; font-size: .95rem; }
.roles .dev { display: inline-block; margin-top: 10px; font-size: .8rem; font-weight: 600; color: var(--gold); }

/* quote band */
.band { background: var(--ink); color: var(--bg); border-bottom: 0; }
.band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; max-width: 26em; }
.band footer { margin-top: 18px; color: var(--line-2); font-size: .95rem; }

/* 404 */
.nf { padding-block: 110px 90px; text-align: center; }
.nf h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.nf p { margin-top: 12px; color: var(--ink-2); }
.nf .actions { justify-content: center; }


/* ---------- brand tokens ---------- */
:root {
  --bg: #FBF9F5; --bg-2: #F2EDE4; --line: #E4DCCF; --line-2: #D0C5B2;
  --ink: #2A2422; --ink-2: #5B524D; --ink-3: #817870;
  --gold: #8A7556; --gold-fill: #A59171; --on-gold: #1F1A17;
}
.top { background: rgba(251,249,245,.96); }
.btn.primary { color: #fff; background: var(--ink); }
.btn.primary:hover { background: #3B3331; }
.sticky-cta, .cart { background: var(--ink); }
.flow .n, .cycle li .n { background: var(--gold-fill); color: #fff; }
.msg .pill, .plan .flag { color: #fff; }