/* Finetabz marketing site — Brand V2 (item 43). Mobile-first; no framework.
 * The same tokens, fonts and mark as the app, so the site and the till match. */
:root {
  --ground: #f2f4f1;
  --surface: #ffffff;
  --line: #e3e8e4;
  --ink: #101915;
  --ink-2: #5e6b64;
  --ink-3: #606d66; /* 4.9:1 on --ground, 5.4:1 on white (WCAG AA for small text) */
  --brand: #0f6b5c;
  --brand-deep: #0b5246;
  --brand-soft: #e2f1ec;
  --saffron: #f4a62a;
  --amber-soft: #fff1d6;
  --amber-text: #8a5300;
  --night: #0c1311;
  --night-surface: #141d1a;
  --night-line: #23302b;
  --night-ink: #e7eeea;
  --night-muted: #93a69d;
  --mint: #4fd1a8;
  --radius: 24px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-bn: 'Hind Siliguri', 'Noto Sans Bengali', 'Nirmala UI', 'Vrinda', sans-serif;
  --font-num: 'Space Grotesk', 'Hind Siliguri', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 1px 2px rgba(16, 25, 21, .05), 0 10px 30px rgba(16, 25, 21, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  overflow-x: hidden;
}
html[lang="bn"] body { font-family: var(--font-bn), var(--font); font-size: 18px; line-height: 1.7; }
[lang="bn"] { font-family: var(--font-bn), var(--font); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 800; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3 { letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1em; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
/* Up to 1440px of content on a wide screen, the gutter on top. Text blocks keep
   their own max-widths, so lines stay readable however wide the page gets. */
.wrap { width: 100%; max-width: calc(1440px + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Pieces ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 13px; font-weight: 800; letter-spacing: .02em; margin: 0 0 16px;
}
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); flex: none; }
.tag-night { background: #163a31; color: var(--mint); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 48px; padding: 10px 20px; border-radius: 14px;
  font: inherit; font-weight: 800; font-size: 16px; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 14.5px; border-radius: 12px; }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 17px; border-radius: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(15, 107, 92, .26); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-accent { background: var(--saffron); color: #2b1b00; }
.btn-accent:hover { background: #f7b44a; }
.btn-onDark { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.wa-dot { width: 10px; height: 10px; border-radius: 50%; background: #25d366; }

.ticks li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.ticks li::before {
  content: '✓'; position: absolute; left: 0; top: .2em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* Device frames — real screenshots of the app inside them. */
.terminal { position: relative; }
.terminal-screen { background: #161817; border-radius: 20px; padding: 12px; box-shadow: 0 30px 60px rgba(16, 25, 21, .22); }
.terminal-screen img { border-radius: 6px; }
.terminal-neck { width: 18%; height: 44px; margin: 0 auto; background: #2a2d2c; border-radius: 0 0 10px 10px; }
.terminal-foot { width: 46%; height: 16px; margin: 0 auto; background: #232625; border-radius: 50%; }
.phone { background: #161817; border-radius: 34px; padding: 7px; box-shadow: 0 24px 48px rgba(16, 25, 21, .28); }
.phone img { border-radius: 27px; }
figcaption { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; font-family: var(--font); }
.brand-sm { font-size: 16px; }
.main-nav { display: none; gap: 28px; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 15px; }
.main-nav a:hover { color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--ground); border: 1px solid var(--line); }
.lang button { font: inherit; font-size: 13px; font-weight: 800; border: 0; border-radius: 9px; padding: 0 11px; min-height: 36px; background: transparent; color: var(--ink-2); cursor: pointer; }
.lang button[lang="bn"] { font-family: var(--font-bn); font-size: 14px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  padding: 40px 0 56px;
  background: radial-gradient(900px 520px at 80% 40%, #dcefe8 0%, rgba(242, 244, 241, 0) 70%), var(--ground);
  overflow: hidden;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6.2vw, 64px); line-height: 1.03; letter-spacing: -.035em; margin-bottom: 18px; }
html[lang="bn"] .hero h1 { font-size: clamp(32px, 5.2vw, 54px); line-height: 1.25; letter-spacing: 0; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.fine { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.fits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; max-width: 560px; }
.fits li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-2); }

/* hero business rotation: one screenshot per trade over the cafe video */
.hs-stack { position: relative; }
.hs-stack .hs { position: absolute; inset: 12px; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.hero-phone.hs-stack .hs { inset: 7px; }
.hs-stack .hs.on { opacity: 1; }
.hs-stack .hs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fits li[data-biz] { cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.fits li[data-biz]:hover { border-color: var(--brand); }
.fits li.on { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (prefers-reduced-motion: reduce) { .hs-stack .hs, .fits li[data-biz] { transition: none; } }
.hero-stage { position: relative; padding: 70px 0 0 64px; }
.hero-stage .terminal { max-width: 680px; }
.hero-phone { position: absolute; left: 0; bottom: -40px; width: 27%; max-width: 172px; }
.receipt {
  position: absolute; left: 0; top: -24px; width: 40%; max-width: 224px; z-index: 2;
  transform: rotate(-3deg); overflow: hidden; border-radius: 14px;
  filter: drop-shadow(0 18px 30px rgba(16, 25, 21, .2));
}
.paper {
  background: #fffdf7; color: var(--ink); padding: 14px 14px 12px;
  font-family: var(--font-num); font-size: 12px; line-height: 1.5;
  border-radius: 14px;
  animation: feed 2.6s steps(30, end) .4s both;
}
html[lang="bn"] .paper { font-family: var(--font-num), var(--font-bn); }
.r-head { text-align: center; border-bottom: 1.5px dashed #d6ddd8; padding-bottom: 8px; margin-bottom: 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.r-head strong { letter-spacing: 3px; font-size: 14px; }
.r-head > span:not(.r-status) { font-size: 11px; color: var(--ink-2); }
.r-status { margin-top: 4px; padding: 2px 7px; border-radius: 6px; background: #fde7e4; color: #b42318; font-size: 10.5px; font-weight: 700; }
.r-items li { display: flex; align-items: center; gap: 6px; padding: 2px 0; }
.r-items i { flex: 1; border-bottom: 1.5px dotted #c9d2cd; transform: translateY(3px); }
.r-items b { color: var(--brand); }
.r-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1.5px dashed #d6ddd8; margin-top: 6px; padding-top: 6px; }
.r-total span { font-size: 10.5px; font-weight: 700; }
.r-total strong { color: var(--brand); font-size: 15px; }
.paper.restart { animation: none; }
@keyframes feed { from { transform: translateY(-101%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .paper { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Strip ---------- */
.strip { background: var(--surface); border-block: 1px solid var(--line); }
.strip-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding-block: 20px; }
.strip-row li { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; }
.strip-row li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--saffron); flex: none; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-white { background: var(--surface); }
.section-head { margin-bottom: 36px; }
.section-head h2, .band-dark h2 { font-size: clamp(30px, 4.4vw, 46px); }
.section-head.center { text-align: center; max-width: 780px; margin-inline: auto; }
.section-lead { font-size: 18px; color: var(--ink-2); margin: 0; }
.section-head.split { display: grid; gap: 12px; align-items: end; }

/* Offline */
.band-dark { background: var(--night); color: var(--night-ink); padding: 72px 0; }
.band-dark h2 { color: #fff; }
.band-dark .lead { color: var(--night-muted); }
.offline-grid { display: grid; gap: 40px; align-items: center; }
.steps { display: grid; gap: 22px; margin-top: 32px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 54px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 12px; background: #2a2110; color: var(--saffron);
  font-family: var(--font-num); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
html[lang="bn"] .steps li:nth-child(1)::before { content: '১'; }
html[lang="bn"] .steps li:nth-child(2)::before { content: '২'; }
html[lang="bn"] .steps li:nth-child(3)::before { content: '৩'; }
.steps h3 { font-size: 17px; color: #fff; margin-bottom: 4px; }
.steps p { font-size: 15px; color: var(--night-muted); margin: 0; }
.timeline { background: var(--night-surface); border: 1px solid var(--night-line); border-radius: var(--radius); padding: 26px 24px 8px; }
.timeline li { display: grid; grid-template-columns: 52px 22px minmax(0, 1fr); gap: 10px; min-height: 100px; position: relative; }
.timeline time { font-family: var(--font-num); font-size: 14px; color: var(--night-muted); padding-top: 4px; }
.timeline li::before { content: ''; grid-column: 2; width: 14px; height: 14px; margin: 8px auto 0; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 5px var(--halo); }
.timeline li:not(:last-child)::after { content: ''; position: absolute; left: 72px; top: 34px; bottom: 4px; width: 2px; background: var(--night-line); }
.timeline li > div { grid-column: 3; }
.timeline b { display: inline-flex; padding: 5px 12px; border-radius: 999px; font-size: 14px; background: var(--pill); color: var(--pill-ink); }
.timeline p { margin: 8px 0 18px; font-size: 14px; color: var(--night-muted); }
.t-off { --dot: #f04438; --halo: rgba(240, 68, 56, .18); --pill: #3b1512; --pill-ink: #fda29b; }
.t-back { --dot: #f4a62a; --halo: rgba(244, 166, 42, .18); --pill: #3a2a10; --pill-ink: #f7c060; }
.t-ok { --dot: #4fd1a8; --halo: rgba(79, 209, 168, .18); --pill: #163a31; --pill-ink: #4fd1a8; }

/* New look */
.devices { display: flex; align-items: flex-end; justify-content: center; gap: 36px; }
.devices .terminal { flex: 1 1 auto; max-width: 940px; }
.devices .phone { display: none; flex: 0 0 240px; }
.points { display: grid; gap: 22px; margin-top: 44px; }
.points li { border-left: 4px solid var(--saffron); padding-left: 16px; }
.points h3 { font-size: 17px; margin-bottom: 4px; }
.points p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* Businesses */
.biz-feature {
  display: grid; gap: 24px; overflow: hidden;
  border-radius: 28px; background: linear-gradient(130deg, #0f6b5c 0%, #0b5246 100%); color: #fff;
  padding: 32px 26px 0;
}
.biz-feature h3 { font-size: 26px; margin-bottom: 18px; }
.biz-feature .ticks li { font-size: 16px; }
.biz-feature .ticks li::before { background: var(--saffron); color: #2b1b00; }
.biz-phone { width: 210px; margin: 0 auto -60px; }
.biz-grid { display: grid; gap: 16px; margin-top: 20px; }
.biz { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.biz-tint { background: var(--ground); }
.biz .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.biz .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.biz h3 { font-size: 18.5px; margin-bottom: 10px; }
.biz li { font-size: 14.5px; color: var(--ink-2); margin-bottom: 6px; }
.biz-other { background: var(--saffron); border-color: transparent; color: #2b1b00; display: flex; flex-direction: column; }
.biz-other p { font-size: 15px; }
.biz-other a { margin-top: auto; color: #2b1b00; font-weight: 800; text-decoration: none; }

/* Feature cards */
.cards { display: grid; gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.card h3 { font-size: 22px; }
.card > p, .card-split p { color: var(--ink-2); font-size: 15.5px; }
.card .ticks { font-size: 15.5px; }
.card-split { display: grid; gap: 22px; }
.h3-follow { font-size: 18px !important; margin-top: 8px; }
.khata { margin-top: auto; background: var(--ground); border-radius: 18px; padding: 18px; font-size: 14px; }
.khata-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px; }
.khata-due { padding: 6px 12px; border-radius: 12px; background: var(--amber-soft); color: var(--amber-text); }
.khata-due b { font-family: var(--font-num); font-size: 18px; }
.khata-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.khata-row b { font-family: var(--font-num); color: var(--ink); }
.khata-row b.neg { color: #0b6b47; }
.khata-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.khata-chips > span { padding: 5px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 700; }
.khata-chips .ok { background: #ddf3e8; color: #0b6b47; }
.real-receipt { align-self: center; max-width: 260px; justify-self: center; }
.real-receipt img { border-radius: 10px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.monitor { margin-top: auto; align-self: center; width: 100%; max-width: 440px; padding-top: 18px; }
.monitor-screen { background: #161817; border-radius: 16px; padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 12px; }
.cd-bill { background: var(--night); border-radius: 8px; padding: 16px; color: var(--night-ink); font-size: 13px; display: flex; flex-direction: column; gap: 5px; }
.cd-bill > div { display: flex; justify-content: space-between; gap: 8px; }
.cd-bill b { font-family: var(--font-num); font-weight: 600; }
.cd-bill .dim { color: var(--night-muted); }
.cd-bill small { margin-top: 6px; color: var(--night-muted); }
.cd-bill strong { font-family: var(--font-num); font-size: 34px; color: #fff; line-height: 1; letter-spacing: -1px; }
.cd-qr { background: #fff; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.cd-qr i { width: 96px; height: 96px; background: conic-gradient(from 90deg at 50% 50%, #101915 0 25%, #fff 0 50%, #101915 0 75%, #fff 0) 0 0 / 16px 16px; outline: 2px solid #101915; outline-offset: 2px; }
.cd-qr span { font-size: 10.5px; font-weight: 800; color: #e2136e; line-height: 1.2; }
.monitor-neck { width: 70px; height: 30px; margin: 0 auto; background: #2a2d2c; border-radius: 0 0 8px 8px; }
.this-pc { align-self: center; background: var(--ground); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.pc-row { background: var(--surface); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.pc-row small { color: var(--ink-3); }
.pc-switch { flex-direction: row; align-items: center; gap: 10px; justify-content: space-between; }
.pc-switch i { flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--brand); position: relative; }
.pc-switch i::after { content: ''; position: absolute; right: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.win-dl { margin-top: 18px; }
.win-note { font-size: 14px; color: var(--ink-3); margin: 8px 0 0; }
.win-dl-dark { margin-top: 4px; text-align: center; }
.win-dl-dark .win-note { color: rgba(255, 255, 255, .7); }
.win-dl-dark .win-link { color: #fff; font-weight: 700; }
.win-ver { font-weight: 400; opacity: .75; }
.js .win-dl[data-state="checking"] > * { visibility: hidden; }

/* Owner, staff, suppliers, hardware */
.trio { display: grid; gap: 22px; margin-top: 22px; }
.owner { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; overflow: hidden; }
.owner h3 { font-size: 22px; }
.inline-ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 20px; font-size: 14px; color: var(--ink-2); }
.inline-ticks li::before { content: '✓ '; color: var(--brand); font-weight: 800; }
.browser { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.browser-bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.trio-side { display: grid; gap: 22px; }
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.mini h3 { font-size: 19px; }
.mini .ticks { font-size: 15px; }
.mini-amber { background: var(--amber-soft); border-color: #f6ddae; }
.mini-amber p { color: #5a4520; font-size: 15px; margin: 0; }
.hardware { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface); }
.hardware h3 { font-size: 19px; }
.spec { display: grid; gap: 14px; margin: 0; }
.spec dt { font-size: 12px; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
html[lang="bn"] .spec dt { text-transform: none; letter-spacing: 0; font-size: 13.5px; }
.spec dd { margin: 2px 0 0; font-size: 14.5px; }

/* Pricing (cards are drawn by main.js from config.js) */
.plans { display: grid; gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 30px; }
.plan h3 { font-size: 19px; margin-bottom: 2px; }
.plan-limits { color: var(--ink-2); font-size: 14.5px; min-height: 2.6em; }
.plan-price { font-family: var(--font-num); font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 10px 0 18px; }
.plan-price small { font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.plan-price.talk { font-family: var(--font); font-size: 30px; font-weight: 800; }
.plan .ticks { font-size: 14.5px; color: var(--ink-2); margin-bottom: 22px; }
.plan .btn { margin-top: auto; }
.plan-featured { background: var(--brand); color: #fff; border-color: transparent; box-shadow: 0 20px 44px rgba(15, 107, 92, .28); }
.plan-featured .plan-limits, .plan-featured .plan-price small, .plan-featured .ticks { color: rgba(255, 255, 255, .8); }
.plan-featured .ticks li::before { background: rgba(255, 255, 255, .16); color: #fff; }
.plan-featured .btn-primary { background: var(--saffron); color: #2b1b00; box-shadow: none; }

/* FAQ */
.faq-grid { display: grid; gap: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 58px; padding: 14px 44px 14px 0; position: relative;
  font-weight: 800; font-size: 16.5px; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line);
  color: var(--brand); font-size: 20px; display: flex; align-items: center; justify-content: center; transition: transform .15s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); font-size: 15.5px; margin: 0 0 18px; max-width: 660px; }

/* Final CTA */
.band-cta { position: relative; overflow: hidden; background: var(--brand); color: #fff; padding: 64px 0; }
.band-cta::before { content: ''; position: absolute; right: -80px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.band-cta::after { content: none; position: absolute; left: 44%; bottom: -60px; width: 120px; height: 120px; border-radius: 50%; background: var(--saffron); opacity: .9; }
.cta-grid { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
.band-cta h2 { font-size: clamp(28px, 4vw, 40px); }
.band-cta p { opacity: .85; margin: 0; font-size: 18px; }
.cta-stack { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }

/* Footer */
.site-footer { background: var(--night); color: var(--night-muted); padding: 30px 0 40px; }
.site-footer .brand { color: #fff; }
.footer-row { display: flex; flex-direction: column; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; margin: 0; }
.footer-links a { color: var(--mint); }

/* ---------- Wider screens ---------- */
@media (min-width: 640px) {
  .strip-row { grid-template-columns: repeat(4, minmax(0, 1fr)); justify-items: center; }
  .biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-split { grid-template-columns: minmax(0, 1fr) 220px; }
  .ticks.two-col { columns: 2; column-gap: 28px; }
  .ticks.two-col li { break-inside: avoid; }
}
@media (min-width: 860px) {
  .main-nav { display: flex; margin-left: 24px; }
  .points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .section-head.split { grid-template-columns: minmax(0, 1fr) 420px; }
  .biz-feature { grid-template-columns: minmax(0, 1fr) 260px; padding: 44px 48px 0; }
  .biz-phone { margin: 0 auto -80px; align-self: end; }
  .devices .phone { display: block; }
  .footer-row { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .band-cta::after { content: ''; }
}
@media (min-width: 1000px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 600px; gap: 48px; }
}
@media (min-width: 1240px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 700px; gap: 56px; }
}
@media (min-width: 1500px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 800px; gap: 72px; }
  .hero-stage .terminal { max-width: 760px; }
  .hero h1 { font-size: 72px; }
  .devices .terminal { max-width: 1040px; }
  .page-hero-grid.has-aside { grid-template-columns: minmax(0, 1fr) 680px; }
}
@media (min-width: 1000px) {
  .offline-grid { grid-template-columns: minmax(0, 1fr) 460px; gap: 80px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { padding: 52px 0 0; }
  .biz-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .hardware { grid-column: 1 / -1; }
  .spec { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: 380px minmax(0, 1fr); gap: 60px; }
  .section { padding: 96px 0; }
  .band-dark { padding: 96px 0; }
}
@media (max-width: 520px) {
  .hero-stage { padding: 64px 0 0 30px; }
  .receipt { width: 50%; top: -18px; }
  .paper { font-size: 10.5px; padding: 10px; }
  .cta-row .btn { flex: 1 1 100%; }
  .monitor-screen { grid-template-columns: minmax(0, 1fr) 110px; }
  .cd-qr i { width: 78px; height: 78px; }
  .card { padding: 22px; }
}

/* ---------- Inner pages (pricing, business types, hardware, download, help, legal) ---------- */
.main-nav a[aria-current="page"] { color: var(--brand); }
.page-hero {
  padding: 48px 0 56px;
  background: radial-gradient(800px 420px at 85% 30%, #dcefe8 0%, rgba(242, 244, 241, 0) 70%), var(--ground);
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.03em; max-width: 760px; }
html[lang="bn"] .page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.28; letter-spacing: 0; }
.page-hero .lead { max-width: 640px; }
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
.page-hero-sm { padding: 40px 0 24px; }
.page-hero-sm h1 { font-size: clamp(30px, 4vw, 44px); }
.page-terminal { max-width: 640px; justify-self: center; width: 100%; }

.fgrid { display: grid; gap: 18px; }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.section-white .fcard { background: var(--ground); border-color: transparent; }
.fcard h3 { font-size: 18px; margin-bottom: 8px; }
.fcard p { margin: 0; color: var(--ink-2); font-size: 15px; }
.dl { display: flex; flex-direction: column; gap: 12px; }
.dl p { margin: 0; }
.dl .btn { align-self: flex-start; margin-top: auto; }
.dl .win-dl { margin-top: auto; }

.howto { display: grid; gap: 16px; counter-reset: h; max-width: 980px; margin: 0 auto; }
.howto li { counter-increment: h; position: relative; padding: 20px 22px 20px 74px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.howto li::before {
  content: counter(h); position: absolute; left: 20px; top: 20px;
  width: 38px; height: 38px; border-radius: 12px; background: var(--brand); color: #fff;
  font-family: var(--font-num); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
html[lang="bn"] .howto li:nth-child(1)::before { content: '১'; }
html[lang="bn"] .howto li:nth-child(2)::before { content: '২'; }
html[lang="bn"] .howto li:nth-child(3)::before { content: '৩'; }
html[lang="bn"] .howto li:nth-child(4)::before { content: '৪'; }
.howto h3 { font-size: 17px; margin-bottom: 4px; }
.howto p { margin: 0; color: var(--ink-2); font-size: 15px; }
.faq-narrow { max-width: 860px; margin: 0 auto; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ground); font-size: 13px; color: var(--ink-2); font-weight: 800; }
.compare tbody th { font-weight: 700; width: 32%; }
.compare tbody tr:last-child > * { border-bottom: 0; }

.incl-grid { display: grid; gap: 4px 28px; max-width: 980px; margin: 0 auto; }

.prose { max-width: 780px; }
.prose h2 { font-size: 22px; margin: 32px 0 10px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { color: var(--ink-2); }
.legal-note { font-size: 14px; color: var(--ink-3); margin: 0; }

.biz-more { display: inline-block; margin-top: 12px; font-weight: 800; font-size: 14.5px; text-decoration: none; }
.biz-feature .biz-more { color: var(--saffron); }

/* Footer, four columns */
.foot-grid { display: grid; gap: 28px; }
.foot-brand p { font-size: 14px; max-width: 280px; margin: 12px 0 0; }
.foot-col h3 { font-size: 13px; color: #fff; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
html[lang="bn"] .foot-col h3 { text-transform: none; letter-spacing: 0; font-size: 15px; }
.foot-col li { margin-bottom: 8px; font-size: 14.5px; }
.foot-col a { color: var(--night-ink); text-decoration: none; }
.foot-col a:hover { color: var(--mint); }
.foot-base { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; }
.site-footer { padding: 48px 0 36px; }

@media (min-width: 640px) {
  .fgrid-2, .fgrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .incl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .fgrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .incl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-hero { padding: 64px 0 72px; }
  .page-hero-grid.has-aside { grid-template-columns: minmax(0, 1fr) 600px; gap: 56px; }
  .foot-grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
}
/* The nav has six links now: show them from 1080px, keep the header tidy below. */
@media (min-width: 860px) and (max-width: 1079px) { .main-nav { display: none; } }

/* ---------- Promo video ---------- */
.promo { padding-top: 64px; }
.promo-frame { position: relative; max-width: 1180px; margin: 0 auto; border-radius: 28px; overflow: hidden; background: #F6F4EE; box-shadow: 0 40px 90px rgba(16, 25, 21, .22); aspect-ratio: 16 / 9; }
.promo-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.promo-sound {
  position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(12, 19, 17, .72); color: #fff; font: inherit; font-size: 14px; font-weight: 800;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.promo-sound:hover { background: rgba(12, 19, 17, .88); }
@media (max-width: 640px) { .promo-frame { border-radius: 18px; } .promo-sound { right: 10px; bottom: 10px; } }

/* ---------- Pause controls (WCAG 2.2.2) ---------- */
.fits li[data-biz] { padding: 0; }
.fits li[data-biz] button { font: inherit; color: inherit; background: none; border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.hero-pause { margin-top: 10px; padding: 6px 2px; min-height: 32px; background: none; border: 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hero-pause:hover { color: var(--brand); }
.promo-ctrls { position: absolute; right: 18px; bottom: 18px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.promo-ctrls .promo-sound { position: static; }
@media (max-width: 640px) {
  /* Small screens: round icon-only buttons in the corner, so they never cover
     the video; the words stay for screen readers. */
  .promo-ctrls { right: 8px; bottom: 8px; gap: 6px; }
  .promo-ctrls .promo-sound { width: 36px; min-height: 36px; height: 36px; padding: 0; justify-content: center; font-size: 15px; }
  .promo-ctrls .promo-sound [data-i18n] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Legal pages ---------- */
.legal .lead-in { font-size: 18px; color: var(--ink); }
.legal h2 { margin-top: 1.8em; font-size: 24px; }
.legal h3 { margin-top: 1.2em; font-size: 18px; }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin: 0 0 .45em; }
.legal code { font-size: .9em; background: var(--ground); padding: 1px 5px; border-radius: 4px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; -webkit-overflow-scrolling: touch; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--ground); font-weight: 800; }
.legal .credits { font-size: 14.5px; }
.legal .credits a { word-break: break-word; }
/* A business detail not filled in config.js yet — loud, so it is not missed before launch. */
.biz-field.tbd { background: #fde7e4; color: #b42318; padding: 0 4px; border-radius: 4px; font-weight: 700; }
.site-footer .biz-field.tbd { background: transparent; color: #ffb4a8; }
.foot-biz { display: inline; }
