@font-face { font-family: "Bricolage Grotesque Variable"; src: url(fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree Variable"; src: url(fonts/figtree-latin-wght-normal.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Noto Nastaliq Urdu"; src: url(fonts/noto-nastaliq-urdu-arabic-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Naskh Arabic"; src: url(fonts/noto-naskh-arabic-arabic-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #14302c;        /* deep ledger green, text */
  --teal: #0e9c8a;       /* brand */
  --teal-dark: #0a7366;
  --saffron: #f2a93b;    /* market-sign accent, used once per screen */
  --mint: #eef6f3;       /* page wash */
  --paper: #ffffff;
  --rule: #cfe0db;
  --muted: #4d6762;
  --display: "Bricolage Grotesque Variable", "Segoe UI", sans-serif;
  --body: "Figtree Variable", "Segoe UI", sans-serif;
  --urdu: "Noto Nastaliq Urdu", serif;
  --arabic: "Noto Naskh Arabic", serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 var(--body);
  color: var(--ink);
  background: var(--mint);
}
img { max-width: 100%; }
a { color: var(--teal-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-head { background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 10; }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font: 700 23px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo b { color: var(--teal); font-weight: 700; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--teal-dark); box-shadow: inset 0 -2px 0 var(--teal); }
.nav a.btn { margin-left: 6px; color: #fff; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); border-radius: 8px; padding: 8px 12px; font: inherit; color: var(--ink); }

.btn {
  display: inline-block; padding: 12px 20px; border-radius: 10px;
  background: var(--teal); color: #fff; text-decoration: none; font-weight: 600;
  border: 2px solid var(--teal);
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 16px; }
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; max-width: 14ch; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 650; max-width: 22ch; }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.01em; }
p { max-width: 64ch; margin: 0 0 16px; }
.lead { font-size: 20px; color: var(--muted); max-width: 52ch; }
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--rule); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .fine { font-size: 15px; color: var(--muted); margin-top: 18px; }

/* The memorable thing: a WhatsApp conversation with the assistant */
.chat {
  background: #e6efe9; border-radius: 26px; padding: 22px 18px 26px;
  border: 1px solid var(--rule); max-width: 380px; justify-self: end; width: 100%;
}
.chat-top { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.chat-top i { width: 34px; height: 34px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; color: #fff; font-style: normal; font-family: var(--display); }
.bubble { background: #fff; border-radius: 14px; padding: 10px 14px; margin: 0 0 10px; max-width: 88%; font-size: 15px; line-height: 1.45; }
.bubble.me { background: #d4f5dd; margin-left: auto; }
.voice { display: flex; align-items: center; gap: 10px; }
.voice .wave { flex: 1; height: 22px; background: repeating-linear-gradient(90deg, var(--teal-dark) 0 3px, transparent 3px 6px); mask: linear-gradient(90deg, #000 0 100%); border-radius: 3px; opacity: .75; clip-path: polygon(0 40%,8% 10%,16% 55%,24% 20%,32% 70%,40% 30%,48% 60%,56% 15%,64% 50%,72% 25%,80% 65%,88% 35%,100% 45%,100% 100%,0 100%); }
.urdu { font-family: var(--urdu); direction: rtl; font-size: 17px; line-height: 2; display: block; }
.arabic { font-family: var(--arabic); direction: rtl; }
.ledger { font-variant-numeric: tabular-nums; border-collapse: collapse; width: 100%; margin-top: 6px; font-size: 14px; }
.ledger td { padding: 3px 0; border-bottom: 1px dashed var(--rule); }
.ledger td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 10px; }
.ledger tr.owed td:last-child { color: #b45309; }
.time { display: block; text-align: right; font-size: 11px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .chat .bubble { animation: pop .4s ease-out both; }
  .chat .bubble:nth-of-type(3) { animation-delay: .5s; }
  .chat .bubble:nth-of-type(4) { animation-delay: 1.3s; }
  @keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* ---------- linked-data strip ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 32px; border: 1px solid var(--rule); border-radius: 16px; background: var(--paper); overflow: hidden; }
.flow div { padding: 22px; border-right: 1px solid var(--rule); }
.flow div:last-child { border-right: 0; }
.flow strong { display: block; font-family: var(--display); font-size: 19px; margin-bottom: 4px; }
.flow span { color: var(--muted); font-size: 15px; }

/* ---------- app index (grouped list, not cards) ---------- */
.suites { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; margin-top: 32px; }
.suite h3 { padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.suite ul { list-style: none; margin: 0; padding: 0; }
.suite li { padding: 14px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
.suite li b { font-weight: 650; }
.suite li p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 15px; }
.tag { font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; align-self: start; white-space: nowrap; }
.tag.live { background: #d4f5dd; color: #12603a; }
.tag.soon { background: #fdf0d8; color: #8a5a0f; }

/* ---------- industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid var(--rule); }
.industry { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--rule); }
.industry h3 { margin-bottom: 6px; }
.industry p { color: var(--muted); font-size: 15px; margin: 0 0 10px; }
.industry small { font-size: 14px; }

/* ---------- regions ---------- */
.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.region { background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; padding: 30px; }
.region .script { font-size: 26px; color: var(--teal-dark); margin-bottom: 8px; }
.region ul { padding-left: 20px; margin: 0 0 20px; }

/* ---------- steps (custom levels are a real sequence) ---------- */
.levels { counter-reset: lvl; display: grid; gap: 0; margin-top: 28px; }
.level { counter-increment: lvl; display: grid; grid-template-columns: 72px 1fr 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.level::before { content: counter(lvl); font: 700 44px/1 var(--display); color: var(--teal); }
.level p { margin: 0; color: var(--muted); }

.callout { background: var(--ink); color: #fff; border-radius: 22px; padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.callout h2 { margin-bottom: 8px; }
.callout p { color: #c8dcd7; margin: 0; }
.callout .btn { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.callout .btn:hover { background: #e3962a; border-color: #e3962a; }

.faq details { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.page-head { padding: 64px 0 40px; }

/* ---------- privacy + terms ---------- */
.legal-doc { max-width: 72ch; }
.legal-doc h2 { font-size: 24px; margin: 40px 0 12px; max-width: none; }
.legal-doc ul { padding-left: 22px; margin: 0 0 16px; max-width: 64ch; }
.legal-doc li { margin-bottom: 8px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #c8dcd7; padding: 48px 0 32px; font-size: 15px; }
.site-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h4 { color: #fff; font: 600 15px var(--body); margin: 0 0 10px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 6px; }
.site-foot a { color: #c8dcd7; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot .legal { border-top: 1px solid #2c4a45; margin-top: 32px; padding-top: 18px; font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .regions, .suites { grid-template-columns: 1fr; }
  .chat { justify-self: start; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow div:nth-child(2) { border-right: 0; }
  .flow div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .industries { grid-template-columns: 1fr 1fr; }
  .level { grid-template-columns: 56px 1fr; }
  .level > :last-child { grid-column: 2; }
  .callout { grid-template-columns: 1fr; padding: 32px; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 16px 24px 24px; border-bottom: 1px solid var(--rule); }
  .nav.open { display: flex; }
}
@media (max-width: 560px) {
  .industries, .flow { grid-template-columns: 1fr; }
  .flow div { border-right: 0; border-bottom: 1px solid var(--rule); }
  section { padding: 52px 0; }
}

/* ---------- country switcher and slogans ---------- */
.country-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; font-size: 15px; }
.country-pick span { color: var(--muted); margin-right: 4px; }
.country-pick button { font: 500 14px var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.country-pick button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
#q.urdu, #q.arabic { display: block; direction: rtl; font-size: 18px; line-height: 2; }
#q.q-en { display: block; margin-top: 4px; }
.slogan { font-size: 32px; color: var(--teal-dark); margin: 0; direction: rtl; text-align: left; line-height: 1.9; }
.slogan.urdu { font-family: var(--urdu); }
.slogan.arabic { font-family: var(--arabic); }
.slogan-en { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
