/* Cashflow OS website (cashflowos.in): landing (/), download (/download/) and the help pages.
   Built on the BillHub landing's structure — own header, heavy headlines whose
   second half turns blue, white product cards — in the Cashflow OS brand:
   blue #1559EA (deep #0D3FB8, tints #E8EFFD / #F2F6FE), one dark slab #17191E,
   money colours from the app, compact spacing. Only these pages load this file,
   and they load no other site stylesheet. */

:root {
  --blue: #1559ea;
  --blue-2: #0d3fb8;
  --blue-soft: #e8effd;
  --blue-tint: #f2f6fe;
  --paper: #f7f8fb;
  --card: #fff;
  --ink: #0d1220;
  --ink-2: #394150;
  --muted: #5f6878;
  --line: #e4e7ee;
  --line-2: #d5dae3;
  --dark: #17191e;
  --green: #277a63; --mint: #e3f5ee; --mint-2: #6ee7b7;
  --amber: #a9741a; --amber-soft: #fff3dc;
  --red: #c0442f;
  --lilac: #6a4fd8; --lilac-soft: #efebff;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px -14px rgba(16, 24, 40, .22);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .06), 0 30px 60px -22px rgba(13, 63, 184, .38);
  --font: "Plus Jakarta Sans", "Noto Sans Devanagari", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip-link:focus { left: 8px; }
.num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ buttons -- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 18px; border-radius: 10px; border: 1.5px solid transparent; font: 700 15px/1.1 var(--font); white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 16.5px; border-radius: 12px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px rgba(21, 89, 234, .8); }
.btn-primary:hover { background: var(--blue-2); }
.btn-outline { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-white { background: #fff; color: var(--blue-2); }
.btn-white:hover { background: var(--blue-soft); }
.arrow::after { content: "→"; display: inline-block; font-weight: 700; transition: transform .15s; }
a:hover > .arrow::after { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.link::after { content: "→"; transition: transform .15s; }
.link:hover::after { transform: translateX(3px); }

/* Store badges, drawn: black pill, the store's mark, two lines of text. */
.store { display: inline-flex; align-items: center; gap: 10px; min-width: 168px; min-height: 52px; padding: 7px 16px 7px 12px; border-radius: 11px; background: #000; color: #fff; border: 1px solid #000; line-height: 1.1; transition: transform .15s, background .15s; }
a.store:hover { transform: translateY(-1px); background: #1b1b1b; }
.store-ic { width: 26px; height: 26px; flex: none; }
.store small, .store b { white-space: nowrap; }
.store small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; opacity: .9; }
.store b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.store.is-soon { background: #fff; color: var(--muted); border: 1.5px dashed var(--line-2); cursor: default; }

/* Labels: a short rule, then spaced caps in blue. */
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker.light { color: #bcd0ff; }
.display { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.display .b, h1 .b { color: var(--blue); }
.display .soft { color: #bcd0ff; }
.lede { color: var(--ink-2); font-size: clamp(16px, 1.45vw, 19px); line-height: 1.5; }
.sec { padding: 80px 0; }
.tint { background: var(--blue-tint); }
.center { text-align: center; }
.head { max-width: 760px; margin-bottom: 36px; }
.head .display { margin-top: 12px; }
.head .lede { margin-top: 14px; }
.head.center { margin-left: auto; margin-right: auto; }
.head.center .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; }

.ticks { display: grid; gap: 8px; margin-top: 18px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%231559ea' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.ticks.light li { color: #e6ecff; }
.ticks.light li::before { background-color: rgba(255, 255, 255, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Phone frame around a real screenshot (600×1299). */
.phone { position: relative; width: 100%; padding: 7px; border-radius: 30px; background: #0e1322; box-shadow: var(--shadow-lg); }
.phone img { width: 100%; aspect-ratio: 300 / 650; border-radius: 23px; background: #fff; object-fit: cover; object-position: top; }

/* ------------------------------------------------------------- header -- */
.cf-top { position: sticky; top: 0; z-index: 60; background: rgba(247, 248, 251, .88); border-bottom: 1px solid transparent; -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); transition: border-color .2s; }
.cf-top.scrolled { border-bottom-color: var(--line); }
.cf-top-in { display: flex; align-items: center; gap: 10px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand .logo { width: 38px; height: 38px; border-radius: 10px; }
.brand b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1; }
.cf-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.cf-links > a { padding: 8px 11px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.cf-links > a:hover { color: var(--ink); background: rgba(13, 18, 32, .05); }
.cf-links > a[aria-current="page"] { color: var(--blue); }
.cf-links .menu-ctas { display: none; }
.cf-top .nav-cta, .cf-top .nav-dl { min-height: 40px; padding: 9px 15px; font-size: 14.5px; }
.lang-picker { position: relative; flex: none; }
.lang-btn { min-height: 40px; padding: 8px 11px; border: 1px solid var(--line-2); border-radius: 9px; background: transparent; color: var(--ink-2); font: 600 14px var(--font); white-space: nowrap; cursor: pointer; }
.lang-btn::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; display: none; min-width: 150px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lang-btn[aria-expanded="true"] + .lang-menu { display: block; }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 14px; }
.lang-menu a:hover { background: var(--paper); }
.lang-menu a[aria-current="true"] { color: var(--blue); }
.no-js .lang-btn { display: none; }
.no-js .lang-menu { position: static; display: flex; padding: 0; border: 0; box-shadow: none; min-width: 0; background: none; }
.no-js .lang-menu a { padding: 6px 7px; font-size: 13px; }
.burger { display: none; flex: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 10px; background: none; cursor: pointer; }
.burger span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- hero -- */
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; background:
  radial-gradient(600px 380px at 88% 18%, rgba(21, 89, 234, .16), transparent 70%),
  radial-gradient(420px 300px at 70% 92%, rgba(110, 231, 183, .28), transparent 70%),
  radial-gradient(380px 260px at 4% 4%, rgba(106, 79, 216, .10), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero h1 { margin-top: 16px; font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.hero h1 .b { display: block; }
.hero .lede { max-width: 560px; margin-top: 18px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-web { display: inline-flex; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 15px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.facts li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.facts li:first-child { background: var(--mint); border-color: transparent; color: var(--green); }
.hero-stage { position: relative; height: 560px; }
.hero-stage .phone { position: absolute; width: 238px; }
.hero-stage .front { left: 50%; top: 0; transform: translateX(-62%); z-index: 2; }
.hero-stage .back { left: 50%; top: 52px; transform: translateX(18%) rotate(5deg); opacity: .96; }
.chip-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-size: 12.5px; font-weight: 600; color: var(--muted); line-height: 1.25; white-space: nowrap; }
.chip-float b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 800; }
.chip-float .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.g { background: #10b981; box-shadow: 0 0 0 4px var(--mint); }
.dot.b { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.chip-float.c1 { left: 0; top: 132px; }
.chip-float.c2 { right: 0; top: 18px; background: var(--blue); color: #cfdcff; }
.chip-float.c2 b { color: #fff; font-size: 17px; }
.chip-float.c3 { right: 4%; bottom: 40px; }

/* --------------------------------------------------------------- steps -- */
.how { padding: 0 0 8px; }
.how-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.how-step { display: flex; gap: 14px; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.how-step .n, .setup .n { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 800; }
.how-step h3 { font-size: 16.5px; }
.how-step p { margin-top: 5px; color: var(--muted); font-size: 14.5px; }

/* --------------------------------------------------------------- bento -- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; overflow: hidden; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.tile .tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); color: var(--blue-2); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.tile h3 { margin-top: 12px; font-size: 21px; font-weight: 800; }
.tile p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.tile .link { margin-top: 16px; }
.t-white .tag { background: var(--blue-soft); }
.t-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.t-blue .tag { background: rgba(255, 255, 255, .16); color: #fff; }
.t-blue p, .t-blue .ticks li { color: #dfe7ff; }
.t-blue .ticks li::before { background-color: rgba(255, 255, 255, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.t-mint { background: var(--mint); border-color: transparent; }
.t-mint .tag { color: var(--green); }
.t-amber { background: var(--amber-soft); border-color: transparent; }
.t-amber .tag { color: var(--amber); }
.t-lilac { background: var(--lilac-soft); border-color: transparent; }
.t-lilac .tag { color: var(--lilac); }
.tile.strip { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 18px 24px; }
.tile.strip h3 { margin: 0; font-size: 18px; }
.tile.strip p { margin: 0; flex: 1 1 320px; }
.t-dark { background: var(--dark); border-color: var(--dark); }
.t-dark .tag { background: rgba(110, 231, 183, .14); color: var(--mint-2); }
.t-dark h3 { color: #fff; }
.t-dark p { color: #c9cfdc; }
.tile.wide { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px; align-items: end; padding-bottom: 0; }
.tile.wide .tile-copy { padding-bottom: 24px; align-self: center; }
.tile.wide h3 { font-size: clamp(22px, 2.4vw, 30px); }
.tile-shot { align-self: end; }
.tile-shot .phone { max-width: 250px; margin: 0 auto -60px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pills li { padding: 5px 11px; border-radius: 8px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 13px; font-weight: 700; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.mini-stats div { padding: 11px 12px; border-radius: 12px; background: #fff; }
.mini-stats small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.mini-stats b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.mini-stats i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); }
.mini-stats i.up { color: var(--green); }
.paper-shot { width: 100%; aspect-ratio: 820 / 520; object-fit: cover; object-position: top; margin-top: 16px; border-radius: 10px; box-shadow: var(--shadow); background: #fff; }
.roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.roles li { padding: 5px 11px; border-radius: 8px; background: #fff; color: var(--lilac); font-size: 13px; font-weight: 700; }
.lang-demo { display: flex; gap: 8px; margin-top: 16px; }
.lang-demo span { padding: 7px 12px; border-radius: 9px; background: var(--blue-tint); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.lang-demo span + span { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ------------------------------------------------------------- add-ons -- */
.band { background: linear-gradient(160deg, #1559ea 0%, #0d3fb8 70%, #0b2f8a 100%); color: #fff; }
.band .display { color: #fff; }
.band .lede { color: #dbe5ff; }
.addon-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; }
.addon-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 460px; }
.addon-shots .phone:nth-child(2) { margin-top: 44px; }
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.addons li { display: flex; gap: 12px; padding: 16px; border-radius: var(--r); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.addons h3 { font-size: 16.5px; color: #fff; }
.addons p { margin-top: 4px; color: #d3defc; font-size: 14px; }
.ai { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--blue); }
.ai svg, .dl-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dl-ic svg .fill { fill: currentColor; stroke: none; }
.addons li:nth-child(2) .ai { color: var(--green); }
.addons li:nth-child(3) .ai { color: var(--ink); }
.addons li:nth-child(4) .ai { color: var(--lilac); }
.addons li:nth-child(5) .ai { color: var(--red); }
.addons li:nth-child(6) .ai { color: var(--amber); }

/* -------------------------------------------------- two-column sections -- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.two.flip > :first-child { order: 2; }
.side .display { margin-top: 12px; }
.side .lede { margin-top: 14px; }

/* ----------------------------------------------------------- documents -- */
.doc-stage { position: relative; padding: 24px 24px 64px; border-radius: 22px; background: linear-gradient(150deg, var(--blue-soft), #fff 60%, var(--mint)); }
.doc-paper { max-width: 420px; margin: 0 auto; padding: 22px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg); font-size: 13px; border-top: 5px solid var(--blue); }
.dp-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.dp-top b { display: block; font-size: 14.5px; }
.dp-top small { display: block; color: var(--muted); font-size: 11.5px; }
.dp-logo { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 800; font-size: 13px; }
.dp-type { margin-left: auto; text-align: right; color: var(--blue); font-weight: 800; font-size: 12.5px; letter-spacing: .08em; }
.dp-type small { color: var(--muted); letter-spacing: 0; font-weight: 600; }
.dp-to { padding: 10px 0; }
.dp-to small { display: block; color: var(--muted); font-size: 11.5px; }
.dp-row { display: grid; grid-template-columns: 1fr 40px 84px; gap: 6px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.dp-row span:nth-child(n+2) { text-align: right; }
.dp-row.h { color: var(--muted); font-size: 11.5px; font-weight: 700; border-bottom-style: solid; }
.dp-total { display: flex; justify-content: space-between; margin-top: 10px; padding: 10px 12px; border-radius: 9px; background: var(--blue-tint); font-weight: 700; }
.dp-total b { color: var(--blue-2); font-size: 16px; }
.dp-foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--muted); font-size: 11.5px; }
.dp-qr { width: 38px; height: 38px; border-radius: 5px; background: conic-gradient(#0d1220 25%, #fff 0 50%, #0d1220 0 75%, #fff 0) 0 0 / 9.5px 9.5px; border: 3px solid #0d1220; }
.doc-share { position: absolute; left: 24px; bottom: 18px; display: flex; gap: 6px; }
.doc-share span { padding: 7px 12px; border-radius: 9px; background: #fff; box-shadow: var(--shadow); font-weight: 700; font-size: 13px; }
.doc-share .wa { background: #1fa855; color: #fff; }
.doc-convert { position: absolute; right: 24px; bottom: 18px; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 9px; background: var(--dark); color: #c9cfdc; font-size: 13px; font-weight: 600; }
.doc-convert i { width: 18px; height: 2px; background: var(--mint-2); position: relative; }
.doc-convert i::after { content: ""; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-right: 2px solid var(--mint-2); border-top: 2px solid var(--mint-2); transform: rotate(45deg); }
.doc-convert b { color: #fff; }
.doc-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.doc-types li { padding: 13px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.doc-types b { display: block; font-size: 15.5px; }
.doc-types span { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.doc-types li:nth-child(1) { border-top: 3px solid var(--blue); }
.doc-types li:nth-child(2) { border-top: 3px solid var(--lilac); }
.doc-types li:nth-child(3) { border-top: 3px solid var(--amber); }
.doc-types li:nth-child(4) { border-top: 3px solid var(--green); }

/* ------------------------------------------------------------- reports -- */
.rep-grid { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.rep-grid li { padding: 7px 12px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.rep-grid li:nth-child(-n+3) { background: var(--blue); border-color: var(--blue); color: #fff; }
.gst-card { margin-top: 18px; padding: 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.gst-head { display: flex; gap: 12px; }
.gst-head b { display: block; font-size: 16px; }
.gst-head small { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.gi { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--amber-soft); color: var(--amber); font-weight: 800; font-size: 13px; }
.gst-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gst-files span { padding: 6px 11px; border-radius: 8px; background: var(--mint); color: var(--green); font-weight: 700; font-size: 13px; }
.rep-stage { position: relative; display: flex; justify-content: center; min-height: 540px; }
.rep-stage .phone { width: 240px; z-index: 2; transform: translateX(-30%); }
.rep-stage .phone.back { position: absolute; top: 46px; left: 50%; z-index: 1; transform: translateX(-2%) rotate(4deg); }

/* ------------------------------------------------------------ download -- */
.dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; text-align: left; }
.dl-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.dl-card.is-mine { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.mine-tag { display: none; position: absolute; left: 22px; top: 0; padding: 3px 9px; border-radius: 0 0 7px 7px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; }
.is-mine .mine-tag { display: block; }
.dl-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.dl-ic.android { background: var(--mint); color: var(--green); }
.dl-ic.ios { background: #eef0f4; color: var(--ink); }
.dl-ic.win { background: var(--dark); color: #fff; }
.dl-card h3 { margin-top: 14px; font-size: 19px; font-weight: 800; }
.dl-card p { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; }
.dl-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: auto; padding-top: 18px; }
.dl-foot small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.dl-foot .btn { min-height: 52px; }
.dl-foot .store { flex: none; }
.qr { display: flex; align-items: center; gap: 10px; }
.qr-code { width: 76px; height: 76px; flex: none; padding: 5px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.qr small { max-width: 110px; }
.ribbon { position: absolute; top: 18px; right: -34px; width: 140px; padding: 4px 0; transform: rotate(45deg); background: var(--amber); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.dl-more { margin-top: 24px; text-align: center; }

/* --------------------------------------------------------------- plans -- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 880px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.plan h3 { font-size: 18px; color: var(--muted); }
.plan-big { margin: 6px 0 8px; font-size: 36px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.plan > p:not(.plan-big) { color: var(--ink-2); }
.plan .ticks { margin-bottom: 22px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.pro { background: var(--dark); border-color: var(--dark); color: #fff; }
.plan.pro h3 { color: var(--mint-2); }
.plan.pro > p:not(.plan-big), .plan.pro .ticks li { color: #c9cfdc; }
.plan.pro .ticks li::before { background-color: rgba(110, 231, 183, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%236ee7b7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-tag { position: absolute; top: 22px; right: 22px; padding: 4px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }

/* ----------------------------------------------------------------- faq -- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 48px; align-items: start; }
.faq-grid .display { margin-top: 12px; }
.faq-mail { margin-top: 14px; color: var(--muted); }
.faq { display: grid; gap: 8px; }
.faq details { border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.faq summary { position: relative; padding: 15px 48px 15px 18px; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 18px 16px; color: var(--ink-2); }

/* ------------------------------------------------------------- contact -- */
#contact { padding-top: 0; }
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; padding: 40px; border-radius: 24px; background: linear-gradient(150deg, #1559ea, #0d3fb8); color: #fff; }
.contact h2 { margin-top: 12px; font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.035em; }
.contact .lede { margin-top: 12px; color: #dbe5ff; }
.contact.slim { grid-template-columns: 1fr auto; align-items: center; padding: 32px 36px; }
.contact.slim h2 { margin-top: 0; }
.contact-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.contact-ctas .mail { color: #fff; font-weight: 600; }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 22px; border-radius: 16px; background: #fff; color: var(--ink); }
.demo-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.demo-form .opt { color: var(--muted); font-weight: 500; }
.demo-form input, .demo-form textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); font: 500 16px var(--font); }
.demo-form textarea { min-height: 84px; resize: vertical; }
.demo-form input:focus, .demo-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.demo-form .full { grid-column: 1 / -1; }
.demo-form .fine { color: var(--muted); font-size: 13px; }
.form-error { padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #a12a1a; font-weight: 600; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------ download page -- */
.dl-page { padding-top: 56px; background: radial-gradient(640px 320px at 50% 0, rgba(21, 89, 234, .12), transparent 70%); }
.dl-page h1.display { margin-top: 12px; font-size: clamp(32px, 4.8vw, 56px); }
.setup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.setup li { padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.setup h3 { margin-top: 12px; font-size: 17px; }
.setup p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.reqs { display: grid; gap: 8px; margin: 0; }
.reqs div { display: grid; grid-template-columns: 160px 1fr; gap: 14px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.reqs dt { font-weight: 800; }
.reqs dd { margin: 0; color: var(--ink-2); }

/* -------------------------------------------------------------- footer -- */
.end { background: var(--dark); color: #aab1c0; }
.foot { padding: 48px 24px 28px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.end .brand { color: #fff; }
.end .brand small { color: #8f97a8; }
.tagline { margin-top: 12px; max-width: 260px; font-size: 14.5px; }
.foot h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.foot nav { display: grid; gap: 4px; margin-top: 12px; }
.foot nav a { padding: 3px 0; color: #aab1c0; font-size: 14.5px; }
.foot nav a:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid #2a2e37; font-size: 13px; }
.foot-base a { color: #fff; }

/* -------------------------------------------------------------- motion -- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------------------------------------------------------- responsive -- */
@media (max-width: 1180px) {
  .burger { display: block; }
  .cf-links { display: none; }
  .cf-top-in > .lang-picker { margin-left: auto; }
  .cf-links.open { position: absolute; top: 68px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 68px); overflow-y: auto; margin: 0; padding: 8px 24px 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .cf-links.open > a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16.5px; }
  .cf-links.open .menu-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .setup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero-grid, .two, .faq-grid, .addon-grid, .contact { grid-template-columns: 1fr; }
  .two.flip > :first-child { order: 0; }
  .two > .side { order: -1; }
  .hero { padding-top: 36px; }
  .hero-stage { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .addon-shots { margin: 0 auto; }
  .how-row { grid-template-columns: 1fr; }
  .faq-grid { gap: 24px; }
  .rep-stage { min-height: 520px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 56px 0; }
  .cf-top-in { height: 60px; gap: 6px; }
  .cf-links.open { top: 60px; padding: 6px 16px 20px; max-height: calc(100dvh - 60px); }
  .cf-top .nav-cta { display: none; }
  .brand b { font-size: 18px; }
  .brand .logo { width: 34px; height: 34px; }
  .lang-btn { min-height: 38px; padding: 7px 9px; font-size: 13px; }
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; grid-row: auto; grid-template-columns: 1fr; }
  .tile-shot .phone { max-width: 220px; margin-bottom: -90px; }
  .tile-shot { max-height: 300px; overflow: hidden; margin: 0 -24px; }
  .addons { grid-template-columns: 1fr; }
  .addon-shots { max-width: 340px; }
  .doc-types { grid-template-columns: 1fr; }
  .doc-stage { padding: 16px 12px 104px; }
  .doc-paper { padding: 16px; }
  .doc-share { left: 12px; bottom: 58px; }
  .doc-convert { left: 12px; right: auto; bottom: 14px; }
  .plans, .dl, .setup { grid-template-columns: 1fr; }
  .qr { display: none; }
  .contact { padding: 22px 16px; border-radius: 18px; gap: 22px; }
  .contact.slim { grid-template-columns: 1fr; padding: 24px 18px; }
  .demo-form { grid-template-columns: 1fr; padding: 16px; }
  .reqs div { grid-template-columns: 1fr; gap: 2px; }
  .foot { padding: 40px 16px 24px; }
  .head { margin-bottom: 26px; }
}
@media (max-width: 520px) {
  .cf-top .nav-dl { display: none; }
  .brand small { display: none; }
  .hero h1 { font-size: clamp(32px, 9.6vw, 44px); }
  .hero-stage { height: 420px; }
  .hero-stage .phone { width: 184px; }
  .hero-stage .front { transform: translateX(-70%); }
  .hero-stage .back { top: 40px; transform: translateX(4%) rotate(5deg); }
  .chip-float { padding: 8px 10px; font-size: 11.5px; }
  .chip-float b { font-size: 13px; }
  .chip-float.c2 b { font-size: 15px; }
  .chip-float.c1 { top: 250px; }
  .chip-float.c3 { right: 0; bottom: 18px; }
  .store { min-width: 0; flex: 1 1 150px; gap: 8px; padding: 7px 12px 7px 10px; }
  .store b { font-size: 16px; }
  .store-ic { width: 22px; height: 22px; }
  .rep-stage { min-height: 430px; }
  .rep-stage .phone { width: 190px; }
  .foot-cols { grid-template-columns: 1fr; }
}

/* Devanagari: wide tracking breaks up conjuncts, so letter-spaced caps relax. */
html[lang="hi"] .kicker, html[lang="hi"] .ribbon, html[lang="hi"] .tile .tag, html[lang="hi"] .foot h4 { letter-spacing: .02em; }
html[lang="hi"] .display, html[lang="hi"] .hero h1 { letter-spacing: -.01em; line-height: 1.18; }
