/* Sila Anmat. Tokens, base, components, sections, motion, responsive. */

:root {
  --bg: #f5f4f1;
  --card: #ffffff;
  --ink: #0f1f18;
  --ink-2: rgba(15, 31, 24, 0.64);
  --ink-3: rgba(15, 31, 24, 0.44);
  --line: rgba(15, 31, 24, 0.1);
  --green: #1b4c39;
  --green-deep: #123529;
  --tan: #a27454;
  --sand: #ebe6de;
  --cream: #fcfbf8;
  --cream-2: rgba(252, 251, 248, 0.66);
  --cream-line: rgba(252, 251, 248, 0.14);

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --pad: 32px;
  --max: 1280px;
  --gap: 160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 96px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.section { padding-top: var(--gap); }

/* Type */
.h1 { font-size: clamp(40px, 5.3vw, 76px); font-weight: 500; letter-spacing: -0.038em; line-height: 0.98; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 500; letter-spacing: -0.028em; line-height: 1.06; text-wrap: balance; }
.h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.label::before { content: ""; width: 7px; height: 7px; background: var(--tan); transform: rotate(45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { background: rgba(15, 31, 24, 0.06); color: var(--ink); }
.btn-ghost:hover { background: rgba(15, 31, 24, 0.1); }
.btn-cream { background: var(--cream); color: var(--green-deep); }
.btn-cream:hover { background: #fff; }
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* Nav */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav-bar {
  pointer-events: auto; margin: 0 auto; width: min(1040px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0; padding-inline: 22px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 0 0 1px rgba(15, 31, 24, 0.06), 0 8px 30px -12px rgba(15, 31, 24, 0.18);
}
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover { color: var(--ink); background: rgba(15, 31, 24, 0.05); }
.nav .btn { height: 44px; padding: 0 20px; font-size: 14px; }
.nav-toggle { display: none; }
.nav-end { display: flex; align-items: center; gap: 4px; }
.lang { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color 0.2s, background-color 0.2s; }
.lang:hover { color: var(--ink); background: rgba(15, 31, 24, 0.05); }
.lang svg { width: 16px; height: 16px; }
:lang(ar) { font-family: "IBM Plex Sans Arabic", var(--font); }

/* Hero */
.hero { padding-top: 176px; text-align: center; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0; padding-inline: 12px 14px; border-radius: 999px;
  background: var(--card); box-shadow: 0 0 0 1px var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.chip i { width: 7px; height: 7px; background: var(--tan); transform: rotate(45deg); }
.hero .h1 { max-width: 15ch; margin: 28px auto 0; }
.hero .lede { max-width: 54ch; margin: 24px auto 0; }
.hero-cta { display: flex; justify-content: center; gap: 10px; margin-top: 36px; flex-wrap: wrap; }

/* Logo row */
.logos { padding-top: 88px; }
.logos p { text-align: center; font-size: 14px; color: var(--ink-3); }
.logo-row { margin-top: 32px; display: grid; grid-template-columns: repeat(7, 1fr); align-items: center; gap: 24px 40px; }
.logo-row img { height: 34px; width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.15) brightness(0.85); opacity: 0.72; transition: filter 0.4s var(--ease), opacity 0.4s var(--ease); }
.logo-row img:hover { filter: none; opacity: 1; }
.logo-row img.tall { height: 46px; }

/* Section head */
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.head .label { margin-bottom: 20px; }
.head .lede { max-width: 46ch; justify-self: end; }
.head.stack { grid-template-columns: 1fr; }
.head.stack .lede { justify-self: start; margin-top: 4px; }

/* Three cards */
.trio { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border-radius: var(--r-lg); }
.t-card { display: flex; flex-direction: column; padding: 32px 32px 0; min-height: 470px; overflow: hidden; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.t-card:hover, .js .t-card.rv.in:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(15, 31, 24, 0.35); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.t-card .num { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--tan); }
.t-card .h3 { margin-top: 14px; display: flex; align-items: center; gap: 6px; }
.t-card .h3 svg { width: 16px; height: 16px; opacity: 0.4; transition: transform 0.3s var(--ease), opacity 0.3s; }
.t-card:hover .h3 svg { transform: translateX(3px); opacity: 1; }
.t-card p { margin-top: 10px; color: var(--ink-2); max-width: 34ch; }
.t-art { margin-top: auto; padding-top: 36px; height: 300px; position: relative; }

/* Mock UI shared */
.ui { background: var(--card); border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(15, 31, 24, 0.28); font-size: 12px; line-height: 1.35; }
.ui-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 500; }
.ui-top span:last-child { color: var(--ink-3); font-weight: 400; }
.dots { display: flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(15, 31, 24, 0.14); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 500; background: rgba(27, 76, 57, 0.09); color: var(--green); }
.pill.tan { background: rgba(162, 116, 84, 0.13); color: #7d573c; }
.pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* Build art */
.art-build .win { position: absolute; inset-inline: 0 40px; top: 36px; bottom: -24px; }
.art-build .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; }
.art-build .kpi { padding: 10px; border-radius: 10px; background: var(--bg); }
.art-build .kpi b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; margin-top: 2px; }
.art-build .kpi span { color: var(--ink-3); font-size: 11px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 84px; padding: 0 14px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: rgba(27, 76, 57, 0.16); transform-origin: bottom; }
.bars i.on { background: var(--green); }
.art-build .phone {
  position: absolute; inset-inline-end: 0; bottom: -40px; width: 132px; height: 236px; padding: 12px 10px; border-radius: 22px;
  background: var(--green-deep); color: var(--cream); box-shadow: 0 24px 48px -20px rgba(15, 31, 24, 0.5); font-size: 11px;
}
.art-build .phone b { display: block; font-weight: 500; font-size: 12px; margin: 6px 2px 10px; }
.art-build .phone li { display: flex; align-items: center; gap: 7px; padding: 8px; border-radius: 10px; background: rgba(252, 251, 248, 0.08); margin-bottom: 6px; color: var(--cream-2); }
.art-build .phone li i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--cream-2); flex: none; }
.art-build .phone li.done i { background: #c9a98c; border-color: #c9a98c; }
.art-build .phone li.done { color: var(--cream); }

/* Scale art */
.art-scale svg { width: 100%; height: 100%; overflow: visible; }
.art-scale .wire { fill: none; stroke: rgba(15, 31, 24, 0.16); stroke-width: 1.2; }
.art-scale .flow { fill: none; stroke: var(--tan); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 3 160; animation: flow 3.6s linear infinite; }
.art-scale .node { fill: var(--card); stroke: rgba(15, 31, 24, 0.14); }
.art-scale text { font: 500 10.5px var(--font); fill: var(--ink); }
@keyframes flow { from { stroke-dashoffset: 163; } to { stroke-dashoffset: 0; } }

/* Well-being art */
.art-well .ui { position: absolute; left: 0; right: 0; top: 36px; bottom: -24px; }
.pulse { padding: 16px 14px 6px; }
.pulse svg { width: 100%; height: 64px; overflow: visible; }
.pulse path { fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 4s var(--ease) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 620; } 55%, 100% { stroke-dashoffset: 0; } }
.reads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px 14px 14px; }
.read { padding: 10px; border-radius: 10px; background: var(--bg); }
.read span { color: var(--ink-3); font-size: 11px; }
.read b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; margin-top: 2px; }
.read b small { font-size: 11px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }

/* Build section */
.split { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.b-card { padding: 40px; }
.b-card .tag { font-size: 13px; color: var(--tan); font-weight: 500; }
.b-card .h3 { font-size: 28px; letter-spacing: -0.02em; margin-top: 10px; }
.b-card ul { margin-top: 32px; border-top: 1px solid var(--line); }
.b-card li { display: grid; grid-template-columns: 28px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; }
.b-card li::before { content: ""; width: 7px; height: 7px; margin-top: 9px; background: var(--green); transform: rotate(45deg); }

/* Scale section (dark) */
.dark { background: var(--green-deep); color: var(--cream); border-radius: var(--r-lg); padding: 88px 72px; position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px; background: url("assets/weave-cream.svg") repeat-x left center / auto 100%; opacity: 0.16; }
.dark .label { color: rgba(252, 251, 248, 0.5); }
.dark .lede { color: var(--cream-2); }
.partners { margin-top: 64px; border-top: 1px solid var(--cream-line); }
.partner { display: grid; grid-template-columns: 200px minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--cream-line); }
.partner .logo { display: flex; align-items: center; justify-content: center; width: 168px; height: 64px; padding: 12px 22px; border-radius: 14px; background: var(--cream); }
.partner .logo img { max-height: 100%; width: auto; object-fit: contain; }
.partner b { font-size: 19px; font-weight: 500; letter-spacing: -0.012em; }
.partner span { color: var(--cream-2); }
.dark-foot { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Well-being section */
.tabs { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; align-items: stretch; }
.tab-list { display: flex; flex-direction: column; }
.tab { position: relative; text-align: start; background: none; border: 0; border-top: 1px solid var(--line); padding: 24px 0; cursor: pointer; }
.tab:last-child { border-bottom: 1px solid var(--line); }
.tab b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink-3); transition: color 0.3s; }
.tab p { color: var(--ink-2); max-width: 38ch; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.6s var(--ease), opacity 0.4s, margin 0.6s var(--ease); }
.tab:hover b, .tab[aria-selected="true"] b { color: var(--ink); }
.tab[aria-selected="true"] p { max-height: 120px; opacity: 1; margin-top: 10px; }
.tab[aria-selected="true"]::after { content: ""; position: absolute; top: -1px; inset-inline: 0; height: 2px; background: var(--green); transform: scaleX(var(--p, 0)); transform-origin: left; }
[dir="rtl"] .tab[aria-selected="true"]::after { transform-origin: right; }
@media (min-width: 821px) and (min-height: 760px) {
  .track::after { content: ""; display: block; height: 280vh; }
  .pin { position: sticky; top: max(104px, calc(50vh - 310px)); }
  .pin .tabs { margin-top: 44px; }
  .pin .stage { min-height: 440px; }
}
.stage { position: relative; min-height: 480px; border-radius: var(--r-lg); background: var(--sand); overflow: hidden; }
.pane { position: absolute; inset: 0; display: grid; place-items: center; padding: 40px; opacity: 0; transform: translateY(14px) scale(0.985); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); pointer-events: none; }
.pane.on { opacity: 1; transform: none; pointer-events: auto; }
.pane .ui { width: min(400px, 100%); font-size: 13px; }

.scan { display: grid; grid-template-columns: 132px 1fr; gap: 14px; padding: 14px; }
.face { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; background: var(--green-deep); overflow: hidden; }
.face svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.face::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 34%; background: linear-gradient(180deg, rgba(201, 169, 140, 0) 0%, rgba(201, 169, 140, 0.32) 100%); border-bottom: 1px solid #c9a98c; animation: sweep 3.2s ease-in-out infinite alternate; }
@keyframes sweep { from { transform: translateY(-100%); } to { transform: translateY(195%); } }
.rows { display: flex; flex-direction: column; justify-content: center; }
.rows div { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rows div:last-child { border: 0; }
.rows span { color: var(--ink-2); }
.rows b { font-weight: 500; }

.voice { padding: 18px 14px 14px; }
.wave { display: flex; align-items: center; gap: 4px; height: 74px; }
.wave i { flex: 1; border-radius: 2px; background: var(--green); height: var(--h, 60%); animation: wave 1.5s ease-in-out infinite alternate; }
@keyframes wave { from { height: 16%; } }
.voice-res { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }

.events li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.events li:last-child { border: 0; }
.events b { font-weight: 500; }
.events span { color: var(--ink-3); grid-column: 1; }
.events .pill { grid-row: 1 / span 2; grid-column: 2; align-self: center; }

.dash { padding: 14px; }
.dash .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash .kpi { padding: 10px; border-radius: 10px; background: var(--bg); }
.dash .kpi span { color: var(--ink-3); font-size: 11px; }
.dash .kpi b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; margin-top: 2px; }
.dash .bars { height: 96px; padding: 0; margin-top: 14px; }

.support { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.s-card { padding: 28px; }
.s-card b { display: block; font-size: 40px; font-weight: 500; letter-spacing: -0.035em; line-height: 1; color: var(--green); }
.s-card .h3 { font-size: 17px; margin-top: 20px; }
.after { margin-top: 32px; display: flex; justify-content: center; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.about .big { font-size: clamp(26px, 2.7vw, 40px); font-weight: 500; letter-spacing: -0.026em; line-height: 1.14; text-wrap: balance; margin-top: 20px; }
.about .big em { font-style: normal; color: var(--tan); }
.about .lede { margin-top: 28px; max-width: 52ch; }
.vm { display: grid; gap: 16px; }
.vm .card { padding: 32px; }
.vm .tag { font-size: 13px; color: var(--tan); font-weight: 500; }
.vm p { margin-top: 10px; color: var(--ink-2); }
.vm p strong { color: var(--ink); font-weight: 500; }
.pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pillars span { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 500; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.contact-info { padding: 48px; display: flex; flex-direction: column; }
.contact-info .lede { margin-top: 16px; max-width: 40ch; }
.c-list { margin-top: auto; padding-top: 48px; }
.c-list li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.c-list span { color: var(--ink-3); font-size: 14px; }
.c-list a { font-weight: 500; transition: color 0.2s; }
.c-list a:hover { color: var(--tan); }
.form { padding: 48px; display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; border: 0; border-radius: var(--r-sm); background: var(--bg); padding: 14px 16px; font-size: 15px;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--green); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { justify-self: start; margin-top: 6px; }
.form small { color: var(--ink-3); font-size: 13px; }

/* Footer */
.footer { margin-top: var(--gap); background: var(--green-deep); color: var(--cream); padding: 88px 0 0; overflow: hidden; }
.f-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.6fr)); gap: 48px; }
.f-top img { height: 44px; width: auto; }
.f-top p { margin-top: 20px; color: var(--cream-2); max-width: 32ch; }
.f-col b { display: block; font-size: 13px; font-weight: 500; color: rgba(252, 251, 248, 0.5); margin-bottom: 16px; }
.f-col a { display: block; padding: 5px 0; color: var(--cream-2); transition: color 0.2s; }
.f-col a:hover { color: var(--cream); }
.f-band { margin-top: 88px; height: 132px; background: url("assets/weave-cream.svg") repeat-x center / auto 100%; opacity: 0.2; }
.f-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 28px; font-size: 13px; color: rgba(252, 251, 248, 0.5); }

/* Well-being page */
.d-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--cream-line); }
.d-item { padding: 32px 0 8px; padding-inline-end: 28px; }
.d-item + .d-item { padding-inline-start: 28px; border-inline-start: 1px solid var(--cream-line); }
.d-item b { display: block; font-size: 40px; font-weight: 500; letter-spacing: -0.035em; line-height: 1; color: #c9a98c; }
.d-item .h3 { font-size: 18px; margin-top: 20px; }
.d-item p { margin-top: 8px; color: var(--cream-2); font-size: 15px; }
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 28px; min-height: 220px; display: flex; flex-direction: column; }
.step::before { counter-increment: step; content: "0" counter(step); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--tan); }
.step .h3 { margin-top: auto; padding-top: 32px; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.note { margin-top: 24px; font-size: 14px; color: var(--ink-3); }
.page-hero { padding-top: 160px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.page-hero .h1 { max-width: 14ch; margin-top: 24px; }
.page-hero .lede { max-width: 54ch; margin-top: 24px; }
.page-hero .hero-cta { justify-content: flex-start; }
.grid-3 { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.f-card { padding: 32px; min-height: 260px; display: flex; flex-direction: column; }
.f-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; color: var(--green); }
.f-card .ico svg { width: 22px; height: 22px; }
.f-card .h3 { margin-top: auto; padding-top: 40px; }
.f-card p { margin-top: 8px; color: var(--ink-2); }
.cta-band { text-align: center; }
.cta-band .h2 { max-width: 18ch; margin: 20px auto 0; }
.cta-band .lede { max-width: 46ch; margin: 20px auto 0; }

/* Arabic pages */
html[lang="ar"] { --font: "IBM Plex Sans Arabic", -apple-system, "Segoe UI", sans-serif; }
html[lang="ar"] *:not(:lang(en)) { letter-spacing: 0 !important; }
html[lang="ar"] body { line-height: 1.7; }
html[lang="ar"] .h1 { line-height: 1.22; }
html[lang="ar"] .h2 { line-height: 1.28; }
html[lang="ar"] .h3, html[lang="ar"] .about .big { line-height: 1.45; }
html[lang="ar"] .lede { line-height: 1.75; }
html[lang="ar"] .label { font-size: 13px; }
html[lang="ar"] .ui { font-size: 12.5px; line-height: 1.5; }
html[lang="ar"] :is(.kpi, .read) span, html[lang="ar"] .pill { font-size: 12px; }
html[lang="ar"] .s-card b, html[lang="ar"] .d-item b { line-height: 1.3; }
html[lang="ar"] .art-scale text { font-size: 11px; }
[dir="rtl"] :is(a, b)[dir="ltr"] { text-align: right; }
[dir="rtl"] .btn svg, [dir="rtl"] .t-card .h3 svg { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg, [dir="rtl"] .t-card:hover .h3 svg { transform: scaleX(-1) translateX(3px); }

/* Reveal */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }
.bars i { transform: scaleY(0.15); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 200ms); }
.in .bars i, .on .bars i { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .bars i { transform: none; }
  .pulse path { stroke-dashoffset: 0; }
}

/* Responsive */
@media (max-width: 1080px) {
  :root { --gap: 120px; }
  .trio, .grid-3 { grid-template-columns: 1fr 1fr; }
  .trio .t-card:last-child { grid-column: 1 / -1; }
  .support, .steps { grid-template-columns: 1fr 1fr; }
  .d-grid { grid-template-columns: 1fr 1fr; }
  .d-item:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .d-item:nth-child(n+3) { border-top: 1px solid var(--cream-line); }
  .logo-row { grid-template-columns: repeat(4, 1fr); }
  .dark { padding: 72px 40px; }
  .partner { grid-template-columns: 180px 1fr; }
  .partner span { grid-column: 2; margin-top: -24px; }
  .f-top { grid-template-columns: 1fr 1fr 1fr; }
  .f-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  :root { --pad: 16px; --gap: 96px; --r-lg: 22px; }
  .nav-links, .nav-bar .lang { display: none; }
  .nav-menu .lang { justify-content: flex-start; height: auto; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; }
  .nav-bar { height: 56px; padding-inline: 16px 6px; }
  .nav-logo img { height: 32px; }
  .nav .btn { height: 44px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: rgba(15, 31, 24, 0.06); cursor: pointer; margin-inline-start: auto;
  }
  .nav-toggle svg { width: 18px; height: 18px; }
  .nav-menu {
    pointer-events: auto; position: absolute; top: 68px; left: 16px; right: 16px; padding: 10px; border-radius: 22px;
    background: #fff; box-shadow: 0 0 0 1px rgba(15, 31, 24, 0.06), 0 24px 48px -20px rgba(15, 31, 24, 0.3);
    display: grid; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0.3s;
  }
  .nav.open .nav-menu { opacity: 1; transform: none; visibility: visible; }
  .nav-menu a { padding: 14px 16px; border-radius: 14px; font-size: 17px; font-weight: 500; }
  .nav-menu a:active { background: var(--bg); }
  .hero, .page-hero { padding-top: 128px; }
  .head, .about, .contact, .tabs, .split, .page-hero { grid-template-columns: 1fr; }
  .head .lede { justify-self: start; }
  .about { gap: 40px; }
  .trio, .grid-3 { grid-template-columns: 1fr; margin-top: 40px; }
  .t-card { min-height: 0; padding: 24px 24px 0; }
  .logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 8%; }
  .logo-row img { width: 27%; }
  .b-card, .contact-info, .form { padding: 28px 24px; }
  .dark { padding: 72px 24px 48px; margin: 0 calc(var(--pad) * -1); border-radius: 0; }
  .partner { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .partner span { grid-column: 1; margin-top: -6px; }
  .partner .logo { width: 148px; height: 56px; }
  .stage { min-height: 400px; }
  .pane { padding: 20px; }
  .tab b { font-size: 20px; }
  .support, .steps, .d-grid { grid-template-columns: 1fr; }
  .d-item, .d-item + .d-item { padding: 28px 0 20px; border-inline-start: 0; }
  .d-item + .d-item { border-top: 1px solid var(--cream-line); }
  .step { min-height: 0; }
  .f-card { min-height: 0; }
  .s-card { padding: 24px; }
  .s-card b { font-size: 32px; }
  .s-card .h3 { margin-top: 14px; }
  .art-well { height: 250px; }
  .two { grid-template-columns: 1fr; }
  .c-list li { grid-template-columns: 76px 1fr; }
  .f-top { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .f-band { height: 84px; margin-top: 64px; }
  .footer { padding-top: 64px; }
}
@media (min-width: 821px) { .nav-menu { display: none; } }
