/* Public website. Colours come from the super admin's settings (--primary, --accent).
   Spacing uses start/end (not left/right) so the Urdu pages mirror by themselves. */
:root {
    --primary: #0F766E; --accent: #F59E0B;
    --ink: #10231f; --text: #44565a; --muted: #697c80;
    --tint: color-mix(in srgb, var(--primary) 8%, #fff);
    --tint-2: color-mix(in srgb, var(--primary) 15%, #fff);
    --line: color-mix(in srgb, var(--primary) 13%, #e8ecee);
    --deep: color-mix(in srgb, var(--primary) 70%, #04201d);
    --page: #fbfdfd;
    --shadow: 0 30px 60px -36px color-mix(in srgb, var(--primary) 55%, #0b2a2a);
    --soft-shadow: 0 14px 34px -22px rgb(16 55 52 / .35);
    --r: 26px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { position: relative; display: flex; flex-direction: column; min-height: 100vh; margin: 0; overflow-x: clip;font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
main { flex: 1 0 auto; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 60%, #fff); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }

/* the soft diagonal bands behind the top of every page */
.bands { position: absolute; inset: 0 0 auto 0; height: 980px; overflow: hidden; pointer-events: none; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 7%, #fff), var(--page) 88%); }
.bands i { position: absolute; display: block; width: 160%; height: 230px; left: -30%; transform: rotate(-17deg); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 9%, transparent) 42%, rgb(255 255 255 / .75) 70%, transparent); filter: blur(6px); }
.bands i:first-child { top: 110px; }
.bands i:last-child { top: 520px; background: linear-gradient(90deg, transparent 10%, rgb(255 255 255 / .85) 40%, color-mix(in srgb, var(--accent) 9%, transparent) 72%, transparent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 52px; padding: .8rem 1.7rem; border: 1px solid transparent; border-radius: 999px; font-weight: 600; font-size: 1rem; color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 88%, #fff), var(--primary)); box-shadow: 0 16px 28px -14px var(--primary); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -14px var(--primary); }
.btn-soft { color: var(--ink); background: rgb(255 255 255 / .85); border-color: var(--line); box-shadow: var(--soft-shadow); }
.btn-soft:hover { box-shadow: var(--soft-shadow); border-color: color-mix(in srgb, var(--primary) 40%, #fff); }
.btn-sm { min-height: 42px; padding: .5rem 1.2rem; font-size: .92rem; }
.arrow { display: inline-block; transition: transform .18s ease; }
a:hover > .arrow { transform: translateX(4px); }

/* navigation: a floating white card */
.nav { position: sticky; top: 0; z-index: 50; padding-top: 14px; }
.nav-card { position: relative; display: flex; align-items: center; gap: 1rem; min-height: 68px; padding: 10px 12px; padding-inline-start: 18px; border: 1px solid var(--line); border-radius: 999px; background: rgb(255 255 255 / .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--soft-shadow); transition: box-shadow .25s, background-color .25s; }
.nav.solid .nav-card { background: rgb(255 255 255 / .95); box-shadow: 0 18px 40px -22px rgb(16 55 52 / .45); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; white-space: nowrap; }
.logo { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; font-family: 'DM Sans', system-ui, sans-serif; font-size: .92rem; font-weight: 700; line-height: 1; letter-spacing: 0; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 65%, #5eead4), var(--primary)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 10px 18px -9px var(--primary); }
.logo.sm { width: 28px; height: 28px; border-radius: 9px; font-size: .66rem; }
/* an uploaded logo keeps its own shape and colours */
img.logo { width: auto; max-width: 132px; object-fit: contain; background: none; box-shadow: none; border-radius: 10px; }
img.logo.sm { max-width: 76px; border-radius: 7px; }
.menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.links { display: flex; align-items: center; gap: .25rem; margin-inline: auto; font-size: .96rem; font-weight: 500; }
.links a { padding: .45rem 1.05rem; border-radius: 999px; color: var(--text); transition: background-color .18s, color .18s; }
.links a:hover { color: var(--primary); background: var(--tint); }
.links a.on { color: var(--primary); background: var(--tint-2); font-weight: 600; }
.langs { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.langs a { display: grid; place-items: center; min-width: 74px; height: 36px; padding-inline: .8rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.langs a.on { color: #fff; background: var(--primary); }
.ur-word { font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Segoe UI', serif; line-height: 1; }
.burger { display: none; position: relative; width: 44px; height: 44px; margin-inline-start: auto; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, top .25s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* hero */
.hero { overflow-x: clip; padding-block: clamp(40px, 6vw, 84px) clamp(30px, 5vw, 70px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 3rem; }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--primary); background: rgb(255 255 255 / .85); box-shadow: var(--soft-shadow); }
.pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.hero h1 { margin-block: 1.4rem 1.2rem; max-width: 13ch; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.04; letter-spacing: -0.04em; }
.lead { max-width: 50ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hint { display: flex; align-items: center; gap: .6rem; margin-top: 1.4rem; font-size: .92rem; color: var(--muted); }
.hint svg { flex: none; width: 20px; height: 20px; color: var(--primary); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 600px; isolation: isolate; }
.glass { position: absolute; z-index: -1; border: 1px solid rgb(255 255 255 / .9); backdrop-filter: blur(8px); box-shadow: var(--shadow), inset 0 0 40px rgb(255 255 255 / .6); }
.glass.g1 { width: 330px; height: 330px; top: 30px; inset-inline-end: 0; border-radius: 42% 58% 54% 46% / 48% 42% 58% 52%; background: linear-gradient(150deg, color-mix(in srgb, var(--primary) 34%, #fff), rgb(255 255 255 / .35)); animation: drift 11s ease-in-out infinite; }
.glass.g2 { width: 230px; height: 230px; bottom: 36px; inset-inline-start: 0; border-radius: 56% 44% 38% 62% / 52% 60% 40% 48%; background: linear-gradient(330deg, color-mix(in srgb, var(--accent) 36%, #fff), rgb(255 255 255 / .3)); animation: drift 13s ease-in-out -4s infinite reverse; }
.ribbon { position: absolute; z-index: -1; width: 115%; height: 120px; top: 46%; border-radius: 999px; transform: rotate(-24deg); background: linear-gradient(90deg, transparent, rgb(255 255 255 / .95) 35%, color-mix(in srgb, var(--primary) 20%, #fff) 70%, transparent); }
@keyframes drift { 50% { transform: translateY(-18px) rotate(8deg); } }

.phone { position: relative; width: min(290px, 100%); aspect-ratio: 290 / 590; padding: 10px; border-radius: 46px; background: linear-gradient(160deg, #2b3f42, #0b1718 55%, #263a3c); box-shadow: 0 50px 70px -36px rgb(9 40 38 / .6), inset 0 0 0 1.5px rgb(255 255 255 / .18); }
.notch { position: absolute; z-index: 2; top: 18px; left: 50%; width: 86px; height: 22px; border-radius: 999px; transform: translateX(-50%); background: #0b1718; }
.shot, .screen { width: 100%; height: 100%; border-radius: 37px; overflow: hidden; }
.shot { display: block; object-fit: cover; object-position: top; background: #fff; }
.screen { display: flex; flex-direction: column; gap: 10px; padding: 50px 14px 14px; background: linear-gradient(180deg, var(--tint-2), #fff 52%); line-height: 1.35; }
.s-top { display: flex; align-items: center; gap: .5rem; margin-bottom: 4px; font-size: .86rem; }
.s-top b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.s-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.s-tiles div { display: grid; justify-items: center; gap: 6px; padding: 13px 6px 11px; border-radius: 18px; background: #fff; box-shadow: var(--soft-shadow); }
.s-tiles span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--primary); background: var(--tint); }
.s-tiles svg { width: 21px; height: 21px; }
.s-tiles small { font-size: .74rem; font-weight: 600; }
.s-card { display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 16px; background: #fff; box-shadow: var(--soft-shadow); }
.s-card b { display: block; font-size: .76rem; }
.s-card small { display: block; font-size: .7rem; color: var(--muted); }
.dot { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; }
.dot svg { width: 18px; height: 18px; }
.dot.ok { color: #047857; background: #d1fae5; }
.dot.pay { color: #b45309; background: #fef3c7; }
.dot.hw { color: #1d4ed8; background: #dbeafe; }
.float-chip { position: absolute; bottom: 120px; inset-inline-end: -4px; display: flex; align-items: center; gap: .75rem; padding: .75rem 1.1rem; padding-inline-start: .75rem; border: 1px solid #fff; border-radius: 20px; background: rgb(255 255 255 / .88); backdrop-filter: blur(12px); box-shadow: var(--shadow); line-height: 1.35; animation: bob 5s ease-in-out infinite; }
.float-chip span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent)); }
.float-chip svg { width: 21px; height: 21px; }
.float-chip b { display: block; font-size: .88rem; }
.float-chip small { display: block; font-size: .76rem; color: var(--muted); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* sections */
.section { padding-block: clamp(48px, 7vw, 96px); scroll-margin-top: 80px; }
.section.wash { background: linear-gradient(180deg, transparent, var(--tint) 22%, var(--tint) 78%, transparent); }
.section.tight { padding-top: 20px; }
.head { max-width: 660px; margin: 0 auto 2.6rem; text-align: center; }
.head h2, .appbox h2, .cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.head p { margin-top: .75rem; font-size: 1.06rem; color: var(--muted); }

/* features: a strip of soft 3D icons with one panel under it */
.strip-frame { padding: 1.5px; border-radius: 32px; background: linear-gradient(110deg, color-mix(in srgb, var(--primary) 55%, #fff), color-mix(in srgb, var(--accent) 40%, #fff) 50%, color-mix(in srgb, var(--primary) 35%, #fff)); box-shadow: var(--shadow); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(112px, 1fr); gap: 6px; padding: 14px; overflow-x: auto; border-radius: 31px; background: #fff; scrollbar-width: thin; }
.cat { display: grid; justify-items: center; align-content: start; gap: .7rem; padding: 14px 6px 12px; border: 1px solid transparent; border-radius: 22px; background: transparent; font-size: .93rem; font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s; }
.cat:hover { transform: translateY(-3px); }
.cat[aria-selected="true"] { border-color: color-mix(in srgb, var(--tone) 28%, #fff); background: color-mix(in srgb, var(--tone) 8%, #fff); }
.tone-0 { --tone: var(--primary); } .tone-1 { --tone: #2563eb; } .tone-2 { --tone: #c2760a; } .tone-3 { --tone: #7c3aed; } .tone-4 { --tone: #db2777; } .tone-5 { --tone: #059669; }
.gem { flex: none; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 22px; color: var(--tone, var(--primary)); background: linear-gradient(150deg, #fff 6%, color-mix(in srgb, var(--tone, var(--primary)) 24%, #fff)); box-shadow: inset 0 -5px 10px color-mix(in srgb, var(--tone, var(--primary)) 16%, transparent), inset 0 2px 3px #fff, 0 14px 20px -13px var(--tone, var(--primary)); }
.gem svg { width: 29px; height: 29px; }
.panel { display: flex; align-items: center; gap: 1.5rem; margin-top: 18px; padding: clamp(20px, 3.4vw, 34px); border: 1px solid color-mix(in srgb, var(--tone) 22%, #fff); border-radius: var(--r); background: linear-gradient(120deg, color-mix(in srgb, var(--tone) 9%, #fff), #fff 65%); box-shadow: var(--soft-shadow); animation: rise .35s ease; }
.panel h3 { margin-bottom: .45rem; font-size: 1.35rem; }
.panel p { max-width: 70ch; color: var(--text); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* how it works */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sheet { padding: clamp(22px, 3.4vw, 40px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--soft-shadow); }
.sheet.tinted { background: linear-gradient(160deg, var(--tint-2), var(--tint) 70%); border-color: transparent; }
.how h3 { margin-bottom: 1.6rem; font-size: 1.35rem; }
.how h4 { margin-bottom: .25rem; font-size: 1.04rem; }
.how p { font-size: .96rem; color: var(--text); }
.timeline, .stairs { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: flex; gap: 1.1rem; padding-bottom: 1.7rem; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; top: 44px; bottom: 4px; inset-inline-start: 19px; width: 2px; background: linear-gradient(var(--tint-2), color-mix(in srgb, var(--primary) 40%, #fff), var(--tint-2)); }
.timeline b, .stairs b { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-family: 'DM Sans', system-ui, sans-serif; line-height: 1; }
.timeline b { color: #fff; background: var(--primary); box-shadow: 0 10px 16px -9px var(--primary); }
.link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--primary); }
.stairs { display: grid; gap: 14px; }
.stairs li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; align-content: start; padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--soft-shadow); margin-inline-end: 56px; }
.stairs li:nth-child(3n+2) { margin-inline: 28px; }
.stairs li:nth-child(3n) { margin-inline: 56px 0; }
.stairs b { grid-row: span 2; color: var(--primary); background: var(--tint-2); }
.stairs p { grid-column: 2; }
.note { margin-top: 18px; padding: 18px 20px; border: 1px dashed color-mix(in srgb, var(--primary) 40%, #fff); border-radius: 20px; background: rgb(255 255 255 / .7); }

/* privacy and safety: four points joined by a line */
.trust ul { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
.trust li { position: relative; padding-inline: 14px; text-align: center; }
.trust li:not(:last-child)::before { content: ''; position: absolute; top: 33px; inset-inline-start: calc(50% + 44px); width: calc(100% - 88px); height: 2px; background: color-mix(in srgb, var(--primary) 28%, #fff); }
.node { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1.1rem; border-radius: 50%; color: var(--primary); background: linear-gradient(150deg, #fff, var(--tint-2)); box-shadow: inset 0 0 0 1px var(--line), 0 14px 22px -14px var(--primary); }
.node svg { width: 30px; height: 30px; }
.trust h4 { margin-bottom: .45rem; font-size: 1.05rem; }
.trust li p { font-size: .93rem; color: var(--muted); }
.footnote { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid var(--line); font-size: .93rem; text-align: center; color: var(--text); }

/* the mobile app */
.appbox { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 2rem; padding: clamp(24px, 5vw, 64px); overflow: hidden; border-radius: 40px; color: #fff; background: radial-gradient(700px 420px at 85% 20%, color-mix(in srgb, var(--primary) 75%, #5eead4), transparent 70%), linear-gradient(135deg, var(--deep), var(--primary)); box-shadow: var(--shadow); }
[dir="rtl"] .appbox { background: radial-gradient(700px 420px at 15% 20%, color-mix(in srgb, var(--primary) 75%, #5eead4), transparent 70%), linear-gradient(225deg, var(--deep), var(--primary)); }
.app-copy > p { max-width: 48ch; margin-top: .9rem; font-size: 1.08rem; color: rgb(255 255 255 / .85); }
.checks { list-style: none; display: grid; gap: .7rem; margin: 1.5rem 0 0; padding: 0; }
.checks li { position: relative; padding-inline-start: 2.1rem; font-weight: 500; }
.checks li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: .15em; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-family: system-ui, sans-serif; font-size: .78rem; line-height: 1; color: var(--deep); background: #fff; }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.play { display: inline-flex; align-items: center; gap: .75rem; padding: .7rem 1.4rem .7rem 1.1rem; border: 1px solid rgb(255 255 255 / .25); border-radius: 16px; color: #fff; background: #070d0e; box-shadow: 0 18px 30px -16px #000; line-height: 1.2; font-family: 'DM Sans', system-ui, sans-serif; transition: transform .18s; }
.play:hover { transform: translateY(-2px); }
.play svg { width: 30px; height: 30px; }
.play small { display: block; font-size: .64rem; letter-spacing: .08em; opacity: .8; }
.play b { display: block; font-size: 1.25rem; }
.qr { display: flex; align-items: center; gap: .85rem; padding: .6rem; padding-inline-end: 1.1rem; border-radius: 20px; color: var(--ink); background: #fff; box-shadow: 0 18px 30px -18px #000; }
.qr-code { width: 112px; height: 112px; }
.qr-code svg { display: block; width: 100%; height: 100%; }
.qr span { max-width: 10ch; font-size: .86rem; font-weight: 600; }
.soon { display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1.25rem; border: 1px solid rgb(255 255 255 / .35); border-radius: 999px; font-weight: 600; background: rgb(255 255 255 / .12); }
.soon svg { width: 20px; height: 20px; }
.app-art { position: relative; display: grid; place-items: center; isolation: isolate; }
.app-art .phone { width: min(250px, 100%); transform: rotate(4deg); }
[dir="rtl"] .app-art .phone { transform: rotate(-4deg); }
.app-art .screen { color: var(--ink); }
.app-art .glass.g1 { width: 290px; height: 290px; top: auto; inset-inline-end: auto; opacity: .35; }

/* questions */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 3rem; align-items: start; }
.faq .head { margin: 0; text-align: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--soft-shadow); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 16px 18px; padding-inline-start: 22px; list-style: none; font-weight: 600; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); transition: background-color .2s; }
.faq-list summary i::after { content: ''; position: absolute; top: 12px; left: 14px; width: 8px; height: 8px; border: solid var(--primary); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s, top .2s; }
.faq-list details[open] summary i { background: var(--tint-2); }
.faq-list details[open] summary i::after { top: 15px; transform: rotate(225deg); }
.faq-list details p { padding: 0 22px 20px; color: var(--text); }

/* closing call to action */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(24px, 4.4vw, 48px); border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(115deg, #fff 20%, var(--tint-2) 75%, color-mix(in srgb, var(--accent) 16%, #fff)); box-shadow: var(--shadow); }
.cta p { margin-top: .6rem; color: var(--text); }
.cta .btn { flex: none; }

/* footer */
.foot { margin-top: clamp(30px, 5vw, 60px); padding-top: 56px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--tint), var(--tint-2)); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.4rem; }
.foot-about p { max-width: 34ch; margin-top: .9rem; font-size: .95rem; color: var(--text); }
.social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.social a { padding: .3rem .85rem; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 600; background: #fff; }
.social a:hover { color: var(--primary); }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: .6rem 1.2rem; font-weight: 500; }
.foot-contact { display: grid; align-content: start; justify-items: start; gap: .6rem; color: var(--text); overflow-wrap: anywhere; }
.foot-links a, .foot-contact a { font-size: .95rem; }
.foot-links a:hover, .foot-contact a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2.4rem; padding-block: 1.3rem; border-top: 1px solid color-mix(in srgb, var(--primary) 20%, #fff); font-size: .86rem; color: var(--muted); }

/* inner pages: about, contact, privacy, terms */
.page-head { padding-block: clamp(44px, 6vw, 80px) 36px; text-align: center; }
.page-head h1 { margin-block: 1rem .8rem; font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.035em; }
.page-head p { max-width: 60ch; margin-inline: auto; font-size: 1.08rem; color: var(--text); }
.eyebrow { display: inline-block; padding: .35rem .95rem; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--primary); background: #fff; box-shadow: var(--soft-shadow); }
.prose-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.prose { padding: clamp(22px, 3.6vw, 44px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--soft-shadow); }
.prose p { max-width: 68ch; margin-bottom: 1.2rem; font-size: 1.06rem; color: var(--text); overflow-wrap: anywhere; }
.prose p:last-child { margin-bottom: 0; }
.side { position: sticky; top: 104px; display: grid; gap: .7rem; padding: 26px; border: 1px solid transparent; border-radius: var(--r); background: linear-gradient(160deg, var(--tint-2), var(--tint)); overflow-wrap: anywhere; }
.side h4 { margin-bottom: .4rem; font-size: 1.08rem; }
.side a:not(.btn) { color: var(--text); font-size: .96rem; }
.side a:not(.btn):hover, .side a:not(.btn).on { color: var(--primary); font-weight: 600; }
.side .btn { justify-self: start; margin-top: .6rem; }
.ticks { list-style: none; display: grid; gap: .7rem; margin: 0; padding: 0; }
.ticks li { position: relative; padding-inline-start: 1.7rem; font-size: .96rem; }
.ticks li::before { content: ''; position: absolute; inset-inline-start: 0; top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--primary) 30%, #fff); }

/* contact form */
.form { display: grid; gap: 1.1rem; padding: clamp(20px, 3.4vw, 40px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; align-content: start; gap: .4rem; font-size: .92rem; font-weight: 600; }
.form input, .form textarea { width: 100%; padding: .85rem 1rem; border: 1px solid #d3dddf; border-radius: 14px; font: inherit; font-weight: 400; color: var(--ink); background: #f8fbfb; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.form small { color: #b91c1c; font-weight: 500; }
.form button { justify-self: start; }
/* the hidden anti-spam box: clipped away, not pushed off screen (that makes Urdu pages scroll sideways) */
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.notice { margin-bottom: 1.2rem; padding: 1rem 1.2rem; border-radius: 16px; font-size: .96rem; }
.notice.ok { border: 1px solid #a7f3d0; color: #065f46; background: #ecfdf5; }
.notice.bad { border: 1px solid #fecaca; color: #991b1b; background: #fef2f2; }

.actions.center { justify-content: center; }
/* email and phone are typed left to right, but sit on the right on Urdu pages */
[dir="rtl"] input[dir="ltr"] { text-align: right; }

/* home: the topic tiles are links; as many to a row as fit */
.strip.tiles { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.strip.tiles .cat { text-align: center; line-height: 1.35; }
.strip.tiles .cat:hover { border-color: color-mix(in srgb, var(--tone) 28%, #fff); background: color-mix(in srgb, var(--tone) 8%, #fff); }
.actions.center.reveal { margin-top: 1.8rem; }

/* Features page */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 920px; margin: 2rem auto 0; }
.jump a { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--text); background: #fff; box-shadow: var(--soft-shadow); }
.jump a:hover { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 40%, #fff); }
.jump svg { width: 18px; height: 18px; color: var(--primary); }
.topic { padding-block: clamp(32px, 5vw, 64px); }
.topic:nth-of-type(odd) { background: linear-gradient(180deg, transparent, var(--tint) 20%, var(--tint) 80%, transparent); }
.topic-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.topic-grid.flip { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.topic-grid.flip .topic-text { order: 2; }
.topic-grid.no-art { grid-template-columns: 1fr; }
.topic-text h2 { margin-block: 1.1rem .7rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.topic-text .ticks { margin-block: 1.4rem; gap: .75rem; }
.topic-text .ticks li { font-size: 1.01rem; }
.topic-art { position: relative; display: grid; place-items: center; isolation: isolate; }
.topic-art .phone { width: min(270px, 100%); aspect-ratio: auto; }
.topic-art .shot { height: auto; aspect-ratio: 540 / 1135; }
.topic-art .glass.g1 { width: min(340px, 90%); height: 340px; top: 18%; inset-inline-end: auto; }
.shots-note { max-width: 70ch; margin: 0 auto 2rem; text-align: center; font-size: .92rem; color: var(--muted); }

/* About page */
.aim .gem { margin-bottom: 1.2rem; }
.aim h2 { margin-bottom: .6rem; font-size: 1.5rem; }
.how .aim p { font-size: 1.05rem; }
.cards { list-style: none; display: grid; gap: 18px; margin: 0; padding: 0; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--soft-shadow); }
.card h3 { margin: 1.1rem 0 .45rem; font-size: 1.14rem; }
.card p { font-size: .97rem; color: var(--text); }
.cards.two .card { display: flex; align-items: flex-start; gap: 1.2rem; }
.cards.two .card h3 { margin-top: .2rem; }
.path { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 18px; margin: 0; padding: 0; }
.path li { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--soft-shadow); }
.path b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-family: 'DM Sans', system-ui, sans-serif; line-height: 1; color: #fff; background: var(--primary); box-shadow: 0 10px 16px -9px var(--primary); }
.path h3 { margin: 1rem 0 .4rem; font-size: 1.06rem; }
.path p { font-size: .95rem; color: var(--text); }
.safety { display: flex; align-items: center; gap: 1.6rem; padding: clamp(22px, 3.4vw, 40px); border-radius: var(--r); background: linear-gradient(120deg, var(--tint-2), var(--tint)); }
.safety > div { flex: 1; }
.safety h2 { margin-bottom: .5rem; font-size: 1.45rem; }
.safety p { max-width: 70ch; color: var(--text); }
.safety .btn { flex: none; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; }

/* long documents */
.doc h2 { margin: 2.2rem 0 .9rem; font-size: 1.4rem; scroll-margin-top: 100px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin: 1.4rem 0 .6rem; font-size: 1.1rem; }
.doc > p:first-child { font-size: 1.1rem; }
.doc ul { margin: 0 0 1.2rem; padding-inline-start: 1.3rem; color: var(--text); }
.doc li { margin-bottom: .45rem; }
.doc li::marker { color: var(--primary); }
.doc a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.side .contents { display: grid; gap: .45rem; max-height: 52vh; overflow-y: auto; padding-bottom: .9rem; margin-bottom: .5rem; border-bottom: 1px solid var(--line); }
.side .contents a { font-size: .9rem; line-height: 1.45; }
.stack { display: grid; gap: 22px; min-width: 0; }
.stack .notice { margin: 0; }
.form label.check { display: flex; align-items: flex-start; gap: .7rem; font-weight: 500; }
.form .check input { flex: none; width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--primary); }
.form small.check-error { margin-top: -.7rem; }
html[lang="ur"] .strip.tiles .cat { line-height: 1.9; }
html[lang="ur"] .side .contents a { line-height: 1.9; }
html[lang="ur"] .jump a { line-height: 1.9; padding-block: .15rem; }
html[lang="ur"] .doc h2 { font-size: 1.3rem; }

/* appear on scroll (the script marks only what is still below the screen) */
.reveal { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.wait { opacity: 0; transform: translateY(24px); }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

/* Urdu: Nastaliq needs taller lines, and letters must never be spaced apart */
html[lang="ur"] body { font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'DM Sans', serif; line-height: 2.15; }
html[lang="ur"] :is(h1, h2, h3, h4) { line-height: 1.85; letter-spacing: 0; }
html[lang="ur"] .hero h1 { max-width: 16ch; margin-block: .8rem 1.4rem; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.9; }
html[lang="ur"] :is(.head, .appbox, .cta) h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
html[lang="ur"] :is(.brand, .logo, .pill) { letter-spacing: 0; }
/* English names stay in the English typeface; Urdu letters fall through to Nastaliq */
html[lang="ur"] :is(.brand, .s-top b, .langs a[lang="en"]) { font-family: 'DM Sans', 'Noto Nastaliq Urdu', serif; }
html[lang="ur"] .brand { line-height: 1.6; }
html[lang="ur"] .logo { line-height: 1; }
html[lang="ur"] .btn { line-height: 1.7; padding-block: .45rem; }
html[lang="ur"] .screen { line-height: 1.9; gap: 7px; }
html[lang="ur"] .s-tiles div { gap: 0; padding-block: 9px 4px; }
html[lang="ur"] .s-card { padding-block: 3px; }
html[lang="ur"] .float-chip { line-height: 1.9; padding-block: .4rem; }
html[lang="ur"] .links a { line-height: 1.9; padding-block: .25rem .35rem; }
html[lang="ur"] .play { line-height: 1.2; }
html[lang="ur"] .checks li::before { top: .55em; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] a:hover > .arrow { transform: scaleX(-1) translateX(4px); }

/* tablets */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero-text { text-align: center; }
    .hero h1, .hero .lead { margin-inline: auto; }
    .actions, .hint { justify-content: center; }
    .hero-art { width: min(460px, 100%); margin-inline: auto; }
    .how, .faq, .prose-wrap { grid-template-columns: 1fr; }
    .faq { gap: 1.8rem; }
    .faq .head { text-align: center; margin-inline: auto; }
    .side { position: static; }
    .appbox { grid-template-columns: 1fr; text-align: start; }
    .topic-grid, .topic-grid.flip { grid-template-columns: 1fr; }
    .topic-grid.flip .topic-text { order: 0; }
    .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .path { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .safety { flex-direction: column; align-items: flex-start; }
    .cta { flex-wrap: wrap; }
    .cta-actions { justify-content: flex-start; }
    .side .contents { max-height: none; }
    .trust ul { grid-auto-flow: row; grid-template-columns: 1fr 1fr; row-gap: 2rem; }
    .trust li::before { display: none; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot-about { grid-column: 1 / -1; }
}
/* the menu folds away */
@media (max-width: 900px) {
    .burger { display: block; }
    .menu { display: none; position: absolute; top: calc(100% + 10px); inset-inline: 0; flex-direction: column; align-items: stretch; padding: 16px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
    .menu.open { display: flex; }
    .links { flex-direction: column; align-items: stretch; margin: 0; text-align: center; }
    .links a { padding-block: .65rem; }
    .langs { align-self: center; }
}
/* phones */
@media (max-width: 600px) {
    .actions .btn { width: 100%; }
    .hero-art { min-height: 540px; }
    .glass.g1 { width: 240px; height: 240px; }
    .glass.g2 { width: 170px; height: 170px; }
    .phone { width: 258px; }
    .float-chip { bottom: 0; }
    /* every feature stays in view: four to a row */
    .strip { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 6px; gap: 2px; }
    .strip.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards.three, .cards.two, .path { grid-template-columns: 1fr; }
    .cta-actions { justify-content: center; }
    .cta-actions .btn { width: 100%; }
    .cat { gap: .5rem; padding: 10px 0 8px; font-size: .74rem; overflow-wrap: anywhere; }
    .cat .gem { width: 50px; height: 50px; border-radius: 18px; }
    .cat .gem svg { width: 24px; height: 24px; }
    .panel { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .stairs li, .stairs li:nth-child(n) { margin-inline: 0; }
    .trust ul { grid-template-columns: 1fr; }
    .cta { flex-direction: column; align-items: stretch; text-align: center; }
    .form .two, .foot-grid { grid-template-columns: 1fr; }
    .qr { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* plans page */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.4rem; margin-bottom: 3rem; align-items: start; }
.plan-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--soft-shadow); }
.plan-card.popular { border: 2px solid var(--primary); background: color-mix(in srgb, var(--primary) 5%, #fff); }
.plan-card header { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.plan-card h2 { margin: 0; font-size: 1.4rem; }
.plan-card h3 { margin: 1.2rem 0 .6rem; font-size: .95rem; }
.plan-flag { padding: .2rem .7rem; border-radius: 999px; background: var(--primary); color: #fff; font-size: .75rem; font-weight: 700; }
.plan-price { margin: .5rem 0 0; font-size: 1.15rem; font-weight: 800; color: var(--primary); }
.plan-text { margin: .6rem 0 0; }
.plan-meta { margin-top: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.plan-out li { opacity: .6; }
