/* Munshi AI — shared styles for the content/SEO pages (imei-phone-stock, cnic-pta-guide,
   qist, wholesale, compare). Same tokens and shell as the home page so the subpages
   read as one site. Root-absolute paths (/site.css, /favicon-*) so it works at any depth. */
:root {
  --brand: #0f7a4d; --brand-deep: #0a5c39; --brand-wash: #eef5f1;
  --ink: #0d1a14; --ink-2: #3a4b43; --muted: #6b7d74;
  --line: #e3e9e5; --bg: #fbfaf7; --surface: #ffffff;
  --amber: #9a5b12; --amber-wash: #fdf4e7; --amber-line: rgba(154,91,18,.22);
  --wa: #25d366; --max: 1080px; --prose: 68ch;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: Fraunces, Georgia, serif; font-weight: 500; letter-spacing: -.02em; line-height: 1.14; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.ur { font-family: "Noto Nastaliq Urdu", serif; direction: rtl; line-height: 2.15; font-size: .82em; color: var(--muted); }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(251,250,247,.88); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; }
.nav.stuck { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.mark { width: 26px; height: 26px; flex: none; display: block; }
.nav-cta { display: flex; align-items: center; gap: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 15.5px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(15,122,77,.24); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-line { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--brand); }
.btn-wa { background: var(--wa); color: #06280f; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* breadcrumb + hero */
.crumbs { font-size: 13px; color: var(--muted); padding-top: 20px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 6px; opacity: .6; }
.phero { padding: 18px 0 clamp(30px, 5vw, 52px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.phero .wrap { position: relative; z-index: 2; }
/* Aurora mesh background (Direction A) — subtle drifting green blobs + faint grid. */
.aurora-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora-bg .ab { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; will-change: transform; }
.aurora-bg .b1 { width: 460px; height: 460px; background: radial-gradient(circle, #12a366, transparent 70%); top: -180px; left: -90px; animation: abd1 18s ease-in-out infinite; }
.aurora-bg .b2 { width: 420px; height: 420px; background: radial-gradient(circle, #0a5c39, transparent 70%); top: -140px; right: -110px; opacity: .4; animation: abd2 22s ease-in-out infinite; }
.aurora-bg .b3 { width: 340px; height: 340px; background: radial-gradient(circle, #5ad6a0, transparent 70%); top: 10%; right: 24%; opacity: .32; animation: abd3 26s ease-in-out infinite; }
.aurora-bg .ab-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(15,122,77,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15,122,77,.05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 70% at 50% 25%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 25%, #000, transparent); }
@keyframes abd1 { 50% { transform: translate(90px, 60px) scale(1.12); } }
@keyframes abd2 { 50% { transform: translate(-70px, 50px) scale(1.08); } }
@keyframes abd3 { 50% { transform: translate(-60px, 40px) scale(.92); } }
@media (prefers-reduced-motion: reduce) { .aurora-bg .ab { animation: none; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-wash); border: 1px solid rgba(15,122,77,.18); padding: 6px 13px; border-radius: 99px; margin-bottom: 18px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.phero h1 { font-size: clamp(30px, 5vw, 48px); }
.lede { margin-top: 18px; font-size: clamp(16.5px, 2vw, 19px); color: var(--ink-2); max-width: 46ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* answer-first block (AI-citation bait) */
.answer { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; padding: 18px 22px; max-width: var(--prose); font-size: 17px; color: var(--ink-2); }
.answer b { color: var(--ink); font-weight: 600; }

/* sections + prose */
section { padding: clamp(40px, 6vw, 72px) 0; }
.panel { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.title { font-size: clamp(24px, 3.4vw, 34px); margin-top: 10px; }
.sub { margin-top: 12px; color: var(--ink-2); max-width: 58ch; }
.prose { max-width: var(--prose); }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(22px, 3vw, 30px); margin-top: 40px; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { margin: 8px 0 0; padding-left: 22px; display: grid; gap: 9px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* feature grid */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
@media (max-width: 720px) { .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px; }
.card h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.card p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.card .ico { width: 26px; height: 26px; color: var(--brand); flex: none; }
.card .ico svg { width: 100%; height: 100%; display: block; }

/* checklist */
.flist { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; max-width: var(--prose); }
.flist li { display: flex; gap: 11px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.tick { color: var(--brand); flex: none; font-weight: 700; }

/* steps */
.steps { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 760px) { .steps.s3 { grid-template-columns: repeat(3, 1fr); } .steps.s4 { grid-template-columns: repeat(2, 1fr); } }
.step { position: relative; padding-top: 15px; border-top: 2px solid var(--brand); }
.step-n { font-family: Fraunces, Georgia, serif; font-size: 13px; font-weight: 600; color: var(--brand); }
.step h3 { font-size: 17.5px; margin-top: 4px; }
.step p { margin-top: 6px; font-size: 14.8px; color: var(--ink-2); }

/* table */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin-top: 28px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14.5px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
tbody th { font-weight: 600; color: var(--ink); }
tr:last-child td, tr:last-child th { border-bottom: 0; }
.col-us { background: var(--brand-wash); }
.yes { color: var(--brand); font-weight: 600; }
.no { color: var(--muted); }

/* callouts */
.note, .warn { border-radius: 14px; padding: 16px 20px; margin-top: 24px; max-width: var(--prose); font-size: 15px; }
.note { background: var(--brand-wash); border: 1px solid rgba(15,122,77,.2); color: #12402c; }
.warn { background: var(--amber-wash); border: 1px solid var(--amber-line); color: #5c3a0c; }
.note b, .warn b { font-weight: 600; }

/* faq */
.faq { margin-top: 26px; max-width: var(--prose); display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; }
.faq summary { font-weight: 600; color: var(--ink); cursor: pointer; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 16px; color: var(--ink-2); font-size: 15px; }

/* cta band */
.cta-band { background: var(--brand-wash); border-top: 1px solid var(--line); }
.cta-band .in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(34px, 5vw, 56px) 0; }
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); max-width: 20ch; }
.cta-band .sub { margin-top: 8px; }

/* internal links */
.more-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
@media (max-width: 800px) { .more-links { grid-template-columns: 1fr; } }
.more-links a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; color: var(--ink); }
.more-links a:hover { border-color: var(--brand); text-decoration: none; }
.more-links .k { font-size: 15.5px; font-weight: 600; }
.more-links .d { margin-top: 5px; font-size: 13.5px; color: var(--muted); }

/* footer */
footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.foot-in a { color: inherit; text-decoration: underline; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
