:root {
  --brand: #1f4fd8;
  --brand-2: #2b5be6;
  --brand-soft: #c9d6fb;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --page: #f4f6fa;
  --card: #ffffff;
  --income: #12805c;
  --expense: #d9480f;
  --amber: #ffb020;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Anek Bangla", system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
  font-size: 17px;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: #1a3fae; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(244, 246, 250, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 22px; }
.brand img { width: 36px; height: 36px; border-radius: 11px; }
.top nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.top nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 16px; }
.top nav a:hover { color: var(--brand); }
.top nav a.btn, .top nav a.btn:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 800; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #1a44be; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef2ff; color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.top .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
@media (max-width: 720px) { .top nav a:not(.btn) { display: none; } }

/* hero */
.hero { background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%; background: var(--brand-2); right: -320px; top: -360px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.eyebrow { display: inline-block; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 15px; }
.hero h1 { font-size: clamp(44px, 7vw, 80px); line-height: 1.02; margin: 18px 0 10px; font-weight: 800; letter-spacing: -.5px; }
.hero .lead { font-size: clamp(19px, 2.4vw, 24px); color: var(--brand-soft); margin: 0 0 28px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin-top: 16px; color: var(--brand-soft); font-size: 15px; }
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 260px; border-radius: 40px; background: #0f172a; padding: 10px; box-shadow: 0 30px 60px rgba(8, 20, 70, .35); }
.phone img { border-radius: 31px; width: 100%; height: auto; aspect-ratio: 1080 / 2340; object-fit: cover; object-position: top; background: var(--page); }
.phones .p1 { left: 4%; top: 40px; transform: rotate(-6deg); }
.phones .p2 { right: 4%; top: 0; transform: rotate(5deg); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 44px; padding-bottom: 40px; }
  .phones { height: 430px; max-width: 460px; margin: 0 auto; width: 100%; }
  .phone { width: 200px; border-radius: 32px; padding: 8px; }
  .phone img { border-radius: 25px; }
}
@media (max-width: 400px) {
  .phones { height: 360px; }
  .phone { width: 165px; }
}

/* sections */
section { padding: 72px 0; }
.sec-title { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; line-height: 1.15; margin: 0 0 10px; }
.sec-sub { color: var(--muted); font-size: 18px; margin: 0 0 34px; max-width: 56ch; }

/* one-line demo */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.demo-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
.demo-input { background: var(--page); border-radius: 14px; padding: 16px 18px; font-size: 22px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { background: var(--page); border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.tag.out { background: #fdebdd; color: #a8361e; font-weight: 800; }
.demo ul { margin: 0; padding: 0; list-style: none; }
.demo li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 18px; }
.demo li b { display: block; }
.dot { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #e6edfc; color: var(--brand); font-weight: 800; }
@media (max-width: 860px) { .demo { grid-template-columns: minmax(0, 1fr); } }

/* features */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { background: #fff; border-radius: var(--radius); padding: 24px; }
.feat .ic { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; margin-bottom: 14px; }
.feat h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; }
.feat p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* video */
.video { background: var(--ink); color: #fff; }
.video .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: center; }
.video .sec-sub { color: #94a3b8; }
.video video { width: 100%; border-radius: 28px; background: #000; aspect-ratio: 9 / 16; }
@media (max-width: 860px) { .video .wrap { grid-template-columns: minmax(0, 1fr); } .video video { max-width: 340px; margin: 0 auto; } }

/* shots strip */
.strip { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.strip .phone { position: static; flex: 0 0 auto; width: 230px; transform: none; scroll-snap-align: start; }

/* faq */
.faq details { background: #fff; border-radius: 16px; padding: 18px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 800; font-size: 18px; cursor: pointer; 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: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* final cta */
.final { background: var(--brand); color: #fff; text-align: center; border-radius: 28px; padding: 56px 24px; }
.final h2 { margin: 0 0 8px; font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; line-height: 1.15; }
.final p { margin: 0 0 26px; color: var(--brand-soft); font-size: 19px; }

/* footer */
footer { padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
footer a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--brand); }
footer .copy { margin-left: auto; }
@media (max-width: 600px) { footer .copy { margin-left: 0; width: 100%; } }

/* legal pages */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 20px 24px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.15; margin: 0 0 6px; font-weight: 800; }
.doc .meta { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 23px; margin: 32px 0 8px; font-weight: 800; }
.doc p, .doc li { color: var(--ink-2); }
.doc .box { background: #fff; border-radius: 18px; padding: 20px 22px; margin: 18px 0; }
.doc table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; font-size: 16px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll { overflow-x: auto; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }

html, body { overflow-x: hidden; }
.hero h1, .sec-title { overflow-wrap: anywhere; }
