/* RustERP website (rusterpsoft.com). One stylesheet for the English and the Urdu page; the Urdu page sets dir="rtl" and lang="ur". */
:root {
  --navy: #0e2a47; --navy-2: #163a5f; --ink: #0b1f33; --text: #1d3043; --muted: #5a6b7b; --line: #e2e8ee; --soft: #f3f7f9; --bg: #ffffff;
  --teal: #0e7c66; --teal-2: #0a6352; --mint: #1fb9a0; --mint-soft: #e3f6f1;
  --blue: #1d4ed8; --orange: #c2410c; --purple: #6d28d9;
  --wa: #128c4a;
  --radius: 18px; --shadow: 0 1px 2px rgba(14, 42, 71, .06), 0 12px 32px rgba(14, 42, 71, .10);
  --head: "Poppins", system-ui, "Segoe UI", sans-serif; --body: "Inter", system-ui, "Segoe UI", sans-serif;
}
/* Urdu: a PC that has InPage's look installed (Jameel Noori Nastaleeq) shows it; every other device gets Mehr Nastaliq Web, a Lahori
   Nastaliq made for web pages (CC BY-SA 4.0, credited in the Urdu page's footer), loaded from jsDelivr at a fixed version. Mehr covers
   the Arabic letters only, so Inter / Poppins come first in the Urdu page's lists: "RustERP", the digits and the spaces between words
   look as on the English page (without them they fell to the browser's Times). Nastaliq never gets letter-spacing: any spacing makes
   Chrome switch off the font's joining rules and the words run into each other. */
@font-face {
  font-family: "Mehr";
  src: url(https://cdn.jsdelivr.net/npm/mehr@2.0.1/mehr.woff) format("woff");
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF;
}
html[lang="ur"] { --urdu: "Jameel Noori Nastaleeq", "Jameel Noori Nastaleeq Kasheeda", "Mehr", "Noto Nastaliq Urdu", serif; --head: "Poppins", var(--urdu); --body: "Inter", var(--urdu); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
html[lang="ur"] body { font-size: 17px; line-height: 2.1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
p { text-wrap: pretty; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3 { line-height: 1.9; letter-spacing: 0; font-weight: 400; }
/* Nastaliq letters stand much taller than Latin ones at the same size: the Urdu headings are set smaller */
html[lang="ur"] .hero h1 { font-size: clamp(30px, 3.9vw, 54px); line-height: 1.85; margin: 14px 0 0; }
html[lang="ur"] .hero-top { align-items: center; }
html[lang="ur"] .head h2, html[lang="ur"] .price h2, html[lang="ur"] .contact h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.85; }
html[lang="ur"] .card h3, html[lang="ur"] .step h3, html[lang="ur"] .ed h3 { font-size: 20px; line-height: 1.8; }
html[lang="ur"] .fact b { font-weight: 400; }
html[lang="ur"] .fact b bdi { font-weight: 700; }
p { margin: 0; }
/* (22 Nov 2026, owner: "it is not set in the full screen") the page uses the screen's width: side room 16-48 px, at most 1840 px wide
   (a 1920 px screen keeps 48 px each side) */
.wrap { width: min(1840px, 100% - clamp(32px, 5vw, 96px)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 6px; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand b { font: 700 23px/1 "Poppins", sans-serif; letter-spacing: -.02em; }
footer .brand b { font-size: 21px; }
.brand b span { color: var(--teal); }
.brand small { display: block; font: 600 10.5px/1.2 "Poppins", sans-serif; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
html[lang="ur"] .brand small { font: 400 14px/1.5 var(--urdu); letter-spacing: 0; text-transform: none; margin-top: 0; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 550; font-size: 15px; padding: 8px 11px; border-radius: 10px; white-space: nowrap; }
html[lang="ur"] .nav a { font-size: 15px; padding: 2px 10px; }
@media (min-width: 1240px) { html[lang="ur"] .nav a { font-size: 17px; } }
/* an English phrase inside Urdu text (build.mjs ltrRuns) is not broken over two lines */
bdi.en { white-space: nowrap; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a.on { color: var(--teal-2); background: var(--mint-soft); }
/* the language switch: always in sight (also on phones), the page's own language marked */
.langsw { display: inline-flex; align-items: stretch; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 2px; flex: none; }
.langsw a { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); font: 600 14px/1 "Inter", system-ui, sans-serif; padding: 0 12px; height: 34px; border-radius: 9px; white-space: nowrap; }
.langsw a[lang="ur"] { font: 400 19px/1 "Jameel Noori Nastaleeq", "Mehr", "Noto Nastaliq Urdu", serif; padding-bottom: 6px; }
html[lang="ur"] .langsw a[lang="en"] { font-family: "Inter", system-ui, sans-serif; }
.langsw a:hover { color: var(--teal-2); background: #fff; }
.langsw a[aria-current="page"] { background: var(--navy); color: #fff; box-shadow: 0 2px 6px rgba(14, 42, 71, .2); }
.menu-btn { display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: auto; position: relative; content: ""; border-radius: 2px; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 650 16px/1 var(--body); text-decoration: none; padding: 15px 22px; border-radius: 14px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
html[lang="ur"] .btn { line-height: 1.7; padding: 9px 22px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn.pri { background: var(--teal); color: #fff; box-shadow: 0 8px 22px rgba(14, 124, 102, .28); }
.btn.pri:hover { background: var(--teal-2); }
.btn.wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(18, 140, 74, .24); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--teal); }
.btn.sm { padding: 10px 15px; font-size: 14.5px; border-radius: 12px; }
html[lang="ur"] .btn.sm { padding: 4px 14px; }
.btn[aria-disabled="true"] { background: var(--soft); color: var(--muted); box-shadow: none; cursor: default; transform: none; }

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #dff3ee 0%, rgba(223, 243, 238, 0) 60%), linear-gradient(180deg, #f7fbfc 0%, #fff 100%); }
/* the words in one row (heading | lead and buttons) so the program's screens start right under the download button */
.hero-top { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 18px 56px; align-items: end; padding: 50px 0 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 650 13px/1 var(--body); color: var(--teal-2); background: var(--mint-soft); border: 1px solid #c4ebe1; padding: 8px 13px; border-radius: 999px; letter-spacing: .02em; }
/* a Nastaliq word's tail reaches past its own box: room at the line's end so it never touches the edge */
html[lang="ur"] .eyebrow { line-height: 2.1; padding: 3px 16px 5px 26px; font-size: 14px; font-weight: 400; letter-spacing: 0; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(31, 185, 160, .2); }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; margin: 18px 0 0; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--teal), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 560px; }
html[lang="ur"] .hero .lead { font-size: 18.5px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 14px; }
.hero .note { color: var(--muted); font-size: 14.5px; display: flex; gap: 8px; align-items: flex-start; }
.hero .note svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: calc((1lh - 18px) / 2); }
.blocks { position: absolute; inset: 0; pointer-events: none; }
/* the hero's words and screens above its faint blocks */
.hero > .wrap { position: relative; z-index: 1; }
.blocks i { position: absolute; border-radius: 22%; background: var(--navy); opacity: .05; }

/* facts */
.facts { border-block: 1px solid var(--line); background: #fff; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 22px; border-inline-start: 1px solid var(--line); }
.fact:first-child { border-inline-start: 0; }
.fact b { display: block; font: 700 26px/1.2 var(--head); color: var(--ink); }
html[lang="ur"] .fact b { font-size: 22px; line-height: 1.9; }
.fact span { color: var(--muted); font-size: 15px; }

/* sections */
section.band { padding: 96px 0; }
section.band.soft { background: var(--soft); }
.head { max-width: 760px; margin-bottom: 44px; }
.head.center { text-align: center; margin-inline: auto; }
.kicker { font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
html[lang="ur"] .kicker { letter-spacing: 0; font-size: 16.5px; line-height: 1.8; }
.head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; margin-bottom: 14px; }
.head p { font-size: 18px; color: var(--muted); }

/* features */
.grid { display: grid; gap: 18px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d3dde5; }
.card .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--mint-soft); color: var(--teal); margin-bottom: 16px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; font-weight: 650; margin-bottom: 8px; }
html[lang="ur"] .card h3 { font-size: 18px; }
.card p { color: var(--muted); font-size: 15px; }

/* editions */
.ed { position: relative; overflow: hidden; }
.ed .mark { width: 54px; height: 54px; margin-bottom: 16px; }
.ed .state { position: absolute; top: 20px; inset-inline-end: 20px; font: 650 12px/1 var(--body); padding: 7px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); }
html[lang="ur"] .ed .state { line-height: 1.7; padding: 1px 11px 3px; font-size: 14px; }
.ed.on .state { background: var(--mint-soft); color: var(--teal-2); }
.ed h3 { font-size: 21px; margin-bottom: 8px; }
.ed::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--c); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; }
.step .n { width: 44px; height: 44px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 19px/1 "Poppins", sans-serif; margin-bottom: 16px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* the program's screens, right under the hero's buttons: topic chips, the screen with numbered spots on its parts, its words beside
   it, and a strip of every screen (the picture is the program's own, so it keeps dir="ltr" on the Urdu page too) */
.gallery { padding: 6px 0 60px; }
.g-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 16px; }
.g-head h2 { font-size: 20px; font-weight: 700; }
html[lang="ur"] .g-head h2 { font-size: 22px; line-height: 1.8; }
.g-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.g-cat { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--body); color: var(--text); background: #fff; border: 1px solid var(--line); padding: 8px 8px 8px 13px; border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s; }
html[dir="rtl"] .g-cat { padding: 3px 13px 3px 8px; }
html[lang="ur"] .g-cat { font-size: 15px; font-weight: 400; line-height: 1.8; }
.g-cat b { font: 700 12px/1 "Inter", sans-serif; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 4px 7px; }
.g-cat:hover { border-color: var(--teal); }
.g-cat[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.g-cat[aria-pressed="true"] b { background: rgba(255, 255, 255, .16); color: #fff; }
.g-pane { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.g-pane[hidden] { display: none; }
.g-view { margin: 0; }
.frame { background: #0f2236; border-radius: 16px; padding: 10px; box-shadow: 0 28px 64px rgba(14, 42, 71, .24), 0 2px 6px rgba(14, 42, 71, .12); }
.frame .bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 9px; }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b415a; }
.frame .bar span { margin-inline-start: 10px; font: 600 12px/1 "Inter", sans-serif; color: #8ea5bb; }
.g-pic { position: relative; }
.g-pic img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 8px; background: #eef3f6; display: block; }
/* a spot: the part's box (lit when its line is chosen) and its number at the box's corner */
.g-spot { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border-radius: 8px; pointer-events: none; transition: box-shadow .25s, background .25s; }
.g-spot b { position: absolute; left: 0; top: 0; transform: translate(-35%, -35%); width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; font: 700 13px/26px "Inter", sans-serif; text-align: center; box-shadow: 0 0 0 2.5px #fff, 0 4px 12px rgba(14, 42, 71, .35); pointer-events: auto; cursor: pointer; transition: transform .2s, background .2s, opacity .2s; }
.g-spot.on { background: rgba(31, 185, 160, .12); box-shadow: 0 0 0 2.5px var(--mint), 0 0 0 7px rgba(31, 185, 160, .22), 0 10px 30px rgba(14, 42, 71, .18); }
.g-spot.on b { background: var(--mint); transform: translate(-35%, -35%) scale(1.15); }
.g-pic.lit .g-spot:not(.on) b { opacity: .6; }
.g-info { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 16px; box-shadow: var(--shadow); }
.g-where { font: 650 12.5px/1.4 var(--body); color: var(--teal); text-transform: uppercase; letter-spacing: .04em; }
html[lang="ur"] .g-where { font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.9; }
.g-info h3 { font-size: 23px; margin: 4px 0 6px; }
html[lang="ur"] .g-info h3 { font-size: 22px; line-height: 1.8; }
.g-info > p { color: var(--muted); font-size: 15.5px; }
.g-feats { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.g-feat { width: 100%; display: flex; gap: 11px; align-items: flex-start; text-align: start; background: none; border: 1px solid transparent; border-radius: 12px; padding: 9px 10px; font: 500 15px/1.45 var(--body); color: var(--text); cursor: pointer; transition: background .15s, border-color .15s; }
html[lang="ur"] .g-feat { font-size: 15.5px; font-weight: 400; line-height: 2; padding: 4px 10px; }
.g-feat b { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--mint-soft); color: var(--teal-2); font: 700 12.5px/24px "Inter", sans-serif; text-align: center; transition: background .15s, color .15s; }
html[lang="ur"] .g-feat b { margin-top: 6px; }
.g-feat:hover, .g-feat.on { background: var(--mint-soft); border-color: #c4ebe1; }
.g-feat.on b { background: var(--teal); color: #fff; }
.g-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.g-nav button { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 400 24px/1 "Inter", sans-serif; color: var(--ink); cursor: pointer; }
.g-nav button:hover { border-color: var(--teal); color: var(--teal-2); }
/* (‹ and › turn round by themselves in right-to-left text) */
.g-strip { display: flex; gap: 12px; overflow-x: auto; padding: 18px 4px 10px; margin: 6px -4px 0; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #c7d3dd transparent;
  -webkit-mask-image: linear-gradient(to right, #000 90%, transparent); mask-image: linear-gradient(to right, #000 90%, transparent); }
html[dir="rtl"] .g-strip { -webkit-mask-image: linear-gradient(to left, #000 90%, transparent); mask-image: linear-gradient(to left, #000 90%, transparent); }
.g-thumb { flex: none; width: 168px; scroll-snap-align: start; background: none; border: 0; padding: 0; text-align: start; cursor: pointer; font: 500 13.5px/1.4 var(--body); color: var(--text); }
html[lang="ur"] .g-thumb { font-size: 14.5px; font-weight: 400; line-height: 2; }
.g-thumb img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 10px; border: 2px solid var(--line); background: #eef3f6; display: block; transition: border-color .2s, transform .2s, box-shadow .2s; }
.g-thumb span { display: block; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: 2px; }
.g-thumb:hover img { transform: translateY(-2px); border-color: #9fd9cb; }
.g-thumb[aria-selected="true"] img { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31, 185, 160, .25); }
.g-thumb[aria-selected="true"] span { color: var(--teal-2); font-weight: 650; }
html[lang="ur"] .g-thumb[aria-selected="true"] span { font-weight: 400; }
.g-thumb[hidden] { display: none; }
.g-hint { color: var(--muted); font-size: 13.5px; }
@media (prefers-reduced-motion: no-preference) {
  .g-pane:not([hidden]) .g-view { animation: g-in .35s ease; }
  @keyframes g-in { from { opacity: .4; transform: translateY(6px); } }
}

/* pricing */
.price { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: center; background: var(--navy); color: #d7e3ee; border-radius: 26px; padding: 48px; overflow: hidden; position: relative; }
.price h2 { color: #fff; font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 12px; }
.price p { font-size: 17.5px; }
.price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.price li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); padding: 13px 15px; border-radius: 14px; color: #fff; font-size: 15.5px; }
.price li svg { width: 20px; height: 20px; color: var(--mint); flex: none; margin-top: 3px; }
html[lang="ur"] .price li svg { margin-top: 10px; }
.price .btn { margin-top: 26px; }

/* download */
.dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.dl .card { padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.dl .os { display: flex; align-items: center; gap: 14px; }
.dl .os .ic { margin: 0; width: 54px; height: 54px; background: var(--soft); color: var(--navy); }
.dl .os .ic svg { width: 28px; height: 28px; }
.dl h3 { font-size: 20px; }
.dl .meta { color: var(--muted); font-size: 14.5px; }
.dl .btn { align-self: flex-start; margin-top: 6px; }
.dl .tip { font-size: 13.5px; color: var(--muted); background: var(--soft); border-radius: 12px; padding: 11px 13px; }
.dl .sum { font: 12px/1.4 Consolas, "Cascadia Mono", monospace; color: var(--muted); word-break: break-all; }
.help { text-align: center; margin-top: 22px; color: var(--muted); }

/* faq */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font: 650 17px/1.4 var(--body); color: var(--ink); padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
html[lang="ur"] .faq summary { line-height: 2; padding: 8px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--body); color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; font-size: 15.5px; }

/* contact */
.contact { background: linear-gradient(135deg, var(--navy) 0%, #12385c 60%, #0f4a52 100%); color: #d7e3ee; text-align: center; padding: 88px 0; position: relative; overflow: hidden; }
.contact h2 { color: #fff; font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 12px; }
.contact p { font-size: 18px; max-width: 640px; margin: 0 auto 30px; }
.contact .btn { font-size: 18px; padding: 17px 26px; }
html[lang="ur"] .contact .btn { padding: 10px 26px; }

/* footer */
footer { background: #0a1f35; color: #9fb3c6; padding: 34px 0; font-size: 14.5px; }
footer .wrap { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
footer .brand { color: #fff; } footer .brand small { color: #9fb3c6; }
footer a { color: #cfe0ee; text-decoration: none; } footer a:hover { color: #fff; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer .credit { flex-basis: 100%; font-size: 12px; color: #7f95aa; font-family: "Inter", system-ui, sans-serif; }
footer .credit a { color: #9fb3c6; text-decoration: underline; }

/* WhatsApp always at hand once the visitor has scrolled past the top */
.wa-float { position: fixed; bottom: 20px; inset-inline-end: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(18, 140, 74, .38); z-index: 50; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .25s, transform .25s; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: #0f7a40; }

/* the larger picture of a screen */
dialog.zoom { border: 0; padding: 0; background: transparent; max-width: min(1400px, 96vw); }
dialog.zoom::backdrop { background: rgba(8, 20, 33, .78); }
dialog.zoom img { border-radius: 12px; max-height: 88vh; width: auto; }
.zoomable { cursor: zoom-in; }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .rise.seen { opacity: 1; transform: none; }
  .blocks i { animation: drift 14s ease-in-out infinite alternate; }
  @keyframes drift { to { transform: translate(14px, -18px) rotate(8deg); } }
}

/* smaller screens */
@media (max-width: 1080px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .hero-top { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 44px 0 26px; align-items: start; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-inline-start: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .price { grid-template-columns: minmax(0, 1fr); padding: 36px 28px; }
  /* one column: the screen spans the page, its words under it */
  .g-pane { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (min-width: 1081px) and (max-width: 1240px) { .g-pane { grid-template-columns: minmax(0, 1fr) 300px; } }
/* below 1100 px the six menu words, the language switch and WhatsApp do not fit in one row: the menu button takes them */
@media (max-width: 1100px) {
  .nav, .top .btn.desk { display: none; }
  .menu-btn { display: block; margin-inline-start: 0; }
  .langsw { margin-inline-start: auto; }
  .top.open .nav { display: flex; position: absolute; top: 70px; inset-inline: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 18px; gap: 2px; box-shadow: 0 16px 30px rgba(14, 42, 71, .12); }
  .top.open .nav a { padding: 12px 10px; font-size: 16.5px; }
  .top.open .nav .mob { display: flex; }
}
@media (max-width: 900px) {
  .steps, .dl { grid-template-columns: minmax(0, 1fr); }
}
.nav .mob { display: none; gap: 10px; margin-top: 10px; }
@media (max-width: 560px) {
  .top .wrap { gap: 10px; }
  .langsw a { padding: 0 9px; height: 32px; font-size: 13.5px; }
  .langsw a[lang="ur"] { font-size: 16px; }
  section.band { padding: 68px 0; }
  .g4 { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact { padding: 18px 14px; }
  .fact b { font-size: 21px; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .brand small { display: none; }
  /* phones: the chips scroll sideways, a thinner frame, smaller numbers and thumbnails */
  .g-cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 4px; scrollbar-width: none; }
  .g-cat { flex: none; }
  .frame { padding: 6px; border-radius: 12px; }
  .frame .bar { padding: 1px 3px 6px; }
  .frame .bar i { width: 7px; height: 7px; }
  .g-spot b { width: 20px; height: 20px; font-size: 11px; line-height: 20px; box-shadow: 0 0 0 2px #fff, 0 3px 8px rgba(14, 42, 71, .35); }
  .g-info { padding: 16px 14px 12px; border-radius: 16px; }
  .g-thumb { width: 132px; }
  .dl .card { padding: 22px; }
  .dl .btn { align-self: stretch; }
  .dl .btn, .price .btn { white-space: normal; text-align: center; line-height: 1.35; max-width: 100%; }
}
