/* MakeWebSmart — one stylesheet for LTR and RTL (logical properties only). */
:root {
  --ink: #0B1224; --ink-2: #1B2033; --muted: #5B6172; --paper: #F6F7FB; --line: #E3E6F0;
  --indigo: #4053B4; --indigo-deep: #22307A; --cyan: #0891B2; --cyan-soft: #67E8F9;
  --wa: #15803D; --wa-hover: #166534;
  --grad: linear-gradient(135deg, #4053B4, #0891B2);
  --radius: 16px; --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(11, 18, 36, .05), 0 8px 24px rgba(11, 18, 36, .06);
  --shadow-lg: 0 30px 60px -20px rgba(11, 18, 36, .35);
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --track: -.02em;
  --acc: var(--indigo);
}
html[lang="ar"] { --font: 'Noto Sans Arabic', 'Manrope', ui-sans-serif, system-ui, sans-serif; --track: 0; }
html[lang="bn"] { --font: 'Noto Sans Bengali', 'Manrope', ui-sans-serif, system-ui, sans-serif; --track: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink-2); background: #fff; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { line-height: 1.8; }
html[lang="bn"] body { line-height: 1.75; }
img { max-width: 100%; height: auto; }
a { color: var(--indigo); }
p { margin: 0 0 1em; }
h1, h2, h3 { color: var(--ink); letter-spacing: var(--track); }
html:is([lang="ar"], [lang="bn"]) :is(h1, h2, h3) { line-height: 1.4; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; font-weight: 800; margin: 0 0 14px; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.h3 { font-size: 22px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: #EEF0FA; color: var(--indigo-deep); padding: 2px 6px; border-radius: 6px; direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
main:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.ic { width: 24px; height: 24px; flex: none; }
[dir="rtl"] .arr { transform: scaleX(-1); }
html.loading #app { opacity: .6; transition: opacity .2s .1s; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; background: var(--grad); color: #fff; cursor: pointer; transition: transform .15s, box-shadow .15s, background-color .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(64, 83, 180, .55); }
.btn .ic { width: 20px; height: 20px; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
.btn-outline { background: transparent; color: var(--indigo); border-color: #C5CCEA; }
.btn-outline:hover { background: #F2F4FC; box-shadow: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); box-shadow: 0 10px 22px -8px rgba(21, 128, 61, .55); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link { font-weight: 700; color: var(--indigo); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; }
.link .ic { width: 18px; height: 18px; }

/* ── Header ── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { position: relative; display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { border-radius: 9px; }
.brand-word { font-family: 'Manrope', sans-serif; font-size: 19px; font-weight: 400; letter-spacing: -.02em; direction: ltr; unicode-bidi: isolate; }
.brand-word b { font-weight: 800; }
.brand-light { color: #fff; }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { color: var(--indigo); background: #EEF0FA; }
.hdr-end { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.nav + .hdr-end { margin-inline-start: 0; }
.langs { position: relative; }
.langs summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; list-style: none; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { background: var(--paper); color: var(--ink); }
.langs summary .ic { width: 18px; height: 18px; }
.langs-menu { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 70; display: grid; min-width: 150px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); }
.langs-menu a { padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.langs-menu a:hover { background: var(--paper); }
@media (max-width: 420px) { .langs summary span { display: none; } }
.menu-btn { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; inset-inline: -20px; top: 100%; flex-direction: column; background: #fff; padding: 10px 20px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(11, 18, 36, .25); }
  .nav a { padding: 12px; font-size: 16px; }
  .hdr.open .nav { display: flex; }
  .hdr-end { margin-inline-start: auto; }
}
@media (max-width: 520px) { .hdr-end .btn { display: none; } }

/* ── Hero (dark) ── */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding-block: 72px 88px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(640px 420px at 85% 8%, rgba(8, 145, 178, .38), transparent 62%), radial-gradient(720px 520px at 8% 95%, rgba(64, 83, 180, .5), transparent 62%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(#000 20%, transparent 90%); mask-image: linear-gradient(#000 20%, transparent 90%); }
.hero-app::before { background: radial-gradient(640px 420px at 85% 8%, color-mix(in srgb, var(--acc) 60%, transparent), transparent 62%), radial-gradient(720px 520px at 8% 95%, rgba(64, 83, 180, .4), transparent 62%); }
.hero-sm { padding-block: 56px 64px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.08; font-weight: 800; margin: 12px 0 18px; }
html:is([lang="ar"], [lang="bn"]) .hero h1 { line-height: 1.3; }
.hero-sm h1 { font-size: clamp(32px, 4.6vw, 50px); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: #C9D1E6; max-width: 40em; margin: 0 0 28px; }
.hero .lead b { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-art { display: flex; justify-content: center; }
.hero .ph { box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin: 0 0 10px; }
html:is([lang="ar"], [lang="bn"]) .eyebrow { letter-spacing: 0; font-size: 14px; }
.hero .eyebrow { color: var(--cyan-soft); }
.eyebrow img { border-radius: 6px; }
.hero-badges { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #C9D1E6; font-size: 14px; font-weight: 600; }
.hero-badges li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-soft); margin-inline-end: 8px; vertical-align: middle; }
.hero-note { color: #9AA5C4; font-size: 14px; margin: 16px 0 0; }
.crumbs { font-size: 14px; color: #9AA5C4; margin: 0 0 18px; }
.crumbs a { color: #C9D1E6; }
.app-id { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-id img { border-radius: 18px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); }
.app-id h1 { margin: 0; font-size: clamp(32px, 5vw, 52px); }
.app-id .who { margin: 0; color: #9AA5C4; font-weight: 600; }
.phones { display: flex; justify-content: center; align-items: flex-start; }
.phones .ph + .ph { margin-inline-start: -64px; margin-top: 64px; }
@media (max-width: 640px) { .phones .ph + .ph { display: none; } }

/* ── Sections ── */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section.alt { background: var(--paper); }
.sec-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sec-head > p:last-child { color: var(--muted); font-size: 18px; margin: 0; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card > p { color: var(--muted); }
.card > p:last-child { margin: 0; }
.card-ic { display: inline-flex; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; background: #EEF0FA; color: var(--indigo); margin-bottom: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-top { align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-art { display: flex; justify-content: center; }
.split-copy > p:not(.eyebrow, .small) { color: var(--muted); font-size: 17px; }
.cta-row + p { margin-top: 14px; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.two-col-even { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 920px) { .two-col { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .two-col-even { grid-template-columns: 1fr; } }

.app-icons { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.app-icons a { display: flex; align-items: center; gap: 10px; padding-block: 7px; padding-inline: 7px 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; background: #fff; }
.app-icons a:hover { border-color: #C5CCEA; }
.app-icons img { width: 38px; height: 38px; border-radius: 10px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin: 0; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.fact dt { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: max-content; }
.fact dd { margin: 12px 0 0; color: var(--ink-2); font-weight: 600; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-n { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }
.stack-row { margin-top: 48px; text-align: center; }
.stack-row h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.chips-tick { justify-content: flex-start; margin-top: 20px; }
.chips-tick .ic { width: 18px; height: 18px; color: var(--cyan); }

.cta-band { background: var(--grad); color: #fff; padding-block: 64px; }
.cta-band-in { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0 0 8px; max-width: 24em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .88); max-width: 40em; }

.app-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--acc); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.app-card img { border-radius: 16px; margin-bottom: 14px; }
.app-card .who { color: var(--acc); font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.app-card p { margin: 0 0 18px; color: var(--muted); }
.app-card-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.app-card-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--acc); text-decoration: none; }
.app-card-links a:hover { text-decoration: underline; }
.app-card-links .ic { width: 18px; height: 18px; }

.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow-step { position: relative; text-align: center; padding-inline: 6px; }
.flow-ic { position: relative; z-index: 1; display: inline-flex; width: 64px; height: 64px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); align-items: center; justify-content: center; color: var(--indigo); margin-bottom: 16px; }
.flow-ic .ic { width: 30px; height: 30px; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; top: 32px; inset-inline-start: calc(50% + 42px); inset-inline-end: calc(-50% + 34px); border-top: 2px dashed #B9C1E0; }
.flow-step p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 920px) {
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow-step { display: grid; grid-template-columns: 64px 1fr; gap: 2px 18px; text-align: start; padding: 0; }
  .flow-ic { grid-row: span 2; margin: 0; }
  .flow-step h3 { align-self: end; margin: 0; }
  .flow-step:not(:last-child)::after { top: 72px; bottom: -24px; inset-inline-start: 31px; inset-inline-end: auto; border-top: 0; border-inline-start: 2px dashed #B9C1E0; }
}

.points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.points li { position: relative; padding-inline-start: 30px; color: var(--muted); }
.points li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 14px; height: 14px; border-radius: 4px; background: var(--grad); }
.points b { color: var(--ink); }
.sec-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 20px; }
.sec-list li { display: flex; gap: 16px; align-items: flex-start; }
.sec-list .card-ic { margin: 0; flex: none; }
.sec-list h3 { font-size: 17px; margin-bottom: 4px; }
.sec-list p { margin: 0; color: var(--muted); }

.checklist, .numbered, .next-steps { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; counter-reset: n; }
/* Not flex: mixed inline content (<b>, <code>) must wrap as one paragraph. */
:is(.checklist, .numbered, .next-steps) li { counter-increment: n; position: relative; min-height: 28px; padding-inline-start: 40px; }
:is(.checklist, .numbered, .next-steps) li::before { content: counter(n); position: absolute; inset-inline-start: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #E0F4F8; color: var(--cyan); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.next-steps { margin: 24px 0 28px; }
:is(.next-steps, .numbered) b { color: var(--ink); }
.demo-card h3 { margin-bottom: 16px; }

/* ── Pricing ── */
.billing { display: none; gap: 4px; margin: 0 auto 32px; width: max-content; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.js .billing { display: flex; }
.billing button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing .tag { font-size: 11px; background: #E0F4F8; color: var(--cyan); padding: 2px 8px; border-radius: 999px; }
.billing button[aria-pressed="true"] .tag { background: rgba(255, 255, 255, .15); color: var(--cyan-soft); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.plan-featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; inset-inline-start: 28px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan > .muted { margin: 0; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; }
.price .cur { font-weight: 700; color: var(--muted); }
.price .amt { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.price .per { color: var(--muted); font-size: 15px; }
.price .amt-talk { font-size: 30px; }
.amt.y, .per.y { display: none; }
html[data-billing="yearly"] :is(.amt.m, .per.m) { display: none; }
html[data-billing="yearly"] :is(.amt.y, .per.y) { display: inline; }
.plan .ticks { flex: 1; margin-bottom: 26px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { width: 20px; height: 20px; color: var(--cyan); margin-top: 2px; }

/* ── FAQ ── */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding-inline: 22px; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; font-weight: 700; font-size: 17px; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; line-height: 1; color: var(--indigo); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ── Forms ── */
.form-card { padding: 30px; }
.lead-form { position: relative; display: grid; gap: 16px; }
.lead-form > p { margin: 0; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }
.f { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.f-wide { grid-column: 1 / -1; }
.f em { color: #B91C1C; font-style: normal; }
.f :is(input, select, textarea) { width: 100%; font: inherit; font-weight: 500; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; transition: border-color .15s, box-shadow .15s; }
.f :is(input, select, textarea):focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(64, 83, 180, .15); }
.f textarea { resize: vertical; min-height: 110px; }
[dir="rtl"] .f input[dir="ltr"] { text-align: end; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.f-status { min-height: 1.4em; font-weight: 600; }
.f-status.err { color: #B91C1C; }
.f-ok { text-align: center; padding-block: 16px; }
.f-ok:focus { outline: none; }
.f-ok > .ic { display: block; width: 56px; height: 56px; padding: 13px; margin: 0 auto 16px; border-radius: 50%; background: #16A34A; color: #fff; stroke-width: 2.4; }
.f-ok h3 { font-size: 22px; }
.f-ok p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ic { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--paper); color: var(--indigo); }
.contact-list b { display: block; font-size: 13px; color: var(--muted); }
.contact-list :is(a, span) { font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; }

/* ── App pages ── */
.tasks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; counter-reset: t; }
.tasks li { position: relative; counter-increment: t; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding-block: 18px; padding-inline: 64px 20px; }
.tasks li::before { content: counter(t); position: absolute; inset-inline-start: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--acc); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.tasks h3 { font-size: 17px; margin: 0 0 4px; }
.tasks p { margin: 0; color: var(--muted); }
.tasks b, .side b { color: var(--ink); }
.side { display: grid; gap: 16px; position: sticky; top: 88px; }
@media (max-width: 920px) { .side { position: static; } }
.side .card { padding: 22px; }
.side h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-bottom: 12px; }
.side h3 .ic { width: 20px; height: 20px; color: var(--acc); }
.side :is(p, .numbered) { font-size: 15px; color: var(--muted); }

/* ── Prose ── */
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-inline-start: 22px; }

/* ── Footer ── */
.ftr { background: var(--ink); color: #AEB7D0; padding-block: 64px 28px; font-size: 15px; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 920px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr-grid { grid-template-columns: 1fr; } }
.ftr-brand p { margin: 16px 0 0; max-width: 30em; }
.ftr-h { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
html:is([lang="ar"], [lang="bn"]) .ftr-h { letter-spacing: 0; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr a { color: #D5DBEA; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.ftr-langs { display: flex; flex-wrap: wrap; gap: 16px; }
.wa-fab { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(21, 128, 61, .7); transition: transform .15s; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab .ic { width: 30px; height: 30px; }

/* ── Reveal on scroll ── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── Phone mockups ── */
.ph { position: relative; flex: none; display: flex; flex-direction: column; width: 290px; height: 600px; background: #F8FAFB; border: 9px solid #0E131B; border-radius: 40px; overflow: hidden; box-shadow: var(--shadow-lg); color: #171C1F; font-size: 12px; line-height: 1.35; text-align: start; }
.ph-status { display: flex; justify-content: space-between; padding: 10px 20px 4px; font-size: 11px; font-weight: 700; direction: ltr; }
.ph-sig { display: inline-flex; gap: 2px; align-items: flex-end; }
.ph-sig i { width: 3px; background: #171C1F; border-radius: 1px; }
.ph-sig i:nth-child(1) { height: 5px; } .ph-sig i:nth-child(2) { height: 8px; } .ph-sig i:nth-child(3) { height: 11px; }
.ph-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 16px 12px; }
.ph-bar > b { font-size: 17px; font-weight: 800; letter-spacing: var(--track); }
.ph-av { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--acc); color: #fff; font-weight: 800; font-size: 13px; }
.ph-chip { flex: none; font-size: 10px; font-weight: 700; border-radius: 999px; padding: 3px 9px; white-space: nowrap; background: #EEF0F6; color: #475069; }
.ph-chip.ok { background: #DCFCE7; color: #166534; } .ph-chip.pend { background: #DBEAFE; color: #1D4ED8; } .ph-chip.warn { background: #FEF3C7; color: #92400E; }
.ph-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 0 12px; }
.ph-card { background: #fff; border: 1px solid #E4E9EC; border-radius: 14px; padding: 10px 12px; }
.ph-row { display: flex; align-items: center; gap: 10px; }
.ph .grow { flex: 1; min-width: 0; }
.ph b { font-weight: 700; }
.ph small { display: block; color: #66717A; font-size: 10.5px; margin-top: 1px; }
.ph-row b { font-size: 12.5px; }
.ph-search { background: #fff; border: 1px solid #E4E9EC; border-radius: 12px; padding: 8px 12px; color: #66717A; }
.ph-qty { display: flex; align-items: center; gap: 6px; }
.ph-qty i { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1px solid #E4E9EC; border-radius: 7px; font-style: normal; font-weight: 800; color: var(--acc); }
.ph-qty b { min-width: 16px; text-align: center; }
.ph-sum { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; color: #66717A; }
.ph-sum b { color: #171C1F; text-align: end; }
.ph-total { display: flex; justify-content: space-between; align-items: center; background: var(--acc); color: #fff; border-radius: 14px; padding: 12px 14px; font-weight: 800; font-size: 13px; }
.ph-hero { background: linear-gradient(135deg, var(--acc), color-mix(in srgb, var(--acc) 68%, #000)); color: #fff; border-radius: 18px; padding: 14px; }
.ph-hero small { color: rgba(255, 255, 255, .82); }
.ph-hero strong { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0; }
.ph-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-stats div { border-radius: 14px; padding: 10px 12px; background: color-mix(in srgb, var(--acc) 12%, #fff); color: color-mix(in srgb, var(--acc) 72%, #000); }
.ph-stats div.ok { background: #DCFCE7; color: #166534; } .ph-stats div.warn { background: #FEF3C7; color: #92400E; }
.ph-stats strong { display: block; font-size: 18px; font-weight: 800; }
.ph-stats-4 strong { font-size: 16px; }
.ph-stats small { color: inherit; opacity: .85; }
.ph-h { margin: 4px 2px 0; font-weight: 800; font-size: 12.5px; }
.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-tile { position: relative; background: #fff; border: 1px solid #E4E9EC; border-radius: 14px; padding: 8px; }
.ph-swatch { display: block; height: 56px; border-radius: 10px; margin-bottom: 6px; opacity: .85; }
.ph-tile b { display: block; font-size: 11.5px; }
.ph-tile small { padding-inline-end: 24px; }
.ph-tile i { position: absolute; inset-inline-end: 8px; bottom: 8px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 8px; background: var(--acc); color: #fff; font-style: normal; font-weight: 800; }
.ph-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 8px; }
.ph-bars i { flex: 1; background: linear-gradient(to top, var(--acc), color-mix(in srgb, var(--acc) 45%, #fff)); border-radius: 6px 6px 2px 2px; }
.ph-meter { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; padding-block: 8px; }
.ph-meter small { margin: 0; }
.ph-meter span { grid-column: 1 / -1; display: block; height: 6px; border-radius: 99px; background: #EEF0F6; overflow: hidden; }
.ph-meter span i { display: block; height: 100%; background: var(--acc); border-radius: 99px; }
.ph-nav { display: flex; background: #fff; border-top: 1px solid #E4E9EC; padding: 8px 4px 14px; }
.ph-nav span { flex: 1; text-align: center; font-size: 9.5px; font-weight: 600; color: #66717A; }
.ph-nav span i { display: block; width: 20px; height: 20px; margin: 0 auto 3px; border-radius: 7px; background: currentColor; opacity: .22; }
.ph-nav .on { color: var(--acc); font-weight: 800; }
.ph-nav .on i { opacity: .9; }
.ph-receipt .ph-body { background: #DDE3E9; padding-top: 10px; }
.paper { margin: 0 8px; padding: 14px 12px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9.5px; line-height: 1.5; color: #111; text-align: left; }
.paper p { margin: 0; }
.paper .c { text-align: center; }
.paper hr { border: 0; border-top: 1px dashed #9AA4AE; margin: 7px 0; }
.paper table { width: 100%; border-collapse: collapse; }
.paper td { padding: 1px 0; }
.paper td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.paper [lang="ar"] { font-family: 'Noto Sans Arabic', sans-serif; }
.qr { width: 64px; height: 64px; margin: 10px auto 4px; background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 10px 10px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px #111; }
