/* SMH Global shared website kit: layout and components for the SMH Global product websites.
   Load order: smh-base.css, <product>.css, smh-site.css (this file), then optionally <product>-site.css (brand layer only).
   Colours come only from variables: --brand-*, --neutral-*, --success*, --warning*, --danger*, --text, --surface.
   No product names and no brand hex values in this file. Markup contract: SITE-KIT.md. Version 1.2 (November 2026). */

/* ---------- shared fonts (files served from /fonts/, copied from site-kit/fonts/) ---------- */
@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/plex-sans-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/plex-sans-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/plex-sans-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('/fonts/plex-arabic-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('/fonts/plex-arabic-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('/fonts/plex-arabic-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/plex-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Noto Nastaliq Urdu'; src: url('/fonts/noto-nastaliq-urdu-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Noto Nastaliq Urdu'; src: url('/fonts/noto-nastaliq-urdu-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Noto Sans Bengali'; src: url('/fonts/noto-sans-bengali-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Noto Sans Bengali'; src: url('/fonts/noto-sans-bengali-600.woff') format('woff'); font-weight: 600; font-display: swap; }

:root {
  /* Kit settings. A product may override only the --display-* and --font-figures values (SITE-KIT.md section 9). */
  --display-weight: 600;
  --display-tracking: -0.01em;
  --font-figures: var(--font-display);

  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-32: 2rem;
  --fs-40: 2.5rem;
  --fs-56: 3.5rem;
  --fs-h1: clamp(2.25rem, 1.4rem + 3.2vw, var(--fs-56));
  --fs-h2: clamp(1.75rem, 1.3rem + 1.6vw, var(--fs-40));
  --fs-h3: var(--fs-20);

  --site-wrap: 1200px;
  --site-gutter: clamp(16px, 4vw, 32px);
  --site-head-h: 80px;
  --site-logo-h: 44px;
  --site-foot-logo-h: 36px;
  --site-radius: var(--radius-lg, 16px);
  --site-radius-sm: var(--radius-md, 10px);
  --site-shadow: 0 1px 2px rgba(25, 27, 29, 0.05), 0 18px 44px -26px rgba(25, 27, 29, 0.38);
  --site-on-dark: rgba(255, 255, 255, 0.8);
  --site-on-dark-soft: rgba(255, 255, 255, 0.66);
  --site-on-dark-line: rgba(255, 255, 255, 0.14);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--site-head-h) + 20px); }
body { margin: 0; background: var(--surface-alt); color: var(--text); font-family: var(--font-sans); font-size: var(--fs-16); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html[lang='ar'] body { font-family: var(--font-arabic); line-height: 1.8; }
html[lang='ur'] body { font-family: var(--font-urdu); line-height: 2; }
html[lang='bn'] body { font-family: var(--font-bangla); line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-800); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-tint); color: var(--neutral-950); }
h1, h2, h3, h4 { margin: 0 0 0.5em; color: var(--neutral-950); font-weight: var(--display-weight); font-family: var(--font-display); }
h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: calc(var(--display-tracking) - 0.01em); }
h2 { font-size: var(--fs-h2); line-height: 1.14; letter-spacing: var(--display-tracking); }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: var(--display-tracking); }
h4 { font-size: var(--fs-16); line-height: 1.4; font-family: var(--font-sans); }
html[lang='ar'] :is(h1, h2, h3, h4), html[lang='ur'] :is(h1, h2, h3, h4), html[lang='bn'] :is(h1, h2, h3, h4) { font-family: inherit; letter-spacing: 0; line-height: 1.4; }
p { margin: 0 0 1em; max-width: 70ch; }
ul { padding-inline-start: 1.2em; }
code, kbd, samp, .mono { font-family: var(--font-mono); font-size: 0.94em; }
.figure { font-family: var(--font-figures); font-variant-numeric: tabular-nums; }
.lead { font-size: var(--fs-20); line-height: 1.55; color: var(--text-muted); max-width: 62ch; }
.small { font-size: var(--fs-14); }
.soft { color: var(--text-muted); }
.faint { color: var(--neutral-600); }
.wrap { width: 100%; max-width: calc(var(--site-wrap) + 2 * var(--site-gutter)); margin-inline: auto; padding-inline: var(--site-gutter); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--surface); color: var(--brand); padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip:focus { inset-inline-start: 8px; }
.kicker { margin: 0 0 12px; font-size: var(--fs-14); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-on-tint); }
html:not([lang='en']) .kicker { letter-spacing: 0; text-transform: none; font-size: var(--fs-16); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(12px); border-top: 3px solid var(--brand); border-bottom: 1px solid var(--border); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--site-head-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand .logo { height: var(--site-logo-h); width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; flex: 1; justify-content: space-between; }
.nav-main { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-side { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--neutral-800); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 500; font-size: 0.94rem; white-space: nowrap; }
.nav a:hover { background: var(--neutral-100); color: var(--neutral-950); }
.nav-main a[aria-current='page'] { background: var(--brand-tint); color: var(--brand-on-tint); }
.nav .langs { display: inline-flex; padding-inline-end: 6px; margin-inline-end: 2px; border-inline-end: 1px solid var(--border); }
.nav .lang { color: var(--text-muted); font-weight: 400; font-size: 0.9rem; padding-inline: 7px; }
.nav .nav-signin { color: var(--brand); font-weight: 600; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--brand); }
.nav a.btn-primary:hover { background: var(--brand-700); }
.head-cta { margin-inline-start: 4px; }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--neutral-300); border-radius: 8px; padding: 8px 14px; font: inherit; font-weight: 500; color: var(--neutral-900); cursor: pointer; }
@media (max-width: 1280px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px var(--site-gutter) 18px; margin: 0; box-shadow: var(--site-shadow); max-height: calc(100vh - var(--site-head-h)); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav-main, .nav-side { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .nav-side { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; }
  .nav a { padding: 12px; }
  .nav .langs { border: 0; margin: 0; padding: 0; }
  .head-cta { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 600px) { :root { --site-logo-h: 36px; --site-head-h: 68px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: var(--fs-16); text-decoration: none; border: 1.5px solid transparent; line-height: 1.2; cursor: pointer; font-family: inherit; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-secondary { border-color: var(--neutral-300); color: var(--neutral-900); background: var(--surface); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand-on-tint); }
.btn-on-dark { background: #fff; color: var(--brand-dark); }
.btn-on-dark:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-sm { padding: 8px 16px; font-size: 0.93rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- sections, bands, grids ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.section.flush-top { padding-top: 0; }
.band-white { background: var(--surface); border-block: 1px solid var(--border); }
.band-wash { background: var(--brand-wash); border-block: 1px solid var(--brand-100); }
.band-dark { background: var(--brand-dark); color: var(--site-on-dark); }
.band-dark :is(h1, h2, h3, h4) { color: #fff; }
.band-dark a:not(.btn) { color: var(--brand-detail); }
.band-dark .soft, .band-dark .faint { color: var(--site-on-dark-soft); }
.band-dark .kicker { color: var(--brand-detail); }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head p:not(.kicker):not(.legend) { color: var(--text-muted); font-size: 1.125rem; }
.band-dark .section-head p:not(.kicker):not(.legend) { color: var(--site-on-dark); }
.grid { display: grid; gap: clamp(18px, 2.6vw, 32px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip > :first-child { order: 2; }
.split.top { align-items: start; }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split, .split.flip { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }
@media (max-width: 720px) { .g2, .g3, .g4, .split, .split.even { grid-template-columns: minmax(0, 1fr); } }
.sub-head { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- hero (home page) ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 88% -12%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 62%), var(--brand-dark); color: var(--site-on-dark); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 13fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(44px, 6vw, 88px) clamp(52px, 6vw, 92px); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .kicker { color: var(--brand-detail); }
.hero .lead { margin-top: 20px; color: var(--site-on-dark); }
.hero-note { margin-top: 18px; font-size: var(--fs-14); color: var(--site-on-dark-soft); }
.hero-visual { position: relative; }
.hero-visual .float { position: absolute; inset-inline-start: -30px; bottom: -34px; width: 30%; max-width: 210px; aspect-ratio: 9 / 17; overflow: hidden; border-radius: 26px; border: 5px solid var(--neutral-950); box-shadow: var(--site-shadow); background: var(--surface); }
.hero-visual .float .shot img { border: 0; border-radius: 0; box-shadow: none; width: 100%; }
.hero-art { position: absolute; inset-inline-end: -120px; top: -120px; width: 520px; opacity: 0.12; pointer-events: none; }
.hero .shot img { border-color: var(--site-on-dark-line); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-visual .float { display: none; } }

/* ---------- proof strip ---------- */
.proof { background: var(--surface); border-bottom: 1px solid var(--border); }
.proof .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof .stat { padding: 26px 22px; border-inline-start: 1px solid var(--border); }
.proof .stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.proof .stat strong { display: block; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.15; color: var(--neutral-950); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); }
.proof .stat strong .num { font-family: var(--font-figures); font-weight: inherit; }
.proof .stat > span { color: var(--text-muted); font-size: 0.94rem; }
.proof .proof-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding: 18px 0 22px; border-top: 1px solid var(--border); }
.proof .proof-logos p { margin: 0; font-size: var(--fs-14); color: var(--text-muted); }
@media (max-width: 860px) { .proof .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; } }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--site-radius); padding: 26px; box-shadow: 0 1px 2px rgba(25, 27, 29, 0.04); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); margin-bottom: 0.6em; }
.card.link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.card.link:hover { border-color: var(--brand); box-shadow: var(--site-shadow); transform: translateY(-2px); }
.card .more { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--brand); }
.card.top { border-top: 4px solid var(--brand); }
.card.dark { background: var(--brand-dark); border-color: transparent; color: var(--site-on-dark); }
.card.dark h3 { color: #fff; }
.card.dark p { color: var(--site-on-dark); }
.card.dark .more, .band-dark .card .more { color: var(--brand-detail); }
.band-dark .card:not(.dark) { background: rgba(255, 255, 255, 0.06); border-color: var(--site-on-dark-line); color: var(--site-on-dark); }
.band-dark .card:not(.dark) p { color: var(--site-on-dark); }
.card .icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-on-tint); margin-bottom: 14px; }
.card .icon svg { width: 22px; height: 22px; }
.band-dark .card .icon { background: rgba(255, 255, 255, 0.1); color: var(--brand-detail); }
.card-img { margin: -26px -26px 20px; border-radius: var(--site-radius) var(--site-radius) 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--neutral-100); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; }
.ticks li { position: relative; padding-inline-start: 28px; margin-bottom: 8px; color: var(--text-muted); }
.ticks li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.3em; width: 17px; height: 17px; border-radius: 50%; background: var(--brand-tint); }
.ticks li::after { content: ''; position: absolute; inset-inline-start: 6px; top: calc(0.3em + 4px); width: 4px; height: 8px; border: solid var(--brand-on-tint); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks li b { color: var(--neutral-900); }
.band-dark .ticks li { color: var(--site-on-dark); }
.band-dark .ticks li b { color: #fff; }
.band-dark .ticks li::before { background: rgba(255, 255, 255, 0.14); }
.band-dark .ticks li::after { border-color: var(--brand-detail); }

/* ---------- status and legend chips ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 1px 10px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; line-height: 1.7; vertical-align: 1px; font-family: var(--font-sans); }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-live { background: var(--success-100); color: var(--success-800); }
.s-preview { background: var(--info-bg); color: var(--brand-on-tint); }
.s-plan { background: var(--neutral-100); color: var(--neutral-700); }
.s-req { background: var(--warning-100); color: var(--warning-800); }
.s-none { background: transparent; color: var(--neutral-600); border: 1px dashed var(--neutral-300); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: var(--fs-14); color: var(--neutral-600); }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.feature-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--border); }
.feature-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.feature-list li .status { justify-self: end; }
@media (max-width: 560px) { .feature-list li { grid-template-columns: 1fr; gap: 4px; } .feature-list li .status { justify-self: start; } }

/* ---------- screenshots and photos ---------- */
.shot, .photo { margin: 0; }
.shot img { border-radius: 12px; border: 1px solid var(--neutral-300); box-shadow: var(--site-shadow); background: var(--surface); }
.shot figcaption { margin-top: 10px; font-size: var(--fs-14); color: var(--neutral-600); }
.shot.phone img { border-radius: 26px; border: 6px solid var(--neutral-950); max-width: 300px; margin-inline: auto; }
.shot.phone figcaption { text-align: center; }
.photo img { border-radius: var(--site-radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: var(--neutral-100); }
.band-dark .shot img { border-color: var(--site-on-dark-line); }
.band-dark .shot figcaption { color: var(--site-on-dark-soft); }
.browser { border-radius: 14px; background: var(--surface); border: 1px solid var(--neutral-300); box-shadow: var(--site-shadow); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--neutral-100); border-bottom: 1px solid var(--border); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--neutral-300); }
.browser-bar span { margin-inline-start: 10px; font-size: 0.78rem; color: var(--neutral-600); background: var(--surface); border-radius: 6px; padding: 2px 10px; }
.browser .shot img { border: 0; border-radius: 0; box-shadow: none; }

/* ---------- layers diagram ---------- */
.layers { display: grid; gap: 10px; }
.layer { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; }
.layer b { color: var(--neutral-950); font-size: 1.02rem; }
.layer span { color: var(--text-muted); font-size: 0.96rem; }
.layer.l1 { border-inline-start: 6px solid var(--brand-900); }
.layer.l2 { border-inline-start: 6px solid var(--brand-600); margin-inline-start: 18px; }
.layer.l3 { border-inline-start: 6px solid var(--brand-400); margin-inline-start: 36px; }
.layer.l4 { border-inline-start: 6px solid var(--brand-300); margin-inline-start: 54px; }
.layer.flat { margin-inline-start: 0; grid-template-columns: 70px minmax(0, 1fr); }
.band-dark .layer { background: rgba(255, 255, 255, 0.06); border-color: var(--site-on-dark-line); }
.band-dark .layer.l1 { border-inline-start-color: #fff; }
.band-dark .layer b { color: #fff; }
.band-dark .layer span { color: var(--site-on-dark); }
@media (max-width: 720px) { .layer { grid-template-columns: 1fr; gap: 4px; } .layer.l2, .layer.l3, .layer.l4 { margin-inline-start: 0; } }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--neutral-100); color: var(--neutral-950); font-weight: 600; font-size: 0.88rem; white-space: nowrap; border-bottom: 2px solid var(--brand-on-tint); }
tr:last-child td { border-bottom: 0; }
td.nowrap { white-space: nowrap; }
td.num, th.num { text-align: end; font-family: var(--font-figures); font-variant-numeric: tabular-nums; }
.region-head td { background: var(--neutral-50); font-weight: 600; color: var(--neutral-950); }

/* ---------- roadmap timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.timeline .step { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.timeline .step .when { font-size: 0.82rem; font-weight: 600; color: var(--brand-on-tint); font-family: var(--font-figures); }
.timeline .step h3 { font-size: var(--fs-24); margin: 2px 0 8px; }
.timeline .step p { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 6px; }
.timeline .step.now { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.band-dark .timeline .step { background: rgba(255, 255, 255, 0.06); border-color: var(--site-on-dark-line); }
.band-dark .timeline .step p { color: var(--site-on-dark); }
.band-dark .timeline .step .when { color: var(--brand-detail); }
.band-dark .timeline .step.now { border-color: var(--brand-detail); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); }
@media (max-width: 960px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- client and partner logos ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 44px; }
.logos img { height: 36px; width: auto; filter: grayscale(1) contrast(1.1); opacity: 0.8; }
.logos img.tall { height: 56px; }

/* ---------- offices ---------- */
.office { background: var(--surface); border: 1px solid var(--border); border-radius: var(--site-radius); overflow: hidden; display: flex; flex-direction: column; }
.office .photo img { border-radius: 0; aspect-ratio: 16 / 9; }
.office .body { padding: 20px 22px 22px; }
.office-role { margin: 0 0 4px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-on-tint); }
.office address { font-style: normal; color: var(--text-muted); line-height: 1.6; }
.office-phone { margin: 10px 0 0; font-weight: 600; }

/* ---------- page head (every page except home) ---------- */
.page-head { background: linear-gradient(180deg, var(--surface), var(--brand-wash)); border-bottom: 1px solid var(--border); padding-block: clamp(44px, 6vw, 80px) clamp(32px, 4vw, 52px); position: relative; }
.page-head h1 { max-width: 20ch; }
.page-head .lead { margin-top: 16px; }
.page-head.dark, .page-head.with-img { background: var(--brand-dark); color: var(--site-on-dark); border-bottom: 0; }
.page-head.with-img { background: linear-gradient(90deg, color-mix(in srgb, var(--brand-dark) 97%, transparent) 0%, color-mix(in srgb, var(--brand-dark) 88%, transparent) 48%, color-mix(in srgb, var(--brand-dark) 45%, transparent) 100%), var(--hero-img, none) center / cover no-repeat, var(--brand-dark); }
html[dir='rtl'] .page-head.with-img { background: linear-gradient(270deg, color-mix(in srgb, var(--brand-dark) 97%, transparent) 0%, color-mix(in srgb, var(--brand-dark) 88%, transparent) 48%, color-mix(in srgb, var(--brand-dark) 45%, transparent) 100%), var(--hero-img, none) center / cover no-repeat, var(--brand-dark); }
:is(.page-head.dark, .page-head.with-img) h1 { color: #fff; }
:is(.page-head.dark, .page-head.with-img) .lead { color: var(--site-on-dark); }
:is(.page-head.dark, .page-head.with-img) .lead a { color: var(--brand-detail); }
:is(.page-head.dark, .page-head.with-img) .kicker { color: var(--brand-detail); }
:is(.page-head.dark, .page-head.with-img) .crumbs, :is(.page-head.dark, .page-head.with-img) .crumbs a { color: var(--site-on-dark-soft); }
.crumbs { font-size: var(--fs-14); color: var(--neutral-600); margin-bottom: 14px; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.anchor-nav a { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: 0.92rem; text-decoration: none; color: var(--neutral-900); }
.anchor-nav a:hover { border-color: var(--brand); }
:is(.page-head.dark, .page-head.with-img) .anchor-nav a { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(800px 360px at 100% 0%, color-mix(in srgb, var(--brand) 45%, transparent), transparent 65%), var(--brand-dark); color: var(--site-on-dark); position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; padding-block: clamp(44px, 6vw, 72px); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: var(--site-on-dark); }
.cta-band .actions { margin: 0; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 0.95rem; color: var(--neutral-900); }
.form input, .form select, .form textarea { font: inherit; padding: 11px 13px; border: 1px solid var(--neutral-300); border-radius: 10px; background: var(--surface); color: var(--text); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline-offset: 1px; border-color: var(--brand); }
.form textarea { min-height: 120px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--neutral-950); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { color: var(--text-muted); padding-bottom: 6px; }

/* ---------- product tour ---------- */
.tour { display: grid; gap: clamp(48px, 6vw, 80px); }
.tour .split h3 { font-size: var(--fs-24); }

/* ---------- pricing: plan cards and comparison table ---------- */
.plans { display: grid; gap: clamp(18px, 2.6vw, 32px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { display: flex; flex-direction: column; }
.plan .price { font-family: var(--font-figures); font-size: var(--fs-32); font-weight: 600; color: var(--neutral-950); line-height: 1.1; margin-bottom: 4px; }
.plan .price small { font-family: var(--font-sans); font-size: var(--fs-14); font-weight: 400; color: var(--text-muted); }
.plan .basis { font-weight: 600; color: var(--neutral-900); margin-bottom: 4px; }
.plan .billing { font-size: var(--fs-14); color: var(--neutral-600); margin-bottom: 8px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan .ticks { margin-bottom: 20px; }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.price-table td:not(:first-child), .price-table th:not(:first-child) { text-align: center; }
.price-table .yes { color: var(--success-800); font-weight: 600; }

/* ---------- footer ---------- */
.site-foot { background: var(--brand-950); color: var(--site-on-dark-soft); padding-block: 56px 28px; font-size: 0.95rem; }
.site-foot a { color: var(--site-on-dark); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-h { color: #fff; font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 8px; }
.foot-bar { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--site-on-dark-line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; }
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.foot-brand .brand .logo { height: var(--site-foot-logo-h); }
.endorse { display: inline-flex; align-items: center; gap: 12px; padding-inline-start: 22px; border-inline-start: 1px solid rgba(255, 255, 255, 0.3); }
.endorse-label { font-size: 0.82rem; font-weight: 500; color: rgba(255, 255, 255, 0.7); white-space: nowrap; }
.endorse img { height: 34px; width: auto; }
.site-foot .endorse:hover { text-decoration: none; }
.foot-langs { display: flex; gap: 4px 14px; flex-wrap: wrap; justify-content: flex-end; }
.foot-meta { grid-column: 1 / -1; display: grid; gap: 6px; font-size: 0.82rem; color: var(--site-on-dark-soft); }
.foot-meta p { margin: 0; max-width: none; }
.foot-meta a { color: var(--site-on-dark); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-bar { grid-template-columns: 1fr; } .foot-langs { justify-content: flex-start; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } .endorse { padding-inline-start: 0; border: 0; } }

/* ---------- notes, pills, prose ---------- */
.note { background: var(--surface); border: 1px solid var(--border); border-inline-start: 4px solid var(--brand); border-radius: 12px; padding: 14px 18px; color: var(--neutral-900); font-size: 0.95rem; }
.note.info { background: var(--brand-wash); border-color: var(--brand-200); border-inline-start-color: var(--brand); }
.note.warn { background: var(--warning-100); border-color: var(--warning-100); border-inline-start-color: var(--warning-600); color: var(--warning-800); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.pill-list li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: 0.9rem; color: var(--neutral-900); }
.band-dark .status.s-plan { background: rgba(255, 255, 255, 0.14); color: #fff; }
.band-dark .pill-list li { background: rgba(255, 255, 255, 0.08); border-color: var(--site-on-dark-line); color: #fff; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; font-size: var(--fs-24); }
.prose h3 { margin-top: 1.4em; }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- motion ---------- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- print ---------- */
@media print { .site-head, .menu-btn, .cta-band, .site-foot .foot-grid { display: none; } body { background: #fff; } .hero, .band-dark, .page-head.dark, .page-head.with-img { background: #fff; color: var(--text); } .hero h1, .band-dark h2 { color: var(--neutral-950); } }

/* Languages (kit v1.1): every page exists in en, ar, ur, bn. Arabic and Urdu are right to left. */
:lang(ar) body, body:lang(ar) { font-family: var(--font-arabic); }
:lang(ur) body, body:lang(ur) { font-family: var(--font-urdu); line-height: 2.1; }
:lang(ur) h1, :lang(ur) h2, :lang(ur) h3, :lang(ur) .kicker, :lang(ur) .btn { font-family: var(--font-urdu); line-height: 1.9; letter-spacing: 0; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .btn { font-family: var(--font-arabic); letter-spacing: 0; }
:lang(bn) body, body:lang(bn), :lang(bn) h1, :lang(bn) h2, :lang(bn) h3, :lang(bn) .btn { font-family: var(--font-bangla); letter-spacing: 0; }
:lang(ur) .nav a, :lang(ur) .nav .btn { line-height: 1.6; }
[dir=rtl] .num, [dir=rtl] .figure, [dir=rtl] code { direction: ltr; unicode-bidi: isolate; }
/* Short home page: entry cards that lead to the section pages. */
.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--site-gap, 24px); }
.entry-grid .card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; }
.entry-grid .card:hover, .entry-grid .card:focus-visible { border-color: var(--brand); }
.entry-grid .card .go { margin-top: auto; color: var(--brand); font-weight: 600; }
@media (max-width: 960px) { .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .entry-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- phone (kit v1.2): a device frame that scrolls a tall mobile screenshot ---------- */
/* <figure class="phone"><div class="phone-screen" tabindex="0"><img class="phone-shot" src="…" alt="…" width="780" height="5200"></div></figure>
   The screen has the aspect ratio of a 390 x 844 CSS px phone and clips the screenshot; nothing leaves the frame.
   The screenshot scrolls top → bottom → top (translateY, --phone-duration, default 20 s, ease-in-out, pauses at both ends),
   pauses on hover and keyboard focus, and stays still at the top under prefers-reduced-motion. */
.phone { --phone-duration: 20s; position: relative; margin: 0; width: var(--phone-width, 260px); max-width: 100%; padding: 9px; border-radius: 38px; background: var(--neutral-950); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10) inset, var(--site-shadow); overflow: hidden; isolation: isolate; }
.phone::before { content: ''; position: absolute; z-index: 2; top: 2.5px; left: 50%; width: 26%; height: 4px; transform: translateX(-50%); border-radius: 999px; background: rgba(255, 255, 255, 0.16); pointer-events: none; }
.phone-screen { position: relative; aspect-ratio: 390 / 844; border-radius: 29px; overflow: hidden; background: var(--surface); container-type: size; contain: paint; }
.phone-screen:focus-visible { outline: 3px solid var(--brand-detail); outline-offset: -3px; }
.phone-shot { display: block; width: 100%; height: auto; max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; transform: translateY(0); animation: phone-scroll var(--phone-duration) ease-in-out infinite; will-change: transform; }
.phone:hover .phone-shot, .phone:focus-within .phone-shot { animation-play-state: paused; }
@keyframes phone-scroll {
  0%, 10% { transform: translateY(0); }
  45%, 55% { transform: translateY(min(0px, calc(100cqh - 100%))); }
  90%, 100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .phone-shot { animation: none; transform: none; } }

/* Desktop card behind, phone in front (hero). The phone sits at the inline start, so it mirrors in right-to-left pages.
   Under 600 px only the phone is shown, centred. */
.device-pair { display: grid; grid-template-columns: 5fr 3fr 16fr; align-items: center; }
.device-pair > .browser, .device-pair > .shot { grid-area: 1 / 2 / 2 / 4; }
.device-pair > .phone { grid-area: 1 / 1 / 2 / 3; z-index: 1; width: 100%; max-width: 250px; justify-self: start; }
@media (max-width: 600px) {
  .device-pair { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .device-pair > .browser, .device-pair > .shot { display: none; }
  .device-pair > .phone { grid-area: auto; justify-self: center; width: min(64vw, 250px); }
}

/* ---------- Urdu, Arabic and Bangla typography (kit v1.2) ---------- */
/* Nastaliq has tall ascenders and deep descenders: taller lines everywhere, a smaller display size, and Latin runs
   (.num: product names, IDs, figures) in the sans face instead of the Nastaliq font's own Latin. */
html[lang='ur'] :is(p, li, dd, dt, td, th, summary, label, address, figcaption, .lead, .hero-note, .small, .note, .legend, .basis, .billing, .crumbs, .foot-meta) { line-height: 2.15; }
/* Sizes with :where() so component sizes (.foot-h, card titles) still win; line heights must beat the generic heading rule. */
:where(html[lang='ur']) h1 { font-size: calc(var(--fs-h1) * 0.8); }
:where(html[lang='ur']) h2 { font-size: calc(var(--fs-h2) * 0.86); }
html[lang='ur'] h1 { line-height: 1.85; padding-block: 0.08em; }
html[lang='ur'] h2 { line-height: 1.9; }
html[lang='ur'] :is(h3, h4, .kicker, .office-role) { line-height: 2; }
html[lang='ur'] .hero h1 { max-width: 18ch; padding-inline-start: 0.12em; }
html[lang='ur'] .proof .stat strong { line-height: 1.9; }
html[lang='ur'] .btn { line-height: 1.9; padding-block: 8px; }
html[lang='ur'] .nav a { line-height: 1.9; padding-block: 2px; }
html[lang='ur'] :is(.num, code) { font-family: var(--font-sans); }
html[lang='ur'] .kicker { letter-spacing: 0; text-transform: none; }
/* Status chips and buttons carry translated words: use the page's script face, not Plex Sans. */
html:is([lang='ar'], [lang='ur'], [lang='bn']) .status { font-family: inherit; }
html[lang='ur'] .status { line-height: 2; padding-block: 0; }
html[lang='ar'] .kicker, html[lang='bn'] .kicker { letter-spacing: 0; }
